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

problem while using BAPI_OUTB_DELIVERY_SPLIT_DEC

Former Member
0 Likes
3,535

Hi Techies,

I am facing some issues while using the BAPI BAPI_OUTB_DELIVERY_SPLIT_DEC for my requirement.

The requirement is as  follows:

i get a original delivery number and shipment qty from IDOC i.e from third party warehouse. Based on the flag set if the shipment qty is less than the delivery qty i need to split the original delivery to subsequent new outbound deliveries which we achieve this using VLSP standard transaction.

Firstly can you please let me know whethere iam referring to the correct BAPI or not?

While iam using this bapi i am getting the error

E LEDSP 037

and sometimes it is creating the new delivery but with Zero quantity for both original delivery and new delivery.

I am passing the parameters as follows:

Delivery = original Delivery number

Delivery_num = new delivery number

split profile = 0003

and then iam filling the item data as below

delivery_new = new delivery number

qty = shipped qty from idoc

unit= EA

sales = 1

can anyone please suggest the solution like what are all the exact parameters to be passed to the BAPI.

Thanks in advance.

solution is highly appreciated as it is very urgent.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,958

Hi Sridhar,

The problem is with the correct usage of parameters passed to the mentioned BAPI.

Please check the profile is correctly configured or not with the functional consultant and then check whether the item has batch split or not.

so once u pass the correct parameters you will get the bapi executed successfully.

The error you mentioned is regarding the data for the delivery is buffering automatically.

3 REPLIES 3
Read only

gouravkumar64
Active Contributor
0 Likes
1,958

Hi,

There are few threads on it,in which You can find how & which parameter You have to pass .Like

http://scn.sap.com/thread/1896484

May be some issue in testing data.

Also check notes like

Note 382870 - BAPI_*_SPLIT_DEC:BAPI posted successfully, although error

Note 1102476 - BAPI_OUTB_DELIVERY_SPLIT_DEC: Error msg. due to buffering

Thanks

Gourav.


Read only

Former Member
0 Likes
1,959

Hi Sridhar,

The problem is with the correct usage of parameters passed to the mentioned BAPI.

Please check the profile is correctly configured or not with the functional consultant and then check whether the item has batch split or not.

so once u pass the correct parameters you will get the bapi executed successfully.

The error you mentioned is regarding the data for the delivery is buffering automatically.

Read only

0 Likes
1,958

Hi,

I have changed my split profile and it worked perfect:)

Thanks a lot.