02-15-2010 7:27 AM
Hi,
I have written a Zprogram, with call transaction statement for f.01 (financial statement version).
May i know how to get the details what the user has entered on the selection screen of f.01 in Zprogram.
Thanks and Regards,
Prem.
02-15-2010 7:33 AM
02-15-2010 7:41 AM
Hi ,
I have not written call transaction and return .
If i use call transaction and return can i get the data what the user has entered on the selection screen?
Thanks and Regards,
Prem.
02-15-2010 7:46 AM
Hi,
There is one internal table which gets automatically filled
when the user enters data on the selection screen:
*Internal table for Selection Screen
DATA: BEGIN OF i_rsparams OCCURS 0.
INCLUDE STRUCTURE rsparams.
DATA: END OF i_rsparams.
You can use this table with your call transaction statement.
Hope it helps
Regards
Mansi
02-15-2010 8:23 AM
Hi ,
I have written a small program .
REPORT ztest.
*Internal table for Selection Screen
DATA: BEGIN OF i_rsparams OCCURS 0.
INCLUDE STRUCTURE rsparams.
DATA: END OF i_rsparams.
CALL TRANSACTION 'F.01'.
LOOP AT i_rsparams.
write : i_rsparams.
ENDLOOP.
But when i check for the contents of the i_rsparams table it is blank.
I want what the user has entered on 'F.01'.
Thanks and Regards,
Prem.
02-15-2010 8:47 AM
i think it won't be possible.
it is possible to submit values to that program name of tcode through submit statement.
and more over still if you want to get the values from the standard program.
you can try doing a core code modification of that program and give export to memory id.
or use the function module.
RS_REFRESH_FROM_SELECTOPTIONS.
to collect all the values entered there.
and then export the table contents to memorey id.
and then import it.
regards
s.janagar
02-15-2010 10:06 AM
Hi Prem,
Use the Function Module PRINT_SELECTION to get the data which user has entered in the screen.
Regards
Thiru