Skip to Content
avatar image
Former Member

F4 Help in Reuse Alv Grid Display

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Mar 20, 2008 at 05: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..

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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...

  • avatar image
    Former Member
    Apr 29, 2008 at 03:46 PM

    Hi,

    Refer the standard program below

    BCALV_TEST_GRID_EDIT

    BCALV_TEST_GRID_F4_HELP

    Reward points If Usefull

    Regards

    Fareedas

    Add comment
    10|10000 characters needed characters exceeded

    • 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'.