‎2009 May 04 11:32 AM
Hi...
How to call program from program with varient....?
i have used submit but how to pass varient dynamically.
Regards,
Chintan
‎2009 May 04 11:34 AM
Hi,
Use the FM SUBMIT_REPORT
OR
SUBMIT <Program Name> VIA SELECTION-SCREEN
USING SELECTION-SET <VARIANT>
AND RETURN.
‎2009 May 04 11:34 AM
Hi,
Use the FM SUBMIT_REPORT
OR
SUBMIT <Program Name> VIA SELECTION-SCREEN
USING SELECTION-SET <VARIANT>
AND RETURN.
‎2009 May 04 11:46 AM
Hi Avinash,
THANX A LOT its working but i have to run that program ( second - child ) again with pressing F8. but i want to run that program automatically when i call it from source program with varient.
Please help me.
Regards,
Chintan.
‎2009 May 04 11:57 AM
HI,
Use this Code..
SUBMIT <Report Name USING SELECTION-SET <VARIANT>
AND RETURN.
" Don't specify the VIA SELECTION-SCREEN statement
If you are using FM SUBMIT_REPORT pass 'X' to SKIP_SELSCREEN parameter
‎2009 May 04 11:36 AM
u can pass all the values that you intend to pass to the program in the SUBMIT statement.
submit report2 with p_test eq 's_text '
and return
-> p_test is a selection scr parameter in report2 passing the selection screen parameter of report 1 to this.
‎2009 May 04 11:54 AM
REPORT ZPROGRAM1.
SUBMIT Zprogram USING SELECTION-SETS OF PROGRAM 'ZPROGRAM1'
WITH PYPERNR = PYPERNR " parameter1
WITH P_PAYDT = P_PAYDT " parameter2
WITH P_CHK = P_CHK " parameter2
WITH MODE = MODE " Mode 'X' for background Mode ' ' for forground