cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Clipping method in Charge Calculation

Former Member
0 Likes
1,055

Hello all

In Freight Order charge calculation, I am using clipping method for calculation. But for the particular line item for which clipping method is used, charges are not calculated. I have Means of Transport and Actual Distance as scale base in Rate Table.

I found that GET_SCALE_ITEMS of class /SCMTMS/CL_TCC_CALC_CLIPPING that is triggered while calculating charges says, clipping access is not possible for non-numeric scale base and displayes an error message. Is there any way to use clipping method for this sceanrio?

Please advice.

Regards

Kannan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hello all

We got the solution for this issue.

In rate table, for those with non-numeric scale base, the check box for Rel. Calc. Method is unchecked. This option can be enabled for those with numeric scale base.

Regards,

Kannan

Answers (1)

Answers (1)

Former Member
0 Likes

In TM 9.1, the error is raised in /SCMTMS/CL_CALC_METHOD_BASE -> GSI_NORMAL_SCALE.  I believe the expectation here is that you would only have your scale base that was clipped (such as the distance) as part of the rate table.  Have you tried/confirmed that clipping works properly if you use a table that has only a numeric scale, such as your actual distance?

To solve the scenario of wanting to have different values by means of transport, I would consider using condition based rate table determination logic to identify table based on means of transport, and then set up the clipping table for each MTr.  Perhaps not ideal for your scenario, but still fully standard.