Skip to Content

BAPI_SHIPMENT_CHANGE to automatically Pack

Hi ,

As we know BAPI_SHIPMENT_CHANGE does have the HU header and HU item with the option of specifying the delivery and delivery item ..But It is not doing the packing instead ,It says that HU Item to add the delivery has no changeable handling unit .

Has any one automated the packing of material into Handling units in VT02n transaction ? .The handling units are being created manually it is just that the packing needs to be done automatically ..

I have read comments of using the BDC in VT02 to pack it but i do not want to use that .

If we have handling unit header /item as parameters in the BAPI_shipment_change they how can't we use it ? If some one has implemented BAPI_SHIPMENT_CHANGE to do the automatic packing that is to create the HU item in transaction VT02n let me know ..

Also if some one could throw light on availability of these parameter in this BAPI and usage of it then it would be helpful ..Only place i saw where the Handling unit is getting filled is IDOC_INPUT_SHIPMENT .Is bAPI_SHIPMENT_CHANGE been designed just to mainatin the similarity with the Idoc structure ?


Anjaneya .

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Apr 29, 2012 at 06:49 PM

    Soved self using an a series of FM's .

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Anjaneya Bhardwaj


      Unfortuately it does not work with this function moduls. I get an error that the HU is not locked. When i lock the tabels i get the same error............

      Unfortunately i could not find a coding example in scn or on other websits. There is only a coding snippet for packing HU in shipment HU and not packing materials direct in shipment HU.

      If somebody has a code example i would be grateful


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.