‎2008 Aug 14 12:21 PM
I need to call a program Y from my program X. The program Y should return an internal table to the calling program X. Which command should I be using to call the program Y?
‎2008 Aug 14 12:23 PM
‎2008 Aug 14 12:23 PM
‎2008 Aug 14 12:23 PM
use submit program <program name>
using <.........>
returning <..........>.
check in sap help library for correct syntax.
Edited by: Ramesh Babu Chirumamilla on Aug 14, 2008 1:23 PM
‎2008 Aug 14 12:23 PM
‎2008 Aug 14 12:24 PM
hi,
use keyword SUBMIT to call another executable program in ur program.
for more detail check out F1.
‎2008 Aug 14 12:24 PM
Hi,
SUBMIT report2 WITH parameter1 = parameter1
WITH selectoption IN selectoption1
AND RETURN.
Hope it is helps.
‎2008 Aug 14 12:26 PM
As also said by others use the statement
SUBMIT <program> AND RETRUN.
refer to the link:
http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9d7535c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/Helpdata/EN/9f/db9dd035c111d1829f0000e829fbfe/content.htm
With luck,
Pritam.
‎2008 Aug 14 12:31 PM