cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc: Generating HU number in EWM for Inbound Delivery

Ozgurince
Discoverer
0 Kudos
331

Hello SAP-experts,

 

We are trying to create an Inbound Delivery in EWM using IDocs. The requirement is that the Inbound Delivery Notification includes an HU generated by SAP (internal). Therefore, in the IDoc (Basic type SHP_IBDLV_SAVE_REPLICA02) we use the following segments: E1BPDLVHDUNHDR and E1BPDLVHDUNITM.

We managed to make this work and the IDoc is sent to EWM, ONLY when the HDL_UNIT_EXID is known. However, we want SAP to generate the HU number when it is send to EWM. We fail at this and get the following error: “Field Handling Unit is not filled in HU Message No. /SCWM/DELIVERY279” when we leave HDL_UNIT_EXID blank. 

Also, we’ve tried using a $ as a temporary number, subsequently SAP does create a HU number like we want but still we get an error:

“HU 1700 (<PACKMATERIAL>) was constructed

Handling unit $ does not exist

Handling unit 1700 was changed

Error in step processing”

 

Currently we have the following fields filled in:

E1BPDLVHDUNHDR

  • HDL_UNIT_EXID: $
  • HDL_UNIT_EXID_TY: A
  • SHIP_MAT: <Packaging Material>
  • BASE_UOM
  • BASE_UOM_ISO
  • CONTENT <Item>
  • SH_MAT_TYPE: <Packaging Material Type>
  • PLANT

 

E1BPDLVHDUNITM

  • HDL_UNIT_EXID_INTO: $
  • DELIV_NUMBER
  • DELIV_ITEM
  • PACK_QTY
  • SALES_UNIT
  • SALES_UNIT_ISO
  • MATERIAL
  • HU_ITEM_TYPE: 1
  • PACK_QTY_BASE
  • BASE_UOM
  • BASE_UOM_ISO

 

Could anyone assist us with this.

 

Kind regards,

Ozgur

Accepted Solutions (0)

Answers (0)