ABAP Certification, Programming, Smartform, Sapscripts, BAPI Books
Force user to run program in Background

You can stop users from submitting a report online by inserting a few lines on abap checking codes.  If there a quite a number of abap program that need this function, you can create it as an include statement.

* Insert this statement at the start of the program.

IF SY-BATCH <> 'X '.
   MESSAGE E999 WITH 'EXECUTE IN BACKGROUND ONLY'.
ENDIF.

Return to :-
SAP ABAP/4 Programming, Basis Administration, Configuration Hints and Tips

(c) www.sap-basis-abap.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.  The site www.sap-basis-abap.com is in no way affiliated with SAP AG.
Any unauthorised copying or mirroring is prohibited.