2008 Mar 20 5:08 AM
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.
2008 Mar 20 5:28 AM
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..
2008 Mar 20 5:58 AM
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
2008 Mar 20 7:48 AM
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...
2008 Apr 29 4:46 PM
Hi,
Refer the standard program below
BCALV_TEST_GRID_EDIT
BCALV_TEST_GRID_F4_HELP
Reward points If Usefull
Regards
Fareedas
2014 Nov 20 12:18 PM
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.
2015 Jan 16 10:33 AM
Hi Khushubu,
I am Facing same issue ,plz reply me .if u sloved issue............
2015 Jan 16 2:58 PM
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'.