Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

F4 Help in Reuse Alv Grid Display

Former Member
0 Kudos

Hi,

I am working on Function Module 'REUSE_ALV_GRID_DISPLAY' to display some 10 fields. Here in this

display i want a F4 help for a particular Field, How to get that F4 help ? could any one help me.

Regards,

Jayarama Krishna M.

7 REPLIES 7

Former Member
0 Kudos

If that column is a standard SAP field( defined in DDIC) then this can be achieved just by entering values for 'REF_FIELDNAME'(field name as in the std DDIC table) and 'REF_TABNAME'(DDIC table) of fieldcatalog of that column......

it_fieldcat-field = <ur field >.

it_fieldcat-REF_FIELDNAME = 'MATNR'.

it_fieldcat-REF_TABNAME = 'MARA'.

see these two programs u can get solution.

BCALV_TEST_GRID_EDIT

BCALV_TEST_GRID_F4_HELP

and see this link also

http://help.sap.com/saphelp_erp2005/helpdata/en/f2/6cee408a63732ae10000000a155106

Reward points..

0 Kudos

Hi,

I am not using Classes in my program so i cannot use this.

can you suggest me if possible without using classes ...

Regards,

Jayarama Krishna M

0 Kudos

hi,

u need to take these property to ur fieldcatalog

wa_fcat-tabname = 'ITAB'.

wa_fcat-fieldname = 'MATNR'.

wa_fcat-ref_tabname = 'MARA'.

wa_fcat-ref_fieldname = 'MATNR'.

wa_fcat-col_pos = 1.

wa_fcat-seltext_m = 'Material'.

wa_fcat-edit = 'X'.

APPEND wa_fcat TO temp_fcat.

reward points if usefull...

Former Member
0 Kudos

Hi,

Refer the standard program below

BCALV_TEST_GRID_EDIT

BCALV_TEST_GRID_F4_HELP

Reward points If Usefull

Regards

Fareedas

0 Kudos

Hi Farida,

I am not using standard fields , but having custom fields and i have created Search help also for them ,

But still i am not getting F4 functionality on my ediatble ALV.

0 Kudos

Hi Khushubu,

I am Facing same issue ,plz reply me .if u sloved issue............

0 Kudos

Hi Sunil,

I have resolved my problem by using Reuse_ALV_GRID_DISPLAY_LVC.

Refer to the parameters of function module, its having different structure of Field catalog .

in that field catalog set below parameters.

x_fieldcat-f4availabl = 'X'.

x_fieldcat-ref_table = 'ZTEST'.

x_fieldcat-ref_field = 'TEST'.