cancel
Showing results for 
Search instead for 
Did you mean: 

Print HU label at Product WT confirmation in S/4HANA Cloud

Markas
Explorer
232

We have a business requirement to print HU labels after picking and packing. We want to print the label after the material has been committed to the Handling Unit (not at HU creation).

Looking at OPD, I don't see an available option to represent this. It looks like there is a flag for 'HU Task exists'. This should work, as when the material is committed to the HU, it also creates the drop off HU Task. However, this doesn't seem to trigger our outputs.

Is there an OPD trigger for Handling Unit output type to trigger HU label creation at product WT confirmation?

 

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Christian_Ries
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi @Markas ,

since you want to print during warehouse task confirmation, have you already tried to work with warehouse order documents? I would assume, this form also has all the information you need and you can adjust the form layout as needed. The printing should be called also during warehouse task confirmation.

Best regards,
Christian

Markas
Explorer
0 Kudos
We thought about this, however, we need to print the HUs at the task level not the Warehouse Order level. I believe? I've seen a Badi in Private that allows us to extend OPD from the Warehouse Order level to the WT task level instead but I don't think this is available in public. We have 50 picks (WT) per WO.
Christian_Ries
Product and Topic Expert
Product and Topic Expert

You are right, that the print is generally for the warehouse order but since the warehouse tasks are a child of the warehouse order, the printing is also triggered during warehouse task confirmation.

If you set up the OPD to print for warehouse order status "D", then printing should be triggered for the confirmation WT 1-49, if you additionally set up to print for status "C", then printing should also be triggered for the confirmation of WT 50.

For the confirmation of WT 1-49, the form data provider will pass all open warehouse task. So for example, when confirming WT 1, the open warehouse tasks 2-50 will be passed to the form. To my understanding when confirming WT 1 you want to print for WT 1 - which is exactly the WT which is not passed to the form. To achieve this you can implement BAdI  /SCWM/EX4_OM_WHO_EXTEND_WT  to read the confirmed warehouse tasks for that warehouse order from CDS view I_EWM_WarehouseTask_2. For WT 1 the logic would be easy, because there is then only one confirmed WT. To make sure the logic also works for WT 2-50, it is probably easiest to sort the confirmed warehouse task descending by ConfirmationUTCDateTime.

I hope this helps.

Best regards,
Christian

Ryan-Crosby
Active Contributor
0 Kudos

@Christian_Ries yes, this is exactly the strategy we are doing in our new design of sorting descending after reading confirmations too, and the one extra step is to remove tasks by other users because in our case we may have multiple pickers working on the same WO.