cancel
Showing results for 
Search instead for 
Did you mean: 

Event management event without event handler

Former Member
0 Kudos

Dear All ,

                  Where can we find the events reported for the event handler in EM system where the event handler is not yet created.

Thanks,

Shubh.

Accepted Solutions (0)

Answers (7)

Answers (7)

sukumar_perumalsamy
Participant
0 Kudos

Hi Steffen & Zenon,

i have checked the table /SAPTRX/EVM_UNPR, entries are created when the event is reported from TM and EH's is deactivated in EM system.

if i activate the EH's, does the un-processed messaged will be processed automatically by standard or do i need to re-process the EH's manually?

Does Any standard utility program available to process the un-processed message after the EH activation ?

Cheers,

Sukumar

Former Member
0 Kudos

Hi Sukumar,

Please check below discussion and your question is answered on this.

We have two utilities:

1. Program for locked event handlers to reprocess the event message - /SAPTRX/PROCESS_LOCKED_EHS

2. Use activity PROCESS_UNPROCESSED to reprocess event message through ruleset.

Regards


GGOPII

former_member190756
Active Contributor
0 Kudos

Hello Sukumar,

you must distinguish between Messages that are not processed because EH was locked and Messages that are not processed because no EH was available.

Discussion above was about Messages that were not processed because no EH was found. Only in this case they are stored in table /SAPTRX/EVM_UNPR. They get automatically processed when an EH is created with the matching tracking ID.

For Locked EH you can use the standard report, that should be scheduled to run regularly.

Best regards,

Steffen

ZenonK
Participant
0 Kudos

SAP have released NOTE 2178100.

This resolves the problem with transaction /saptrx/EVM_STATUS  Event Message Processing Status List.

Messages with Status 'Processed', 'Unprocessed' 'Partially', 'Invalid' and 'All' are now correctly displayed.



Thanks.

Former Member
0 Kudos

Thanks Zenon for sharing to our community.

Regards


GGOPII

ZenonK
Participant
0 Kudos

I've created OSS message  475339/2015 and asked my basis team to add the login details.

Thanks.

ZenonK
Participant
0 Kudos

9.0  SP Level 0009

former_member190756
Active Contributor
0 Kudos

Yes i checked it. I think it was introduced with the Multiple Tacking IDs in a EM 9.0 SP. Please open an OSS ticket.

Best regards,

Steffen

ZenonK
Participant
0 Kudos

Should this message appear in transaction /SAPTRX/EVM_STATUS ?


It is not appearing.   I run the report wide open and select All.


Messages that are Processed or have invalid Data is displayed,   Unprocessed messages are not displayed.

former_member190756
Active Contributor
0 Kudos

Yes,

in /SAPTRX/EVM_STATUS all message in the system should be available independant if processed, unprocessed or with errors.

former_member190756
Active Contributor
0 Kudos

Hi Zenon,

are you on 9.2?

I think there is a bug in the select.

Best regards,

Steffen

ZenonK
Participant
0 Kudos

Hi All.

I'm also having a problem finding Unprocessed messages in this report /SAPTRX/EVM_STATUS.

Looks like there might be a bug when posting messages via idoc.

In the below code un~prctst  ALWAYS has a value when the idoc is processed.

Please can you double check.

***** unprocessed******************************************

   IF  ( proc_off = c_true OR proc_all = c_true .

     REFRESH l_evm_stat_tab.

     SELECT *

     FROM /saptrx/evm_hdr AS ev

     INNER JOIN /saptrx/evm_unpr AS un

     ON un~evt_guid = ev~evt_guid

     INTO CORRESPONDING FIELDS OF TABLE l_evm_stat_tab

     UP TO p_maxhit ROWS

     WHERE un~prctst IS NULL AND

           ev~reptst IN p_reptst AND



***********************************************************




Regards.

Zenon.

former_member190756
Active Contributor
0 Kudos

Hello Zenon,

the flag for unprocessed should only be set when there is no EH found for the Event Message or you use the buffering mechanism to process the later.

Could you check if the message was really processed by checking table /SAPTRX/EH_EVMSG with the EVT_GUID. If the message is available there but has the flag for unprocessed it would be a bug.

Best regards,

Steffen

ZenonK
Participant
0 Kudos

Hi Steffen.

Buffering is not used.

The idoc is sending a tracking id from a carrier.  There are no EHs with the tracking id so it can not be processed.

/SAPTRX/EVM_UNPR

EVT_GUID               PRCTST

6Aa5K{Vg7jM2e2RSTXZBBW 020150602082732



Regards.

Zenon.

former_member190756
Active Contributor
0 Kudos

Hi Zenon,

then it is correct. All Messages that find no EH are stored in /SAPTRX/EVM_UNPR.

If later an EH with the Tracking ID is created the message will be automatically processed and the entry from /SAPTRX/EVM_UNPR will be removed.

If you have orphaned entries in this table please check note 863551.

Best regards,

Steffen

former_member190756
Active Contributor
0 Kudos

Hello Shubh,

the Event Message you can find in table /SAPTRX/EVM_HDR and transaction /SAPTRX/EVM_STATUS (seelct for unprocessed).

The guid of the Event MEssage is also stored in table /SAPTRX/EVM_UNPR.

Best regards,

Steffen

Former Member
0 Kudos

Hello Steffen ,

                            Thanks for your reply.  I have checked /SAPTRX/EVM_STATUS before also I don't see any unprocessed message in the report.

                 But when i check the table /SAPTRX/EVM_UNPR there are are large number of entries in this table.

Thanks

Shubh.

former_member190756
Active Contributor
0 Kudos

Maybe select "All" and check the other select options:

When you see them in /SAPTRX/EVM_UNPR they must also be available here.

Best regards,

Steffen

Former Member
0 Kudos

Hi Shubh,

You can check this discussion where Stefan explained nicely.

Check this and let us know.

Regards

GGOPII