Supply Chain Management Blogs by Members
Learn about SAP SCM software from firsthand experiences of community members. Share your own post and join the conversation about supply chain management.
cancel
Showing results for 
Search instead for 
Did you mean: 
Jayant_Pawar
Explorer
16,041
Objective –

To provide integration steps for SAP EWM and SAP ERP or SAP S/4HANA

Overview –

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).

 

Settings in SAP ERP (or SAP S/4HANA) for SAP EWM Integration - 









































































Setting Path Details
RFC User Creation Tools → Administration → User Maintenance  → Users Create RFC user with the help of BASIS team following the EWM 9.5 roles and authorization guide (Source provided in the reference section)
Define RFC Destination to SAP EWM Tools → Administration   → Administration   → Network → RFC Destinations (SM59)

1.  Create a new RFC destination with naming convention as <EWM System Name>CLNT<client> for example EWMCLNT100

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.  In ‘Logon and Security tab’, enter the userid and password of RFC User created in step 1

5.  Check if the connection is established by clicking on ‘Connection Test’.

6.      Verify if logon with the userid and password is working by clicking on ‘Remote Logon’.
Define Logical System SAP NetWeaver → Application Server → IDoc Interface / Application Link Enabling (ALE) → Basic Settings → Logical Systems → Define Logical System (BD54)

Create a new logical system with naming convention as <EWM System Name>CLNT<Client> for example EWMCLNT100 (EWM Logical System) and

 

<S/4HANA System Name>CLNT<Client> for example SADCLNT100 (S/4HANA Logical System)
Assignment of Logical System to Client Tools → Administration → Administration → Client Administration
→ Client Maintenance (SCC4)
Select your system client and enter the S/4HANA logical system which we defined in step 2 i.e. SADCLNT100
Determination of RFC Destination for Method calls SAP NetWeaver → Application Server → IDoc Interface/Application Link Enabling (ALE) → Communication → Determine RFC Destinations for Method Calls

1.      Select EWM logical system created in step 3 i.e. EWMCLNT100 and click on ‘Standard BAPI Destination’.

2.      In the RFC destination for BAPI calls field, enter the RFC destination of the SAP S/4HANA EWM system i.e. EWMCLNT100

3.      Check Table TBLSYSDEST has been updated with the logical system and assigned RFC destination.
Define Queue for Transfer to SAP S/4HANA EWM Logistics Execution → Extended Warehouse Management Integration → Basic Setup of Connectivity → Define Queue for Transfer to SAP EWM

Create a new entry with below fields and its values –

Receiver – EWM Logical system i.e. EWMCLNT100

Queue Type                     Inbound

Agg SQueue                     No Aggregation

MQueue Act                    Mass Queue Disabled

MQueue Par                    1
Setting up QOUT Scheduler SMQS

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

Go to SMQS transaction and register with below parameters –

Destination                     EWMCLNT100

Max. Conn.                     1 (Default)

Max. Runtime                60 (Default)

W/o tRFC                        Empty (Default)

Scheduler Monitoring  0 (Default)
Setting up QIN Scheduler SMQE

To enable the automatic processing of 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*, CF*, WM*.
Assign Logical System and Queue Type SCM Extended Warehouse Management → SCM Basis
→ Integration → Basic Settings for Creating the System Landscape → Assign Logical System and Queue Type


In this step, Business system group is assigned to Logical system and Queue types.

 

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 Management → Extended Warehouse Management → Interfaces → ERP Integration → General Settings → Control for RFC Queue

It is used to define outbound communication.

 

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 for System Messages Logistics Execution Shipping ® System Modifications ® Specify Characteristics for System Messages (OVM1)

It is used to reprocess inbound queues in Logistics Execution that are erroneous due to locking issues.

 

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 Received Messages Logistics Execution → Extended Warehouse Management Integration → Basic Setup of Connectivity → Log Sent and Received Messages

To log the inbound and outbound messages, this step is performed and is optional.

Create a new entry and For Log received and Log send, select log error messages from the dropdown list
Registering Display Programs for Application Log SMQE

To get the detail error message of the stuck queue, this step is performed and is 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

CF*        CIFQEV02

 

Settings in SAP EWM 9.5 for SAP ERP or SAP S/4HANA Integration - 














































































Setting Path Details
RFC User Creation Tools → Administration → User Maintenance  → Users Create RFC user with the help of BASIS team following the EWM 9.5 roles and authorization guide (Source provided in the reference section)
Define RFC Destination to SAP EWM Tools → Administration   → Administration   → Network → RFC Destinations (SM59)

1.  Create a new RFC destination with naming convention as <SAP ERP 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.  In ‘Logon and Security tab’, enter the userid and password of RFC User created in step 1

5.  Check if the connection is established by clicking on ‘Connection Test’.

6.      Verify if logon with the userid and password is working by clicking on ‘Remote Logon’.
Define Logical System SAP NetWeaver → Application Server → IDoc Interface / Application Link Enabling (ALE) → Basic Settings → Logical Systems → Define Logical System (BD54)

