cancel
Showing results for 
Search instead for 
Did you mean: 

Custom and dynamic F4 Help for REUSE_ALV_GRID_DISPLAY_LVC

raghavendrareddy
Explorer
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

raymond_giuseppi
Active Contributor
0 Kudos

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.

Sandra_Rossi
Active Contributor
0 Kudos

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.

former_member241258
Active Participant
0 Kudos

hi can u use oop alv

CL_GUI_ALV_GRID

event

ONF4

raghavendrareddy
Explorer
0 Kudos

Hi Mr.Krishna,

I am using REUSE_ALV_GRID_DISPLAY_LVC not OO alv. Please suggest any other alternative.