Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
Read only

capturing the selection screen input values

Former Member
0 Likes
2,120

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

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,150

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

3 REPLIES 3
Read only

Former Member
0 Likes
1,150

Hi,

Can you try function module 'RS_COVERPAGE_SELECTIONS'.

also refer this http://scn.sap.com/thread/607282

Thanks,

Lakshmi

Read only

former_member585060
Active Contributor
0 Likes
1,150

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

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,151

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