cancel
Showing results for 
Search instead for 
Did you mean: 

Capturing SMQ2/SMQ1 errors

Former Member
0 Kudos

Hi all,

We are planning on a Custom ABAP report on the IS. This report would basically send a mail to fixed recepients, based on the errors in the Inbound and Outbound Queues.

We have already obtained methods to trigger such emails from ABAP.

What we would like to know, is whether there is a way to dynamically read the queue errors from the ABAP Code.

We can see the error texts currently in RZ20, but are not able to pick the same in an report.

Any pointers would be helpful.

Thanks in advance,

Best Regards

Abhishek

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

If you have the monitoring set for tRFC and qRFC queues active this can achieved by routing these alerts from RZ20 to ALM. You can configure Auto reaction method for monitoring set to Z_CCMS_Send_Alert_to_ALM_V4.

Make sure you update the Alert category in parameters of the method to CCMS_CONT (standard available under CCMS Alerts in alrtcatdef).

This will forward all your RZ20 alerts to ALM. Once this is done you can configure fixed recipients for this Alert category or use PFAC to route alerts to recipients based on Alert context (tRFC and qRFC).

Refer below for more details

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/0bb585b4a64f09e10000000a114a6b/frameset.htm

Check the container of alert category CCMS_CONT. Alert Text will carry the error details that are found in RZ20. Please let me know if you have any questions.

regards

Ven

Former Member
0 Kudos

Hey,

This will help you

/people/santhosh.kumarv/blog/2009/05/19/sap-xipi-alerts-for-queue-errors

Regards

Seshagiri

Former Member
0 Kudos

Hi,

Check this Function Module to Get Queue Entries & Details :

TRFC_QIN_GET_CURRENT_QUEUES

TRFC_GET_QIN_INFO_DETAILS

TRFC_QOUT_GET_CURRENT_QUEUES

TRFC_GET_QUEUE_INFO_DETAILS

You can even use CCMS for monitoring the Queues and Send the mails

regards

Ganga

Former Member
0 Kudos

Hello Ganga

Do you know the route to minitoring SMQ2 and SMQ1 in RZ20.

There is a lot of templates and i cant find it...

Thanks

Regards

Former Member
0 Kudos

Hi,

This sap note can help you for the CCMS configuration of queues

Note 441269 - Setting up tRFC/qRFC monitoring in the alert monitor

also the sap help,

http://help.sap.com/saphelp_nw70/helpdata/en/f0/02a63b9bb3e035e10000000a114084/content.htm

regards,

francis