ā2012 Apr 26 2:42 AM
Hi All,
The requirement is to capture the selection screen input values and display the same when the user clicks on the a custom button say 'Selection' on the ALV report output . This functionality is to remind the user the input values keyed in for the current run.
The selection screen consists of parameters , select-options and check-boxes . I initially thought to make use of the FM RS_REFRESH_FROM_SELECTOTIONS but realized that the check box values are not getting captured.
Request you guys to share your ideas/ inputs on how to achieve this .
Thanks in Advance,
Glinsey
ā2012 Apr 26 6:47 AM
Hi,
Try passing GET_SELINFOS in alv layout as X. If this doesnt work , then please check my reply here http://scn.sap.com/thread/1860208
ā2012 Apr 26 3:04 AM
Hi,
Can you try function module 'RS_COVERPAGE_SELECTIONS'.
also refer this http://scn.sap.com/thread/607282
Thanks,
Lakshmi
ā2012 Apr 26 3:09 AM
Hi,
Where you are using the call to the function module RS_REFRESH_FROM_SELECTOPTIONS, you must have calling the function module in routine which is passed to I_CALLBACK_USER_COMMAND, as this will be triggered after the output is displayed, the radio buttons and check boxes set and parameter values will be cleared.
Try to call the function module after the START-OF-SELECTION it self and store the values in an internal table. Then use the internal table data in the routine I_CALLBACK_USER_COMMAND when user click on Selection button to display.
Ex:-
START-OF-SELECTION
* Call to function module and store the selection values in I_RSPARAMS
* Logic to fetch the actual data
END-OF-SELECTION
* Display ALV
* Use I_RSPARAMS data to display the selection values when user click on Selection button.
Thanks & Regards
Bala Krishna
ā2012 Apr 26 6:47 AM
Hi,
Try passing GET_SELINFOS in alv layout as X. If this doesnt work , then please check my reply here http://scn.sap.com/thread/1860208