Skip to Content
avatar image
Former Member

BAPI FOR PACKING

I have done BAPI_HU_CREATE and BAPI_HU_CHANGE_HEADER, both of these bapis are succeeded. But packing is not updating in delivery. Kindly help.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Mar 07, 2014 at 09:07 AM

    Hi

    Have you wrote after the BAPI with the COMMIT, for instance, BAPI_TRANSACTION_COMMIT. See SAP Note 131838 - Collective note for BAPIs w/ 'Commit Work' command for further information.

    I hope this helps you

    Regards

    Eduardo

    Add comment
    10|10000 characters needed characters exceeded

    • I don't think you can assign Handling unit for packing to delivery through FM BAPI_HU_CREATE and BAPI_HU_CHANGE_HEADER. As those FM are only used for creating or change Handling units. And in either of the FM, you can't find a field related to Delivery. This means you need a FM which can assign relevant handling unit/s created or change BAPI_HU_CREATE or BAPI_HU_CHANGE_HEADER to respective delivery.

      I'm not sure, as I'm not Techno-Functional. But you can give try to following FM for the same.

      • WS_DELIVERY_UPDATE
      • SD_DELIVERY_UPDATE_PACKING
      • PACK_HANDLING_UNIT_DLVRY

      Mind you those FM should be used after you have generated Handling unit/s in respective FM.

      Thanks, JP