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

How to capture the Selection Screen Input fields Values

0 Likes
913

Hi Team,

Please let me know how to capture the selection screen input field values after executing the report and if user comes back it has to display the same.

I have selection option with manual F4help code is written in which I have given multiple selections is equal to X.

Assume I have following fields in the select-option along with the checkboxes.

      Apple

      Ball

      Cricket

     

If user selects Apple and cricket and executes the report and comesback and checks the F4help select-option it will display unchecked list of field values.      

Please advise how can I record this selection and if user comes back to screen after execution he should be able to see both Apple and cricket are selected in the F4help of the select option.

Regards,

Sunil Kumar.

4 REPLIES 4
Read only

Former Member
0 Likes
857

Hi Sunil,

Are you handling a "BACK" button event in your program. Looks like the variables of checkbox are being cleared in the program. Please check.

Thanks,

Best regards,

Prashant

Read only

0 Likes
857

Hi,

I am using back button and it is an ALV report.

Regards

Sunil Kumar.

Read only

Former Member
0 Likes
857

Hi,

To retrieve the values, do it at AT SELECTION-SCREEN.

LOOP AT Screen.

   ......  <--- capture your fields values here

ENDLOOP.

EXPORT TO MEMORY ...    <---- to store values to memory area.

Next thing, in INITIALIZATION:

IMPORT MEMORY ...  <---- Get your last saved values.

Then set the values back to selection screen fields.

Cheers,

Jeff

Read only

Former Member
0 Likes
857

Hi,

Can I know what type of report your using to display ( ALV or Module pool or Classical?? )