Question:
Hi all,
How to control ABAP program to run in background?
For example:
when the user click a botton in the selection screen ----run background . I need to let the program run in background .
Thanks
Answer:
Check JOB_OPEN FM, ABAP SUBMIT syntax and JOB_CLOSE FM. Example can be found from standard SAP online manual .. or click here:
http://help.sap.com/saphelp_47x200/helpdata/en/fa/097720543b11d1898e0000e8322d00/frameset.htm
Answer:
u can call the program using the submit statement with the addition using selection-set vari where vari is the variable containing the name of the variant to be used in case u need to pass the data to that program. by this u can run the program in the background. there are also many options like using selection-table vari to specify the internal for variants. u can see the various options available in submit by pressing the f1 on submit in the editor. hope it solves your problem.