‎2009 Oct 13 2:26 PM
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.
‎2009 Oct 13 2:32 PM
‎2009 Oct 13 2:32 PM
‎2009 Oct 13 2:39 PM
its a Job failed meassage like
No Serial Number Assign in Sales Order
No Serial Number Assign in Sales Order
Job cancelled
‎2009 Oct 13 2:55 PM
‎2009 Oct 13 2:38 PM
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.