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.