Product Information
Star-Shaped Freight Orders in SAP TM – A Status-Quo
With more and more customers moving from LE-TRA to S/4 TM, the questions around Star-Shaped Freight Orders comes up frequently, since it’s a quite popular topology on the LE-TRA Shipment.
When I was asked last week, if we actually support Star-Shaped Freight Orders in TM, I realized that I wasn’t actually to sure anymore to which extend(especially around manuall assignment). So I setup a little example on my own and thought I would share it, so you are well prepared when facing this question during your next S/4 Transformation Project.
What is a star-shaped Freight Order and why would I need it?
Let’s assume following scenario. You have an agreement with a carrier, who on a regular basis is performing milkruns for you in the region around Karlsruhe and collects shipments from different pickup locations to one of your Hubs in Bruchsal, where you will consolidate them on linehaul trucks.
In our example there are 3 Pick-ups for the day. Pforzheim, Ettlingen and in Karlruhe.
Your agreement with the carrier is to pay the transport based on the distance between every single pickup location and your Hub within one tour.
So you set up a very simple freight agreement with a charge item that has resolution base stage and distance based price(for our example let’s just take 2€/km.
For those of you who are familiar with the region it is fair to say that the truck will very likely pick-up the freight unit in Pforzheim, take the A8 to Ettlingen, pick his 2nd freight unit and after a quick trip to pick his last load in Karlsruhe continue via A5 to Bruchsal to his delivery location.
If you plan these 3 Freight Units to a standard FTL Freight order type with a defined and linear Stage Sequence the Freight Orders Stops will follow the sequence described above:
Pforzheim -> Ettlingen -> Karlsruhe -> Bruchsal
If you now calculate the charges for this freight order you will end up with 3 charge elements:
Just a fictional example, the price is very low and my distances are a bit short due to missing GIS provider set-up.
If you look at the logistical refrence field you can see that the stages which were considered for calculating the charges reflect the logistical execution.However this is not what you agreed with the carrier, as he expects a payment for:
- Distance Between Pickup 1 and Hub * 2€
- Distance Between Pickup 2 and Hub * 2€
- Distance Between Pickup 3 and Hub * 2€
which specifically for the pickup in Ettlingen will lead to a higher Price.
The solution to this problem is a Freight Order with reversed Start-Shape Toplogy. (In the further parts of this guide I will leave the addition reverse, although it is fitting for our scenario, for better readability)
A Star-Shaped Freight Order’s routing is not reflecting the actual move of a truck, but the financial requirement for an example as described above.
A Star-Shaped freight order does only have one fixed execution relevant Source Stop and several destination locations connected directly to this destination location, without any information about the actual order of the destination stops. (Reverse Star-Shape like in our scenario, is the same just mirrored).
- Pickup 1 -> Hub
- Pickup 2 -> Hub
- Pickup 3 -> Hub
Some History
To give some additional background. The Star-Shaped Topology is something that already existed for LE-TRA shipments and probably a lot of you have therefore already worked with in the past. In TM it is a rather “unpopular” object. It was first used during Shipment Integration to reflect the LE-TRA Shipments in Star-Shaped form and later used for the Parcel Manifest.
Short Technical Excursus
When building stages for this freight order e.g. for charge calculation the stage helper identifies the alternative topology and simply builds the freight order stages out of the freight unit stages which are assigned to it.
Set-up and using a Star-Shaped Freight Order
In the freight order type customizing, there are mainly 2 relevant settings:
- Sequence Type of Stages:
- Web Dynpro Application Configuration. If nothing is entered here, the System should default to the Manifest UI and you should avoid to use the standard freight order config as certain UIs might not be fully supported and lead to issues:
Before we can now rebuild our freight order based on our new type…some limitations. The Star-Shaped freight order is not supported in the VSR optimizer or the transportation cockpit. Therefore we will have to go for the manual assignment via the easy adding on the Freight Order Item Tab.(On the bright side, easy adding is the supported method for S/4 basic shipping)
- Create a freight order with your new type
- On the General Data maintain: Carrier, Purchasing Org. and your Destination Location(our Hub)
- On the Cargo Tab. Insert Freight Units based on your prefered option
- Calculate Charges
As you can see in the Logistical Reference Section, every charge element is pointing to the stages always going from the pickup location to the hub and the total amount shows the execpted value, as agreed with our carrier.
Thanks for details Emanuel
Find also the discussion on LinkedIn:
https://www.linkedin.com/feed/update/urn:li:activity:6850692268815335425
Thanks for sharing this information. It's really helpful Nigerian Air Force Recruitment
Hi Emanuel, thanks for the article. Your described scenario is missing out one crucial point:
If you have more than one Freight Unit to pick up at one location, the assignment to the FO will lead to 1 stage per freight unit even though the FUs are transported together from same source to same destination at same times.
I would expect the system to create one stage per Pick-Up Location to the Hub that holds all relevant FUs.
If i set up calculation level to "stage" and my charge item with resolution base "stage", this now results in two charge items, one per FU with the individual weight as calculation basis and not one charge item with the combined weight as the carrier would expect it.
Is there a way to merge stages that have the same source and destination location at the same time into one that holds all relevant FU? If not, do you see a way to "fix" this in charge calculation?
Many thanks for your thoughts on that!
Clemens
Hi Clemens,
thanks for pointing that out. Was thinking about mention it more specifically but thought it was covered in the part "simply builds the freight order stages out of the freight unit stages which are assigned to it." This is unfortunatelly the basis and there is no proper coding free solution to your problem.(at least to my knowledge). Considering your scenario I assume you could get the right total charges value by using a resolution based grouping based on source location for your calculation item, in case you are having rates based on the total weight on a stage this should determine the correct rate, but still this would leave you with 3charge elements + it would only work with calculation level header.
If you really want to potentially look a bit into doing an enhancement you can check to build some logic around /SCMTMS/CL_TCC_DAO_SUB=>fill_stage_table and merge identical stages into a single stabe in table ls_bus_data-rb_stage.
Regards,
Emanuel
Hi Emanuel,
Thank you for the article. This point in very importante and critical.
I´m going through this same issue. We have more than one freight unit for the same location, but the freight order assigns a extra stage.
Do you know if there was any update to solve this problem?
Thank you,
Hi Clemens,
This point is very important. I´m having this problem right now and expected the same behavior: only one stage per location.
Did you manage to find a solution?
Thank you for your comments.
Dear Emanuel,
thanks for the explanations.
I have a question never the less:
Is it planned, to make the usage of Star Shaped FOs in the Cockpit possible?
We would need Parcel FOs, which are of course Star Shaped, avaiable in the Cockpit.
Thank you
Eike
Hi Eike,
we definetely have it on our roadmap to better integrate star-shaped freight orders into the standard processes, as this also needs to be achieved as part of feature parity with LE-TRA.
To which extend this will be available for star-shaped manifest or only classic star-shaped is not yet designed, but you can expect something here in the future release.
Regards,
Emanuel
Dear Emanuel,
thanks for clarifying.
Looking forward to these functionalites.
Regards
Eike
HI Emanuel,
Is there any update related to planning of Star shaped FOR via Transportation cockpit? Is it already delivered?
REgards
Gaurav
Hi Gaurav,
unfortunatelly no new developments, as of today.
Regards,
Emanuel
Hi Emanuel,
I'm a newbie in TM and this was an informative read for me but I do have a question.
What is the difference between Non-Linear (Star shaped) and the Star-shaped based on FU stages?
I have also tried to replicate both types of Freight orders within the S/4HANA 2021 with only getting success in Star-shaped based on FU, but for Non-Linear I'm unable to do so, and as a result unable to understand it. Along with less information on Non-Linear (Star-shaped) being available, It has made me question the difference between them.
It would be very helpful if you could provide your insights into this.
Regards,
Varun