08-22-2007 6:48 AM
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.
08-22-2007 8:19 AM
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?
08-22-2007 8:22 AM
Hi,
In START-OF-SELECTION you can save given details using INSERT statement into ZTABLE.
Reward if useful!
08-22-2007 10:41 AM
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...
08-22-2007 10:44 AM
sorry declaration differs, select-options: s_matnr for wa_mara-matnr.
parameters: p_matnr like wa_mara-matnr.