Skip to Content
0

Custom and dynamic F4 Help for REUSE_ALV_GRID_DISPLAY_LVC

Sep 25, 2017 at 06:35 PM

312

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Sandra Rossi Sep 26, 2017 at 10:08 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
Raymond Giuseppi
Sep 26, 2017 at 01:48 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
Krishna Murthy Sep 26, 2017 at 05:14 AM
0

hi can u use oop alv

CL_GUI_ALV_GRID

event

ONF4

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Mr.Krishna,

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

0