‎2008 Mar 10 9:03 AM
hi,
I want to add a parameter as layout.in which the options should be grid , list , hierarchical
how to add f4 help to the parameter layout parameter parameter in the selection-screen for an ALV report.
regards
‎2008 Mar 10 9:15 AM
Use at-slection screen on value request and built your own table for F4 help.
regards,
Kannan
‎2008 Mar 10 9:19 AM
Hi,
Just go through the following sample code. Accordingly you need to change for your requirement.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR stai1-low.
DATA : BEGIN OF i_statvalues_tab OCCURS 0,
stsma LIKE tj30t-stsma,
txt04 LIKE tj30t-txt04,
txt30 LIKE tj30t-txt30,
END OF i_statvalues_tab.
SELECT stsma txt04 txt30 FROM tj30t INTO CORRESPONDING FIELDS OF TABLE
i_statvalues_tab WHERE stsma = 'NOTIFSTA'.
DELETE ADJACENT DUPLICATES FROM i_statvalues_tab.
SORT i_statvalues_tab.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'TXT04'
dynpprog = 'zprogram'
dynpnr = '0100'
dynprofield = 'STAI1-LOW'
value_org = 'S'
TABLES
value_tab = i_statvalues_tab.
Hope this helps..
Harikrishna.
Edited by: harikrishna indugu on Mar 10, 2008 10:20 AM
‎2008 Mar 10 9:29 AM
Hi,
Try to look at the program DEMO_DYNPRO_F4_HELP_MODULE.
For you to get three values, you can fill an internal table with the values you need and use it in the fm F4IF_INT_TABLE_VALUE_REQUEST.
Mark all helpful answers.