Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Trigger programs to run in background

Former Member
0 Likes
483

hello experts,

In my program I have,

do 2 times.

SUBMIT <PROGNAME> USING SELECTION-SET 'VARIANT'.

enddo.

its just running once. if i have 2 submits to run 2 different programs its still running just the first one .how can I make my program to run both the programs one after another.plz advise!!!

regards,

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
453

Have u used the RETURN statement addition with SUBMIT

SUBMIT REPORT AND RETURN.

Have a look at this link.

http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba50d35c111d1829f0000e829fbfe/frameset.htm

Regards,

Lakshman.

hello experts,

In my program I have,

do 2 times.

SUBMIT <PROGNAME> USING SELECTION-SET 'VARIANT'.

enddo.

its just running once. if i have 2 submits to run 2 different programs its still running just the first one .how can I make my program to run both the programs one after another.plz advise!!!

regards,

2 REPLIES 2
Read only

Former Member
0 Likes
454

Have u used the RETURN statement addition with SUBMIT

SUBMIT REPORT AND RETURN.

Have a look at this link.

http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba50d35c111d1829f0000e829fbfe/frameset.htm

Regards,

Lakshman.

Read only

Former Member
0 Likes
453

Hi,

Use AND RETURN with submit statement between the DO ENDDO statement.

e.g.

do 2 times.

SUBMIT <PROGNAME> USING SELECTION-SET 'VARIANT' AND RETURN.

enddo.

Regadrs,

Raj Gupta