09-01-2011 2:07 PM
HI All
I want to update serial numbers and quantity(delivery qty) for a delivery, this is mostly in case of short ship and over ship, I am using the BAPI for this updation, but I am getting errors to it.
I am passing the following data in the BAPI:
HEADER_DATA -
> Delivery Number
DELIVERY -
> Delivery Number
ITEM_DATA -
> DELIV_NUMB(Delivery Number), DELIV_ITEM(Item), MATERIAL(material), DLV_QTY(Qty what i need to update in VL02n), FACT_UNIT_NOM(as 1), FACT_UNIT_DENOM (as 1), SALES_UNIT(VRKME), BASE_UOM(MEINS)
ITEM_CONTROL -
> DELIV_NUMB(delivery Number), DELIV_ITEM(Item), CHG_DELQTY(as 'X') .
But I get this error message.
"serial numbers are already maintained. Quantity cannot be changed"
Please suggest how can I change both?
Regards
Swar
09-29-2011 4:18 PM
Hi Swar
I can maybe give you insight on why you are receiving the error message in hopes in can help you go to the right direction. In the sales order for technical objects if you are maintaining lets say a qty of 2 each serial numbers. When you create the delivery the system passes both serial numbers to the delivery. In cases of short ship (wanting to only ship one each) go to the serial number in the file menu under extras in the delviery and before changing qty to one each; delete the serial number you are not shipping then change your qty this works.
Edited by: Kim Blair on Sep 29, 2011 5:19 PM