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

Reg :- Soft termination trigger o/p type

Former Member
0 Likes
516

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??

3 REPLIES 3
Read only

Former Member
0 Likes
495

try to use STOP statement instead of throughing error message.

Satish

Read only

Former Member
0 Likes
495

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?

Read only

Former Member
0 Likes
495

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