2007 Nov 01 12:23 PM
Hi,
I have used an out put type from delivery to print the shipper,
Based on some conditions i want to terminate the processing with out going for dump.
I have used IF sy-subrc NE 0.
message E(xxx) ......
endif.
This statement always go for dump when i trigget o/p type from inside VL02N
Is there any way to terminate the program with out dump??
Hi,
I have used an out put type from delivery to print the shipper,
Based on some conditions i want to terminate the processing with out going for dump.
I have used IF sy-subrc NE 0.
message E(xxx) ......
endif.
This statement always go for dump when i trigget o/p type from inside VL02N
Is there any way to terminate the program with out dump??
2007 Nov 01 12:34 PM
try to use STOP statement instead of throughing error message.
Satish
2007 Nov 01 12:39 PM
Hi Sreejith,
Which routine are you using to do this. Are you manually trying to trigger the o/p type from VL02n. it should happen manually when you add the o/p type or happen automatically when you update a delivery?
2007 Nov 02 5:31 AM
Hi,
I am triggering the o/p type manually, when ever SY_SUBRC NE 0, it goes for update termination. I do not want update termination instead i need to update the message log with the error
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |