on 2022 Aug 25 3:56 PM
Hi,
I'm trying to read HUs against Inbound Deliveries for which GR posted.
We have tables /SCWM/HUHDR (HU table before GR Posted against Inbound Delivery), /SCWM/GMHUHDR (HU Table after GR Posted against Inbound Delivery).
Now I'm using FM "/SCWM/HU_SELECT_GEN" to read HUs against Inbound Delivery Document IDs. This FM is returning only HUs against Deliveries for which GR posting is not done i.e. only Unloading or HU creation is done.
Once we do GR posting against a Inbound Delivery, then HUs will be deleted from table /SCWM/HUHDR and saved into table /SCWM/GMHUHDR table due to this the FM "/SCWM/HU_SELECT_GEN" is not returning HUs.
Kindly suggest me how to select Hus against Inbound Delivery properly in EWM ABAP.
Regards,
Manish.
Request clarification before answering.
Are you talking about HUs that are just GR posted or HUs for which putaway is done? Once HUs are confirmed into final storage type the lose their link to the inbound delivery. Then no way that HU_SELECT_GEN returns anything. What you can do is to retrieve the warehouse tasks used for putaway. They still have the RDOCID. And in the WTs you see which HUs were used. Buy doing so you still get the link between inbound delivery and HU after putaway.
However, if the HUs are just GR posted, they still have the link to inbound delivery and HU_SELECT_GEN should return a result. GMHUHDR applies to HUs for outbound deliveries after GI posting but not for inbound deliveries.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You can get this through the Query method of class /scwm/cl_dlv_management_prd
Best regards
Janardhan S Musigeri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
4 | |
4 | |
4 | |
3 | |
2 | |
2 | |
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.