Professional Documents
Culture Documents
6-12-22
PO S/4HANA Object
T.Code: SM59
3. BD97
4. On the assign RFC destination for synchrononous Method of Calls Screen, select relevant
EWM Logical system and choose standard BAPI destination.
In RFC destination for BAPI calls filed enter the RFC destination of SAP S/4 HANA system.
S91CLNT80
EWM Logical System
Define RFC Destination with same number as the logical systems (in our example
EW9CLNT800 and S91CLNT800).
Note: Define an RFC user in each target system / client before this step
Comment
RFC Connection Type
S91CLNT80 3 S91CLNT80
EWM Settings
S91CLNT80
EWM Logical System
Comment
RFC Connection Type
EW9CLNT800 3 EW9CLNT800
Additional Settings –
3 Define Business System
➢ A business system will be defined for the EWM (own business system) and for each ERP
system that is connected to EWM system.
➢ The SAP EWM system stores the business system in the document flow tables of the
cross-system and cross partner document flow and helps to determine to which ERP
system a document belongs to.
➢ Business systems is mapped to their corresponding logical systems, because the delivery
documents sent from the SAP ERP system to the SAP EWM system contain only the
logical system number of the SAP ERP system.
➢ This mapping helps to determine the business system based on logical system so that the
warehouse request document in EWM can be updated with the corresponding business
system.
<<IMG
Define Business System
What is a Logical System and Business system in SAP? What are they used for? What role
do they play in RFC connections?
Logical system:
Business system:
Linkage:
How it works:
• When a delivery is created in ERP and sent to EWM, the delivery contains
information about the logical system. Since EWM needs the business system name
for warehouse requests, it gets the business system name from the logical system
name.
These settings establish the connection between the elements of organization structure (plant,
storage location, warehouse) of ERP and EWM system.
Example
Overview of
Organization Structure Integration between ERP and EWM
Plant: BTO
Storage Location ROD and AFS
ERP WHN: BTO
EWM WHN: BTO1
BP:930000007
ERP Settings
ERP Settings
➢ From a stock management perspective, plant does not exists in EWM system.
➢ ERP plant is represented by ‘Party Entitled to Dispose’ in EWM stock details.
➢ Party Entitled to Dispose is nothing but a Business Partner (with role FLVN01-Vendor)
that is transferred from the ERP for which Plant is assigned in the general data.( see 4b).
An intermediate warehouse number is created and it is assigned to the combination of plant and
storage locations for which EWM is required. This warehouse number is the logical
representation of EWM warehouse in ERP system.
Note: Do not create ERP warehouse by copying template warehouse, as it does not require all the
structural elements of ERP warehouse.
5a-2. Configure EWM Control Parameters
Warehouse is activated as EWM warehouse and a distribution model is created to ensure the
transfer of SAP ERP delivery data to and from the SAP EWM system.
At the activation of the warehouse as EWM warehouse, the following settings can be chosen.
The correct entry for EWM is Queued and Serialized Asynchronous RFC.
▪ UD (Unchecked Deliveries)
The setting controls if a delivery is distributed immediately at creation (default entry) or not
(Stop distribution). If the distribution is not done immediately, you trigger the distribution in the
Outbound Delivery Monitor (For Distribution) or with transaction VL06D. You can override this
default setting through the entry in the Distribution Mode of the delivery type. Additionally a
form routine controls the distribution. By manipulating this form routine, you can implement
specific checks and requirements. You can find this by using the transaction code VOFM and
choosing Requirements > Subsequent functions > Distribution.
Once you have selected that the warehouse number is an EWM warehouse, this indicator is set
and not changeable anymore. It means that you can work with serial numbers in EWM, the
details are controlled by the serial number profiles.
This indicator controls the behavior of the automatic batch determination in ERP outbound
deliveries.
▪ GR fr. EWM only (Goods Receipt from EWM Only)
This indicator enables you to control whether the process of posting the goods receipt for a
manufacturing order into an EWM-managed warehouse can be started from both ERP and EWM
or from EWM only
EWM Settings
These settings establish connection between the elements of business processes (inbound,
outbound, production) of ERP and EWM systems. Business process integration is achieved via
delivery documents.
ERP Settings
The distribution model view is how you can later locate the distribution model in the
transaction BD64 – Maintenance of Distribution Model.
You can select any of the following as Objects for the distribution model:
▪ Inbound Delivery
▪ Outbound Delivery
▪ Production Material Request
▪ All
It is not helpful to have separate models, so All is the correct choice. Only in case you would
know that the advanced production integration will not be used, it could make sense to
select Inbound Delivery and Outbound Delivery separately.
Following is the display of distribution model in BD64
8. Assign ERP Delivery to EWM Document (Inbound Delivery)
In certain business scenarios such as kit-to-stock and GR for expected goods receipt, it is
possible to push the deliveries from EWM directly which will then create corresponding inbound
delivery document in ERP.
In certain business scenarios such as direct sales (without sales orders), GI for cost center,
scrapping, kit-to-stock / reverse kitting, immediate deliveries, it is possible to push the deliveries
from EWM directly which will then create corresponding outbound delivery document in ERP.
EWM Settings
ERP Delivery Type and Item Category are assigned to EWM Document Type and Item Type
respectively.
EWM Delivery Type is assigned to ERP Delivery as show in the following picture.
Business System plays significant role if more than one ERP system is connected to decentral
EWM.
The Code for Initiator of a Communication Chain is an additional key, which helps to
distinguish different processes.
This is necessary as sometimes the determination of the document type in ERP is very simple or
because additional information is determined within the context of the received delivery
information.
In this example, ERP delivery type remains same for normal and expected goods receipt but
from EWM context different Document Type required, which is differentiated by Code for
Initiator of a Communication Chain.
In a decentralized EWM system, the “EWM delivery document type” would be an Inbound
Delivery Notification, an Outbound Delivery Request, or a Posting Order Request.
Since EWM 9.5 or with a decentralized EWM based on SAP S/4HANA it is possible to “skip”
these requests or notifications.
The path to do this is EWM Customizing, SCM Extended Warehouse Management > Extended
Warehouse Management > Interfaces > ERP Integration > Delivery Processing > Skip Request
for Messages from ERP (for a SCM based EWM) or SCM Extended Warehouse Management >
Extended Warehouse Management > Interfaces > ERP Integrations > ERP Integration for
Decentralized EWM > Skip Request for Messages from ERP (for a SAP SAP S/4HANA-based
EWM).
This has certain consequences, so you should read the documentation for this Customizing topic
before deactivation.
In a SAP S/4HANA embedded EWM these interim documents are generally not created.
Differentiation Attribute for Item Type Mapping is an additional key, which helps to
distinguish different processes. This is necessary as sometimes the determination of the item
category in ERP is very simple or because additional information is determined within the
context of the received delivery information.
In this example, ERP item category remains same for normal GR and GR against different
scenarios of stock transfer but form EWM context different Item Type is required, which is
differentiated by Differentiation Attribute.
EWM production material request (PMR) Document Type and Item Type are assigned to ERP
manufacturing Order Type as show in the following picture.
Additional Settings – Control Parameters for ERP Version Control
Once the connection between ERP and EWM system is established, set control parameters to
indicate various data transfer options between the systems. These settings are dependent on the
business system of the connected SAP ERP system, and the release and support package.
Extended Warehouse Management > Interfaces > ERP Integration > General Settings > Set
Control Parameters for ERP Version Control
or
Extended Warehouse Management > Interfaces > ERP Integration > ERP Integration for
Decentralized EWM > Set Control Parameters for ERP Version Control (for a SAP S/4HANA-
based EWM). SAP provides standard entries for this table.
Note:
It is actually optional to create an entry for the ERP system in this table. If there no entry in your
EWM system. EWM will behave as if the highest possible ERP enhancement package were
connected. This table is not used for embedded EWM.
References