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.
Hi @gs388,
Did you check the standard Report - /SCWM/R_ODO_POST_GI ? I think Route is also there in selection.
Please check and let us know your thoughts.
Kind Regards,
Ajit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Hi @gs388 ,
Its hard to say why it is locked, my guess would be like that Cross Delivery HU( Contains multiple delivery items) or may FDO document or product ...Could you please try PGI for multiple ODO in standard PRDO or Monitor ( if you are technical , please take help of your function people) , notice the behaviour and let us know so someone can help you to fix.
Kind Regards,
Ajit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
6 | |
2 | |
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.