cancel
Showing results for 
Search instead for 
Did you mean: 

Can we trigger the PGI of Deliveries when SHPMNT05 IDoc sets Shipment to Complete

neal_florine
Explorer
0 Kudos

We have an external warehouse that is sending us back EDIFACT DESADV messages to pack our deliveries(which are in a Shipment). Then we will get an EDIFACT IFTMIN when the shipment is complete. We convert that to the SHPMNT05 IDoc, and figured out on how to set the Shipment Completion status, and date. Is there a standard function/segment in the IDoc to PGI all the deliveries. Or is there configuration in the SPRO that can be done to trigger that based on the Shipment Completion. Or do we basically need custom code in the IDoc processing user exit to handle this?

Thanks for any help.

Neal

Accepted Solutions (0)

Answers (3)

Answers (3)

NiteshSaluja1
Advisor
Advisor

Hi Neal,

You can perform an automatic PGI once the shipment completion is done on Shipment. You can do this by creating a variant in program 'RV56ABST' for auto PGI and assign the variant created in customizing - Logistics Execution > Transportation > Shipments > Define and Assign Activity Profiles for the shipment document type at Shipment Completion field.

Hope it helps.

BR//

Nitesh

neal_florine
Explorer
0 Kudos

Yes, your suggestion worked fine. I had just "heard" in another blog it could be done with the SHPMNT06, but I think I am finding that is not correct. Shipment Idocs cannot PGI Deliveries from what I have tested (except through that configuration you suggested - which works great). We may just create a new SHIPMENT type, which is a concern, as other processes depend on that type, and manual processes as well. So thanks again. We will figure out the best way going forward.

neal_florine
Explorer
0 Kudos

Thanks so much Nitesh. I will pass that on to our ABAP team. I have also heard that SHPMNT06 will do PGI, however, I am unable to find a process code/function module to work with it. If you happen to know, I would be greatful. Thanks, Neal.

NiteshSaluja1
Advisor
Advisor
0 Kudos

Hi Neal,

does the suggestion worked?

I think SHPMNT06 may not work.

BR//

Nitesh