Skip to Content
0
Former Member
Jan 18, 2010 at 02:34 PM

Adding multiple deliveries to a shipment

777 Views

Hi all,

My requirement is to add multiple deliveries to a shipment. for that I am using a BAPI, SD_DELIVERY_ASSIGN_TO_SHIPMENT. In the description of this, it is said that we can append deliveries to shipment. But, i am not able to do so.

I have passed the shipment number in export parameter and all the header related info in changing parameters.

In the tables parameters, I have passed the data as below

C_XVVTP:

MAN TKNUM TPNU VBELN

200 2039 0002 13000926

200 2039 0001 13000925

C_YVTTP:

MAN TKNUM TPNU VBELN

200 2039 0002 13000926

200 2039 0001 13000925

C_XVTSP:

MAN TKNUM TSNU TPNU U

200 2039 0002 0002 I

200 2039 0001 0001 I

C_YVTSP:

MAN TKNUM TSNU TPNU U

200 2039 0001 0002 I

200 2039 0001 0001 I

I_DELIVERIES:

VBELN TPRF

13000926 0002

13000925 0001

I_XTRLK:

VBELN

13000926

13000925

I_XTRLP:

VBELN POSNR

13000926 000002

13000925 000001

I_XVTTS:

MAN TKNUM TSNU T

200 2039 0002 I

200 2039 0001 I

By passing the data in this format, I am not able to add deliveries to the shipment. It is not returning any message or error. Can anyone please tell me if there is any parameter i am missing or if I should call any other FM after using this, or any other BAPI altogether which meets the fuctionality to add many deliveries to a shipment.

Thanks and Regards,

Avinash