Skip to Content

Custom and dynamic F4 Help for REUSE_ALV_GRID_DISPLAY_LVC

Hi Experts,

I want to display F4 help dynamically based on the row in which the F4 help is being selected. For example i have included a bank key ( editable) field in the the ALV which is displaying the PO details If the vendor in the PO is having 4 bank keys assigned to him only those should be displayed in the F4 help.

Kindly help, this is a priority customer requirement..

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Sep 26, 2017 at 10:08 AM

    You may either use the components REF_TABLE and REF_FIELD in the field catalog to point to a field with a Z search help (you can put custom code in it).

    If you can't use a search help, and you want to build the list of values, then you need to retrieve the instance of CL_GUI_ALV_GRID which is created by REUSE_ALV_GRID_DISPLAY_LVC, via the function module GET_GLOBALS_FROM_SLVC_FULLSCR.

    For more information, please search in SCN or www.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 26, 2017 at 01:48 PM

    AFAIK you must go to OO ALV for this requirement...

    NB: If you don't want to rewrite some obsolete code (ALV FM), you can find the class instance behind the FM using FM GET_GLOBALS_FROM_SLVC_FULLSCR so you can then handle the ONF4 event.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 26, 2017 at 05:14 AM

    hi can u use oop alv

    CL_GUI_ALV_GRID

    event

    ONF4

    Add comment
    10|10000 characters needed characters exceeded