cancel
Showing results for 
Search instead for 
Did you mean: 

EWM: Class /SCWM/CL_DLV_PACK_IBDL Method /SCWM/IF_PACK_BAS~SAVE Create HU for Outbound Delivery

k_sood
Active Participant
0 Kudos

Hi All, 

I am trying to create a HU for Outbound delivery. The HU is created in the buffer successfully using the methods INIT and /SCWM/IF_PACK_BAS~CREATE_HU of the same class /SCWM/CL_DLV_PACK_IBDL. 

However when calling the Save method of the this class(Which is a redefinition of the Super class Method), HU is not getting saved because of this Check.

 

 

* in inbound packing empty HUs have to be deleted. They have no
* refrence to a delivery and would never be selected again.
  CHECK /scwm/cl_dlv_pack_ibdl=>gv_doccat =
        /scdl/if_dl_doc_c=>sc_doccat_inb_prd.

 

 

If I am not explicitly setting this variable gv_doccat, it is Empty. But why should I set it to PDI, If I dont set it as PDI, The save will not work. This check is not making any sense to me. Any Help ?

Thanks

Ketan

EWM - Basis

Accepted Solutions (0)

Answers (0)