DSC Edition Cross-Solution Guide v03
DSC Edition Cross-Solution Guide v03
How-To Guide
SAP Digital Supply Chain Management, Edition for SAP S/4HANA
Document Version: 3.0 - 2023-03-16
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Document History © 2023 SAP AG or an SAP affiliate company. All rights reserved. 2
Table of Contents
1 Purpose of This Guide......................................................................................................................... 5
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Table of Contents © 2023 SAP AG or an SAP affiliate company. All rights reserved. 3
6.8 Create a BAdI Implementation to Differentiate Materials Relevant for SAP Advanced
Planning and Optimization and Extended Service Parts Planning (eSPP) .............................. 36
6.9 Create a BAdI Implementation to Update Planning Flags When Replicating Materials
(DSC System) ............................................................................................................................... 36
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Table of Contents © 2023 SAP AG or an SAP affiliate company. All rights reserved. 4
1 Purpose of This Guide
In today’s uncertain economic climate, companies cannot wait years or even months to realize the benefits of
supply chain digitalization. They require modular, interoperable solutions that can be implemented quickly to
deliver responsiveness and resilience. This modular interoperability is a main tenet of the SAP Digital Supply
Chain Management, edition for SAP S/4HANA® that helps you to accelerate innovation and time to value. As a
composable package of solutions for supply chain professionals, the edition can be deployed independently from
other solution implementations and ERP transformations on SAP S/4HANA. This means it can be a stepping
stone to broader enterprise transformation with SAP S/4HANA, while helping you to focus immediately on urgent
supply chain needs. The edition of SAP Digital Supply Chain Management for SAP S/4HANA includes several
modular solutions that – jointly with an underlying ERP system – tightly integrate and work with other SAP
products to support scenarios that span the Plan to Fulfill cycle.
Plan to Fulfill, a subprocess within Design to Operate, describes the journey of information through the stages of
supply and demand planning, manufacturing, and logistics. When engineering designs a new product or redesigns
an existing one, supply chain planners need to consider the impact on demand, supply, and production. They
must also collaborate with their suppliers to purchase newly defined components or materials. Manufacturing
receives information about the new or modified product from engineering and makes the appropriate
adjustments to the required production steps. The finished product is warehoused and then transported as
customer orders are received.
The following modular solutions support the Plan to Fulfill cycle and can be part of SAP Digital Supply Chain
Management, edition for SAP S/4HANA®, depending on your system and business process needs:
• SAP Extended Warehouse Management (SAP EWM) application
• SAP Transportation Management (SAP TM) application
• SAP Yard Logistics application
• SAP S/4HANA Manufacturing solution for planning and scheduling (MP&S)
• SAP S/4HANA Manufacturing solution for production engineering and operations (PEO)
• SAP S/4HANA Supply Chain solution for extended service parts planning (eSPP)
• SAP Portfolio and Project Management (SAP PPM) application
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Purpose of This Guide © 2023 SAP AG or an SAP affiliate company. All rights reserved. 5
Each of these modular solutions can run in the same system in its own client – or alternatively in the same client -
as a side car to the existing ERP system (either SAP ECC or SAP S/4HANA). When combining some or all of those
individual solutions into the SAP Digital Supply Chain Management, edition for SAP S/4HANA in a single, joint
client, some settings deviate from the individual guides whereas other settings remain unchanged.
This guide covers the topics where some of the settings deviate from the settings in the individual guides and
describes the overarching implementation steps required. Each modular solution has its individual
implementation guide with solution-specific setup details. You should use this guide in combination with the
individual guides that cover additional solution-specific setup tasks.
These are the detailed guides for the integration technologies:
• TM Integration Guide for DSC Edition
• Integration of SAP ERP or SAP S/4HANA with Decentralized EWM based on SAP S/4HANA
• How To Integrate Extended Warehouse Management (EWM) and Transportation Management (TM) in
One Client for SAP Digital Supply Chain Management, edition for SAP S/4HANA
• SAP S/4HANA Manufacturing for Planning & Scheduling - Implementation Guide
• PEO Implementation Guide for SAP Digital Supply Chain Management, Edition for SAP S/4HANA
• Extended Service Parts Planning within SAP S/4HANA - Implementation Guide
• Administration Guide for SAP Yard Logistics for SAP S/4HANA
• Master Data Governance: Set Up Data Replication
• Data Replication Framework
• SAP S/4HANA Cookbook Customer/Vendor Integration
• Configuration Guide for SAP Portfolio and Project Management in S/4HANA
You find the latest version of all of these guides on the SAP Digital Supply Chain Management, edition for SAP
S/4HANA product page on the SAP Help Portal.
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Purpose of This Guide © 2023 SAP AG or an SAP affiliate company. All rights reserved. 6
2 Background Information
2.1 Terminology
In this guide, we refer to:
• SAP Digital Supply Chain Management, edition for SAP S/4HANA as DSC edition
• the system that the DSC edition and the selected modules are running on as DSC system
• the system that your ERP is running (SAP ECC or SAP S/4HANA) on as ERP system
• the modules within the DSC edition as DSC solutions
In this section, you get an overview of prerequisites and limitations as well as the system landscape entities used
in the integration of SAP ERP with the DSC edition.
2.2 Prerequisites
The following minimum system requirements allow you to combine all the DSC solutions, or a selection of the
solutions in a single client:
System Release
SAP Digital Supply Chain Management, edition for SAP S/4HANA 2021 FPS2 or higher
SAP S/4HANA
SAP Yard Logistics add-on SAP Yard Logistics 2021 for SAP S/4HANA
ERP system: ERP 6.0 EHP 7 SP23 or higher or EHP 8 SP17 or
SAP ECC higher
or SAP S/4HANA SAP S/4HANA 2021 FPS0 or higher
If you are implementing fewer than the 6 possible DSC solutions in a single client, it may be possible to implement
on lower releases. However, this should be considered carefully and analyzed with your SAP experts.
Individual standalone applications that you want to run in separate clients in the DSC edition may have lower
minimum system requirements. Please refer to the individual application-specific documentation to determine
the minimum system requirements.
Please check the solution-specific guides on the SAP Digital Supply Chain Management, edition for SAP S/4HANA
product page on the SAP Help Portal for system releases, support packages, and additional prerequisites.
Customer vendor integration (CVI) is a prerequisite within your ERP system when connecting to your DSC
system. Since SAP S/4HANA contains the business partner concept and CVI by default, this prerequisite is
especially important when you use ECC as an ERP system. Your customer and vendor master data and
corresponding settings need to be checked to define a business partner concept. This concept should be
established in a pre-project before starting the implementation of the DSC edition. Since customer or vendor
master data is used differently across SAP customers, this guide cannot give a detailed implementation
recommendation. Therefore, section 3.13 Configure Customer or Vendor Integration and Make Business Partner
Settings in the ERP and DSC System only provides a short overview on this topic.
For some master data objects (for example. work centers) you use different integration technologies (for
example, core interface (CIF) vs. data replication framework) based on the usage within DSC edition. Therefore,
you establish a concept on which data to integrate in which way depending on the usage and determine the
corresponding filter criteria to set up integration accordingly in the respective chapters.
2.3 Limitations
The usage of SAP Digital Supply Chain Management, edition for SAP S/4HANA with retail specific master data
(for example, material masters) is not supported.
Advanced Shipping and Receiving is not supported for use in SAP Digital Supply Chain Management, edition for
SAP S/4HANA.
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Background Information © 2023 SAP AG or an SAP affiliate company. All rights reserved. 7
2.4 Overview of System Landscape Entities
The following table provides an overview of system landscape entities required for the integration:
Entity Setting Customizing Comments
Level Transport
RFC destination Cross-client No Technical setting for RFC and qRFC communication
Example: Naming convention: <SID>CLNT<CLIENT>
ERPCLNT001 See section 1.1 Create RFC Connections from ERP to DSC
DSCCLNT001 and Vice-versa.
Logical system Cross-client Yes Technical setting for RFC and qRFC communication
Example: Naming convention: <SID>CLNT<CLIENT>
ERPCLNT001 Can be created in the System Landscape Directory
DSCCLNT001
The logical system is assigned to the RFC destination
Own logical system assigned to client
See section 4.2 Configure Logical Systems in SAP ERP.
Business system Client No Used in the DSC system for master data
group 1:N relationship to logical system
Example: See section 3.11 Maintain Business System Group.
BSG1
Business system Client No Used in the DSC system for transactional data
Example: Naming convention: <SID>_<CLIENT>
ERP_001 The business system is assigned to a logical system
DSC_001
Can be created in the System Landscape Directory
Own business system assigned to client
See section 1 Setup of Data Replication Framework (DRF).
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Background Information © 2023 SAP AG or an SAP affiliate company. All rights reserved. 8
2.5 Overview on Integration Technologies by Domain
In contrast to standalone implementations of DSC solutions, we follow a consolidated approach for data
integration in context of SAP Digital Supply Chain Management, edition for SAP S/4HANA, which deviates for
certain objects.
Object / Domain Integration Technology
Business partner Data replication framework (DRF) via service
(CVI is required in the ERP system as a prerequisite)
Locations (for example, plants, shipping Points) DRF via service (for more information, see the TM
Integration Guide for DSC Edition)
Note: /SAPAPO/CREATE_LOCATION is not required
for location types 1001 and 1003 in this case
Classes and characteristics Application Link Enabling (ALE) via IDoc
Material masters DRF via IDoc
CIF for Manufacturing solution for planning and
scheduling (MP&S) and Extended Service Parts
Planning (eSPP) (for more information, see the
solution-specific guides on the SAP Digital Supply
Chain Management, edition for SAP S/4HANA SAP
Help Portal)
Batches ALE via BAPI
Serial numbers (piece of equipment) ALE via BAPI
Work centers CIF via RFC calls (see SAP S/4HANA Manufacturing
for Planning & Scheduling - Implementation Guide)
DRF via IDoc for non-MP&S work centers
BOM, routing, production versions See the PEO Implementation Guide for SAP Digital
Supply Chain Management, Edition for SAP
S/4HANA
Production data structure (PDS) can be generated
from ERP via CURTO_CREATE or directly within the
DSC edition via CURTOADV_CREATE in case
versioned master data is required for planning
Others (for example, transactional data) See the solution-specific guides on the SAP Digital
Supply Chain Management, edition for SAP
S/4HANA product page on the SAP Help Portal
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Background Information © 2023 SAP AG or an SAP affiliate company. All rights reserved. 9
3 Cross-Solution Customizing Settings
3.1 Activate Business Functions
You activate business functions that enable your ERP system to communicate with your DSC system in the
Switch Framework.
Each DSC solution requires the activation of specific business functions which even may depend on system
releases in some cases. For more information, see the solution-specific guides on the SAP Digital Supply Chain
Management, edition for SAP S/4HANA product page on the SAP Help Portal and activate required business
functions according to your needs.
This guide only covers the business function relevant for integration.
As of EHP8, you activate following business function to enable immediate data integration:
Business Function Description
DRF_FOUNDATION Data Replication
For more information, see the business function documentation in transaction SFW5.
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). It is recommended to schedule a job to run the report
RDRF_MESSAGE_OUT periodically to replicate all material changes since the previous replication.
Procedure
Carry out the following steps in your DSC system Customizing client:
On the SAP Easy Access screen, choose Tools > Administration > Administration > Client Administration >
Customizing Objects > Object Comparison.
Compare the information in the following table between the DSC system client and the ERP system
customizing client. Compare the entries you plan to use in your DSC system processes.
Adjust the tables in the ERP system or DSC system Customizing, if necessary as follows:
View/Table Description Usage in DSC Edition
T002 Language keys Material master and others
T005 Countries Material master and others
T006 Unit of measure Material master and others
TCURC Currency codes Material valuation data
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Cross-Solution Customizing Settings © 2023 SAP AG or an SAP affiliate company. All rights reserved. 10
3.3 Create Factory Calendars in the DSC System
You create factory calendars in the Customizing of the DSC system.
Procedure
In Customizing, choose Advanced Planning > Master Data > Calendar > Maintain Factory Calendar.
On the next screen, select Factory Calendar and choose Change.
On the next screen, choose Create.
Define the factory calendar as needed.
Important
Factory calendars are not client-specific. Each change takes effect directly in all clients.
Procedure
Carry out the following steps in the DSC system:
Launch Change View Material Number Format (transaction OMSL).
Adopt the ERP system settings.
Note
If you connect the DSC system to an SAP ERP system supporting 40 characters, you also have to
activate the field length extension for the communication to this system in Customizing for Cross-
Application Components under General Application Functions Field Length Extension Activate
Extended Fields (transaction FLETS).
If your ERP system is an SAP S/4HANA system, PEO supports a 40-character SAP S/4HANA
material ID.
If your ERP system is an SAP ERP 6.0 system with corresponding enhancement package, PEO only
supports the 18-character SAP ECC material ID, regardless of whether you've activated the 40-
character long material ID for discrete industries (DIMP LAMA) in the ERP system. No option is
currently available to map the 40-character SAP S/4HANA material ID to the DIMP-LAMA material
ID.
Procedure
Determine the material types you for your processes.
Create the required material types both in ERP and DSC systems in Customizing, under Logistics General >
Material Master > Basic Settings > Material Types > Define Attributes of Material Types. For more
information, see How to Create Material Types for Major Assembly Production on the SAP Help Portal.
Accounting and sales is done in the ERP system. For example, the DSC system only supports production
engineering and operations, warehouse tasks, etc. Accounting or sales related material attributes are not
needed in the DSC system. Make sure the material types in the DSC system do not require accounting data
and do not update inventory values (for more information, see Deselect quantity/value updating for
material types in your valuation area via IMG path Logistics > General Product Lifecycle Management
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Cross-Solution Customizing Settings © 2023 SAP AG or an SAP affiliate company. All rights reserved. 11
(PLM) Material Master Basic Settings Define Attributes of Material Types )
For further details refer to section 6.7 Create a BAdI Implementation to Clear Data When Replicating
Materials (ERP System).
Maintain additional settings as described by the individual guides (for example, PEO Implementation Guide
SAP Digital Supply Chain Management, Edition for SAP S/4HANA 3.6.2 “Non-valuated Materials” on the
SAP Help Portal).
Context
A plant and an assignment to a company code must exist to receive material master with plant-specific data
(database table MARC) in the DSC system. The company code itself is not required in the DSC system for further
processing, therefore it is sufficient to create it with minimal or “dummy” data.
Procedure
Carry out the following steps in your DSC Customizing client:
Create required plants as a copy of for example plant 0001 (transaction EC02) in Customizing under
Enterprise structure Definition Logistics > General Define, copy, delete, check plant.
Maintain storage locations in Customizing under Enterprise structure Definition Materials Management
Maintain Storage Location.
Check if plants were assigned to company code (otherwise then maintain) in Customizing under Enterprise
structure Assignment Logistics > General Assign Plant to Company Code.
Assign a company code to a fiscal year variant via IMG path Financial Accounting (New) Financial
Accounting Global Settings (New) Ledgers Fiscal Year and Posting Periods Assign Company Code to a
Fiscal Year Variant. Here you assign the new company code to a fiscal year variant for example, K4.
If the fiscal year variant does not exist yet, create it via IMG path Financial Accounting (New) Financial
Accounting Global Settings (New) Ledgers Fiscal Year and Posting Periods Maintain Fiscal Year
Variant.
Assign a company code to chart of accounts via IMG path Financial Accounting (New) General Ledger
Accounting (New) Master Data G/L Accounts Preparations Assign Company Code to Chart of
Accounts. Here you assign the new company code to a chart of accounts for example, INT.
If the chart of accounts does not exist yet, create it via IMG path Financial Accounting (New) General
Ledger Accounting (New) Master Data G/L Accounts Preparations Edit Chart of Accounts List.
Maintain company codes for Materials Management via IMG path: Logistics > General Product Lifecycle
Management (PLM) Material Master Basic Settings Maintain Company Codes for Materials
Management. Here you set up the new company code for material management, for example, fiscal year
and posting period.
Deselect quantity/value updating for material types in your valuation area via IMG path Logistics > General
Product Lifecycle Management (PLM) Material Master Basic Settings Define Attributes of Material
Types. Here you deselect the check boxes for quantity updating and value updating for used material types
in material master. The valuation area is created automatically in step 2 'Assign plant to company code'. It
has the same number as the plant.
Check if the sales organization was assigned to plants by copying (otherwise then maintain) in Customizing
under Enterprise structure Assignment Sales and Distribution Assign Sales Organization > Distribution
Channel > Plant.
Check if the standard purchasing organization was assigned to plants (otherwise maintain) in Customizing
under Enterprise structure Assignment Materials Management Assign Purchasing Organization to
Plant.
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Cross-Solution Customizing Settings © 2023 SAP AG or an SAP affiliate company. All rights reserved. 12
3.7 Create MRP Areas for Plants or Storage Locations (for
MP&S and eSPP)
MRP areas for storage locations have to be created in both systems with the same settings.
Procedure
In Customizing, choose Production > Material Requirements Planning > Master Data > MRP Areas > Define
MRP Areas for Plant/Storage Locations.
Create a new entry by specifying name, description, and plant.
Prerequisites
Business partners have been transferred and vendor numbers are available in the DSC system.
Procedure
In Customizing, choose Production > Material Requirements Planning > Master Data > MRP Areas > Define
MRP Areas for Subcontractors.
Create a new entry by specifying name, description, and vendor.
Procedure
Carry out the following steps in the DSC system:
1. Launch Edit Table Views (transaction PK05).
2. Enter your plant.
3. Create relevant PSAs corresponding to your ERP system settings.
Procedure
On the SAP Easy Access screen, choose Logistics > Advanced Planning > Master Data > Planning Version
Management > Model and Version Management or use transaction /SAPAPO/MVM.
Choose Create Model/Planning Version.
Create model 000 and select it.
Create planning version 000 for this model with the following values:
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Cross-Solution Customizing Settings © 2023 SAP AG or an SAP affiliate company. All rights reserved. 13
Field Value
Change Planning Active Selected
Note
The model is also relevant for SAP TM and its creation is described in the respective guides.
However, when using MP&S and TM within the DSC system, creation needs to follow the MP&S
approach.
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Cross-Solution Customizing Settings © 2023 SAP AG or an SAP affiliate company. All rights reserved. 14
4 Configure System Connection and Global
Settings
You configure the system landscape settings required for the queued remote function call (qRFC) communication
between the DSC and ERP system.
The DSC system communicates with the ERP system via queued remote function call (qRFC) for parallel
processing, using system resources in parallel to increase business throughput and reduce processing time.
Procedure
Activate change pointers at client level in Customizing for SAP NetWeaver under Application Server IDoc
Interface/Application Link Enabling (ALE) Modelling and Implementing Business Processes Master Data
Distribution > Replication of Modified Data Activate Change Pointers > Generally.
Launch Activate Change Pointers Generally (transaction BD61) in the system from which materials are to
be replicated.
Select the checkbox to activate change pointers in general.
Save your settings.
Context
The change pointers are needed to log changes to the master data and distribute them to the receiver system.
To ensure that changed master data can be identified, activate change pointers in the system from which the
master data is to be replicated.
Procedure
Launch Activate Change Pointer Generally (transaction BD50) and activate change pointers for the
following message types:
• MATMAS
• BATMAS
• CHRMAS
• CLSMAS
• CLFMAS
Save your settings.
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Configure System Connection and Global Settings © 2023 SAP AG or an SAP affiliate company. All rights reserved. 15
Important
The activation of change pointers per message type creates entries for the fields of the message
type in another table. For batches (message type BATMAS) it might happen that an entry for the
batch status is missing as this depends on the setup of the system whether batch status
management is activated or not. To verify this, start transaction BD52 for message type BATMAS
and check that an entry exists for object CHARGE, table name MCHA, field name ZUSTD.
Procedure
Define a logical system for your ERP system and assign it to a client.
Define a logical system for your DSC system and client.
Note
Logical systems must adhere to the naming convention <SSS>CLNT<CCC>, where SSS is the 3-
character system ID and CCC is the client.
Log on to your ERP system.
Launch Display ALE Customizing (transaction SALE).
Define a logical system for your ERP system and client by choosing Basic Settings > Logical Systems >
Define Logical System.
Save your entries and exit the activity.
Assign the ERP logical system to a client by choosing Basic Settings > Logical Systems > Assign Logical
System to Client.
Select the client in which you're running ERP and assign the logical system that identifies the ERP system
and client.
Save your settings and exit the activity.
Define a logical system for your DSC system and client by choosing Basic Settings > Logical Systems >
Define Logical System.
Save your entries and exit the activity.
Procedure
Define a logical system for your DSC system and assign it to a client.
Define a logical system for your ERP system and client.
Note
Logical systems must adhere to the naming convention <SSS>CLNT<CCC>, where SSS is the 3-
character system ID and CCC is the client.
Log on to your DSC system.
Launch Display ALE Customizing (transaction SALE).
Define a logical system for your DSC system and client by choosing Basic Settings > Logical Systems >
Define Logical System.
Save your entries and exit the activity.
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Configure System Connection and Global Settings © 2023 SAP AG or an SAP affiliate company. All rights reserved. 16
Assign the DSC logical system to a client by choosing Basic Settings > Logical Systems > Assign Logical
System to Client.
Select the client in which you're running the DSC system and assign the logical system that identifies the
DSC system and client.
Save your settings and exit the activity.
Define a logical system for your ERP system and client by choosing Basic Settings > Logical Systems >
Define Logical System.
Save your entries and exit the activity.
Procedure
Launch User Maintenance (transaction SU01) in your ERP system and identify the user.(Naming
conventions suggest calling the RFC user ALEREMOTE).
On the Logon Data tab, select user type Service and provide a password.
Launch Role Maintenance (transaction PFCG) to create a role with the necessary authorizations for this
user.
For example, in the ERP system, the RFC user must have authorizations for the following authorization
objects for PEO:
• S_RFC
• B_ALE_MODL
• C_PDC
• M_MSEG_BWA
• M_MSEG_WWA
• C_AFRU_AWK
Check the solution-specific guides on the SAP Digital Supply Chain Management, edition for SAP S/4HANA
product page on the SAP Help Portal to have a complete list of required authorizations.
Launch User Maintenance (transaction SU01) in your DSC system and identify the user (Naming
conventions suggest calling the RFC user ALEREMOTE).
On the Logon Data tab, select user type Service and provide a password.
Use Role Maintenance (transaction PFCG) to create a role with the necessary authorizations for this user.
In the DSC system, the RFC user must have authorizations that include the following authorization objects:
• S_RFC
• B_ALE_MODL
Check the solution-specific guides on the SAP Digital Supply Chain Management, edition for SAP S/4HANA
product page on the SAP Help Portal to have a complete list of required authorizations
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Configure System Connection and Global Settings © 2023 SAP AG or an SAP affiliate company. All rights reserved. 17
4.5 Create RFC Connections from the ERP to the DSC System
and Vice-Versa
Prerequisites
System administrators must make specific settings for the remote function all (RFC) connection between the ERP
and DSC system before any Customizing activity is carried out.
Contact your system administrator to ensure the following prerequisites are met:
• An RFC user exists in each target system/client defined as RFC destination. For example, for the DSC
system client to use the RFC destination to the ERP test client, an RFC user exists in the ERP client.
• RFC destinations exist between the corresponding ERP system and DSC system clients.
Procedure
...
Repeat steps 1 to 8 in the DSC system to create the connection to the ERP system.
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Configure System Connection and Global Settings © 2023 SAP AG or an SAP affiliate company. All rights reserved. 18
4.6 Assign DSC Logical Systems to RFC Destinations in the
ERP System
You assign the logical systems defined in the ERP system to RFC destinations in SAP ERP.
Context
These settings cannot be transported from your ERP Customizing client to other SAP ERP systems and clients.
Therefore, you must repeat the steps in every ERP system client connected to the DSC system.
Procedure
Carry out the following steps in each ERP system client you want to connect to the DSC system:
In Customizing for SAP NetWeaver, choose Application Server > IDoc Interface/Application Link Enabling
(ALE) > Communication > Determine RFC Destinations for Method Calls.
Select the DSC logical system, for example, DSCCLNT001.
Choose Standard BAPI destination.
Enter the RFC destination created by your system administrator for the corresponding DSC system and
choose Enter.
Repeat the steps in the DSC system to assign ERP logical systems to RFC connections.
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Configure System Connection and Global Settings © 2023 SAP AG or an SAP affiliate company. All rights reserved. 19
5 Setup of Application Link Enabling (ALE)
Note
The following description contains only an example for the ALE IDoc setup. ALE offers much more
settings and possibilities. Therefore, you should get familiar with ALE in general. For more
information, see IDoc Interface/ALE on the SAP Help Portal.
Procedure
Launch Ports in IDoc Processing (transaction WE21).
Create a transactional RFC port:
• As the port name, specify the technical name of the RFC destination.
• Enter a description of the port.
As the version, select IDoc record types SAP Release 4.x.
As the RFC destination, enter the RFC destination of your ERP or DSC system respectively.
Save your entries.
Procedure
Carry out the following steps in the ERP system:
...
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Setup of Application Link Enabling (ALE) © 2023 SAP AG or an SAP affiliate company. All rights reserved. 20
Business Object Message Sender Receiver
Type
Materials MATMAS Specify the logical Specify the logical
system of the ERP system of the DSC
Work centers LOIWCS system. system.
Production orders LOIPRO
Dummy message type SYNCH
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Setup of Application Link Enabling (ALE) © 2023 SAP AG or an SAP affiliate company. All rights reserved. 21
5.3 Define Partner Profiles
You can generate the partner profile within Display Distribution Model (transaction BD64) automatically or create
it using Partner Profile (transaction WE20) manually. You use this to create the partner profile manually.
Prerequisites
You configured the basic settings for the system landscape and created a distribution module from the ERP
system to the DSC system.
Procedure
Carry out the following steps in the ERP system:
Launch Display ALE Customizing (transaction SALE).
Choose Modeling and Implementing Business Processes > Partner Profiles > Generate Partner Profiles .
In the Model View field, select the distribution model that you created for distributing data from the ERP
system to the DSC system.
As the partner system, select the logical system of your DSC system.
Enter the ALE user (the default value is ALEREMOTE) along with the following values:
Field Value
Version 3
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Setup of Application Link Enabling (ALE) © 2023 SAP AG or an SAP affiliate company. All rights reserved. 22
5.3.2 Replicate a Distribution Model (ERP to DSC System)
Replicate your distribution model from your ERP to your DSC system.
Prerequisites
Before distributing the model, ensure that:
• You've generated the partner profile and the SYNCH message type exists as an outbound parameter.
• The technical name of your distribution model is unique within your system landscape.
Procedure
Carry out the following steps in the SAP ERP system:
Launch Display ALE Customizing (transaction SALE).
Choose Modelling and Implementing Business Processes> Maintain Distribution Model and Distribute Views.
Select your distribution model and choose Edit Model > View Distribute.
Select the logical system of the receiving DSC system and choose Continue.
Results
The system displays a list of messages each with a status that indicates whether the action was successful.
Prerequisites
You've successfully replicated the distribution model from the ERP to the DSC system.
Procedure
Carry out the following steps in the DSC system:
Launch Display ALE Customizing (transaction SALE).
Choose Modeling and Implementing Business Processes > Partner Profiles > Generate Partner Profiles.
In the Model View field, select the distribution model that you replicated to your DSC system from your ERP
system.
As the partner system, select the logical system of your ERP system.
Enter the ALE user (the default value is ALEREMOTE) along with the following values:
Field Value
Version 3
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Setup of Application Link Enabling (ALE) © 2023 SAP AG or an SAP affiliate company. All rights reserved. 23
c. Verify that the outbound and inbound parameters match the distribution model and you have the
required IDoc versions. You can drill down into an outbound message type to change the IDoc
version.
d. Check the solution-specific guides on the SAP Digital Supply Chain Management, edition for SAP
S/4HANA product page on the SAP Help Portal for details on required versions. To determine the
latest IDoc version in your system, call transaction WE30 and enter the IDoc name with an asterisk
(*) instead of the two-digit version suffix (for example, enter LOIPRO*). Choose F4 to display the
input help, which lists the available IDoc versions. All IDoc versions are downwards compatible, but
it is recommended that you use the latest available IDoc version.
e. Drill down into the inbound message type and ensure that the correct process code is entered
under Inbound options. For example, use process code MATM for materials.
Note
The process code specified in the partner profile determines which function module is used to
process the inbound message. The process codes are configured in transaction WE42. Multiple
inbound function modules exist for some message types. For example, materials and articles (retail
solution) are replicated using the MATMAS IDoc but use different process codes. For details, see
corresponding chapter "Define Inbound Processing (ERP and PEO)” in the PEO Implementation
Guide for SAP Digital Supply Chain Management, Edition for SAP S/4HANA .
f. If you want inbound IDocs to be processed immediately rather than asynchronously by report
RBDAPP01, drill down into the inbound message type and make sure that Trigger Immediately is
selected.
g. If you want outbound IDocs to be processed immediately rather than asynchronously by report
RSEOUT00, drill down into the outbound message type and make sure that Pass IDoc Immediately
is selected.
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Setup of Application Link Enabling (ALE) © 2023 SAP AG or an SAP affiliate company. All rights reserved. 24
6 Setup of Data Replication Framework
(DRF)
6.1 Set up Point-to-Point Communication for Web Services
You set up the point-to-point communication between your ERP system and DSC system using the SAP standard
technology data replication framework (DRF) with web services.
Note
There are two options to establish a connection between two systems to communicate with each
other via web services. The communication messages can be sent and received via and
intermediate XI server or by a direct point-to-point communication between the systems. Here we
describe the usage of a point-to-point communication.
For the configuration guide, see Configuring the SOA Manager for MDG (NW 7.40 or higher).
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
Carry out the following steps in the SAP ERP system:
Define a business system in Customizing for Data Replication (Transaction DRFIMG) under Data
Replication > Define Custom Settings for Data Replication > Define Technical Settings Define Technical
Settings for Business Systems Define Business Systems.
Enter the data as shown in the following table:
Field Value
Business System Enter the name of your DSC business system, for example DSC_001
Logical System Enter the name of the logical system of your DSC business system, for
example DSCCLNT001
RFC Destination Enter the name of the RFC Destination of your DSC business system, for
example DSCCLNT001
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Setup of Data Replication Framework (DRF) © 2023 SAP AG or an SAP affiliate company. All rights reserved. 25
Enter the data as shown in the following table:
Business Object Type Description
97 Production order
145 Batch
194 Material
493 Work center (in case you do not transfer all work centers via CIF)
DRF_0045 Shipping Point/receiving Point (see TM Integration Guide for DSC Edition)
Output mode (Only required if your ERP system is an SAP S/4HANA system or minimum ECC ERP EhP8),
select:
• Direct Output if you want the message (IDoc) to be sent immediately.
• Pooled Output if you want to create messages collectively later by running transaction BD21 or
report RBDMIDOC.
• Object-Dependent Default if you want to use the default setting, which is direct output for all
business objects except materials and pooled output for materials.
Select your defined business object type system and navigate to Define Bus. Systems, BOs, >
Communication Channel to define the communication channel.
For key harmonization select Not Defined.
Save your entries.
Note
The output mode configuration is available only from SAP ERP 6.0 with enhancement package 8 and only
if the business function DRF_FOUNDATION has been activated. If this business function has not been
activated or is not available, or if the output mode is set to Pooled Output, the system only writes a
change pointer when a material or work center is saved. You can use transaction BD21 or report
RBDMIDOC to create IDocs for all change pointers (see 8.6 Execute the Delta Transfer of Master Data.
It is recommended that you schedule the following jobs:
• a job to run report RBDMIDOC and message type MATMAS periodically to create IDocs for all material
changes since the previous IDoc generation.
or
a job to run the report RDRF_MESSAGE_OUT periodically to replicate all material changes since the
previous replication.
• a job to run report RBDMIDOC and message type BATMAS periodically to create IDocs for all batch
changes since the previous IDoc generation. Direct Output is not yet supported for batches.
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Setup of Data Replication Framework (DRF) © 2023 SAP AG or an SAP affiliate company. All rights reserved. 26
6.3 Define Replication Models
You configure the replication model for data transfer. The replication model defines what is transferred, how it is
transferred and the receiver system of the data transfer.
Procedure
Carry out the following steps in the SAP ERP system:
Define a replication model in Customizing for data replication (Transaction DRFIMG) under Data
Replication Define Custom Settings for Data Replication Define Replication Models.
Choose New Entries.
Create a replication model for every business object you want to replicate.
Enter the data as shown in the following table:
Business Ob- Outbound Communication Channel Outbound Pa- Outbound Pa-
ject of Repli- Implementation rameter and rameter Value
cation Model Value
Business 986_3 1 Replication via PACK_SIZE_B 1
partner Services ULK
Business System Enter the business system that you created for your DSC system
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Setup of Data Replication Framework (DRF) © 2023 SAP AG or an SAP affiliate company. All rights reserved. 27
6.4 Define DRF Filter Criteria
You define filter criteria for a DRF replication model to define which business object instances want to replicate to
your DSC system.
Context
Although you can filter by IDs of individual materials, serial numbers, and production orders, it would require you
to continuously update the filter criteria, for example, every time you create a material or release a production
order. 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 DSC system. For example, if you filter by plant,
you replicate all production orders manufactured in this plant or all materials with attributes specific to this plant.
If you're using the DSC edition only for final assembly and you manufacture components in the same plant, you
may need to use additional filter criteria such a material type or MRP controller. SAP recommends that you use
the Data Replication Framework (transaction DRFF) to define filter criteria because it's flexible. An alternative way
to define filter criteria is in the business configuration in Customizing.
Procedure
Launch Define Filter Criteria (transaction DRFF ).
Select a DRF replication model and choose Create.
Specify the filter criteria and then choose Save.
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Setup of Data Replication Framework (DRF) © 2023 SAP AG or an SAP affiliate company. All rights reserved. 28
Field Value
Relation Contains
Filter Value *
Relation Contains
Filter Value *
Relation Contains
Filter Value *
Relation Contains
Filter Value *
Field Value
Relation Contains
Filter Value *
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Setup of Data Replication Framework (DRF) © 2023 SAP AG or an SAP affiliate company. All rights reserved. 29
Field Value
Relation Contains
Filter Value *
Relation Contains
Filter Value *
Note
In Execute Data Replication (transaction DRFOUT) (SAP Easy Access Menu for Data Cross
Application Components Processes and Tools for Enterprise Applications Master Data
Governance > Data Replication Execute Data Replication) it is possible to maintain manual filter
criteria for the execution of the business partner data transfer. This does not affect the filters
defined for the data replication model in this section. The same logic can be used for defining filters
for execution.
Context
The distribution model in your ERP system replicates equipment to DSC via IDoc EQUIPMENT_CREATE, which is
triggered based on a business transaction event (BTE). For inbound processing in your DSC system, you want the
inbound parameter for this IDoc to be processed by a program that is scheduled to run in the background.
Procedure
Carry out the following steps in the DSC system:
Launch Partner Profiles (transaction WE20).
Choose the partner system (logical system) of your ERP system under Partner Type LS.
In the Inbound table, select the row containing the message type EQUIPMENT_CREATE and choose the
Inbound parameter details icon below the table.
Under Processing by Function Module, select Trigger by background program.
Save your changes.
Go back to the SAP Easy Access screen.
Execute report RBDAPP01 from the ABAP Editor (transaction SE38).
Create a variant (for example, EQUI) for message type EQUIPMENT_CREATE and IDoc status 64.
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Setup of Data Replication Framework (DRF) © 2023 SAP AG or an SAP affiliate company. All rights reserved. 30
Launch Define Background Job (transaction SM36) and create a new background job (for example,
EQUIPMENT_CREATE) as follows:.
a. Specify the ABAP program name RBDAPP01 and the variant that you created in the previous step
(in this example, EQUI).
b. Choose Date/Time as the start condition and select the Periodic job checkbox.
c. Enter the start date and time.
d. Choose Period Values, then Other Period, and enter the number of minutes (for example, 5).
Save your background job.
Context
The material master data in your ERP system normally contains accounting, purchasing, and sales data, which is
not relevant or needed by your DSC system. If you replicate this data, your receiving DSC system requires sales
organizations, valuation classes, and information about goods receipts of purchased materials or goods issues to
customers. To prevent referential integrity issues, you create a BAdI implementation in your ERP system to clear
this data before the material is replicated to the target system.
Procedure
Log on to your ERP system.
Create an implementation of the BAdI definition BADI_MATMAS_ALE_CR (Change data in MATMAS IDoc
when Generating an IDoc) in the customer namespace.
Adjust the BAdI implementation to your individual needs.
Save and activate your implementation.
Example
The following example BAdI implementation is based on material master data replication from an ERP system to a
DSC system. It implements enhancement spot BADI_MATMAS_ALE_CR.
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Setup of Data Replication Framework (DRF) © 2023 SAP AG or an SAP affiliate company. All rights reserved. 31
Sample Code:
method if_ex_badi_matmas_ale_cr~change_matmas.
* Purpose
* =======
* The material master has many attributes controlling business processes in d
ifferent
* applications like sales, purchasing, production, accounting, and inventory
management.
* Every application needs only a subset of the material's attributes. The MAT
MAS idoc
* replicates all attributes maintained in the source system, if they are not
deleted in
* this BADI. Unnecessary attributes can reference other business objects or c
ustomizing
* entities. If the unnecessary attribute is populated the referenced object m
ust exist,
* even if it is not necessary for the business process running in the client,
or else
* you run into a referential integrity issue.
* Accounting and costing data is for example not necessary in PEO. If the mat
erial's
* accounting and costing data is replicated into the PEO client, then you mus
t still
* create profit centers and valuation classes in the PEO system. To avoid the
need to
* create such referenced but unnecessary business objects in PEO, the unneces
sary
* attributes should be deleted during transfer. This is what the BADI impleme
ntation
* below is doing for PEO.
* The MATMAS idoc must populate all mandatory fields. Additional mandatory fi
elds can be
* defined in the material master configuration (transaction OMS9). Make sure
all
* mandatory fields are populated by the idoc. Make also sure only the attribu
tes
* required for PEO are mandatory in the PEO client.
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Setup of Data Replication Framework (DRF) © 2023 SAP AG or an SAP affiliate company. All rights reserved. 32
* ========================================
* If you do not delete the sales org specific views here, then you must maint
ain the
* sales organizations in the destination/PEO system. If you do not delete the
* warehouse specific views here, then you must maintain the warehouse numbers
in the
* destination/PEO system. If in the destination system you only want to manag
e a
* subset of the warehouses, then you should delete here all warehouse views,
which
* are not managed by the destination system.
* Note that storage types and wharehouse numbers may only be deleted if EWM i
s not
* running in the same client (which could make sense to manage the floor stoc
k
* needed for production).
delete t_idoc_data where segnam = 'E1MBEWM'. "Delete accounting views (
B)
delete t_idoc_data where segnam = 'E1MLGTM'. "Delete storage type speci
fic data (L)
delete t_idoc_data where segnam = 'E1MLGNM'. "Delete warehouse number s
pecific data (S)
delete t_idoc_data where segnam = 'E1MVKEM'. "Delete sales org specific
data (V)
delete t_idoc_data where segnam = 'E1MLANM'. "Delete country specific t
ax data
delete t_idoc_data where segnam = 'E1MPGDM'. "Delete material master pr
oduct group
delete t_idoc_data where segnam = 'E1MPOPM'. "Delete forecast parameter
s (P)
delete t_idoc_data where segnam = 'E1MPRWM'. "Delete forecast values
delete t_idoc_data where segnam = 'E1MVEGM'. "Delete material total con
sumption
delete t_idoc_data where segnam = 'E1MVEUM'. "Delete material unplanned
consumption
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Setup of Data Replication Framework (DRF) © 2023 SAP AG or an SAP affiliate company. All rights reserved. 33
* could however be used in product engineering. a phantom e-BOM must then be
* flattened in e-BOM to m-
BOM handover. To allow this process special procurement
* key are not blanked out in the code below.
field-symbols: <idoc> like line of t_idoc_data.
data: ls_e1marcm type e1marcm,
ls_e1maram type e1maram.
<idoc>-sdata = ls_e1maram.
endloop.
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Setup of Data Replication Framework (DRF) © 2023 SAP AG or an SAP affiliate company. All rights reserved. 34
* ls_e1marcm-
stlal = space. "BOM alternative for costing (we don't do costing in PEO)
* ls_e1marcm-
stlan = space. "BOM usage for costing (we don't do costing in PEO)
* ls_e1marcm-plnty = space. "Task List Type for costing
* ls_e1marcm-plnnr = space. "Routing for costing
* ls_e1marcm-aplal = space. "Routing alternative for costing
* ls_e1marcm-sobsk = space. "Special procurement key for costing
* ls_e1marcm-disgr = space. "MRP group
* ls_e1marcm-awsls = space. "Variance key for cycle counting
* ls_e1marcm-sfepr = space. "Repetitive Manufacturing profile
* ls_e1marcm-lfrhy = space. "Planning cycle
* ls_e1marcm-rdprf = space. "Rounding Profile
* ls_e1marcm-strgr = space. "Planning strategy group
* ls_e1marcm-mdach = space. "Action Control: Planned Order Processing
ls_e1marcm-xmcng = abap_true. "neg. stock allowed
<idoc>-sdata = ls_e1marcm.
endloop.
endmethod.
Note
If PEO is the only module you're running in the DSC edition, the example implementation above is a
starting point. However, if you're running PEO
and EWM together in the same SAP S/4HANA system (where EWM could be used to manage PEO's
floor stock), you need not only the material's manufacturing attributes but also the warehousing
attributes. In this case, the material's warehousing attributes must not be cleared before the data is
sent.
Note
If PEO is the only modul e you're running in the edition of SAP Digital Supply Chain Man agement for
SAP S/4H AN A, the ex ampl e impl ementation abov e is a starting point. However, if you're running PEO and E WM together in the same SAP S /4HANA s ystem ( wher e EWM could be used to man age PEO's floor stock), you need not only the material's manufacturing attribu tes but also the w ar ehousing attributes . In this case, the mat erial' s warehousing attribut es must not be clear ed before th e dat a is sent.
The over all mat erial maint enan ce st atus is mad e up of the individual maint enance st atuses . The individual maint enan ce st atuses hav e the following meaning:
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Setup of Data Replication Framework (DRF) © 2023 SAP AG or an SAP affiliate company. All rights reserved. 35
6.8 Create a BAdI Implementation to Differentiate Materials
Relevant for SAP Advanced Planning and Optimization and
Extended Service Parts Planning (eSPP)
SAP Advanced Planning and Optimization and eSPP cannot be active for the same location product. In case both
solutions are relevant in your DSC edition, implement BAdI CIF_S4_BADI_PRODUCT_OUTBOUND
(enhancement spot CIF_S4_PRODUCT_EHSP) with your logic on ERP releases (for example, set PPSKZ or
ESPPFLG by plant).
Note
When integrating from SAP S/4HANA systems you set this flag in the integration model and the
implementation is not needed to distinguish eSPP and Advanced Planning relevancy.
Note
The above coding serves as an example. Depending on your scenario the coding needs to be
adjusted (for example. by considering deletion flags, etc.).
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Setup of Data Replication Framework (DRF) © 2023 SAP AG or an SAP affiliate company. All rights reserved. 36
7 Configure Required Settings
Complete all required settings from the solution-specific guides on the SAP Digital Supply Chain Management,
edition for SAP S/4HANA product page on the SAP Help Portal in your implementation scope before transferring
data.
Important
There are additional BAdI Implementations and other prerequisites defined within the specific
guides that have to be in place before transferring data in order to avoid data inconsistencies.
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Configure Required Settings © 2023 SAP AG or an SAP affiliate company. All rights reserved. 37
8 Data Transfer
8.1 Transfer of Business Partners Using Data Replication
Framework (DRF)
You set up the distribution of the following master data from the ERP system to the DSC system using SAP
standard technology DRF-with web services:
• Customers
• Vendors and Carriers
• Employees
• Addresses
The master data distribution for those objects is always from the ERP to the DSC system. In the DRF
communication settings, the sender system is always the ERP system and the receiver system is always the DSC
system.
Procedure
Carry out the following steps in the ERP system:
Activate the function module in Customizing under Cross-Application Components SAP Business Partner
Data Distribution > Activate Function Modules.
Search for the following entries:
1. Event: BPOUT
2. Object: BUPX
3. Item: 5000001
4. Function Module: MDG_BS_BP_OUTBOUND_DRF
Set the checkbox Call to active for this entry.
Save your changes.
Procedure
Carry out the following steps in the ERP system:
Execute the initial data transfer of business partners in the SAP Easy Access Menu for Data Cross
Application Components Processes and Tools for Enterprise Applications Master Data Governance >
Data Replication Execute Data Replication (transaction DRFOUT).
Enter the following selection data:
Enter Filter Crit eri a to Include Business Objects, for example for the account group:
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Data Transfer © 2023 SAP AG or an SAP affiliate company. All rights reserved. 38
Field Value
Replication Model The name of your replication model, for example, BP_DSC001
Procedure
Carry out the following steps in the ERP system:
Execute the delta data transfer of business partners in the SAP Easy Access Menu for Data Cross
Application Components Processes and Tools for Enterprise Applications Master Data Governance
Data Replication Execute Data Replication (transaction DRFOUT).
Enter the following selection data:
Enter Filter Crit eri a to Include Business Objects, for example for the account group:
Field Value
Replication Model The name of your replication model, for example BP_DSC001
Note
You can schedule the corresponding report RDRF_MESSAGE_OUT as a background job to transfer
the changes of business partner data regularly.
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Data Transfer © 2023 SAP AG or an SAP affiliate company. All rights reserved. 39
8.1.6 Transfer Locations
For more information about transferring locations, see TM Integration Guide for DSC Edition.
Procedure
Carry out the following steps in the ERP system:
Launch Distribute All Characteristics Using ALE (transaction BD91).
Enter the data as shown in the following table:
Field Value
Select Execute.
Procedure
Carry out the following steps in the ERP system:
Launch Distribute Classes Using ALE: Send Direct (transaction BD92).
Enter the data as shown in the following table:
...
Field Value
Select Execute.
Procedure
Carry out the following steps in the ERP system:
Launch Execute Data Replication (transaction DRFOUT).
Specify the replication models defined for materials, work centers, and equipment/serial numbers.
Select Initialization under Replication Mode.
Execute the report.
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Data Transfer © 2023 SAP AG or an SAP affiliate company. All rights reserved. 40
8.5 Execute the Initial Transfer of Batches
You transfer batch master data.
Prerequisites
SAP Note 2745236 is implemented in your ERP system.
Procedure
Carry out the following steps in the ERP system:
...
Select Execute or, if you expect a big amount of data to be transferred, choose Program Execute in
Background.
Note
Since the batch master records are dependent from the material master data, you want to transfer
only those master records whose material master data has already been transferred. To achieve
this, you must set a dependent filter in the batch distribution model that is not delivered in the
standard configuration, see SAP Note 2793298.
Context
After activating change pointers for the message types, IDocs are created for the corresponding master data
based on logging of master data changes. In a productive environment, you create IDocs to transfer changed
master data automatically but in the implementation phase, you can also create these IDocs manually.
Note
If you use DRF framework for the distribution of customers and vendors, you must skip this step.
Instead, you use transaction DRFOUT, see section 8.1.3 Execute Delta Business Partner Data
Transfer with Data Replication Framework (DRF).
Procedure
Carry out the following steps in the ERP system:
...
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Data Transfer © 2023 SAP AG or an SAP affiliate company. All rights reserved. 41
Integration of SAP ERP or SAP S/4HANA with SAP Digital Supply Chain Management, Edition for SAP S/4HANA in a Single Client PUBLIC
Data Transfer © 2023 SAP AG or an SAP affiliate company. All rights reserved. 42
www.sap.com/contactsap
www.sdn.sap.com/irj/sdn/howtoguides