on ‎2022 Jul 24 7:48 AM
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.
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Cross delivery with one source HU. Thank you for the answer, it helped me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
| User | Count |
|---|---|
| 14 | |
| 5 | |
| 4 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.