Skip to Content
0

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

Apr 27, 2017 at 03:16 PM

199

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Nitesh Saluja May 01, 2017 at 07:15 PM
1

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

Share
10 |10000 characters needed characters left characters exceeded
Neal Florine May 02, 2017 at 03:09 PM
0

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.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Neal,

does the suggestion worked?

I think SHPMNT06 may not work.

BR//

Nitesh

0
Neal Florine May 08, 2017 at 05:21 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded