Skip to Content

Update Serial Numbers and Qty with bapi_outb_delivery_change

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 29, 2011 at 03: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.