cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC and QRFC options in EM

former_member193027
Participant
0 Kudos

Hi,

We are working on a design aspect where EM is integrated with ECC and TM. i HAVE THE FOLLOWING QUESTIONS:

a) For ECC-EM and TM-EM integration what are the pros and cons of using idoc and qrfc approach.which is the preferred method?

b) secondly is it preferred to have EM server inbuilt within TM and ECC or separate server for both

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Dipak,

As per my opinion:

1. QRFC is preferred method when you integrate SAP ECC and SAP TM with SAP EM.  Just check this table as IDOC will not fetch event handler data.  The advantage of using IDOC you can trigger exception handling.  However, qRFC is missing this factor but you can implement CCMS monitoring for queue failures, stuck, Running status for long etc.

Description

IDoc Type

RFC

BAPI

Sending event messages

EVMSTA02

/SAPTRX/BAPI_EHADDEVENTMSG_02

  1. EventHandler.AddEventMessages02

Fetching event handler data

No IDoc available

/SAPTRX/BAPI_EH_GET_DATA

  1. EventHandler.GetData

Creating or updating event handlers

EHPOST01

/SAPTRX/BAPI_EH_POST

  1. EventHandler.PostEventHandler

Source: SAP

2. There was a discussion on this and Stefan confirmed that we can have SAP EM on SAP TM SAP Netweaver box.  However, prefer to have it as separate server (due to volume of events processing) or at least separate client on SAP TM.  This rule also applies to SAP ECC but if you are using both SAP ECC and SAP TM then preferable would be on SAP TM box.  Also check this article SAP Event Management - Six Key Things To Consider During Server Sizing.

Also, you can wait for other members comment, they can also give you some insights on this.

Regards

GGOPII

former_member193027
Participant
0 Kudos

Hi,

When ever we are using QRFC does it mean that communication is stil there between SAP TM and SAP EM via PI?

former_member186607
Active Contributor
0 Kudos

When you use QRFC the communication is done directly between the two systems (EM and TM) without any system in the middle (PI).

former_member193027
Participant
0 Kudos


Thx for the clarification. So in that case if we are not using PI but rather using QRFC approach do w e also check thru SMQ1 and SMQ2 for monitoring? In case any message exchange fails how can we track since without involving PI, SXI moni will also not work in that case.

Former Member
0 Kudos

Hi Dipak,

Yes, qRFC is a right approach.

SMQ1 and SMQ2 Monitoring - You can talk to Basis team to configure CCMS, so when queue fails it sends an email to support to look at it.

Regards

GGOPII

former_member193027
Participant
0 Kudos

Hi,

Do we use Qrfc approach also when connecting EM with ECC or is it better to route thru PI?

Former Member
0 Kudos

Hi Dipak,

EM to ECC does not need PI. Qrfc can be used.

Thanks,

Deb

Answers (0)