Skip to Content
Technical Articles

TM-EWM Integration with FO and TU in SAP S/4 Hana

SAP S/4 Hana implementations that include EWM and TM need a certain set up to allow posting an end-to-end process with a sales order, delivery, freight unit, freight order, transportation unit, picking, packing and goods issue. The below step by step guide explains the most critical steps to allow freight order to transportation unit Integration. The below 12 steps summarize what needs to be done:

PICTURE 1 – STEP SUMMARY

PICTURE 2 – Location and packing material assignment

STEP 1 – Go to transaction /SCMTMS/LOC3

STEP 2 – Assign a warehouse and a Logical System to the related shipping point Location (TM tab)

STEP 3- Assign a packign material to the related means of Transport (same as the one in the resource used on the FO).

PICTURE 3 – Activate PPF messages

The TM to EWM Integration is done via an XML message (even in embedded TM and EWM). This means, the XML Framework needs to be set up and the following message type need activation.

STEP 1 – Go to SPPFC , choose /SCWM/SHP_REV and /SCMWM/TU

STEP 2 – activate the below marked messages

PICTURE 4 – Remove scheduling conditions

Scheduling condition check certain pre-requisites before they are executed. This will lead to non-generation of the Messages that you need if you do not remove them. double-click on the item on the Right side and click on “no condition” for each one of the messages.

PICTURE  5 –  Configure ewm Integration profile and assign it to the FO type

SPRO -> TM-> Integration -> Define EWM Int Profile
SPRO -> TM – Freight order management – FO type

STEP 1 – Create Integration profile

Make sure to set multiple updates. This avoids that the Fo becoms uneditable after generating the TU.

STEP 2 – Assign Integration profile to the freight order type.

PICTURE  6 –  Create carrier/supplier roles

STEP 1 – go to BP and Change to edit mode
STEP 2 – create carrier and supplier role
STEP 3 – this is required to add the carrier to the FO (TM) and receive it in ewm (supplier)

 

PICTURE  7 –  Create Fo and set load plan Status to finalized

STEP 1 – Create the road freight order in TM

Type “edit road freight order” in sap business client or type/n/ui2/flp. Make sure, it has at least a carrier, a vehicle ressource and a freight unit assigned. The freight unit has to have a delivery generated that was distributed to EWM. Else the TU cannot be assigned to the delivery and will not be generated. The ressource have to have a Means of Transport with a package material assigned.

STEP 2 – Set load plan Status to finalized

If all goes well, a XML message is sent and you get the below message:

PICTURE  8 –  Check Tu is created

STEP 1 – call transaction /SCWM/TU

Make sure the warehouse is correctly entered and the period for selection is long enough.

You can type the Fo number into TU external number. They are always the same and usually one to one. If you cannot find the TU, you can check in table /SCWM/TUNIT using TU_NUM_EXT. If it is not There. Check SRT_MONI.

PICTURE  9 –  Check XML message

STEP 1 – call SRT_MONI

STEP 2 – Enter *LOAD* into interface Name.

PICTURE  10 –  Post movements in EWM and Check Fo execution tab

STEP 1 – Tu Generation

Once the TU was generated successfully, the FO Shows Ready for loading on the execution tab.

STEP 2 – Arrival at Checkpoint

Once you have the TU in EWM, post “Arrival at checkpoint” to acknowledge truck arrival. The FO should show “arrival at Destination” on the execution tab.

STEP 3 – Load and Departure from checkpoint

Do picking, packing, load end and departure form checkpoint in ewm. The Fo execution tab should show the events LOAD_END and Departure with the same times as ewm.

These were the summarized steps to set up the TM-EWM integration.

regards

Petra Hunger

9 Comments
You must be Logged on to comment or reply to a post.
  • hi Petra,

    I have one question. I have the scenario you described but inside the Freight Order I also have a container Unit. When I send the message to EWM the system automatically creates 2 TU: the first TU is the container which also contains the delivery assignment and the second TU is the vehicle. Both TUs obviously are related to the same Freight Order. My expectation was to have one single TU with the delivery assigned and also the vehicle resource assigned. it makes no sense to me to have 2 TUs. do you agree? do you know which might be the issue here?

    thanks a lot

    Antonella

  • Hi Petra,

     

    thanks a lot for this how to manual. I have tried to process your steps, but at point 7 I still get no XML message. Are there any other presteps to do to get the XML message?

    Thanks in advance.

    BR Vlatko Nesterovic