Skip to Content
Personal Insights
Author's profile photo Mrinal Kanti Roy

Enablement of Company code in Freight order of Transportation Management in S/4HANA 2020 Release

SAP Transportation management ( TM ) supports planning and execution of freight management. SAP TM handles primarily logistic data and not much of financial data (or transactions). Hence , TM did not have any field or value for company code till S/4HANA 1909 release. Now, SAP has enabled ‘Company code’ in Freight order , freight booking and service order in S/4HANA 2020 release. My present blog is to discuss on the benefits for enabling company code in freight order in TM.

A typical Order to cash flow with embedded TM in S/4HANA is shown in below image. TM has the functionality of calculation of freight cost (known as charge calculation in TM) and creation of Purchase order to the freight carrier. This Purchase order is created in ERP or S/4HANA core and the information of company code is needed in that purchase order for the financial postings. Till S/4HANA 1909 release, this information of Company code is derived from the configuration (IMG->Transportation management->Settlement->Freight settlement->Integration for financial posting->Assign purchasing information for posting) as shown in below image at the time of creation of purchase order in ERP or S/4HANA core. Note that a plant is mapped to a unique company code in SAP.

This derivation of plant or company code at a later stage of the flow (i.e at the time of creation of purchase order) has limitation , if carrier purchase order needs to be created in multiple plants or if tax regulation needs multiple plants. As the FSD type (Freight settlement document type) is uniquely assigned to plant as in above image, multiple FSD types are required to meet the requirement of multiple plants (or company codes) for carrier purchase order. SAP provided a BADI as stated in note 2583557 for an workaround.

SAP has now eliminated the above limitation by enabling ‘Procuring company code’ in freight order (freight booking and service order) and freight settlement document as shown in below process flow diagram and screenshots of freight order & freight settlement document from S/4HANA 2020 release.

 

System automatically populates the value of ‘Procuring company code’ from the Organization unit assigned to the purchasing organization in PPOME and the same is copied to the freight settlement document (FSD).

System can also check the unique mapping of ERP company code with the organization unit (company code) from PPOME and displays the below error message in case of mismatch .

The above check is carried out if the freight order type is set for ‘Basic additional checks’ in its customizing as shown in below image.

This enhancement enables the

i) determination of plant and company code more flexibly instead of depending on the freight settlement document type

ii) reduction of the requisite number of FSD types for multiple plants

iii) simplifies freight settlement process

This blog is based on my personal insights, tests and observation in S/4HANA 2020 release. Will appreciate your comment and feedback.

 

Assigned tags

      6 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Siddhartha Mishra
      Siddhartha Mishra

      Very nice blog thanks

      Author's profile photo Roland Kramer
      Roland Kramer

      See the Blog – Upgrade to SAP S/4HANA 2020 – time to change how to go forward to SAP S/4 2020

      Best Regards Roland

      Author's profile photo Akshat Kumar
      Akshat Kumar

      Hi Mrinal,

      Thanks for the blog post, I had a query about the procuring company code. We have done the assignments in PPOME, but on creation of freight documents such as freight orders and freight bookings, the procuring company code isn't populated automatically. Any idea what configuration might be missing?

      Thanks!

      Akshat

      Author's profile photo gopal krishan
      gopal krishan

      Hi Akshat,

      There are 2 point that you need to verify:

      a, Mapping of ERP company code with the organization unit (company code) from PPOME. This is procuring company code in ERP.

      b. Select basic additional check as in the screen above.

      Hope this helps.

      Thanks

      Gopal

      Author's profile photo João Vasconcellos
      João Vasconcellos

      Hi Mrinal Kanti Roy .

      How are you? We are doing a FO with 2 stages to generate 2 FSD's. That´s ok, but when we posting the FSD happens the following error:

      "Company code not determined for FSD" message nr. /SCMTMS/SFIR241.

      However we are meeting the requirements to S/4HANA in the Freight Order (see the screenshot 1). But only in one of the FDS's is the Company code fields populated. In the second FDS doc there wasn't filling of th company code value. (see the screenshots 2 and 3).

      Any idea what it might be?

      Thanks. Jony Vasconcellos

       

      Author's profile photo Eric Etienne
      Eric Etienne

      Thank you Mrinal Kanti for this blog which is very Clear

      However it seems very clear that for my customer who has a unique global purchasing organization (not company linked) there is no standard solution to derive the right local plant hence the local company

       

      Can you confirm that statement?

       

      Thanks