on ‎2021 Oct 05 6:31 AM
Request clarification before answering.
Hi Jacky, try it out with PPF. This functionality is used to perform some actions automatically, goods issue as well.
It depends on your process if it fits or not. But you can use as well code from PPF implementation if you need it.
But if you still would like to use coding, it could be
/scwm/cl_goods_movement=>post_dlv(
EXPORTING
it_dlv = lt_dlv
iv_post_part = lv_post_part
iv_keep_data = abap_true
iv_gmcat = /scwm/if_docflow_c=>sc_gi
IMPORTING
eo_message = lo_message ).BR,
Daniil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jacky try to call SAVE after you post GI
/scwm/cl_dlv_management_prd=>get_instance( )->save(
EXPORTING
iv_synchronously = abap_false
iv_do_commit_work = abap_true
iv_wait = abap_true
IMPORTING
ev_rejected = lv_rejected
et_message = et_message ).<br>
/SCWM/IF_API_WHR_OUTBOUND (available with S/4HANA 2020)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 17 | |
| 16 | |
| 5 | |
| 3 | |
| 2 | |
| 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.