‎2007 Jul 30 6:34 AM
Hi,
I want to call 3 executable program in a seperate one ececutable program.because 3 different user using 3 different program and the head want to use all 3 programs. my question is how to call an executable program in an another executable program.
thanks,
Madhu
‎2007 Jul 30 6:35 AM
Create Tcode for the Porgrams. and do CALL TRANSACTION.
Regards,
Amit
Reward all helpful replies.
‎2007 Jul 30 6:37 AM
If the 3 programs have tcodes u can use
CALL TRANSACTION <tcode>.
else use
SUBMIT <report>.
Reward if useful
‎2007 Jul 30 6:40 AM
Hi Madhu,
Use<b> SUBMIT REPORT <REPORT_NAME></b> to execute a report from another report.
Check this code.If Users are USR1,USR2 and USR3 respectively and their manager is MGR then
IF SY-UNAME = 'USR1'.
SUBMIT REPORT <USR1-REPORT> AND RETURN.
ENDIF.
IF SY-UNAME = 'USR2'.
SUBMIT REPORT <USR2-REPORT> AND RETURN.
ENDIF.
IF SY-UNAME = 'USR3'.
SUBMIT REPORT <USR3-REPORT> AND RETURN.
ENDIF.
IF SY-UNAME = 'MGR'.
SUBMIT REPORT <USR1-REPORT> AND RETURN.
SUBMIT REPORT <USR2-REPORT> AND RETURN.
SUBMIT REPORT <USR3-REPORT> AND RETURN.
ENDIF.
Thanks,
Vinay
‎2007 Jul 30 6:41 AM
create a new report with 3 radio buttons and for each radio buttons use the
CALL TRANSACTION statement for each 3 reports(create 3 tcodes for all 3 programs)
Regards
Gopi
‎2007 Jul 30 6:41 AM
Hi,
Create a new program and use the following statements to call other reports.
You can use SUBMIT PROGRAM....RETURN Statement.
You can also use Call Transaction <TCODE> statement.
Regards,
Shruthi
‎2007 Jul 30 6:44 AM
‎2007 Jul 30 7:02 AM
Hi Madhu,
Calling of 3 executable programs in one executable program can be done by..
Writing the submit command and using return.
A very simple example is:
REPORT ZEXAMPLE1.
submit zexample and return.
submit zexample2 and return.
write: 'Bye mandeep'.
This program is calling two programs zexmaple and zexample2 in the program
zexample.Like this you can call 3 programs in the same program.
I hope this will solve your purpose...
Kindly reward points if contents are helpful...
Regards,
Mandeep.