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

SUBMIT does not work in background...

Former Member
0 Likes
481

Hi guys,

We have a copy program of a standard transaction and once we use this copy program in the main program via SUBMIT... it does not work in background...

Why is this so,,, Please advice...

THanks!

1 ACCEPTED SOLUTION
Read only

MarcinPciak
Active Contributor
0 Likes
434

...or try


SUBMIT ... EXPORTING LIST TO MEMORY. 

This will not only suppress report output (so not BACK button will be needed) but also together with addtion TO SAP-SPOOL SPOOL you can review the output in spool once program is finished.

Regards

Marcin

2 REPLIES 2
Read only

Former Member
0 Likes
434

Hi,

When executing some program using the statement like SUBMIT prog_2 WITH parameters and RETURN.

In foreground PROG_2 is executed, and once you click on the BACK button the code written after this SUBMIT statement will be executed.

If you are executing the same in the BACKGROUND mode, no feasibility of clicking on BACK button, hence control will remain in the PROG_2 only after executing its logic.

Please code accordingly.

Read only

MarcinPciak
Active Contributor
0 Likes
435

...or try


SUBMIT ... EXPORTING LIST TO MEMORY. 

This will not only suppress report output (so not BACK button will be needed) but also together with addtion TO SAP-SPOOL SPOOL you can review the output in spool once program is finished.

Regards

Marcin