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

Change Delivery

Former Member
0 Likes
1,143

Hi ,

Can anyone please suggest how to add line items to Change Delivery ( VL02N ). Can i use BAPI_OUTB_DELIVERY_CHANGE to achieve this functionality.And what data i have to pass for this?

Thanks in Advance,

Anjani.

Hi ,

Can anyone please suggest how to add line items to Change Delivery ( VL02N ). Can i use BAPI_OUTB_DELIVERY_CHANGE to achieve this functionality.And what data i have to pass for this?

Thanks in Advance,

Anjani.

6 REPLIES 6
Read only

Former Member
0 Likes
1,024

Hello Ajnani,

'BAPI_OUTB_DELIVERY_CHANGE' is a 'BAPI for Change to Outbound Delivery'. According to SAP help documentation,

"You can use this method to change outbound deliveries in both the Enterprise Resource Planning system (ERP system) and the decentralized Warehouse Management System (WMS), according to their respective distribution to the decentralized WMS. You can make these changes in the central ERP system and in the decentralized WMS. The interface ensures that outbound delivery data planned for a comparison is identical in both systems, even after subsequent changes."

You can find further documentation, for instance about required parameters, in SAP help.

Thanks,

- Vik.

Read only

Former Member
0 Likes
1,024

Hi vik,

I want to know the parameters i have to pass to this Function Module to add a line item. can you please help on this..

Thanks,

Anjani.

Read only

0 Likes
1,024

Hi Anjani,

There is too much documentation to post into the forum, so I suggest that if you have the SAPGui, you do the following:

1. Run transaction SE37

2. Enter function module name BAPI_OUTB_DELIVERY_CHANGE

3. Hit display

4. Hit the button Function Module Documentation

5. Down the bottom of the documentation you have a detailed description of each of the parameters (with hyperlinks)

You can do this for all BAPIs.

Cheers,

Brad

Read only

0 Likes
1,024

Hi,

Can you use this BAPI if you are not using a decentralised warehouse? E.g. Just to do a standard outbound delivery item quantity change (VL02N equivalent). Have looked at the documentation and it all suggests decentralised and when we have tried to implement this in standard we get the following error message

"004 Error in document &1 item &2 (quantity consistency check)"

MSG CLASS VLBAPI

We have looked at the documentation and tried different combinations of the QTY fields but always get this message.

We are using AFS system ECC5.

Read only

0 Likes
1,024

Just found the answer and think have solved the problem at the following site

http://sap.ittoolbox.com/groups/technical-functional/sap-log-sd/doubts-in-bapi_outb_delivery_change-...

Read only

Former Member
0 Likes
1,024

You can change the values by using FM BAPI_OUTB_DELIVERY_CHANGE ,

if you want to add new line item this fm will not work.

there is one more function module to update delivery : LE_MOB_DELIVERY_UPDATE