Skip to Content
author's profile photo Former Member
Former Member

How to pack material (linked to a delivery) with BAPI_SHIPMENT_CHANGE ?

Hello All,

i would like to pack material into Handling Unit with the BAPI_SHIPMENT_CHANGE like in transaction VT02N

i have created my shipment with BAPi_SHIPMENT_CREATE : i see material with delivery reference in part of screen

"Material to ba packed" and my Handling Unit in part of screen "All existing Hus available for packing".

i want to pack the material into the Handling Unit but i don't know how to fill BAPI_SHIPMENT_CHANGE to pack the material.

is it possible with this bapi ?

Thanks a lot for your answers

Regards,

My

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 07, 2010 at 09:54 AM

    Hi My,

    You can also use BAPI_HU_CREATE/CHANGE to pack.

    create HU using the BAPI_HU_CREATE and assing it to the shipment with BAPI_HU_CHANGE adding the Object (04) and Object key (Shippment Number).

    OR.

    pass below values to BAPI_SHPMNT_CHANGE:

    HDUNHEADER fields to be filled

    VEKP-VENUM

    VEKP-EXIDV

    VEKP-BRGEW

    VEKP-GEWEI

    VEKP-BTVOL

    VEKP-VOLEH

    HDUNITEM fields to be filled

    VEPO-VENUM

    VEPO-VEPOS

    VEPO-VBELN

    VEPO-POSNR

    VEPO-VEMNG

    VEPO-VEMEH

    VEPO-MATNR

    VEPO-CHARG

    --

    Reddy

    Edited by: V.V.Reddy on May 7, 2010 12:05 PM

    Add comment
    10|10000 characters needed characters exceeded