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

Outbound delivery split with BAPI_OUTB_DELIVERY_SPLIT_DEC

Jelena_Perfiljeva
Active Contributor
0 Likes
880

I'm trying to use BAPI_OUTB_DELIVERY_SPLIT_DEC to split certain large outbound deliveries. The goal is to keep as much lines as possible on the original delivery and split the rest onto a new delivery. I use split profile 0003 and populate ITEMDATA with the items that should be split.

The result is as follows: new delivery is being created correctly but the splitted items remain on the original delivery with their status changed to "not relevant for picking". This is OK and allows us to post goods issue correctly on both deliveries. However, for some reason the split items have status "billing relevant" on both deliveries and the subsequent billing documents are created with duplicates, i.e. we are billing twice for the items that occur on both original and split delivery.

Has anyone had a similar issue or is it just us? I could not find anything regarding this in OSS.

2 REPLIES 2
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
558

Closing the question. Resolved by deleting the splitted items from the original delivery.

Read only

0 Likes
558

Hi ,

Can u plz tell sample code for BAPI_OUTB_DELIVERY_SPLIT_DEC. I am using it for splitting deliveries with reference to Sales

Document Number.

Thanks

Nagarajan