Application Development 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: 

ws_delivery_udpate for serial number

Former Member
0 Kudos

Hello,

We are using function module WS_DELIVERY_UPDATE to update/associate serial numbers to the delivery items. Issues arises when there are multiple delivery items in a delivery and each item with over 1000 serial numbers.

I have one delivery. Delivery item 1 has 1002 serial numbers. Delivery item 2 has 1001 serial numbers. We call the function module for each delivery item -- passing the serial numbers in function module parameter it_sernr_update. The results are not consistent. The function module completes without errors and checking the delivery in VL03N..extra..serial number, the results are as follows:

delivery item 1 has 798 serial numbers

delivery item 2 has 1001 serial numbers.

Our issue is with item 1. The function module only saves part of the serial numbers passed. The number 798 is also not consistent. Sometimes is is 732, 797.. But I have not yet seen it save the full 1002.

Additionally, when there is only 1 delivery item in a delivery, it will save it the full number of serial number passed.

So, it would seem the problem is with multiple delivery items in a delivery AND over 999 items.

Does anyone have suggestions as to how to fix the error.

Regards,

Anna-Liza

1 REPLY 1

Former Member
0 Kudos

the issue is with the locking of the serial number. The exception was not brought back from the FM.