cancel
Showing results for 
Search instead for 
Did you mean: 

Freight Order: Automatically setting the Shipper and Procuring Company Code

t_jungesblut
Participant
0 Kudos

Hello experts,

When creating a Freight Order, we'd like to automatically fill in two fields. the Shipper and the Procuring Company Code.

For the shipper, the system is supposed to fill in the same business partner for every Freight Order. The Shipper is set for each customer and appears in the Partner-tab in each Sales Order and Outbound Delivery. However, after that the shipper isn't carried over to the Freight Unit/Freight Order.

So far the system fills in the correct Ship-To-Party, but the Shipper remains empty. How does the Freight Order fill in the Ship-To-Party (location?) and is the same logic perhaps applicable for the Shipper?

Regarding the Procuring Company Code, we tried to use the transaction PPOME and customized it according to relevant SAP-documentation:

->Procuring Company Code

-->Purchasing Organization

(--->Purchasing Group, which isn't needed in our case)

However, the Procuring Company Code doesn't appear in subsequent Freight Orders.

Are there other ways to get the Procuring Company Code or did we customize the PPOME wrong?

Regards,

Tim

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member809312
Contributor

Hi Tim,

The CC you're in Sales Order /Outbound Delivery is the same as you have in PPOME?

Check this note 3142864 - 'Procuring company code of document $1 and item 10 do not match' when creating road freigh...
Inside it you have which scenario is cover by the standard.

Regards

Rogerio

t_jungesblut
Participant
0 Kudos

Hi Rogerio,

yes, we're using the same Company Code in previous documents (we're only using one Company Code in our scenario).

former_member809312
Contributor

Hi Tim,

Which version of S/4HANA you're using?

For the CC determination if you're on S/4HANA 2020 should work also please check Oss 3142864 - 'Procuring company code of document $1 and item 10 do not match' when creating road freigh...

Regarding the BP you do not see the Shipper on FU BP Tab right?.

Check if the Source Location of your FU which is the SP_* have a BP assigned in Tx:/SCMTMS/LOC3 - Location

Regards
Rogerio

t_jungesblut
Participant
0 Kudos

Hi Rogerio,

thanks for the info on the location. That solved it.

Unfortunately, the issue regarding the Procuring Company Code remains. We're using S/4HANA On Premise 2020 (SP Stack 04 (05/2022)).

In a new Freight Order, I can manually select the Procuring Company Code implemented in the PPOME. If the field could be populated automatically we would have reached the prefered solution.

former_member809312
Contributor

Hi Tim,

For the CC determination in FO you need set in PPOME and FO document type.

->Company Code

-->Purchasing organization

--->Purchasing group

it´s a new functionality check whatever if will be applicable to your scenario, in case you can have multiples Sales Order/Outbound Delivery with different Company code can affect you active this "Basic Additional Checks". In case a you plan different FU and these FUs do not have the same company code derived from ERP.

(Enablement of Company code in Freight order of Transportation Management in S/4HANA 2020 Release | S...).

Related with business partner determination check if the right mapping between Sales Order/Outbound profile are correct with SAP TM customizing.

2138818 - Determination of business partner and location does not work correctly in Freight Order - ...

2442406 - Partner Determination Profile not considered for copied FWO - SAP ONE Support Launchpad

Technically Badis Partner Determination Profile In SAP TM. | SAP Blogs

Regards

Rogerio

t_jungesblut
Participant
0 Kudos

Hi Rogerio,

We set the PPOME and the Freight Order Type up as you mentioned and the blogpost described. Unfortunately, the Procuring Company Code still doesn't appear in the Freight Order.

Regarding the Shipper: We tried modifying the Partner Determination Profile assigned to the Freight Order Type. The Shipper is set to FXD Business Partner, so that the Business Partner assigned in the profile should automatically be assigned in the Freight Order

We also went through the notes you posted, but the Shipper still remains empty.

Are there other methods to populate these two fields?

Regards,

Tim

t_jungesblut
Participant
0 Kudos

If we go ahead and manually enter the Procuring Company Code in a Freight Order, we can see the Org (50000030) inside the table /SCMTMS/D_TORROT in the entry PurchCoOrg. It's the field we would like to fill in automatically. Interestingly, next ot it is the entry CC Origin (Origin of Company Code), which has the two possible entries "blank" (Not defined) and "1" (From Purchasing Organization)

Is there a way or some sort of customizing to set this entry to "1" by default?

t_jungesblut
Participant
0 Kudos

As far as I understand, if a unique Company Code has been assigned to a Purchasing Organization, the system should use this Company Code automatically as the Procuring Company Code of the Freight Order. Throughout all documents in our process preceding the Freight Order we have used the same Company Code and made sure, that the Company Code has been assigned to our Purchasing Organization.

We have also specified in the customizing for the Freight order type that the Freight Order is relevant for subcontracting and have specified in the subcontract checks field that the system is to perform basic additional checks.

We have also tried multiple setup variations in the PPOME.

Could our case be a bug?