cancel
Showing results for 
Search instead for 
Did you mean: 

Validate route against inco term

Former Member
0 Kudos

Does SAP have functionality to validate a route/inco term combination. For instance, a prepaid inco term should not be allowed on a delivery that is being picked up by customer. This is invalid combination.

Thank you,

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I am closing this based on earlier proposed solution:

Create a table for user maintenance to enter invalid inco and route combination; Assign a view to the table with transaction

For deliveries, modify class ZCL_IM__LE_SHP_DELIVERY, then IF_EX_LE_SHP_DELIVERY_PROC~DELIVERY_FINAL_CHECK. Check the two values and validate based on table contents.

Thank you,

Former Member
0 Kudos

Create custom table for invalid inco and route combination might not be a good idea at all. Think about how many different combinations there are and you will know the answer.

Former Member
0 Kudos

The solution works for my business since we have less than 100 at this time and it is not expected to increase exponentially.

If you had a better suggestion, it would be good to know.

Former Member
0 Kudos

Delivery Split depends upon:-

1. Ship-to Party

2. Shipping Point

3. Route

4. Incoterms

Try T Code 0VTC.Here you can assign Route to Customer.

Best Regards,

Ankur

Former Member
0 Kudos

Question was not related to delivery split.

Is there functionality to force specified combinaton of route and inco terms and prevent others?

0VTC allows the definition of route and stages. Customer is not associated with the route.

Transportation planning point may be a better alternative; however, that does not handle my situation. The transportation planning point is used by many customers.

A route may be used to many customers also from the same shipping point.

Thanks for the response.

Former Member
0 Kudos

Select Route > Transportartion Connection Point > New Entries > Ref Customer/ Vendor.

Her you can mention the Customer.

Best Regards,

Ankur

Former Member
0 Kudos

Thanks again Ankur. Perphaps, I am not being clear or I am not understanding what you are trying to convey.

Here is a scenario:

Route BUYR may be used by many customers. No stages are associated to the route. The route may be used across the country. It simply indicates that the buyer will pick up the goods.

The BUYR route should not be permitted with a Prepaid Inco Term. The delivery document is processed with the BUYR route and PPD inco1 terms. This is incorrect. There is nothing in place to prevent this combination. How can this combination be prevented? Is this configuration or customization?

I am currently attempting to create a custom table that will permit user to enter the invalid Inco and route combinations. The user exit will then be updated to execute logic to check table and process error to user that the inco and route combination is invalid.

Is there a more standard SAP way to accomplish this?

Former Member
0 Kudos

Either you can achieve the same through User Exit MV45AFZZ by maintaining the Combination that if Route "BUYR" & Incoterms "Prepaid" are available in the sales order ,then it would not allow to Deliver the Document.

Also you can maintain that if this combination is available in the sales order , it will throw an error.

You can maintain the same at Header / Item Level.

Best Regards,

Ankur