cancel
Showing results for 
Search instead for 
Did you mean: 

Get outbound delivery information from warehouse task

harshad_supe
Discoverer
0 Kudos
159

Hello everyone,

I am trying to get outbound delivery information in BADI implementation /SCWM/EX_ASR_WMTORD_OUT.

I have WT, WO and stock guid. How can I get outbound delivery information based on available data?

Scenario:

Its a partial pick scenario after triggering a kanban for partial quantity(not a regular scenario) 2 WT gets triggered 1 for needed quantity and 1 for remaining quantity. In first WT reference of outbound delivery is there but in second WT reference of outbound delivery is not present.

View Entire Topic
j_blohm
Active Participant
0 Kudos

Hi,

if the WT that should be sent in the IDoc is a pick WT, use RDOCCAT, RDOCID, RITMID to read the delivery. You can read the delivery with class /SCWM/CL_DLV_MANAGEMENT_PRD, method QUERY, using DOCCAT, DOCID, ITEMID.

If it is not a pick WT and the stock already has a reference to the PDO, use the fields QDOCCAT, QDOCID, QITMID.

harshad_supe
Discoverer
0 Kudos
Hello,
harshad_supe
Discoverer
0 Kudos

Hi @j_blohm ,

Thank you for replying.

Yes it is pick WT.

Its a partial picking scenario. When an outbound delivery is received in EWM system. After wave release it created 2 WTs. One to supply needed quantity to destination and another one is sent to repack where it will be repacked and moved back to its original position. Second WT is a follow on task.

e.g.

PDO: 300000000001

WT1: Moving stock to destination 1000000001

WT2: Moving remaining stock to repack 1000000002

In WT1 I can see reference of outbound delivery, item number  but in WT2(which is a follow on task) I am not able to see reference of outbound delivery and item number.

Thanks,

Harshad