2014 Oct 24 8:20 AM
Hi experts,
How to stop further processing once the load-of-program event is triggered.
In load-of-program I am checking for a condition.,
-If condition is true further processing of the report should be done.
-If condition is false further processing of the report must be stopped. Next events or whatever should not be triggered
How can I achieve this.
BR,
Eshwar
Hi experts,
How to stop further processing once the load-of-program event is triggered.
In load-of-program I am checking for a condition.,
-If condition is true further processing of the report should be done.
-If condition is false further processing of the report must be stopped. Next events or whatever should not be triggered
How can I achieve this.
BR,
Eshwar
2014 Oct 24 8:31 AM
Hi Eshwar
Just check the condition in further event, like PROCESS BEFORE OUTPUT, that you want to control.
Regards.
JCD
2014 Oct 24 9:26 AM
Dear Eshwar,
As per documentation from SAP this event must be occurred else you'll get error.
http://help.sap.com/abapdocu_70/en/ABAPLOAD-OF-PROGRAM.htm
Better do as said by Juan.
2014 Oct 24 9:55 AM
Hi Eshwar,
I suggest you to validate your condition in the INITIALIZATION event and exit the program from that event when your conditions failed.
To exit from the program, you can use LEAVE PROGRAM statement.
Regards,
Vijay
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |