Skip to Content
0
Former Member
Oct 03, 2017 at 02:24 PM

How to add new position to outbound delivery?

1321 Views

Hi,

When I save with vl02n I want to add an additional position to the existing outbound delivery. I have tried BAPIs/FMs like

BAPI_OUTB_DELIVERY_CHANGE

BAPI_OUTB_DELIVERY_CHANGX

WS_DELIVERY_UPDATE

But they seem to work only to change existing positions (not to add a new one).

I've also tried to add the new position programatically to itabs

XLIPS[]

ILIPS[]

SLIPS[]

in the PBO, PAI sections of vl02n. It then shows it on the screen but the new position is not saved after you press save.

I've also tried playing the the above itabs in user exit USEREXIT_SAVE_DOCUMENT_PREPARE without success.

Has anyone done this before and knows how its done?