Skip to Content

Transportaion charges from external provider

Hi All,

We are using external provider to calculate transportation charges. I've found an appropriate notes on help.sap.com regarding calculation method modeling in case of own calculation. It's mentioned about an implementation of the interface Calculation Methods Interface (/SCMTMS/IF_TC_CALC_METHODS).

I've implemented all three interface's methods but didn't reach the goal.

The issue is that interface method CALCULATE has one exporting parameter, but in fact, later in the standard code (after calling to my class which implements that interface) this parameter 'ET_AMOUNT' is not used and not indicated in the class parameters at all.

Who have an idea or experience of changing transportation charges from the outside? Maybe it's required to use BRF+ framework then what is the sequence of activating and reading of an objects?

Add a comment
10|10000 characters needed characters exceeded

  • Hi Andriy,

    This post seems to be very old, but i have the same requirement where I need to extract fuel surcharges from external charge service provider(NOT SMC3 - some other 3rd party service provider) which has web service. Can you please help me to know how to achieve this and what all steps we need to follow in configuration and technical aspects also.

    Thanks in Advance !!

Related questions

2 Answers

  • Best Answer
    Posted on Jun 15, 2013 at 05:33 PM

    Hi Andriy,

    SAP TM101 means TM 8.1. In 8.1 we provide end-2-end integration with SMC3, you just need to maintain this calculation method in your TCCS and it will start working. I'm not sure if you are trying you use SMC3 or some other external service providers.

    BRF+ wiil not help if you are trying to invoke a web service call for external charge calculation, but it gives a possibility to do complete charge calculation in BRF+ using formula & expressions.

    Just implementing /SCMTMS/IF_TC_CALC_METHODS interface will not suffice, i can help you if you share more details of the web service etc.

    Thanks & Regards,

    Tarun Kumar

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi, Phil,

      Thanks for your effort but integration was partially completed. Partially - because we have to integrate not with SMC3 but with a local provider who didn't have a corresponding web service but only a legacy technology - provided by DLL functions.

      The second part and it relates to my original question in posting - is how to save calculated data to SAP system. I would say that Tarun's last response help me with a decision. First, I was confused with much of code in SMC3's implementation but later on, through debugging, I've realized that only several rows was effective for me. So, I've successfully inherited my class from /SCMTMS/CL_TCC_GET_RATE_EXT.

      Best regards,

      Andriy

  • Posted on Jun 13, 2013 at 04:04 PM

    Hi Andriy,

    I do not know the answer to your question, but would suggest that you include which version of TM you are working with. Charge Calculations changed dramatically from 8.0 to 9.0.

    Regards, Mike

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.