TM Integration Guide For DSC Edition 2
TM Integration Guide For DSC Edition 2
1 TM Integration Guide for SAP Digital Supply Chain Management, Edition for SAP S/
4HANA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2 Document History. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3 Implementation Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
The SAP Digital Supply Chain Management, edition for SAP S/4HANA allows you to use the SAP S/4HANA
Supply Chain for transportation management (TM) capability side by side with your ERP system.
In this integration scenario, you use SAP Digital Supply Chain Management, edition for SAP S/4HANA to
perform transportation management, while performing all other processes in a separate system (SAP ECC or a
second SAP S/4HANA system), as shown by the following graphic:
This guide describes the required steps to run TM side by side with your existing ERP system.
System Requirements
System Release
Note
This guide describes the required settings to integrate the TM capability of the edition of SAP Digital Supply
Chain Management for SAP S/4HANA with your ERP system. Depending on your business processes,
additional configuration settings and master data may be required.
This guide provides links and navigation paths to the most up-to-date version of the documentation on the
SAP Help Portal. Therefore, whenever you access information using these links, you should choose your
specific release from the drop-down menu there.
Similarly, if you are running an SAP ERP system and a link to further information leads you to the Product
Assistance for SAP S/4HANA, you should substitute that with the SAP Library for SAP ERP. Apart from the
product names, the navigation paths are the same.
Naming Conventions
● The term ERP system refers to your SAP ERP (SAP ECC) system or a separate SAP S/4HANA system in
which you're running ERP.
● The term TM system refers to the edition of SAP Digital Supply Chain Management for SAP S/4HANA in
which you're running TM.
Make sure you are using the latest version of this document. The latest version is available at http://
help.sap.com/dscedition.
The following table provides an overview of the most important document changes.
Running TM side by side an ERP system requires an implementation project involving IT experts as well as the
affected business process owners and other relevant stakeholders.
The following figure provides an overview of the master data distribution options and methods:
● Customer/vendor integration (CVI) creates business partner master data from customers and vendors in
ERP, and creates customers and vendors from business partner master data in TM.
● The business partner is the leading entity in TM.
● Business partner addresses can be used to create locations in your TM system.
Master data is replicated from your ERP system to your TM system as follows:
● Web services are used to transfer plants and shipping points as location objects to your TM system.
● Web services are used for replicating business partners and locations to your TM system.
● If your ERP system is an SAP ECC system, IDoc is used for replicating materials to your TM system. If your
ERP system is an SAP S/4HANA system, Web services are used.
The following graphic shows the interfaces through which data is transferred between your ERP system and
your TM system.
Note
If your ERP system is an SAP S/4HANA system, materials can also be transferred using a Web service.
Master data objects are transferred using data replication framework (DRF). DRF uses Web services or IDoc as
technology.
Configure the required settings to integrate and replicate business objects between your ERP and TM systems.
The steps in this section explain how to perform the following activities:
● Activate business functions to enable point-to-point communication and master data replication
Note
You only need to activate business functions if your ERP system is an SAP ECC system. In SAP S/
4HANA all required business functions are always on.
● Define logical systems and create Remote Function Call (RFC) connections to replicate business objects
between SAP systems through Application Link Enabling (ALE)
● Create distribution models and partner profiles to replicate data between ERP and TM
● Configure the data replication framework (DRF) to define which business objects you want to replicate and
which filter criteria you want to use
Note
You can replicate a business object only if all references by the business object also exist in the
destination system (for example, materials could reference sales data). When configuring your system,
ensure that every plant, storage location, and other relevant object that is referenced by a business
object in the source system also exists in the destination system. Alternatively, you can delete the
reference before transferring the data.
To enable your ERP system to communicate with your TM system, you must activate business functions. These
are individual standard applications and industry solutions in your ABAP-based SAP system. With the business
functions, SAP provides new features and enhancements in self-contained units for your existing SAP
installations.
Context
Perform this step only if you're running SAP ERP 6.0 with enhancement package 7 or 8. The business functions
named here are already activated in SAP S/4HANA systems.
FND_SOA_REUSE_1 Improvements for SOA Reuse Enables you to use Web Services
Functions Reliable Messaging (WSRM).
Note
Business function DRF_FOUNDATION is shipped in SAP ERP 6.0 with enhancement package 8 and is
not available in earlier enhancement packages. It enables material master changes to be replicated
when the material is saved. If the business function has not been activated or is not available, the
system only writes a change pointer when a material is saved. You can replicate all materials that have
a change pointer by using transaction DRFOUT or report RDRF_MESSAGE_OUT (replication mode
Changes). We recommend scheduling a job to run the report RDRF_MESSAGE_OUT periodically to
replicate all material changes since the previous replication.
Note
For more information on activating business functions for DRF in SAP ERP, see chapter 20a of SAP
Note 2769186 .
To enable your ERP system to communicate with your TM system, you need to activate business functions.
These are individual standard applications and industry solutions in your ABAP-based SAP system. With the
business functions, SAP provides new features and enhancements in self-contained units for your existing SAP
installations.
Context
In your TM system, business functions should already be active. For more information, see SAP Note 2240360
.
FND_SOA_REUSE_1 Improvements for SOA Reuse Enables you to use Web Services
Functions Reliable Messaging (WSRM).
Note
For more information on activating business functions for DRF in TM, see chapter 20 of SAP Note
2769186 .
Configure logical systems in your ERP system to enable communication between your ERP and TM systems.
Context
● Define a logical system for your ERP system and assign it to a client.
● Define a logical system for your TM system and client.
Recommendation
We recommend that a logical system adheres to the naming convention <SSS>CLNT<CCC>, where SSS is
the 3-character system ID and CCC is the client.
Procedure
3. Define a logical system for your ERP system and client by choosing Basic Settings Logical Systems
Define Logical System .
4. Save your entries and exit the activity.
5. Assign the ERP logical system to a client by choosing Basic Settings Logical Systems Assign Logical
System to Client .
8. Define a logical system for your TM system and client by choosing Basic Settings Logical Systems
Define Logical System .
9. Save your entries and exit the activity.
Configure logical systems in your TM system to enable communication between your TM and ERP systems.
Context
Recommendation
We recommend that a logical system adheres to the naming convention <SSS>CLNT<CCC>, where SSS is
the 3-character system ID and CCC is the client.
Procedure
3. Define a logical system for your TM system and client by choosing Basic Settings Logical Systems
Define Logical System .
4. Save your entries and exit the activity.
5. Assign the TM logical system to a client by choosing Basic Settings Logical Systems Assign Logical
System to Client .
6. Select the client in which you're running TM and assign the logical system that identifies the TM system
and client.
7. Save your settings and exit the activity.
8. Define a logical system for your ERP system and client by choosing Basic Settings Logical Systems
Define Logical System .
9. Save your entries and exit the activity.
Create an RFC user with the required authorizations in your TM and ERP systems to enable successful
communication between the systems.
Procedure
1. Launch transaction SU01 in your ERP system and identify the user.
2. On the Logon Data tab, select user type Service and specify a password.
3. Use transaction PFCG to create a role with the necessary authorizations for this user. You must specify the
following authorization objects for the RFC user:
○ S_RFC
○ B_ALE_MODL
○ C_PDC
○ M_MSEG_BWA
○ M_MSEG_WWA
○ C_AFRU_AWK
○ SAP_BC_WEBSERVICE_ADMIN
4. Launch transaction SU01 in your TM system and identify the user.
5. On the Logon Data tab, select user type Service and specify a password.
6. In transaction PFCG, specify the following authorization objects for the RFC user:
○ S_RFC
○ B_ALE_MODL
○ SAP_BC_WEBSERVICE_ADMIN
○ T_ADMIN with ACTVT = H1 (Deactivate). This deactivates TM specific authorization checks, which
reduces memory allocation and improves the system performance for the processing of TM
documents.
Create an RFC connection from your ERP to your TM system to enable RFC communication between the two
systems.
Context
The RFC infrastructure is used both for synchronous remote function calls and for asynchronous IDoc
messages.
Procedure
3. To create the RFC connection, select ABAP Connection and choose (Create).
4. Enter the following data and then press ENTER :
Field Value
Connection Type 3
Note
If necessary, copy this information from the system entry properties in SAP Logon.
Create an RFC connection from your TM to your ERP system to enable RFC communication between the two
systems.
Context
The RFC infrastructure is used both for synchronous remote function calls and for asynchronous IDoc
messages.
● The RFC Communication Between SAP Systems section of the RFC/ICF Security Guide for SAP NetWeaver
on the SAP Help Portal. Go to http://help.sap.com/netweaver and use the Guide Finder for SAP NetWeaver
and ABAP Platform.
● Securing Remote Function Calls (RFC)
Procedure
3. To create the RFC connection, select ABAP Connection and choose (Create).
4. Enter the following data and then press ENTER :
Field Value
Connection Type 3
Note
If necessary, copy this information from the system entry properties in SAP Logon.
A system landscape consists of a number of hardware and software components that depend on each other for
installation, software updates, upgrades, and demands on interfaces.
The System Landscape Directory of SAP NetWeaver (SLD) serves as a central information repository for your
system landscape. Therefore, when performing a new ERP-TM integration, the SLD is a key actor in the inter-
system communication.
● System Landscape Directory - Basics, Scenarios & Best Practices on the SAP Support Portal.
● SAP Note 1978857 .
Business systems require a connection to the SLD server to obtain their name from the SLD. The business
system name is an identifier that the system uses in the header of the message sent to the receiving system.
Context
The connection to the SLD is established by creating an RFC destination and calling a registered server
program (which is defined on the AS Java RFC engine of the SLD server). The server program is called with the
HTTP address as a parameter that is maintained with transaction SLDAPICUST.
Recommendation
For security reasons, you can also secure your SLD connection with HTTPS.
Procedure
Primary x (checked)
Business systems require a connection to the SLD server to obtain their name from the SLD. The business
system name is an identifier that the system uses in the header of the message sent to the receiving system.
Context
The connection to the SLD is established by creating an RFC destination and calling a registered server
program (which is defined on the AS Java RFC engine of the SLD server). The server program is called with the
HTTP address as a parameter that is maintained with transaction SLDAPICUST.
Recommendation
For security reasons, you can also secure your SLD connection with HTTPS.
Procedure
Field Value
Primary x (checked)
You use this procedure to name the business system and all systems that are part of the system landscape.
Procedure
2. In Customizing for Transportation Management, choose Integration Define SLD Data of Business
Systems .
3. In the Buffer for SLD Data of Business Systems screen, create a new entry for each system that is part of
your system landscape. For example, create new entries with the following values for your TM system and
your ERP system:
<System Identifier>_<Client <ERP Logical System>, for Flag set (event raised)
Number>, for example, ERP_001 example, ERPCLNT001
Note
In the activity Configure Your Central System [page 21], you may want to use the same value for
Business System and Business System ID. The maximum number of characters allowed for the
Business System ID is 8. Therefore, we recommend you choose a Business System of 8 characters or
less here.
Recommendation
We recommend that a logical system adheres to the naming convention <SSS>CLNT<CCC>, where SSS
is the 3-character system ID and CCC is the client.
Prerequisites
You have performed the activities described in Connecting Systems to the SLD in the SAP Library for SAP
NetWeaver on the SAP Help Portal under Application Help SAP NetWeaver Library: Function-Oriented View
Solution Life Cycle Management Configuring, Working with and Administering System Landscape Directory
Connecting Systems to the SLD :
Procedure
1. You must configure systems that are installed in your system landscape to periodically send data to the
SLD. For more information, see Connecting Systems to the SLD.
2. With the SLD you can view and manage technical systems, landscapes, business systems, products, and
software components. You can find more information about this under Working with SLD.
SOA Manager is a collection of tools for maintaining ABAP Web service-relevant entities. The following pages
describe how you should configure it. SOA stands for "service-oriented architecture".
Prerequisites
● For a TM, ERP, and - if applicable - EWM system, you have ensured that the business function
FND_SOA_REUSE_1 is activated. This enables Web Services Reliable Messaging (WSRM) usage in these
systems. For more information, see Activate Business Functions in ERP [page 9] and Activate Business
Functions in TM [page 10].
● You have set up the technical configuration of the Web service runtime environment in all relevant systems
(TM, ERP, EWM). For more information on configuration of Web service runtime, see SAP Note 1043195 .
You can find detailed information on SOA Manager, including a Glossary of Terms for SOA Manager, in the SAP
Library for SAP NetWeaver on the SAP Help Portal under Application Help SAP NetWeaver Library:
Function-Oriented View Application Server Application Server ABAP Application Development on AS
ABAP ABAP Workbench - Classic ABAP Workbench Tools ABAP Web Services Configuring Web
Services in SOA Manager .
Master data objects and transactional documents need to be transferred using Web services. You need to
enable this transfer in Customizing.
Procedure
2. In Customizing for Cross-Application Components, choose Processes and Tools for Enterprise
Applications Enterprise Services Point-to-Point Enablement for Asynchronous Enterprise Services
Activate Support for Point2Point Communication .
3. Select Active and save your entry.
Master data objects and transactional documents need to be transferred using Web services. You need to
enable this transfer in Customizing.
Procedure
2. In Customizing for Cross-Application Components, choose Processes and Tools for Enterprise
Applications Enterprise Services Point-to-Point Enablement for Asynchronous Enterprise Services
Activate Support for Point2Point Communication .
The central system is used to execute tasks on other systems within an ABAP landscape. As soon as a client of
an ABAP system is defined as a central system, other systems can pass control to the central system so that
different configuration tasks can be carried out in these managed systems from the central system. We
recommend that you use the system with the highest NetWeaver release as your central system.
Prerequisites
Ensure that the settings described in Defining Systems as Central Systems have been maintained. For
additional information, see the SAP Library for SAP NetWeaver on the SAP Help Portal under Application
Help SAP NetWeaver Library: Function-Oriented View Application Server Application Server ABAP
Application Development on AS ABAP ABAP Workbench - Classic ABAP Workbench Tools ABAP Web
Services Configuring Web Services in SOA Manager Configuring Service Providers and Consumers
Configuring Integration Scenarios Defining Systems as Central Systems .
Procedure
Field Value
Business System ID Must match the system entry specified in table /SCMB/
TBUSSYS.
Note
This is the business system that you defined in the
step Define SLD Data of Business Systems [page 18].
The title Central SOA Management now indicates that your system is a central system. Within the central
system, the systems it manages are represented as domain systems.
In each system that you want to be configured by a central system, you need to create a management
connection to the central system. The management connection is established from the system you want to
manage, but the process builds a bi-directional connection.
Procedure
For detailed information and instructions on how to configure a management connection to the central system,
please see Creating a Management Connection to the Central System in the SAP Library for SAP NetWeaver on
the SAP Help Portal under Application Help SAP NetWeaver Library: Function-Oriented View Application
Server Application Server ABAP Application Development on AS ABAP ABAP Workbench - Classic
ABAP Workbench Tools ABAP Web Services Configuring Web Services in SOA Manager Configuring
Service Providers and Consumers Configuring Integration Scenarios Creating a Management Connection to
the Central System .
In the central system, domains are used to group systems that are managed by the central system. All domain
systems that you add to a domain have to share the same security and proxy settings for Web service
configuration. In the domain, you define the security and proxy settings for all connections within the domain.
Context
For detailed information and instructions on how to configure a domain in the central system, please see
Creating a Domain in a Central System in the SAP Library for SAP NetWeaver on the SAP Help Portal under
Application Help SAP NetWeaver Library: Function-Oriented View Application Server Application Server
ABAP Application Development on AS ABAP ABAP Workbench - Classic ABAP Workbench Tools ABAP
Web Services Configuring Web Services in SOA Manager Configuring Service Providers and Consumers
Configuring Integration Scenarios Creating a Domain in a Central System .
You need to ensure that the logical systems are assigned to the domain you created.
Procedure
Context
You can either use this procedure below or create logon data directly within an integration scenario. For more
information, see Creating Connections for Integration Scenarios in the SAP Library for SAP NetWeaver on the
SAP Help Portal under Application Help SAP NetWeaver Library: Function-Oriented View Application
Procedure
On the Maintenance tab, the system displays all logon data in a list.
3. Choose Create and specify a name, a description, and an authentication method.
If you choose User/Password or X.509 as the authentication method, you have to enter credentials.
When the logon data is transported to a managed system, the logon data type is Central to mark that it has
been created in the central system. Central logon data can be used for central business scenario
configuration.
For more information, see Distributing Changes from the Central System to Domain Systems in the SAP
Library for SAP NetWeaver on the SAP Help Portal under Application Help SAP NetWeaver Library:
Function-Oriented View Application Server Application Server ABAP Application Development on AS
ABAP ABAP Workbench - Classic ABAP Workbench Tools ABAP Web Services Configuring Web
Services in SOA Manager Configuring Service Providers and Consumers Configuring Integration
Scenarios Distributing Changes from the Central System to Domain Systems .
1. Create one integration scenario configuration for each integration scenario. For more information, see
Integration Scenario Configuration [page 56].
2. Create and assign logon data. You only need to do this once for each managed system. For more
information, see Create and Assign Logon Data in Your Central System [page 23].
3. Start the change processor. For more information, see Start the Change Processor [page 27].
4. Create logical receiver determinations in SOA Manager (optional).
In a system landscape, one ABAP system can be defined as the central system. From this central system, entire
integration scenarios can be configured and the configurations can be distributed to all affected systems that
take part in the central configuration.
For more information on configuring integration scenarios, see Configuring Integration Scenarios in the SAP
Library for SAP NetWeaver on the SAP Help Portal under Application Help SAP NetWeaver Library:
Function-Oriented View Application Server Application Server ABAP Application Development on AS
ABAP ABAP Workbench - Classic ABAP Workbench Tools ABAP Web Services Configuring Web
Services in SOA Manager Configuring Service Providers and Consumers Configuring Integration
Scenarios .
Note
As of NetWeaver 7.40 basis, SOA Manager terminology has been partially changed:
● The term "integration scenario configuration" replaces "central business scenario configuration".
● The term "Identifiable Business Context (IBC) reference" replaces "actors" (consumer system or
provider system).
In addition, you can use the new connection type "Service Group Based, Request Response" to directly
maintain a two-way connection: for both IBC references (actors) you can specify a service group to define
both communication directions in one step.
Procedure
2. Run transaction SOAMANAGER (SOA Manager) and choose Service Administration Integration Scenario
Configuration .
3. Choose Create.
4. In the pop-up window, enter a name and a description (for example, <01_ERP_TM_BP_TRANSFER>), and
select Create.
5. In the Service Group Connections section, choose Create.
6. In the Assign IBC References screen, drag and drop from the Client list the ERP system reference as Actor 1.
Alternatively, use the input help to retrieve this entry.
7. In the Assign IBC References screen, drag and drop from the Client list the TM system reference as Actor 2.
Alternatively, use the input help to retrieve this entry.
8. Choose Next.
Procedure
2. Run transaction SOAMANAGER (SOA Manager) and choose Service Administration Integration Scenario
Configuration .
3. Choose Create.
4. In the pop-up window, assign a name and a description (for example,
<02_ERP_TM_LOCATION_TRANSFER>), and choose Create.
5. In the Service Group Connections section, choose Create.
6. In the Assign IBC References screen, drag and drop from the Client list the ERP system reference as Actor 1.
Alternatively, use the input help to retrieve this entry.
7. In the Assign IBC References screen, drag and drop from the Client list the TM system reference as Actor 2.
Alternatively, use the input help to retrieve this entry.
8. Choose Next.
9. In the Connection Type field, choose Service Group Based, Request Response.
10. In the Assign Service Groups section, choose service group LOCATION_REPLICATE_REQ for Actor 1 and /
SCMB/LOC_REPLICATE_CNF for Actor 2.
11. Choose Next.
12. Choose Finish.
13. Optionally, you can choose the Check and Ping pushbuttons in the Service Group Connections section to
ensure the configuration has been correctly performed.
14. Choose Logon Data Assignments in the Service Group Connections section and for each interface listed,
enter under Logon Data Name the user you created in the step Create RFC Users in ERP and TM [page 13].
The change processor is used in the central system to control the central configuration process. Once the
required information is maintained by the technical and business administrator in the central system, an
administrator can start the change processor.
Procedure
2. Run transaction SOAMANAGER (SOA Manager) and choose Service Administration Change Processor .
3. Select Release and All.
You use this process to set up the distribution of material master data from your ERP system to your TM
system using Application Link Enabling (ALE)/IDoc or the Data Replication Framework (DRF).
Master data distribution is always from the ERP system to the TM system, or from a master data governance
(MDG) system to the TM system. In the IDoc settings, the sender system is always ERP and the receiver
system is always TM.
As a prerequisite, you have configured the system connection and global settings as described in the previous
chapters. RFC destinations and logical systems exist both in TM and in ERP.
Note
Some settings described in this chapter, such as the creation of reduced message types with transaction
BD53 or report /SPE/R_DEC_EWM_REDUCE_MESSTYPE, require a workbench request. You must therefore
clarify with your system administrator which ERP system and client is appropriate to carry out these steps.
Note
The process explained in the sections below in regards to material master data transfer settings contains
only an example for the ALE/IDoc setup. ALE offers many more settings and possibilities. To familiarize
yourself with ALE in general, you can refer to the IDoc Interface/ALE pages on the SAP Help Portal.
The following reports are available to support the configuration of Customizing for ALE:
Report Usage
Note
The ALE Customizing which is performed by these reports can also be done manually. For additional
information about the manual steps for ALE Customizing, see Create Port for IDoc Processing in Sender
System [page 31].
You use the report /SPE/R_DEC_EWM_REDUCE_MESSTYPE to create reduced message types for materials the
ERP system.
Procedure
1. In the ERP client (sender system), call transaction SE38 (ABAP Editor).
2. Enter Program /SPE/R_DEC_EWM_REDUCE_MESSTYPE.
3. Select Execute ( F8 ).
4. On the next screen, use the default values or choose your own values:
a. Select Reduce Material Message Type.
b. Enter Reduced Type for MATMAS, for example ZEWMMATMAS.
c. Enter Short Text, for example Reduced MATMAS for TM.
5. Select Check and Perform Customizing.
6. Select Execute ( F8 ).
Note
CVI and DRF are used for the distribution of customers, vendors and carriers, so you do not need to
create the reduced message types for CREMAS and DEBMAS.
For more information, see SAP Note 2769186 , the FAQ section, 9a.
You use the report /SPE/R_DEC_EWM_REDUCE_MESSTYPE to create reduced message types for materials in
the TM system.
Context
Note
Instead of creating the reduced message types in the receiving TM system with the report /SPE/
R_DEC_EWM_REDUCE_MESSTYPE, you can also ask your system administrator to transport the reduced
message types to the TM system by means of a transport request (see Transport Reduced Message Types
to TM [page 36]).
Procedure
You use the report /SPE/R_DEC_EWM_ALE_CUST to create ALE configuration in your ERP system.
Procedure
You use the report /SCWM/R_DEC_EWM_ALE_SETUP to create ALE configuration in the TM system.
Procedure
You use this procedure to create a port for the receiver system in the sender system.
Context
Note
This procedure is supported by the report /SPE/R_DEC_EWM_ALE_CUST and does not have to be executed
manually if you use the report /SPE/R_DEC_EWM_ALE_CUST.
Procedure
You use this procedure to select segments and fields of the basic types for master data that you want to
distribute. By reducing the number of segments and fields, you also reduce the number of Customizing tables
(containing allowed field values for master data) that need to be synchronized between both systems.
Basic types for master data are supplied in the standard SAP system. If you want to reduce the basic types, you
use transaction BD53 to select the segments and fields that you want to distribute. To do this you activate the
segments and fields that you require and generate a new message type. Mandatory segments and mandatory
fields cannot be deactivated.
Note
If you change a reduced message type after you have set up filters, some entries may be reset. In this case,
you will receive a warning in transaction BD53. You should then test the transfer again. For example, you
must check new entries in transaction BD59 as they may be removed in case of changes of an existing
reduced message type.
You use this procedure to create a reduced message type based on the basis message type MATMAS for the
distribution of material master data to the TM system.
Context
Note
This procedure is supported by the program /SPE/R_DEC_EWM_REDUCE_MESSTYPE and does not have to
be executed manually if you use the program /SPE/R_DEC_EWM_REDUCE_MESSTYPE.
Note
The list of segments and fields mentioned below is just a proposal. The list of segments and fields may
differ regarding for which release you want to create the reduced message type. It shows a set of fields TM
requires for its main processes. Depending on your requirements you may add/remove segments or fields.
If you add a new field, check whether allowed values for this field are defined in a Customizing table. If this
is indeed the case, entries for the table are also needed in your TM system.
Procedure
The following tables contain a proposal for segments and fields to be distributed to your TM system:
ERSDA Created On
VOLUM Volume
LAENG Length
BREIT Width
HOEHE Height
PILFERABLE Pilferable
LAENG Length
BREIT Width
HOEHE Height
VOLUM Volume
Context
Note
This procedure is supported by the report /SPE/R_DEC_EWM_REDUCE_MESSTYPE and does not have to be
executed if you use the report /SPE/R_DEC_EWM_REDUCE_MESSTYPE in the TM system.
After activation, ask your system administrator to transport the reduced message types to the TM system by
means of a transport request.
You use this procedure to define the messages in the distribution model in the sender system.
Note
This procedure is supported by the report /SPE/R_DEC_EWM_ALE_CUST and does not have to be executed
manually if you use the report /SPE/R_DEC_EWM_ALE_CUST.
You use this procedure to define new filter object types for the reduced message types. This is only necessary if
you want to make usage of the enhanced filter for storage location for material message type ZEWMMATMAS.
Context
Recommendation
Skip this chapter if you do not need additional filters for the reduced message types.
Note
Since the field for storage location for material message type ZEWMMATMAS is not part of the reduced
message types, the standard ALE mechanism does not take it into consideration. In order to achieve that
the filtering of object types is supported for this specific field, it has to be activated separately. See Activate
Enhanced Settings for Data Transfer [page 44].
Carry out the following steps in an ERP client that allows cross-client Customizing changes.
1. To create a new filter object type for material distribution, call transaction BD59 (Assignment of Object Type
to Message) in your ERP system.
2. Enter the reduced message type for material distribution, for example ZEWMMATMAS, and select Continue.
3. Create a new entry with the data as shown in the following table:
Procedure
Field Value
4. Select Continue.
5. To add message types to the model, select the new model on the list and press Add Message Type. For each
message type, enter the data as shown in the following table:
Field Value
6. To create a filter group for the reduced message type for materials, for example ZEWMMATMAS, go to the
tree and double-click No filter set or Data Filter Active under the message type ZEWMMATMAS, then select
Create Filter Group in the dialog box.
You can, for example, filter the materials to be distributed to TM by plant. For this purpose, double-click
filter object type Plant and enter the plants that will be linked to a TM system.
You can also filter the materials by material type or material group.
Note
Filters defined for child segments (for example the plant filter in this step) will only prevent the
distribution of the child segment (E1MARCM in case of plant filter) but not of the header segment
(E1MARAM). If you want to filter the distribution of the complete material master by plant (or by storage
location), you must activate the enhanced settings as described in Activate Enhanced Settings for Data
Transfer [page 44].
7. Select Continue.
8. Save the distribution model.
9. Choose Edit Model View Distribute to transport the distribution model to other systems.
You use this procedure to create a partner profile in the sender system (ERP).
Context
You can generate the partner profile within transaction BD64 automatically or create it using transaction WE20
manually. You use this procedure to create the partner profile manually.
Note
This procedure is supported by the report /SPE/R_DEC_EWM_ALE_CUST and does not have to be executed
manually if you use the report.
Field Value
Partner Type LS
Language EN
Note
The following values are examples. In terms of performance and productive reasons you may use
different values. For more information see the IDoc documentation about performance.
Field Value
Basic Type Use value help and select the last entry from the list, for
example MATMAS05
You use this procedure to create a partner profile in the receiver system (TM).
Context
Note
This procedure is supported by the report /SCWM/R_DEC_EWM_ALE_SETUP and does not have to be
executed manually if you use the report /SCWM/R_DEC_EWM_ALE_SETUP.
Procedure
Field Value
Partner Type LS
Language EN
Field Value
Trigger Immediately X
Change pointers are used for logging changes of master data. Change pointers must be activated in the system
to be used. The loggings can be used to created IDoc for a delta transfer.
Context
Note
This procedure is supported by the report /SPE/R_DEC_EWM_ALE_CUST and does not have to be executed
manually if you use the report.
Procedure
1. In your ERP system, go to Customizing for SAP NetWeaver and choose Application Server IDoc
Interface / Application Link Enabling (ALE) Modelling and Implementing Business Processes Master
Data Distribution Replication of Modified Data Activate Change Pointers - Generally .
Note
If your SAP system is an SAP S/4HANA system, the Customizing path is Customizing for ABAP
Platform, then choose Application Server IDoc Interface / Application Link Enabling (ALE)
Modelling and Implementing Business Processes Master Data Distribution Replication of Modified
Data Activate Change Pointer (General) .
You use this procedure to activate change pointers for all message types assigned to your distribution model.
The change pointers are needed to log changes to the master data and distribute them to the receiver system.
Context
Note
This procedure is supported by the report /SPE/R_DEC_EWM_ALE_CUST and does not have to be executed
manually if you use the report.
Procedure
You use this procedure to extend the change pointers for the reduced message types. This is only necessary if
you want to make usage of the enhanced filter for storage location for material message type ZEWMMATMAS.
Context
Note
Skip this chapter if you do not need additional filters for the reduced message types.
Note
This procedure is supported by the report /SPE/R_DEC_EWM_ALE_CUST and does not have to be executed
manually if you use the report.
1. In your ERP system, call transaction SM30 and enter the view V_TBD62.
2. Choose Maintain.
3. Enter the reduced message type for materials, for example ZEWMMATMAS.
4. Add the following entries:
You use this procedure to activate enhanced features for data transfer. For example, filtering by plant/storage
location (for material related IDocs) or other organizational units like purchase organization or company code
(for customer/supplier). It also enables important features for transfer of batches.
Context
Note
This procedure is supported by the report /SPE/R_DEC_EWM_ALE_CUST and does not have to be executed
manually if you use the report.
Procedure
1. In your ERP system, under Customizing for Integration with Other SAP Components, choose Extended
Warehouse Management Basic Settings for EWM Linkage Settings for Decentralized EWM Define
Enhanced Settings for Transfer to Decentralized EWM .
If the Customizing path does not exist in the sending ERP system, you have the following option:
a. Enter transaction code SM30.
b. Enter in the field Table/View the value /SPE/V_EWM_DEST.
c. Select Maintain.
Field Value
Decentral X
Material Filter X
Characteristics Filter X
Note
If you activate Material Filter, then for material filters only one filter group can be used if you want to
filter by plant or storage location. Multiple filter groups for material are not supported.
The usage of master data governance (MDG) is not required for TM. However, if you have activated MDG,
additional settings may be required.
For information on additional settings for if MDG is active, please refer to chapter 6.8.2 of the guide Integration
of SAP ERP or SAP S/4HANA with Decentralized EWM based on SAP S/4HANA.
Prior to replicating master data from ERP to TM, it is a mandatory prerequisite that customer/vendor
integration (CVI) has been performed in the ERP system and that business partners are available for transfer.
Further information about master data replication is available at Master Data Replication in the Product
Assistance for SAP S/4HANA on the SAP Help Portal under Enterprise Business Applications Supply Chain
Delivery and Transportation Transportation Management (TM) Integration Master Data Replication :
Further information about DRF is available at Data Replication Framework in the Product Assistance for SAP S/
4HANA on the SAP Help Portal under Cross Components.
Define the technical settings for data replication to configure pooled or direct replication of the business
objects that you want to replicate to your TM system.
Context
You can specify whether the system is to replicate a business object change immediately or create a change
pointer when a business object is changed. In the latter case, you need to replicate the business object
manually using transaction DRFOUT.
Note
For more information on transferring plants or shipping points from your ERP system, please see SAP Note
2638834 , Location Replication Out of ERP.
Procedure
2. Run transaction DRFIMG and choose Data Replication Define Custom Settings for Data Replication
Define Technical Settings Define Technical Settings for Business Systems .
3. Choose New Entries and perform the following steps:
a. Enter a name for the business system that is to represent your TM system (for example, <TM SYSTEM
ID>_<CLIENT>).
b. Select the logical system of your TM system.
c. Select the RFC destination of your TM system.
d. Save your entries.
4. Select the row containing your business system and choose Define Bus. Systems, BOs in the dialog
structure.
5. Create new entries for the following business object types:
194 Material
9. Select the row containing business object 986 and choose Define Bus. Systems, BOs, Communication
Channel in the dialog structure.
10. Create new entries for the following channels:
11. Select the row containing business object DRF_0045 and choose Define Bus. Systems, BOs,
Communication Channel in the dialog structure.
12. Create new entries for the following channels:
Define the technical settings for data replication to configure pooled or direct replication of the business
objects that you want to replicate to your TM system.
Context
You can specify whether the system is to replicate a business object change immediately or create a change
pointer when a business object is changed. In the latter case, you need to replicate the business object
manually using transaction DRFOUT.
Procedure
2. Run transaction DRFIMG and choose Data Replication Define Custom Settings for Data Replication
Define Technical Settings Define Technical Settings for Business Systems .
3. Choose New Entries and perform the following steps:
a. Enter a name for the business system that is to represent your ERP system (for example, <ERP
SYSTEM ID>_<CLIENT>).
b. Select the logical system of your ERP system.
c. Select the RFC destination of your ERP system.
d. Save your entries.
4. Select the row containing your business system and choose Define Bus. Systems, BOs in the dialog
structure.
5. Create new entries for the following business object types:
189 Location
194 Product
9. Select the row containing business object 986 and choose Define Bus. Systems, BOs, Communication
Channel in the dialog structure.
10. Create new entries for the following channels:
11. Select the row containing business object 189 and choose Define Bus. Systems, BOs, Communication
Channel in the dialog structure.
12. Create new entries for the following channels:
Create and activate a replication model for every business object that you want to replicate from your ERP
system to your TM system.
Context
It's good practice to create a separate replication model for every business object. From ERP to TM, you may
want to replicate materials, business partners, and locations. Alternatively, you can create one replication
model containing all the relevant business objects.
Procedure
2. Run transaction DRFIMG and choose Data Replication Define Custom Settings for Data Replication
Define Replication Models .
3. Choose New Entries.
4. Create a replication model for every business object you want to replicate.
Materials 194_1 2 Replication 2 Filter After Enter the busi PACK_SIZE_B 1000
via IDoc Change Analy ness system ULK
sis that you cre
ated for your
Plant Location 464_L 1 Replication 2 Filter After PACK_SIZE_B 10
TM system
via Services Change Analy ULK
(see Define
sis
Technical Set
Business Part 986_3 1 Replication 2 Filter After tings for Data PACK_SIZE_B 10
ner via Services Change Analy Replication in ULK
sis ERP [page 46])
Note
Enter the data by navigating to the relevant folder in the dialog structure on the left-hand side of the
screen.
Define filter criteria for a DRF replication model to define which business object instances want to replicate to
your TM system.
Context
Note
For more information, see Define Filter Criteria in the Product Assistance for SAP S/4HANA on the SAP
Help Portal under Cross Components Data Replication Framework Define Filter Criteria .
Although you can filter by IDs of individual materials, it would require you to continuously update the filter
criteria, for example, every time you create a material. This could lead to data inconsistencies due to missing
objects.
A logical approach is to filter by common attributes that every business object instance must have in your TM
system. For example, if you filter by plant, you can replicate all materials with attributes specific to this plant.
Note
The Create button refers to filters, not replication models. If the initial screen of transaction DRFF is
empty, you haven't created a proper replication model yet. In such a case, check the steps described in
Create and Activate Replication Models (ERP to TM) [page 49].
Configure the required settings to facilitate cross-system transactional data to be exchanged when running TM
side by side your ERP system.
The ERP and TM systems exchange information concerning logistics and finances, which is often represented
by type codes, control keys, item types, organizational units, and other business configuration entities. You
need to ensure that each system is configured to support the cross-system exchange of the necessary
information.
To enable your ERP system to communicate with your TM system, you need to activate business functions.
These are individual standard applications and industry solutions in your ABAP-based SAP system. SAP
provides new features and enhancements in self-contained units via these business functions for your existing
SAP installations.
Context
Perform this step only if you're running SAP ERP 6.0 with enhancement package 7 or 8. The business functions
named here are already activated in SAP S/4HANA systems.
Procedure
SD_01 or ESOA_OPS01 Logistics: S&D Simplification or Activate if you want to send sales
Operations, Enterprise Services orders to TM. For more information,
see SAP Note 1530240 .
LOG_TM_ORD_INT_TRQ ERP-TMS: Basic Order Integration You can also use this business
function to integrate order and
delivery processing in ERP with
transportation planning in TM. It
provides the same functions as the
ERP-TMS: Order Integration
(LOG_TM_ORD_INT) business
function, but without sales order
scheduling.
LOG_TM_ORD_INT ERP-TMS: Order Integration You can use this business function to
integrate order processing in ERP
with transportation planning in TM. It
enables you to optimize order
processing and transportation
planning by exchanging information
about orders and deliveries between
ERP and TM.
LOG_TM_ORD_INT_I ERP-TMS: Order and Invoice Activate if you to display in ERP the
Integration 1 TM document status and document
flow for a specific ERP purchase
order, stock transport order, sales
order, outbound delivery, or inbound
delivery for return orders and
purchase orders.
If you want to use cost distribution, you also have to activate the following business functions (besides
LOG_TM_ORD_INT_II):
For more information about business functions, please see Prerequisites: Invoice Processing (MM-IV/SD-
BIL) - SAP TM and Prerequisites for Order and Delivery Integration in the Product Assistance for SAP S/
4HANA on the SAP Help Portal under Product Assistance Enterprise Business Applications Supply
Chain Logistics Cross Topics Logistics - General (LO) Integration with SAP Transportation
Management .
You use this process to configure the background remote function call (bgRFC) communication between TM
and ERP.
Prerequisites
You have configured the system connection and global settings as described in the previous chapter. RFC
destinations and logical systems exist both in TM and ERP. Business systems exist in TM.
Procedure
For information on configuring bgRRC communication, please see bgRFC Communication in the SAP Library
for SAP NetWeaver on the SAP Help Portal under Application Help SAP NetWeaver Library: Function-
Oriented View Connectivity Components of SAP Communication Technology Classic SAP Technologies
(ABAP) RFC Background Communication bgRFC (Background Remote Function Call) bgRFC
Configuration .
You use this process to configure the queued remote function call (qRFC) communication between TM and
ERP.
Prerequisites
You have configured the system connection and global settings as described in the previous chapter. RFC
destinations and logical systems exist both in TM and ERP. Business systems exist in TM.
Context
TM communicates transactional data (for example, inbound and outbound deliveries) with ERP via queued
remote function call (qRFC). Since the communication is bi-directional, you not only configure the sending of
data to both systems but also the reception of data from both systems.
Configuring qRFC is only necessary if you are using SAP Process Integration (SAP PI) for communication. If
you are using Web services for communication, background RFC (bgRFC) is used and this chapter is not
relevant for you.
Procedure
1. In your ERP and your TM system, launch transaction SMQR (qRFC Monitor (QIN Scheduler)).
2. Choose Registration.
3. Enter the data as shown in the following table:
Field Value
Mode D
Max. Runtime 60
Attempts 30
Pause 300
4. Choose Continue.
1. Create one integration scenario configuration for each integration scenario. For more information, see
Integration Scenario Configuration [page 56].
2. Create and assign logon data. You only need to do this once for each managed system. For more
information, see Create and Assign Logon Data in Your Central System [page 23].
3. Start the change processor. For more information, see Start the Change Processor [page 27].
4. Create logical receiver determinations in SOA Manager (optional).
In a system landscape, one ABAP system can be defined as the central system. From this central system, entire
integration scenarios can be configured and the configurations can be distributed to all affected systems that
take part in the central configuration.
For more information on configuring integration scenarios, see Configuring Integration Scenarios in the SAP
Library for SAP NetWeaver on the SAP Help Portal under Application Help SAP NetWeaver Library:
Note
As of NetWeaver 7.40 basis, SOA Manager terminology has been partially changed:
● The term "integration scenario configuration" replaces "central business scenario configuration".
● The term "Identifiable Business Context (IBC) reference" replaces "actors" (consumer system or
provider system).
In addition, you can use the new connection type "Service Group Based, Request Response" to directly
maintain a two-way connection: for both IBC references (actors) you can specify a service group to define
both communication directions in one step.
Procedure
2. Run transaction SOAMANAGER and choose Service Administration Integration Scenario Configuration .
3. Choose Create.
4. In the pop-up window, assign a name and a description (for example,
<03_ERP_TM_LOGISTICS_INTEGRATION>), and choose Create.
5. In the Service Group Connections section, choose Create.
6. In the Assign IBC References screen, drag and drop from the Client list the ERP system reference as Actor 1.
Alternatively, use the input help to retrieve this entry.
7. In the Assign IBC References screen, drag and drop from the Client list the TM system reference as Actor 2.
Alternatively, use the input help to retrieve this entry.
8. Choose Next.
9. In the Assign Service Groups screen, in the Connection Type field, select Service Group Based, Request
Response.
10. Select service group TM_ERP_ORDINT for Actor 1 and /SCMTMS/TM_ERP_ORDINT for Actor 2.
11. Choose Next.
12. Choose Finish.
13. Repeat steps 5 to 13, using service group TM_ERP_INVINT for Actor 1 and /SCMTMS/TM_ERP_INVINT for
Actor 2.
14. Repeat steps 5 to 13, using service group TM_ERP_ORDINT_ENH for Actor 1 and /SCMTMS/
TM_ERP_DELIVERY_SPLIT for Actor 2.
Procedure
2. Run transaction SOAMANAGER and choose Service Administration Integration Scenario Configuration .
3. Choose Create.
4. In the pop-up window, assign a name and a description (for example,
<04_ERP_TM_INVOICE_INTEGRATION>), and choose Create.
5. In the Service Group Connections section, choose Create.
6. In the Assign IBC References screen, drag and drop from the Client list the ERP system reference as Actor 1.
Alternatively, use the input help to retrieve this entry.
7. In the Assign IBC References screen, drag and drop from the Client list the TM system reference as Actor 2.
Alternatively, use the input help to retrieve this entry.
8. Choose Next.
9. In the Assign Service Groups screen, in the Connection Type field, select Service Group Based, Request
Response.
10. Select service group TM_ERP_INVINT for Actor 1 and /SCMTMS/TM_ERP_INVINT for Actor 2.
11. Choose Next.
12. Choose Finish.
13. Optionally, you can choose the Check and Ping pushbuttons in the Service Group Connections section to
ensure the configuration has been correctly performed.
14. Choose Logon Data Assignments and for each interface listed, maintain under Logon Data Name the user
created in Create RFC Users in ERP and TM [page 13].
15. Choose Check on the scenario configuration header.
Prerequisites
You have set up the system landscape. This includes the following steps:
● You have set up the connection to the System Landscape Directory (SLD) for all systems.
● You have configured the settings that are required to connect a business system to SOA Manager.
● You have configured the settings that are required to use the Data Replication Framework (DRF) for master
data transfer.
● You have set up a trusted connection between the ERP and TM systems.
● You have defined all required RFC users, RFC connections, logical system names, technical system names,
and business system names.
● You have set up the required workflows.
More Information
For more information, including information on configuring integration of orders and deliveries, and on the
integration of ERP orders and deliveries in transportation planning, see External TM System Integration in the
Product Assistance for SAP S/4HANA on the SAP Help Portal under Enterprise Business Applications
Supply Chain Delivery and Transportation Transportation Management (TM) Logistics Integration
External TM System Integration .
Procedure
1. In your ERP system, in Customizing for Integration with Other SAP Components, choose Advanced
Planning and Optimization Basic Settings for Setting Up the System Landscape Specify SAP APO
Release (transaction NDV2) .
Recommendation
We recommend that a logical system adheres to the
naming convention <SSS>CLNT<CCC>, where SSS is
the 3-character system ID and CCC is the client.
Procedure
1. In your ERP system, in Customizing for SAP NetWeaver, choose General Settings Check Units of
Measurement .
Note
If your ERP system is an SAP S/4HANA system, the Customizing path is Customizing for ABAP
Platform General Settings Check Units of Measurement .
Field Value
Note
You must create ISO units in the same way in both ERP and TM. Otherwise, problems will arise when
messages are exchanged between these systems.
Procedure
1. In your TM system, in Customizing for ABAP Platform, choose General Settings Check Units of
Measurement .
2. Choose ISO codes and then New Entries.
3. Create a new ISO code with the following data:
Field Value
Note
You must create ISO units in the same way in both ERP and TM. Otherwise, problems will arise when
messages are exchanged between these systems.
Procedure
1. In your ERP system, in Customizing for SAP NetWeaver, choose General Settings Check Units of
Measurement .
Note
If your ERP system is an SAP S/4HANA system, the Customizing path is Customizing for ABAP
Platform General Settings Check Units of Measurement .
Field Value
Note
You must create ISO units in the same way in both ERP and TM. Otherwise, problems will arise when
messages are exchanged between these systems.
Procedure
1. In your ERP system, in Customizing for SAP NetWeaver, choose General Settings Check Units of
Measurement .
Note
If your ERP system is an SAP S/4HANA system, the Customizing path is Customizing for ABAP
Platform General Settings Check Units of Measurement .
Note
You must create ISO units in the same way in both ERP and TM. Otherwise, problems will arise when
messages are exchanged between these systems.
Procedure
1. In your TM system, in Customizing for ABAP Platform, choose General Settings Check Units of
Measurement .
2. In the dropdown box, select Mass and choose Units of measurement.
3. Select the LB unit and assign the ISO code LBR.
4. Select the KG unit and assign the ISO code KGM.
5. Return to the initial screen.
6. In the dropdown box, select Volume and choose Units of measurement.
7. Select the FT3 unit and assign the ISO code FTQ.
8. Select the M3 unit and assign the ISO code MTQ.
Note
You must create ISO units in the same way in both ERP and TM. Otherwise, problems will arise when
messages are exchanged between these systems.
You use this process to configure the settings in your ERP system that enable you to integrate invoice
processing in ERP with TM.
Context
To enable a user to perform invoice verification in your ERP system, you have to assign profile parameter
TM_INVOICE_CLERK to the user’s profile in the ERP system.
Procedure
Procedure
1. In your ERP system, in Customizing for Controlling, choose Cost Center Accounting Actual Postings
Manual Actual Postings Edit Automatic Account Assignment .
2. Maintain one or more relevant entries for the combination of company code and account you plan to use as
part of your processes.
Procedure
1. In your ERP system, on the SAP Easy Access screen, choose Logistics Materials Management
Service Master Service Service Master .
2. Choose Create New Service and maintain one or more relevant entries that you plan to use as part of your
processes.
Context
In this step, you activate workflow WS53800006 for incoming invoices and activate event linkage for the events
POSTED and CANCELLED. The workflow triggers the InvoiceNotification_Out message when an
incoming invoice is posted or canceled. The message informs TM about the posted or canceled invoice.
Note
For information about setting up workflows, see Automatic Workflow Customizing in the SAP Library for
SAP NetWeaver on the SAP Help Portal under SAP NetWeaver Library: Function-Oriented View
Application Server Application Server ABAP Other Services Services for Application Developers
SAP Business Workflow Role Documentation Roles in Workflow System Administrator Business
Workflow Administration Workflow System Administration Automatic Workflow Customizing .
Procedure
1. In your ERP system, on the SAP Easy Access screen, choose Tools ABAP Workbench Development
SAP Business Workflow Definition Tools Events Event Linkages Type Linkages .
2. Make the following entries and select the Type linkage active checkbox:
4. In your ERP system, on the SAP Easy Access screen, choose Tools ABAP Workbench Development
SAP Business Workflow Utilities Automatic Workflow Customizing .
5. Choose Perform Automatic Workflow Customizing ( F9 ).
You can transfer a freight settlement document (FSD) and a forwarding settlement document (FWSD) to your
ERP system.
The following table describes the message flow for forwarding settlement requests and customer invoices in
invoice integration:
Message Description
The following table describes the message flow for freight settlement requests and supplier invoices in invoice
integration:
Message Description
The following table describes the invoice notification messages in invoice integration:
Message Description
6.2.7.5.2 Invoicing
You can specify the relevant Customizing settings in your ERP system under Integration with Other SAP
Components Transportation Management Invoice Integration Invoicing .
● Category codes, subcategory codes, and charge types in ERP for the charge types from TM. You can
specify the settings in the following Customizing activities under Definition of Transportation Charge
Elements :
○ Define Category Codes
○ Define Subcategory Codes
○ Define Charge Types
● Role codes in ERP for the TM currency and amount. You can specify the settings in the following activities
under Definition of Transportation Management Role Codes :
○ Define Role Codes (Currency)
○ Define Role Codes (Amount)
● Transportation charge item categories, item subcategories, and items in TM to service master data records
and account assignment categories in ERP. You can specify the settings under Assignment of
Transportation Charge Elements Assign Service Master Record and Account Assignment Category .
● Under Mapping of Organizational Units , you must assign the following attributes:
○ Purchasing business areas from TM to the organizational units in purchasing in ERP in the Assign
Organizational Units for Purchasing activity
○ Purchasing organization unit in TM to an internal order and cost center account in ERP in the Assign
TM Purchase Org. Unit to Internal Order/Cost Center activity
Procedure
1. In your ERP system, in Customizing for Integration with Other SAP Components , choose Transportation
Management Invoice Integration Invoicing Definition for Transportation Charge Elements Define
Category Codes.
2. Maintain one or more relevant entries that you plan to use as part of your processes.
Procedure
1. In your ERP system, in Customizing for Integration with Other SAP Components, choose Transportation
Management Invoice Integration Invoicing Definition for Transportation Charge Elements Define
Subcategory Codes.
2. Maintain one or more relevant entries that you plan to use as part of your processes.
Procedure
1. In your ERP system, in Customizing for Integration with Other SAP Components, choose Transportation
Management Invoice Integration Invoicing Definition for Transportation Charge Elements Define
Charge Types .
2. Maintain one or more relevant entries that you plan to use as part of your processes.
Procedure
1. In your ERP system, in Customizing for Integration with Other SAP Components, choose Transportation
Management Invoice Integration Invoicing Assignment of Transportation Charge Elements Assign
Service Master Record and Account Assignment Category.
2. Ensure that the entries created as part of Define Charge Types for Invoice Integration [page 69] and Define
Service Master for Invoice Integration [page 65] are mapped accordingly in this activity.
You create a freight settlement document to transfer the transportation costs from TM to your ERP system for
verification. You must perform cost distribution at the level of ERP item in the freight settlement document. You
use service entry sheets and agency business documents to post the distributed costs in ERP.
To integrate cost distribution in freight orders and freight settlement documents with your ERP system, you
must assign the transportation charge type in TM to a condition type in ERP for cost distribution. You can do
this in Customizing for Integration with Other SAP Components under Transportation Management Invoice
Integration Mapping for Cost Distribution Assign Transportation Charge Elements to Condition Types .
To use agency business documents to post distributed costs in your ERP system, you must specify the
following settings in the following Customizing activities, which you can find under Integration with Other
SAP Components Transportation Management Invoice Integration Mapping for Cost Distribution
Mapping for Cost Distribution Posting via Agency Business :
● Application type and posting types in Define Application and Posting Type.
● Data used in agency business document creation in Basic Settings for Creation of Agency Documents.
You can access the following Business Add-Ins (BAdIs) on the SAP Easy Access screen under Tools ABAP
Workbench Utilities Business Add-Ins Definition :
You can access the BAdI implementation Activate BAdI Implementation for Invoice Verification Correction
Postings (WZRE_TMS_IV) in Customizing for Integration with Other SAP Components under Transportation
Management Invoice Integration Mapping for Cost Distribution Activate BAdI Implementation for Invoice
Verification Correction Postings . If you have a charge correction, the ERP system updates the agency
business document during invoice verification. If you want to use this feature in your ERP system, you must
activate this BAdI.
You use this process to configure the settings in your ERP system that enable you to integrate order and
delivery processing in ERP with TM.
In this procedure, you define the control keys that determine which documents or document chains are to be
transferred to TM. You can define as many control keys as required with different combinations of documents.
For sales orders, you can also specify whether sales order scheduling is to take place in TM.
Procedure
1. In your ERP system, in Customizing for Integration with Other SAP Components, choose Transportation
Management Order Integration Define Control Keys for Document Transfer .
2. Make sure that one or more control keys are maintained that cover one or more combinations of
documents to be transferred to TM. You use the control keys in the configuration steps to activate
document transfer to TM.
If you require additional control keys, you can create them in this Customizing activity.
The following settings must be configured to send sales documents from ERP to TM. Output determination is
used to create XML messages, which are then sent to TM.
In this step, you define the combination of fields for which you want to create output condition records in a
condition table. This enables you to control output determination depending on your specific field combination.
Alternatively, you can check whether the data you need is already available.
Context
You need to check whether the required fields are assigned to the condition table.
Procedure
1. In your ERP system, in Customizing for Sales and Distribution, choose Basic Functions Output Control
Output Determination Output Determination Using the Condition Technique Maintain Output
Determination for Sales Documents Maintain Condition Tables .
2. Choose Maintain Output Condition Table for Sales Documents.
3. Ensure that the Sales Document Type field is assigned to condition table 007 Order Type.
If this is not the case, create a new condition table for output control, as follows:
a. In Customizing for Sales and Distribution, choose Basic Functions Output Control Output
Determination Output Determination Using the Condition Technique Maintain Output
Determination for Sales Documents Maintain Condition Tables .
b. Choose Maintain Output Condition Table for Sales Documents.
c. Choose Condition Create .
d. In the Table field, enter a name (3-digit number) for the new condition table that is to be created. Note
that you can only choose names between 900 and 999.
e. Choose Enter.
f. Enter a description for the new condition table, for example, Order Type.
g. Select the required fields for the condition table from the list of allowed fields, for example, Sales
Document Type .
h. Generate the new condition table.
You have defined a new condition table for which you can maintain condition records.
Procedure
1. In your ERP system, in Customizing for Sales and Distribution, choose Basic Functions Output Control
Output Determination Output Determination Using the Condition Technique Maintain Output
Determination for Sales Documents Maintain Output Types.
2. Make sure that output types TRS0 (order to external TMS) and TRR0 (returns to external TMS) have been
entered.
3. Select output type TRS0 and choose Details.
4. Enter the following data on the General data tab:
Field Value
Program OPS_SE_SOC_SEND_MESSAGE
Field Value
Prerequisites
Context
In this step, you can check whether the required access sequences are available, or you can create access
sequences that you can use to determine the following:
Procedure
1. In your ERP system, in Customizing for Sales and Distribution, choose Basic Functions Output Control
Output Determination Output Determination Using the Condition Technique Maintain Output
Determination for Sales Documents Maintain Access Sequences .
2. In the overview area, select access sequence 0002 Order Type.
3. Choose Accesses.
a. In your ERP system, in Customizing for Sales and Distribution, choose Basic Functions Output
Control Output Determination Output Determination Using the Condition Technique Maintain
Output Determination for Sales Documents Maintain Access Sequences .
b. In change mode, choose New Entries.
c. In Access Sequences, create an access sequence by defining an alphanumeric key (with a maximum of
four characters) and enter a description.
d. In Source, select one of the following sources: Other system (for example, ERP) or Local.
e. Select a row in the Access Sequences table, and in the left frame, choose Fields.
You can define the accesses by defining the sequence of accesses in the access sequence and
choosing the corresponding condition tables.
f. Choose Save.
Context
Procedure
1. In your ERP system, in Customizing for Sales and Distribution, choose Basic Functions Output Control
Output Determination Output Determination Using the Condition Technique Maintain Output
Determination for Sales Documents Maintain Output Determination Procedure. .
2. Make sure that procedure V10000 has been entered.
3. In the dialog structure, select Control Data.
4. Make sure that the following entries have been made for procedure V10000:
Prerequisites
In this step, you assign output determination procedures to document types. You can also specify an output
type that is to be displayed when the relevant document is displayed or changed.
Procedure
1. In your ERP system, in Customizing for Sales and Distribution, choose Basic Functions Output Control
Output Determination Output Determination Using the Condition Technique Maintain Output
Determination for Sales Documents Assign Output Determination Procedure .
2. Choose Allocate Sales Document Header.
3. In the overview, assign the output determination procedures as follows:
Assignments
Note
It is sufficient to assign an output determination procedure (such as V10000) to a sales order type
(such as OR) in this Customizing activity. The output type may differ from that specified here, but must
be defined for the corresponding output determination procedure. As long as the relevant output type
(TRS0 or TRR0) is maintained for the output determination procedure, it will be taken into account by
the system at processing time.
OR and RE are standard order types that are delivered as part of standard ERP Customizing.
Context
In this step, you link the order type of your sales document with an output type that is configured for the data
transfer to TM. You define the message attributes, for example, the processing time or the language. From a
technical point of view, you create condition records.
a. On the SAP Easy Access screen for your ERP system, choose Logistics Sales and Distribution
Master Data Output Sales Document Create or call transaction VV11.
b. Choose Output Type TRS0.
c. Choose Enter .
d. On the following screen, enter the data as shown in the following table:
a. On the SAP Easy Access screen for your ERP system, choose Logistics Sales and Distribution
Master Data Output Sales Document Create or call transaction VV11.
b. Choose Output Type TRR0.
c. Choose Enter .
d. On the following screen, enter the data as shown in the following table:
In this step, you maintain purchase orders and stock transport orders. In contrast to sales documents and
deliveries, which are processed using output control, purchase orders and stock transport orders are
processed using workflow technology.
Context
Note
For information about setting up workflows, see Automatic Workflow Customizing in the SAP Library for
SAP NetWeaver on the SAP Help Portal under SAP NetWeaver Library: Function-Oriented View
Application Server Application Server ABAP Other Services Services for Application Developers
SAP Business Workflow Role Documentation Roles in Workflow System Administrator Business
Workflow Administration Workflow System Administration Automatic Workflow Customizing .
Procedure
1. On the SAP Easy Access screen of your ERP system, choose Tools ABAP Workbench Development
SAP Business Workflow Definition Tools Events Event Linkages Type Linkages .
2. Create the following entries:
Field Value
Event CHANGED
Event Created
4. On the SAP Easy Access screen of your ERP system, choose Tools ABAP Workbench Development
SAP Business Workflow Utilities Automatic Workflow Customizing .
5. Choose Perform Automatic Workflow Customizing (F9).
You must configure the following settings to send outbound deliveries from ERP to TM. Output determination is
used to create XML messages, which are sent to TM.
In this step, you define the combination of fields for which you want to create output condition records in a
condition table. This enables you to control output determination depending on your specific field combination.
Alternatively, you can check whether the data that you need is already available.
Procedure
1. In your ERP system, in Customizing for Logistics Execution, choose Shipping Basic Shipping Functions
Output Control Output Determination Maintain Output Determination for Outbound Deliveries
Maintain Condition Tables .
2. Choose Maintain Output Condition Table for Deliveries.
If that is not the case, create a new condition table for output control (shipments) as follows:
a. In your system, in Customizing for Logistics Execution, choose Shipping Basic Shipping Functions
Output Control Output Determination Maintain Output Determination for Outbound Deliveries
Maintain Condition Tables .
b. Choose Maintain Output Condition Table for Deliveries.
c. Choose Condition Create .
d. In the Table field, enter a name (3-digit number) for the new condition table that is to be created. Note
that you can only choose names between 900 and 999.
e. Choose Enter .
f. Enter a description for the new condition table, for example, Delivery Type.
g. Select the required fields for the condition table from the list of allowed fields, for example, Delivery
Type.
h. Generate the new condition table.
Prerequisites
Context
In this procedure, you check whether the required access sequences are available or you create access
sequences that you can use to determine the following:
Procedure
1. In your ERP system, navigate to Customizing for Logistics Execution and choose Shipping Basic
Shipping Functions Output Control Output Determination Maintain Output Determination for
Outbound Deliveries Maintain Access Sequences .
2. In the overview, choose access sequence 0001 Delivery Type.
a. In your ERP system, navigate to Customizing for Logistics Execution and choose Shipping Basic
Shipping Functions Output Control Output Determination Maintain Output Determination for
Outbound Deliveries Maintain Access Sequences .
b. Switch to change mode.
c. Choose New Entries.
d. In Access Seq, create an access sequence by defining an alphanumeric key (with a maximum of four
characters) and enter a description.
e. In Description, enter a description.
f. In Source, select one of the following sources: Other system (for example, ERP) or Local.
g. Select a row in the Access Sequences table, and in the left frame, choose Fields.
You can define the accesses by defining the sequence of accesses in the access sequence and
choosing the corresponding condition tables.
h. Choose Save.
In the Determine Work Area: Entry dialog box, you can enter a value directly so that the system
overwrites the value transferred from the calling application. You can also set an initial indicator.
Procedure
1. In your ERP system, in Customizing for Logistics Execution, choose Shipping Basic Shipping Functions
Output Control Output Determination Maintain Output Determination for Outbound Deliveries
Maintain Output Types.
2. Make sure that output type TRD0 (delivery to external TMS) has been entered.
Output Types
Program OPS_SE_SHP_SEND_MESSAGE
Processing Routines
Field Entry
Transmission Medium 8
Program OPS_SE_SHP_SEND_MESSAGE
Procedure
1. In your ERP system in Customizing for Logistics Execution, choose Shipping Basic Shipping Functions
Output Control Output Determination Maintain Output Determination for Outbound Deliveries
Maintain Output Determination Procedure. .
2. Make sure that procedure V10000 has been entered.
3. In the dialog structure, select Control Data.
4. Make sure that the following entries have been made for procedure V10000:
In this step, you assign output determination procedures to document types. You can also specify an output
type that is to be displayed when the relevant document is displayed or changed.
Prerequisites
Procedure
1. In your ERP system in Customizing for Logistics Execution, choose Shipping Basic Shipping Functions
Output Control Output Determination Maintain Output Determination for Outbound Deliveries
Assign Output Determination Procedures .
Assignments
In this step, you link the relevant delivery type with an output type that is configured for the data transfer to TM.
You define the message attributes, for example, processing time or language. From a technical point of view,
you create condition records.
Procedure
1. In your ERP system on the SAP Easy Access screen, choose Logistics Logistics Execution Master
Data Output Shipping Outbound Deliveries Create or call transaction VV21.
2. Choose Output Type TRD0.
3. Choose Enter.
4. On the following screen, enter the data as shown in the table below.
In this step you assign the output type to a processing class. This enables the system to send a message as a
repeat message when you delete a delivery.
Prerequisites
Procedure
1. In your ERP system in Customizing for Logistics Execution, choose Shipping Basic Shipping Functions
Output Control Assign Processing Class .
2. Check that the following entry exists, or create it, if necessary:
Field Value
Application V2
Class CL_SHP_XI_MESSAGE_TRD0
You must configure the following settings to send inbound deliveries from ERP to TM. Output determination is
used to create XML messages, which are sent to TM.
In this procedure, you define the combination of fields for which you want to create output condition records in
a condition table. This enables you to control output determination depending on your specific field
combination.
Procedure
1. In Customizing for Logistics Execution, choose Shipping Basic Shipping Functions Output Control
Output Determination Maintain Output Determination for Inbound Deliveries Define Condition Table for
Inbound Delivery Create Condition Table for Inbound Delivery .
If that is not the case, create a new condition table for output control as follows:
a. In Customizing for Logistics Execution, choose Shipping Basic Shipping Functions Output
Control Output Determination Maintain Output Determination for Inbound Deliveries Define
Condition Table for Inbound Delivery Create Condition Table for Inbound Delivery .
b. Choose Condition Create .
c. In the Table field, enter a name (3-digit number) for your new condition table.
Note that you can only choose names between 900 and 999.
d. Choose Enter .
e. Enter a description for the new condition table, for example, Delivery Type.
f. Select the required fields for the condition table from the list of allowed fields, for example, Delivery
Type.
g. Generate the new condition table.
Procedure
1. In Customizing for Logistics Execution, choose Shipping Basic Shipping Functions Output Control
Output Determination Maintain Output Determination for Inbound Deliveries Define Output Types for
Inbound Delivery .
Header Area
Partner-indep.output Selected
Program OPS_SE_SHP_SEND_MESSAGE
Processing Routines
Field Entry
Transmission Medium 8
Program OPS_SE_SHP_SEND_MESSAGE
Prerequisites
Context
In this procedure, you check whether the required access sequences are available, or you create access
sequences that you can use to determine the following:
Procedure
1. In Customizing for Logistics Execution, choose Shipping Basic Shipping Functions Output Control
Output Determination Maintain Output Determination for Inbound Deliveries Define Access Sequence
for Inbound Delivery .
2. In the overview, select access sequence 0001 Delivery Type.
3. Select Accesses.
4. Condition table 9 is displayed in the Overview Accesses table and requirement 432 is assigned in the
Requirement column.
a. In Customizing for Logistics Execution, choose Shipping Basic Shipping Functions Output
Control Output Determination Maintain Output Determination for Inbound Deliveries Define
Access Sequence for Inbound Delivery .
b. Switch to edit mode and choose New Entries.
c. In the Access Sequences area, create an access sequence by specifying an alphanumeric key (with a
maximum of four characters) and a description.
d. In Description, enter a description.
e. In Source, select one of the following sources: Other system (for example, ERP) or Local.
f. Select the row in the Access Sequences table and choose Fields from the dialog structure.
You can define accesses by specifying the access sequence and choosing the corresponding condition
tables.
g. Save your entries.
Procedure
1. In your ERP system, navigate to Customizing for Logistics Execution and choose Shipping Basic
Shipping Functions Output Control Output Determination Maintain Output Determination for Inbound
Deliveries Maintain Output Determination Procedure .
2. Check that procedure E10001 - Inbound Delivery exists and select it. If the procedure does not exist,
create it.
3. In the dialog structure, select Control Data.
4. Check that the following entries have been made for procedure E10001:
In this procedure, you assign output determination procedures to document types. You can also specify an
output type that is to be displayed when the relevant document is displayed or changed.
Prerequisites
Procedure
1. In your ERP system, navigate to Customizing for Logistics Execution and choose Shipping Basic
Shipping Functions Output Control Output Determination Maintain Output Determination for
Outbound Deliveries Assign Output Determination Procedures .
Note
Note that EL is a standard delivery type that is delivered as part of ERP Customizing.
In this procedure, you link the relevant delivery type with an output type that is configured for the data transfer
to TM. You define the message attributes, for example, the processing time or language. From a technical point
of view, you create condition records.
Procedure
1. On the SAP Easy Access screen of your ERP system, choose Logistics Logistics Execution Master
Data Output Shipping Inbound Deliveries Create or call transaction MN24.
2. Enter output type TRD0 and press Enter .
3. On the following screen, enter the data as shown in the table below.
In this step you assign the output type to a processing class. This enables the system to send a message as a
repeat message when you delete a delivery.
Prerequisites
Procedure
1. In your ERP system, in Customizing for Logistics Execution, choose Shipping Basic Shipping Functions
Output Control Assign Processing Class .
2. Check that the following entry exists, or create it, if necessary:
Field Value
Application E1
Class CL_SHP_XI_MESSAGE_TRD0
Use
The following documents can be transferred to TM: sales orders, purchase orders, stock transport orders,
returns orders (such as sales returns, vendor returns, and store returns), outbound deliveries, and inbound
deliveries.
Before you can transfer the documents, you have to define the control keys in the respective Customizing
activity and activate the transfer of documents to TM. The settings that you have to configure depend on the
scenario that you want to set up. You also have to configure output determination for the documents.
Integration of Purchase Orders, Stock Transport Orders, Return Purchase Orders, Return Stock Transport
Orders, and Corresponding Deliveries
To configure this integration scenario in your ERP system, you configure the settings for purchase documents
such that corresponding deliveries are also sent to TM. You configure the settings as follows:
To configure this integration scenario in your ERP system, you configure the settings for orders such that the
corresponding deliveries are not sent to TM. You configure the settings as follows:
To configure this integration scenario in your ERP system, you configure settings for deliveries such that the
preceding order documents are not sent to TM. You configure the settings as follows:
For information about the necessary message control settings in ERP, see Prerequisites for Order and Delivery
Integration in the Product Assistance for SAP S/4HANA on SAP Help Portal under Enterprise Business
Applications Supply Chain Logistics Cross Topics Logistics – General (LO) Integration of SAP ERP with
SAP Transportation Management Integration: Order and Delivery Processing – SAP TM Prerequisites for
Order and Delivery Integration .
You can use these BAdIs to define the control key and the technical settings for transportation management
according to your own logic, overriding the Customizing settings. The BAdIs are called when a document is
saved for the first time.
More Information
To improve understanding and provide a better overview, the following tables show the different messages that
are used to transfer order-related and delivery-related data between ERP and TM.
Message Description
Message Description
Message Description
Message Description
Message Description
In this procedure, you define the sales documents that you want to transfer from ERP to TM. You define the
control key that is to be used and the number of the TM system to which you want to transfer the sales
documents. This information is dependent on the sales area, sales document type, and shipping condition. You
can also specify a technical transportation management number that distinguishes the receiving TM system.
Context
The control key determines which documents in the document chain are to be transferred to TM.
Procedure
1. In Customizing for Integration with Other SAP Components, choose Transportation Management Order
Integration Activate Transfer of Sales Documents .
2. Make sure that an entry exists for the sales organization, distribution channel, divison, sales document
type, and shipping condition you need, and that the control key matches. If necessary, specify the technical
number of the TM system as well.
In this procedure, you define the purchase orders that you want to transfer from ERP to TM. You define the
control key that is to be used and the number of the TM system to which you want to transfer the purchase
orders. This information is dependent on the purchasing organization, purchasing group, and purchasing order
type. You can also specify a technical transportation management number that distinguishes the receiving TM
system.
Prerequisites
Context
The control key determines which documents in the document chain are to be transferred to TM.
1. In Customizing for Integration with Other SAP Components, choose Transportation Management Order
Integration Activate Transfer of Purchase Orders .
2. Make sure that an entry exists for the purchasing organization, purchasing group, and purchase order type
you need, and that the control key matches. If necessary, specify the technical number of the TM system
as well.
In this procedure, you define the delivery documents that you want to transfer from ERP to TM. You define the
control key that is to be used and the number of the TM system to which you want to transfer the delivery
documents. This information is dependent on the shipping point, the delivery type, and the shipping condition.
You can also specify a technical transportation management number that distinguishes the receiving TM
system.
Prerequisites
Context
The control key determines which documents in the document chain are to be transferred to TM.
Note
You can also activate the transfer of delivery documents using the control key that is assigned to the
preceding document in the document chain (for example, a sales order or a purchase order). In this case,
the delivery inherits the control key from the preceding document and the system ignores any settings that
you configure in this procedure.
Procedure
1. In Customizing for Integration with Other SAP Components, choose Transportation Management Order
Integration Activate Transfer of Delivery Documents. .
2. Make sure that an entry exists for the shipping point, delivery type, and shipping condition you need, and
that the control key matches. If necessary, specify the technical number of the TM system as well.
Context
In TM, you use this process to create organizational models for the organizations that take part in
transportation processes. You can create the organizational models according to a predefined hierarchical
structure. You can assign employees who take part in workflow processes to the organizational units.
Note
For more information, see Organizational Management and Creation of Organizational Models in the
Product Assistance for SAP S/4HANA on the SAP Help Portal under Enterprise Business Applications
Supply Chain Delivery and Transportation Transportation Management (TM) Master Data
Organizational Management Creation of Organizational Models .
Procedure
1. In your TM system, start transaction PPOCE (Create Organization and Staffing) and create the required
organizational structure.
Note
Regardless of the chosen approach in regard to the organizational structure creation, you must ensure
that the organizational units relevant for transportation charge management have assigned a BSG Org.
Unit that will enable the relevant interfaces to identify the correct ERP organizational unit.
Note
Context
An order-based transportation requirement (OTR) is a technical prerequisite in ERP order integration that
captures the most important and relevant data contained in the ERP order and is further used in TM to build
the freight units based on the information available in this technical container.
For more information, see Order-Based Transportation Requirement in the Product Assistance for SAP S/
4HANA on the SAP Help Portal under Enterprise Business Applications Supply Chain Delivery and
Transportation Transportation Management (TM) Logistics Integration External TM System Integration
Integration of ERP Orders and Deliveries in Transp. Planning Integration of ERP Orders Order-Based
Transportation Requirement .
Procedure
Note
Ensure that the most critical settings for the integration are maintained:
○ Default Type (one default OTR type must exist)
○ Automatic Freight Unit Building
○ Propagate Changes
○ Default Units of Measure
○ Plan on Req/Cnf. Qty
○ Freight Unit Building Rule or FU Building Rule Condition.
For enforcing business rules or scenario-based splitting of the OTR determination, you can define a
condition of type /SCMTMS/OTR_TYPE where you may maintain various criteria for determining the
relevant OTR type.
Context
A delivery-based transportation requirement (DTR) is a technical prerequisite in ERP order integration that
captures the most important and relevant data contained in the ERP delivery and is further used in TM to build
the freight units based on the information available in this technical container.
Procedure
Note
Ensure that the most critical settings for the integration are maintained:
○ Default Type (one default DTR type must exist)
○ Automatic Freight Unit Building
○ Propagate Changes
○ Default Units of Measure
○ Plan on Req/Cnf. Qty
○ Freight Unit Building Rule or FU Building Rule Condition.
For enforcing business rules or scenario-based splitting of the DTR determination, you can define a
condition of type /SCMTMS/DTR_TYPE where you may maintain various criteria for determining the
relevant DTR type.
You use this process to execute the transfer of business partners from your ERP to your TM system. You can
choose to transfer the entire set of business partner data; however, only the minimum information required to
be transferred to TM is described here.
Context
Note
For more information, see Execution of Data Replication in the Product Assistance for SAP S/4HANA on the
SAP Help Portal under Cross Components Data Replication Framework Execution of Data
Replication .
Procedure
Field Value
Options for Report Control Test Run Only Deselect this checkbox
4. Choose Manual Active Filter Criteria and enter the following selection criteria:
Business Partner (Include): = (Single Value) The IDs of the business partners to be
transferred
FLCU01
FLVN00
FLVN01
5. Choose Execute.
You use this process to execute the transfer of shipping points and plants from your ERP to your TM system.
Context
Note
For more information, see Execution of Data Replication in the Product Assistance for SAP S/4HANA on the
SAP Help Portal under Cross Components Data Replication Framework Execution of Data
Replication .
Procedure
Options for Report Control Test Run Only Deselect this checkbox
4. Choose Execute.
5. Select a DRF replication model and enter the following data:
Field Value
Options for Report Control Test Run Only Deselect this checkbox
6. Choose Execute.
You use this process to execute the transfer of materials from your ERP to your TM system.
Context
Note
If your ERP system is an SAP S/4HANA system, you can use a Web service for material master replication.
Note
For more information, see Execution of Data Replication in the Product Assistance for SAP S/4HANA on the
SAP Help Portal under Cross Components Data Replication Framework Execution of Data
Replication .
Field Value
Outbound Implementation If your ERP system is an SAP ERP system, enter 194_1
(Material via IDoc (ME - enhanced
Filter Object))
Options for Report Control Test Run Only Deselect this checkbox
4. Choose Execute.
Monitor the data that is replicated through the Data Replication Framework (DRF) to check whether your ERP-
TM integration scenario is configured correctly. Additionally, you can monitor the transactional data transfer
between ERP and TM systems.
Monitor inbound and outbound XML message transfer between ERP and TM.
Context
You use Web services to transfer master data from ERP to TM or transactional data between ERP and TM and
vice versa.
Procedure
Display the status monitor for XML-based communication records and allows you to display and trace
messages. You also have the option to process messages with errors in the external application (for
example, in TM).
Note
Processing errors of selected messages may not always be visible in the monitor’s status or processing
status fields. Due to design, errors in various services are included in their respective confirmation
message. Please make sure that the confirmation messages have been configured in your system and
evaluate fault messages contained in them.
Monitor inbound IDocs to check whether data has been replicated successfully.
Context
Procedure
Transaction WE02 displays a list of IDocs and allows you to drill down into data records and status records,
for example.
Transaction BD87 displays the status monitor for ALE records and allows you to display and trace IDocs.
You also have the option to process selected IDocs again after resolving an error indicated by the IDoc
status records.
Forward Error Handling (FEH) is a concept that enables errors detected during the execution of asynchronous
services to be processed on the provider side. This concept is implemented using the Error and Conflict
Handler (ECH).
Context
You use the ECH to control the system response in case of errors and conflicts in service operations. You can
define whether service operations are executed again or terminated after errors and conflicts. This is especially
helpful, for example, for detecting errors during message exchange between your ERP and TM systems.
Note
Procedure
1. In your ERP system, go to Customizing for Cross-Application Components. Choose Processes and Tools
for Enterprise Applications Enterprise Services Error and Conflict Handler Activate Error and Conflict
Handler .
2. Select the Activated checkbox and save.
Context
Note
For more information and troubleshooting SOA Manager and WSRM communication, see SAP Note
1817447 , ESI - Error: GET_BUSINESS_SYSTEM_ERROR for Consumer Proxy calls.
Note
Additionally, evaluate the requirements of implementing the business add-in BAdI: Determination of Local
System Name (MDG_IDM_GET_LCL_SYSTEM) and refer to the Customizing documentation.
In the case of WSRM communication where one or more messages cannot be found in the SRT_MONI, but
instead they are found in the SXI_MONITOR, check the Web service configuration for the specific consumer
proxy.
Perform the following steps in your ERP or TM system, depending on the case.
Information on ERP
● For information on SAP ERP, including the SAP Library and guides, see the SAP Help Portal at http://
help.sap.com/erp.
● For information on SAP S/4HANA, including Product Assistance and guides, see the SAP Help Portal at
http://help.sap.com/s4hana_op.
You can select your release from the the drop-down menu there.
Note
This guide provides links and navigation paths to the most up-to-date version of the documentation on the
SAP Help Portal. Therefore, whenever you access information using these links, you should choose your
specific release from the drop-down menu there.
Similarly, if you are running an SAP ERP system and a link to further information leads you to the Product
Assistance for SAP S/4HANA, you should substitute that with the SAP Library for SAP ERP. Apart from the
product names, the navigation paths are the same.
Information on TM
For information about TM, see Transportation Management (TM) in the Product Assistance for SAP S/4HANA
on the SAP Help Portal under Enterprise Business Applications Supply Chain Delivery and Transportation
Transportation Management (TM) .
For information about setting up TM, see the information for SAP S/4HANA on the SAP Help Portal at http://
help.sap.com/s4hana_op, where there is also TM-specific information in the Installation Guide there.
For information about setting up Web Services Reliable Messaging (WSRM) see the WS/RM Integration Guide
for SAP Transportation Management on the SAP Help Portal at http://help.sap.com/tm under Configuration.
In SAP Note 2714892 , you can find information about the deployment options for TM.
In SAP Note 2769186 , you can find information on moving from SAP Transportation Management (SAP TM)
to Transportation Management in SAP S/4HANA (TM in SAP S/4HANA). Chapter 22 focuses on master data
distribution from SAP ERP to SAP S/4HANA with DRF.
Information about the enterprise services and additional Enterprise Services Repository (ES Repository)
content for TM is available at Enterprise Services and ESR Content.
For information on integrating orders and deliveries from external source systems such as SAP ERP or an
external SAP S/4HANA system, see External TM System Integration in the Product Assistance for SAP S/
4HANA on the SAP Help Portal under Enterprise Business Applications Supply Chain Delivery and
Transportation Transportation Management (TM) Logistics Integration External TM System Integration .
For release information on TM, including information about how TM integrates into the embedded applications
in SAP S/4HANA and also supports side-by-side scenarios, please refer to chapter 1 of SAP Note 3083725 .
For information about the posting of freight settlement documents in side-by-side scenarios with SAP S/4
HANA 1709 FPS02, please see SAP Note 2640069 .
For more information about system integration, see the following SAP Notes:
● SAP Note 1552355 ERP Integration: System Connection between ERP and TM
● SAP Note 1530240 FAQ for ERP-TM Integration
● SAP Note 1588450 FAQ for ERP-TM Logistics Integration
See Integration of SAP S/4HANA Supply Chain for Extended Warehouse Management and SAP S/4HANA
Supply Chain for Transportation Management in One Client as Part of the SAP Digital Supply Chain
Management, Edition for SAP S/4HANA available at http://help.sap.com/dscedition under Integrate.
See also SAP Note 2812981 for information about using TM and decentralized EWM in the same SAP S/
4HANA system and client.
For information on integrating TM with EWM, SAP Event Management, and SAP Global Trade Services, see
Integration in the Product Assistance for SAP S/4HANA on the SAP Help Portal under Enterprise Business
Applications Supply Chain Delivery and Transportation Transportation Management (TM)
Integration .
Hyperlinks
Some links are classified by an icon and/or a mouseover text. These links provide additional information.
About the icons:
● Links with the icon : You are entering a Web site that is not hosted by SAP. By using such links, you agree (unless expressly stated otherwise in your
agreements with SAP) to this:
● The content of the linked-to site is not SAP documentation. You may not infer any product claims against SAP based on this information.
● SAP does not agree or disagree with the content on the linked-to site, nor does SAP warrant the availability and correctness. SAP shall not be liable for any
damages caused by the use of such content unless damages have been caused by SAP's gross negligence or willful misconduct.
● Links with the icon : You are leaving the documentation for that particular SAP product or service and are entering a SAP-hosted Web site. By using such
links, you agree that (unless expressly stated otherwise in your agreements with SAP) you may not infer any product claims against SAP based on this
information.
Example Code
Any software coding and/or code snippets are examples. They are not for productive use. The example code is only intended to better explain and visualize the syntax
and phrasing rules. SAP does not warrant the correctness and completeness of the example code. SAP shall not be liable for errors or damages caused by the use of
example code unless damages have been caused by SAP's gross negligence or willful misconduct.
Bias-Free Language
SAP supports a culture of diversity and inclusion. Whenever possible, we use unbiased language in our documentation to refer to people of all cultures, ethnicities,
genders, and abilities.
SAP and other SAP products and services mentioned herein as well as
their respective logos are trademarks or registered trademarks of SAP
SE (or an SAP affiliate company) in Germany and other countries. All
other product and service names mentioned are the trademarks of their
respective companies.