on 2025 Mar 20 4:54 AM
HI,
I have a business Requirement for doing PGI for set of outbound deliveries in same ROUTE. I am using Class name : /SCWM/CL_GOODS_MOVEMENT method : /SCWM/IF_GM_DLV~POST_DLV . When i was trying for more than one Outbound deliveries.. it was only processing for first/one delivery from the list and No PGI for remaining outbound DO's.
sample code:
/scwm/cl_goods_movement=>post_dlv(
EXPORTING
it_dlv = lt_dlv_post
iv_gmcat = /scwm/if_docflow_c=>sc_gi
iv_post_part = CONV #( abap_true )
iv_keep_data = abap_true
IMPORTING
eo_message = DATA(lo_message_post)
).
/scwm/cl_dlv_management_prd=>get_instance( )->save(
EXPORTING
* iv_synchronously = abap_true
iv_do_commit_work = abap_true
iv_wait = abap_true
IMPORTING
ev_rejected = DATA(lf_rejected)
ev_rollback_work_done = DATA(lf_rollback_work_done)
ev_commit_work_done = DATA(lf_commit_work_done)
et_message = DATA(lt_message_save)
).
Please Suggest and requested to share your expertise /experience on this topic.
Request clarification before answering.
When the standard transaction VL06G is there to cater your requirement, not sure, whether you explored this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
6 | |
1 | |
1 | |
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.