Create a new logical system with naming convention as <EWM System Name>CLNT<Client> for example EWMCLNT100 (EWM Logical System) and

 

<S/4HANA System Name>CLNT<Client> for example SADCLNT100 (S/4HANA Logical System)
Assignment of Logical System to Client Tools → Administration → Administration → Client Administration
→ Client Maintenance (SCC4)
Select your system client and enter the S/4HANA logical system which we defined in step 2 i.e. EWMCLNT100
Determination of RFC Destination for Method calls SAP NetWeaver → Application Server → IDoc Interface/Application Link Enabling (ALE) → Communication → Determine RFC Destinations for Method Calls

4.      Select SAP ERP logical system created in step 3 i.e. SADCLNT100 and click on ‘Standard BAPI Destination’.

1.      In the RFC destination for BAPI calls field, enter the RFC destination of the SAP ERP system i.e. SADCLNT100

2.      Check Table TBLSYSDEST has been updated with the logical system and assigned RFC destination.
Determination of RFC Destination for Method calls from EWM (If EWM is part of add-on to SAP ERP, otherwise not required) Tools → ABAP Workbench → Development → ABAP Editor (SE38)

1.      Go to program /SCWM/R_ERP_RFC_DEST

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 Management → Extended Warehouse Management → Interfaces → ERP Integration → General Settings → Define Business System

1.      Create a new entry for each system that is part of your system landscape with naming convention as <SAP ERP Name><Client number> i.e. SAD100. And

<SAP EWM Name><Client number> i.e. EWM100

2.      Create entries for each system.

3.      Check table /SCMB/TUBSSYS has been updated with business system.
Define Own Business System SCM Extended Warehouse Management → Extended Warehouse Management → Interfaces → ERP Integration → General Settings → Define Own Business System

1.      It is defined to name the business system of the system in which you have installed EWM

2.      Create a new entry for each system that is part of your system landscape with naming convention as <SAP EWM System Name><Client number> i.e. EWM100.

3.      Create entries for each system.

4.      Check table /SCMB/TOWNBS has been updated with business system.
Maintain Business System Group SCM Extended Warehouse Management → SCM Basis
→ Integration → Basic Settings for Creating the System Landscape → Maintain Business System Group
Create a business system group with naming convention as BSG_SAD whereas SAD being system name.
Setting up QOUT Scheduler SMQS

To enable the automatic processing of 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 Scheduler SMQE

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

Go to SMQS transaction and register with below parameters –

Queue name                   DLV*

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 DLW*, EWM*, CF*, X*, WMT*, WMDP*, CF*.
Assign Logical System and Queue Type SCM Extended Warehouse Management → SCM Basis
→ Integration → Basic Settings for Creating the System Landscape → Assign Logical System and Queue Type


In this step, Business system group is assigned to Logical system and Queue types.

 

Create entry with below parameters –

Business System Group      BSG_SAD

Logical System                     SADCLNT100

SAP Ind.                                 X

Release                                  700

Queue Type                           Inbound

Error Handling                       Strict

Role                                         Not Specified

 

Create similar entries for Logical system of EWM system EWMCLNT100.
Control for RFC queues SCM Extended Warehouse Management → Extended Warehouse Management → Interfaces → ERP Integration → General Settings → Control for RFC Queue

It is used to define outbound communication.

 

Create entry with below parameters –

Business System               SAD100 (SAP ERP)

Queue Type                      I Inbound Queues

Aggr. Single Queues        No Aggregation

Mass Queue Act.              Mass Queue Deactivated

Parallel Mass Queues      Leave empty (Default)
Registering Display Programs for Application Log SMQE

To get the detail error message of the stuck queue, this step is performed and is optional.

Create below entries for each type of queues –

DLV*         /SCWM/QRFC_APPL_LOG_DISPLAY

DLW*       /SCWM/QRFC_APPL_LOG_DISPLAY

EWM*      /SCWM/QRFC_APPL_LOG_DISPLAY

WMDP*  /SCWM/QRFC_APPL_LOG_DISPLAY

WMTH*  /SCWM/QRFC_APPL_LOG_DISPLAY

CF*           QIE_RFC_DISPLAY_QUEUE_LOG

X*             RSXMB_SHOW_ENTRY

 

In this way, SAP ERP (or SAP S/4HANA) and SAP EWM 9.5 integration is configured.

 

Thanks for reading. Hope you would like this blog

Jayant Pawar

 

 

Reference –

SAP EWM 9.5 Authorization Guide - https://help.sap.com/doc/3da06fe8b6fe494997f05149502d6d60/9.5.0.2/en-US/EWM950_Security_Guide.pdf

SAP Note 2782080 - Overview of Guides or Best Practices Documents for Extended Warehouse Management

SAP Note 2806070 - SAP S/4HANA 1909: Release information and restrictions for EWM in SAP S/4HANA

 
3 Comments
Labels in this area