‎2008 Jul 09 7:33 AM
Hi all,
I am coding an Z Program and in this Zprogram i have to call an Standard Program(RFFOUS_T) and after giving the Necessary input Manually in the first selection screen (1000)of the Standard program i have to return back to my Z program
How can i do this
Regards
Ajya
‎2008 Jul 09 7:35 AM
if you only want to use the selstion screen of the standard report.. then why dont you copy that selection screen in your Z report....
‎2008 Jul 09 7:35 AM
Hi,
Yes u can do that using submit statement, Refer below code
*--Submit report zk_ra_enhancement
SUBMIT zk_ra_enhancement "TO SAP-SPOOL
"IMMEDIATELY 'X'
"WITHOUT SPOOL DYNPRO
USING SELECTION-SCREEN 1000
WITH cn_pspnr CP st_wbs-low
WITH koagr = c_cost_ele_grp
WITH r_budat BETWEEN g_first_date_in_period AND g_last_date_in_period
AND RETURN.
Regards,
Prashant
‎2008 Jul 09 7:38 AM
‎2008 Jul 09 7:44 AM
Hi Ajay,
You can use addition WITH SELECTION-TABLE rspar to pass the selection screen parameters.
SUBMIT report1 WITH SELECTION-TABLE rspar_tab.
Here table rspar_tab contains values for Selection Screen.
Also you can pass value to selection screen field dirsctly
SUBMIT report1
WITH sel_screed_field1 BETWEEN 'H' AND 'K'
WITH sel_screed_field2 IN range_tab.
If Found Help Full Do Reward.
Regards.
Eshwar.