EDUCAÇÃO E TECNOLOGIA

SAP EWM 9.5 Integration settings with SAP ERP or SAP S/4HANA


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