cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Fetch warehouse task from delivery in SAP EWM

0 Likes
2,722

I have to fetch warehouse task from delivery, after fetching ware house task i have to fetch complete delivery list(Cross deliveries) from warehouse task programatiaclly . Is there a function module or class method to do this.

Accepted Solutions (1)

Accepted Solutions (1)

Daniil
Active Contributor

Hi,

It is not clear where the cross delivery. Is it an HU? Or do you need all tasks of the warehouse order? Or something else?

I cannot tell FMs or classes right now, but in general if you have the warehouse task (let's suggest the task is confirmed.you can select confirmed picking tasks using document ID from the table:

/Scwm/ordim_c-rdocid > you get the who from there > you can select all the tasks with this WHO and you have list of the deliveries via rdocid. Same if it is a same pick hi, but instead of WHO you can use NLENR.

If you have a cross delivery HU it be better to read this HU (/scwm/*hu* something like read or select) and there you have all the quants with qdocid reference to the delivery.

More precise way depends on your processes.

Answers (1)

Answers (1)

0 Likes

Hi, Cross delivery with one source HU. Thank you for the answer, it helped me.

Daniil
Active Contributor

If goods issue already done you can read HU with reference to delivery ( table /scwm/huref or /scwm/hu*dlv* ). If at the end GI is posted with TU you can read the TU. And you do not need WT for this.