cancel
Showing results for 
Search instead for 
Did you mean: 

Update of 'Means of Transport'

Former Member
0 Kudos

Hello,

Say, when a PO is created and successfully transferred to SNC, material X in the PO was having means of transport as 0001(Truck). This information was successfully present in the PO in SNC.

However, later on this means of transport was updated to 0003(AIR) for the material X.

The subsequent change of the means of transport from 0001 to 0003 is not automatically updated for material X in the PO. This data inconsistency leads to validation failures in some scenarios.

Is there a way/trigger to enable the automatic update of PO when the means of transport is changed/updated for the material?

Thanks in advance for your help!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Rakesh,

The Means of Transport gets assigned to a PO Line item based on the Std. Validation Check : PO_TTYPE_ASSIGN.

The logic for this Check is as given below :

If the purchase order item does not contain a means of transport, SAP SNC assigns a means of transport to the purchase order item as follows:

  1.   If a transportation lane exists between the ship-from location and the ship-to location, SAP SNC assigns the purchase order item a means of transport that is assigned to this transportation lane.
  2.   If the purchase order for the ship-to location contains an address but no location ID, or if SAP SNC cannot find a transportation lane between the ship-from location and the ship-to location, SAP SNC assigns the purchase order item a means of transport that is assigned to the transportation lane between the ship-from location and the customer location.
  3.   If SAP SNC does not find a means of transport in step 1 or step 2 but the purchase order refers to a contract or a scheduling agreement, SAP SNC assigns the item a means of transport of the transportation lane that is assigned to the contract or the scheduling agreement. If multiple means of transport are assigned to a transportation lane, SAP SNC uses the means of transport with the longest transportation duration.

Now coming to your query, can you explain where are you chnaging the Means of Transport - Is in the SNC TLane ?

Regards,

Bharath

Former Member
0 Kudos

Hi Bharath,

Yes indeed, in SNC TLane!

Thanks

Former Member
0 Kudos

Rakesh,

If the change is made in SNC Tlane, it will not update the same in the PO's thats already reached SNC. However, any new PO's coming into the SNC system will have the new Means of Transport.

The only way it will get updated for the Old PO's is if the same PO is resent again from ECC.

You would have to go in for a custom enhancement, if this is a regular occurence.

Regards,

Bharath

Former Member
0 Kudos

Thanks Bharath!

Your help is much appreciated!

Answers (1)

Answers (1)

shekhar_gupta3
Explorer
0 Kudos

Hi Rakesh,

in your original question, You said "This data inconsistency leads to validation failures in some scenarios."

Can you please indicate, what is failing? Is it the ASN creation?

Regards

shekhar