You are on page 1of 5

S/4HANA Embedded EWM Integration

settings in SAP S/4HANA


4118,576

Objective –

To provide integration steps for SAP S/4HANA 1909 embedded EWM

Overview –

Embedded EWM is part of S/4HANA installation. It only supports integration with same system instance
and client. i.e. it can’t be connected to multiple ERP systems.

We will go through in details of EWM integration settings in S/4HANA 1909.

SAP EWM communicates with other applications of SAP S/4HANA via queued remote function call
(qRFC).

Setting Path Details


Define RFC Destination Tools → Administration   → 1. Create a new RFC destination with
Administration   → Network → naming convention as <S/4HANA
RFC Destinations (SM59) system name>CLNT<client> for
example SADCLNT100
2. Select the connection type as
ABAP System i.e. 3
3. In technical Setting tab, enter
Target Host and system number
as message server and instance
number resp. of SAP Logon
system
4. Check if the connection is
established by clicking on
‘Connection Test’.
5. Verify if logon with the userid and
password is working by clicking on
‘Remote Logon’.
Define Logical System SAP NetWeaver → Application Create a new logical system with naming
Server → IDoc Interface / convention as <S/4HANA System
Application Link Enabling (ALE) Name>CLNT<Client> for
→ Basic Settings → Logical example SADCLNT100 (S/4HANA Logical
Systems → Define Logical System)
System (BD54)
Define Dummy Logical SAP NetWeaver → Application Create a new logical system with naming
System Server → IDoc Interface / convention as <S/4HANA System
Application Link Enabling (ALE) Name>EWM<Client> for
→ Basic Settings → Logical example SADEWM100 (EWM Logical
Systems → Define Logical System)
System (BD54)
Assignment of Logical Tools → Administration → Select your system client and enter the
System to Client Administration → Client S/4HANA logical system which we defined
Administration in step 2 i.e. SADCLNT100
→ Client Maintenance (SCC4)
Determination of RFC SAP NetWeaver → Application 1. Select EWM logical system
Destination for Method Server → IDoc created in step 3
calls Interface/Application Link i.e. SADEWM100 and click on
Enabling (ALE) → ‘Standard BAPI Destination’.
Communication → Determine 2. In the RFC destination for BAPI
RFC Destinations for Method calls field, enter the RFC
Calls destination of the SAP S/4HANA
EWM system i.e. SADEWM100
3. Check Table TBLSYSDEST has
been updated with the logical
system and assigned RFC
destination.
Determination of RFC Tools → ABAP Workbench → 1. Go to program
Destination for Method Development → ABAP Editor /SCWM/R_ERP_RFC_DEST
calls from EWM (SE38) 2. On the Assign a Standard BAPI
Destination screen, In the RFC
Destination field, enter the RFC
destination of the S/4HANA
system i.e. SADCLNT100
3. Check Table TBLSYSDEST has
been updated with the logical
system and assigned RFC
destination.
Define Business System SCM Extended Warehouse 1. Create a new entry for each
Management → Extended system that is part of your system
Warehouse Management → landscape with naming convention
Interfaces → ERP Integration as <System Name><Client
→ General Settings → Define number> i.e. SAD100.
Business System 2. Create entries for each system.
3. Check table /SCMB/TBUSSYS has
been updated with business
system.
Define Own Business SCM Extended Warehouse 1. It is defined to name the business
System Management → Extended system of the system in which you
Warehouse Management → have installed EWM
Interfaces → ERP Integration 2. Create a new entry for each
→ General Settings → Define system that is part of your system
Own Business System landscape with naming convention
as <System Name><Client
number> i.e. SAD100.
3. Create entries for each system.
4. Check table /SCMB/TOWNBS has
been updated with business
system.
Maintain Business SCM Extended Warehouse Create a business system group with
System Group Management → SCM Basis naming convention as <System
→ Integration → Basic Settings Name><Client number> i.e. SAD100.
for Creating the System
Landscape → Maintain
Business System Group
Define Queue for Logistics Execution → Create a new entry with below fields and
Transfer to SAP Extended Warehouse its values –
S/4HANA EWM Management Integration →
Basic Setup of Connectivity → Receiver – EWM Logical system
Define Queue for Transfer to i.e. SADEWM100
SAP EWM
Queue Type                     Inbound

Agg SQueue                     No Aggregation

MQueue Act                    Mass Queue


Disabled

MQueue Par                    1


Setting up QOUT SMQS To enable the automatic processing of
Scheduler messages in the outbound queue, QOUT
scheduler is setup.

Go to SMQS transaction and register with


below parameters –

Destination                    SADCLNT100

Max. Conn.                    1 (Default)

Max. Runtime                60 (Default)

W/o tRFC                      Empty (Default)

Scheduler Monitoring    0 (Default)


Setting up QIN SMQR To enable the automatic processing of
Scheduler messages in the outbound queue, QOUT
scheduler is setup.

Go to SMQS transaction and register with


below parameters –

Queue name                    DLW*

Mode                                D (Default)

Max. Runtime                   60

Destination                       Empty (Default)

Attempts                           Empty (Default)

Pause                               300

Scheduler Monitoring       0 (Default)

Repeat the same steps for Queue name


DLV*, EWM*, WM*, X*.
Assign Logical System SCM Extended Warehouse In this step, Business system group is
and Queue Type Management → SCM Basis assigned to Logical system and Queue
→ Integration → Basic Settings types.
for Creating the System
Landscape → Assign Logical  
System and Queue Type
Create entry with below parameters –

Business System Group       SAD100

Logical System                     SADCLNT100

SAP Ind.                                X

Release                                 700

Queue Type                           Inbound

Error Handling                       Strict

Role                                       Not Specified


Control for RFC queues SCM Extended Warehouse It is used to define outbound
Management → Extended communication.
Warehouse Management →
Interfaces → ERP Integration  
→ General Settings → Control
for RFC Queue Create entry with below parameters –

Business System             SAD100

Queue Type                      I Inbound


Queues

Aggr. Single Queues        No Aggregation

Mass Queue Act.              Mass Queue


Deactivated

Parallel Mass Queues      Leave empty


(Default)
Specify Characteristics Logistics It is used to reprocess inbound queues in
for System Messages Execution → Shipping System Logistics Execution that are erroneous due
Modifications Specify to locking issues.
  Characteristics for System
Messages (OVM1)  

  Create entry with below parameters –

  Call Type                            Leave this field


empty

Work phase                        Leave this field


empty
Application Area               
/SPE/IF_SERVICES

Message Number              023

Message Type                   E
Log Sent and Recived Logistics Execution → To log the inbound and outbound
Messages Extended Warehouse messages, this step is performed and is
Management Integration → optional.
Basic Setup of Connectivity →
Log Sent and Received Create a new entry and For Log
Messages received and Log send, select log error
messages from the dropdown list
Registering Display SMQE To get the detail error message of the
Programs for Application stuck queue, this step is performed and is
Log optional.

Create below entries for each type of


queues –

DLV*      /SPE/QUEUE_DISPLAY_TOOLS

DLW*    /SPE/QUEUE_DISPLAY_TOOLS

EWM*   /SPE/QUEUE_DISPLAY_TOOLS

WM*     /SPE/QUEUE_DISPLAY_TOOLS

X*           RSXMB_SHOW_ENTRY

You might also like