Skip to Content

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • May 01, 2017 at 07:15 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • May 02, 2017 at 03:09 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • May 08, 2017 at 05:21 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded