Application Development 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: 

saving selection screen variables

Former Member
0 Kudos

Hi Friends,

Any body tell me how to save the values given to parameters and select-options on selection screen into a Ztable.

i am giving 2 parameters and 2 select-options values in selection screen. i want to save those vales in to a Ztable which is specially made to save those values, against system date and user name.

can any body tell me how to do it. give me some query if possible.

Kumar.

4 REPLIES 4

JozsefSzikszai
Active Contributor
0 Kudos

hi Kumar,

after report has been started (i. e. with F8 on selection screen) you can easily save those values to a cleverly defined Z table.

Eric Cartman

PS.: What is the purpose of this save?

Former Member
0 Kudos

Hi,

In START-OF-SELECTION you can save given details using INSERT statement into ZTABLE.

Reward if useful!

Former Member
0 Kudos

hi kumar,

first declare the select-options or parameters like this...

"where wa_mara-matnr is the work area for internal table(it_mara) MARA.

select-options: s_matnr for wa_mara-matnr.

now "s_matnr-low" will have some value and "s_matnr-high" will have some value..assing these values into some other variable and insert these values into your "Ztable".....

NOTE: here the system date is given in "SYST" in se11...

Former Member
0 Kudos

sorry declaration differs, select-options: s_matnr for wa_mara-matnr.

parameters: p_matnr like wa_mara-matnr.