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

BAPI_OUTB_DELIVERY_CHANGE

Former Member
0 Likes
915

Hi,

I want to create new line items for a delivery using BAPI_OUTB_DELIVERY_CHANGE.I wanna know what all parameters needs to be passed in the BAPI to get this done.Please help me out...I am stuck in the middle.

Thanks a lot

Hi,

I want to create new line items for a delivery using BAPI_OUTB_DELIVERY_CHANGE.I wanna know what all parameters needs to be passed in the BAPI to get this done.Please help me out...I am stuck in the middle.

Thanks a lot

5 REPLIES 5
Read only

Former Member
0 Likes
822

Hi experts,

Plzzzz help me out.I am really stuck.

Thanks a lot

Read only

Former Member
0 Likes
822

for changing outbound delivery fm WS_DELIVERY_UPDATE2 works fine. U can rather use that.

Read only

0 Likes
822

Hi,

If you want to change the quantity for a distributed quantity, then following entries are required for the transfer to the connected system:

In the header data of outbound delivery parameter (HEADER_DATA)

The delivery number (DELIV_NUMB)

In parameter item data of outbound delivery (ITEM_DATA)

The delivery number (DELIV_NUMB)

The delivery item (DELIV_ITEM)

The delivery quantity in sales unit (DLV_QTY)

The actual delivery quantity in base UoM (DLV_QTY_IMUNIT)

The sales unit (SALES_UNIT)

The ISO code for the sales unit (SALES_UNIT_ISO)

The base unit of measure (BASE_UOM)

The ISO code for the base unit of measure (BASE_UOM_ISO)

In the control of the outbound delivery at item level parameter (ITEM_CONTROL)

The delivery number (DELIV_NUMB)

The delivery item (DELIV_ITEM)

The Change Delivery Quantity indicator(CHG_DELQTY)

If you do not make any further entries, the system copies the material number, plant, quantities as floating point numbers, volumes, weights, and their units from the original outbound delivery document.

Please let me know what exactly you want to change in the delivery document.

Accordingly, you will have to populate the control data also for header(HEADER_CONTROL) and item level (ITEM_CONTROL).

KR Jaideep,

Read only

0 Likes
822

Hi Jaideep,

Actually i am having a delivery,delivery item,batch no.

1 delivery may have multiple batches corresponding to it.I have to create new line items for the delivery and assign each batch.

Thanks,

saumia

Read only

0 Likes
822

Hi,

Try populating item_data and item_control. In item_data you have a parameter for batch number as well.

Populate item_data with the item number and batch number for you delivery.

KR Jaideep,