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

User Exit Dump

Former Member
0 Likes
627

Hi...

user exit MV50AFZ1 is using regarding when serial number of order is not defined then it should give error message like

'No Serial Number Assign in Sales Order'' it is working fine for single or individual sales order. but when we run for multiple or grouped order then then it should processed for order those has serialnumber and shoud give error message for ramaining order whose serial number blank. but it is going in dump for grouped sales order. code is like that.

IF SY-SUBRC NE 0.

MESSAGE E999(ZZ) WITH 'No Serial Number Assign in Sales Order' LIPS-VGBEL.

EXIT.

ENDIF.

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
552

what is the dump report ?

4 REPLIES 4
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
553

what is the dump report ?

Read only

0 Likes
552

its a Job failed meassage like

No Serial Number Assign in Sales Order

No Serial Number Assign in Sales Order

Job cancelled

Read only

0 Likes
552

i agree with Nitwick.

check this thread.it might be useful

Read only

Former Member
0 Likes
552

Hi,

You gotto manually handle the condition where you are trying to run for multiple records.

Create a seperate error log(internal table) and then display the error message.

Create another internal table that is going to hold those records that have the serial numbers in them and then do your processing.