on 2021 Oct 06 12:07 PM
I have been successful in creating and packing HUs for this task(Create HU, Pack HU, Receive HU) utilizing SAP EWM Methods thanks to Mehmet Ozgur Unal and Juergen Pitz(Function Module / Class EWM - Inbound delivery order / Create Hu , Pack Hu , GR | SAP Community). I would like to "receive"(GR the HU) the material at the dock into a specified location using SAP EWM Methods. Has anyone accomplished this request in SAP EWM? Thank you for your help.
Request clarification before answering.
Hi Jim,
what do you mean with "SAP EWM Methods" ABAP? If yes, something like this should work
DATA(lo_delivery) = /scwm/cl_dlv_management_prd=>get_instance( ).
/scwm/cl_goods_movement=>post_hu(
EXPORTING
it_hu = lt_hu_list_gr
iv_gmcat = /scwm/if_docflow_c=>sc_gr
IMPORTING
eo_message = DATA(lo_message) ).
lo_delivery->save(
EXPORTING
iv_synchronously = abap_false
iv_do_commit_work = abap_true
iv_wait = abap_false
IMPORTING
et_message = lt_messages ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 3 | |
| 2 | |
| 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.