cancel
Showing results for 
Search instead for 
Did you mean: 

Monitoring events

former_member182454
Participant
0 Kudos

Hi,

We are working on a scenario with TM-EM integration in place. Now landscape is that carriers will report gate in and gate out events from legacy system and then through the middleware , RFC call will be made and update events in TM. Now from monitoring perspective, in case there is any issue in the interface whereby legacy system confirmed sending out events but due to certain conditions messages did not reach TM system.

Now I have 2 questions since PI is not used:

a) How to reprocess the  failed messages send from legacy system to SAP.

b) Secondly in the middleware platform if we add a status code  as error then is there some way where using this error code, there can be some mapping with EVm messages in EM environment so that in SAP  SYSTEM, we can understand the failure of messages .

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Indraneel,

a) How to reprocess the failed messages send from legacy system to SAP.

You can process through SAP EM WebUI manually (copy all data from failed messages) which are failed from legacy system.  However, it is little extra effort for users or support team to process each and every time.

If Middleware sends then you can reprocess from their system as they have monitoring tool where they can edit and resent to SAP EM/SAP TM system.  We were performing same exercise in our previous project where we connected through 3 PL (non SAP TM).

b) Secondly in the middleware platform if we add a status code  as error then is there some way where using this error code, there can be some mapping with EVm messages in EM environment so that in SAP  SYSTEM, we can understand the failure of messages .


We have SAP EM standard Tcode /n/SAPTRX/ER_MS_LIST, where you can see inbound event message cancel or error or warning etc.

You can map middleware new status code to message class /SAPTRX/MSIO and add the status code to identify the error in system. However, you have to enhance BADI Interface /SAPTRX/IF_EX_BADI_MESSAGE~CHECK_MESSAGE for errors on specific codes.  This is a little bit tedious job but it can be achievable.

Regards


GGOPIII

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Indraneel,

You mean to say that EM is not receiving the event info ( no RFC call ) at all due to issues in Middleware?

a) If it is the case, then there is not much we can do here. Source system or probably middleware has to have capability to resend the missing events to EM.

b) Even if you add a error/status code in middleware, if there is no RFC call, it will help in your monitoring in middleware but not in EM system.

Best to explore ways to re-send the events from source itself based on middleware error codes.

Thanks,

Vishnu

former_member182454
Participant
0 Kudos

Hi,

For point 1, can we put some monitoring capability so that once events are send out with any error messages via the middleware from the legacy , the users can get an alert about the missing info in the messages.

Also as you have  said that source system should have capability to resend missing events , in case they dont have this capability I think in that case only manually updating in TM/ EM is the only solution then

Former Member
0 Kudos

Hi Indraneel,

So, are messages getting errored out in Middleware or EM? Your original post seems to indicate that messages are not making into EM at all.

Assuming failures are in EM, there are no standard alerts which can be configured in EM for errored messages as these message will not be going through ruleset due to errors. You can do custom alert/email after the fact for errored messages.

If they are failing in middleware, then connect with your middleware team and see if they can setup some kind of alerts.

For your second question about manual posting, you have 2 options:

1) Manual Posting through EM WEBUI ( EM->TM scenario flow ).

2) Manual Posting through Carrier Collaboration Portal ( TM->EM flow ). This is preferred option if Carriers  want to post manually.

Thanks,

Vishnu

Former Member
0 Kudos

Hi Indraneel,

Request Middleware team that they can configure email id or support id to trigger email specific to SAP EM/TM event messages failures. This can be achievable in Middleware.

Regards


GGOPII