cancel
Showing results for 
Search instead for 
Did you mean: 

Z program identical to sxmb_moni

Former Member
0 Kudos

Hi experts ,I have to create a z program , whose output would be identical to the output of sxi_monitor, with the only exception being , an additional field9 new coloumn ) after the Messege Id coloumn, which needs to e populated by data from the payload , which we can see only whn we double click the row in sxi_monitor.

My question to the experts, is , since I am not into ABAP, i wish to ask, is it feasibe to develop such a program , as I have to give a reply on the feasibility analysis.

Has any one worked on this kind of scenerio. Please suggest.

Please revert back if the requirement is not clear.

Regards,

Arnab.

Accepted Solutions (1)

Accepted Solutions (1)

former_member188019
Active Participant
0 Kudos

you can explore on the program RSXMB_SELECT_MESSAGES using SE38 transaction.

infact following programs can give you an idea.:

RSXMB_RESTART_MESSAGES Restart Messages with Errors

RSXMB_SELECT_MESSAGES Monitor for Processed XML Messages

RSXMB_ARCHIVE_MESSAGES Archive XML Messages

RSXMB_ARCHIVE_MESSAGES_OLD20 Archive Old XML Message Versions (XI 2.0)

RSXMB_CANCEL_MESSAGES Cancel Messages with Errors

RSXMB_CANCEL_NOT_REST_MESSAGES Cancel XI Messages With Errors That Cannot Be Restarted

RSXMB_CHECK_MESSAGE_CONSIST Report RSXMB_CHECK_MESSAGE_CONSIST

RSXMB_CHECK_MESSAGES_STATE Check Reorganization Status of a Persisted Message

RSXMB_CUST_RESTART_MESSAGE Integration Engine: Schedule Restart Message Job

RSXMB_DELETE_ARCHIVED_MESSAGES Delete Archived XML Messages

RSXMB_DELETE_MESSAGES Delete XML Messages from the Persistency Layer

RSXMB_FILL_EXETIMEST_ERROR Program RSXMB_FILL_EXETIMEST_ERROR

RSXMB_GET_ARCHIVED_MESSAGE XML Message Processing

RSXMB_MARK_ARCHIVABLE_MESSAGES Flag XML Messages for Archiving

RSXMB_MARK_DELETABLE_MESSAGES Flag XML Messages for Deletion

RSXMB_MESSAGE_STATISTICS2 Processing Statistics for XML Messages

RSXMB_READ_ARCHIVED_MESSAGES Read Archived XML Messages (Using Archive)

Madhu_1980

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Arnab,

You can achieve the requirement specified. For that, you need to write a custom Function module, that should extract the payload.

Follow the steps provided in the weblink to achieve the requirement.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b050ff4f-84c3-2b10-3d99-8f9c44f57...

Thanks,

prateek
Active Contributor
0 Kudos

You may create your zsxmb_moni to fecth the data on the similar lines as available in this document. http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b050ff4f-84c3-2b10-3d99-8f9c44f57...

Regards,

Prateek

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>My question to the experts, is , since I am not into ABAP, i wish to ask, is it feasibe to develop such a program , as I have to give a reply on the feasibility analysis.

you need to understand that if you want to take something from the payload you'd need to parse it first

so the program will run much slower then normal SXI_Monitor (unless you'd use indexed field from the latest PI version)

but to develop it it's pretty easy as you mostly copy

Regards,

Michal Krawczyk

henrique_pinto
Active Contributor
0 Kudos

Hi Arnab,

it is possible, yes.

For your case, it might even be simpler to do an append to the existing program (i.e. enhancement spot) instead of a full Z program.

As an example, check this sample (it is not exactly the same but a similar requirement):

http://wiki.sdn.sap.com/wiki/display/Snippets/FindthePIMessagewithNF-eAccess+Key

The idea there was to be able to make a search in SXMB_MONI with a value from a field existing in the payload.

it is not the same requirement, but might give you an idea on how to proceed.

But you will need an ABAP developer for this, for sure. But it is indeed feasible.

Best regards,

Henrique.

Former Member
0 Kudos

Thanks for the great info - the link above doesn't work, but this one does:

http://wiki.sdn.sap.com/wiki/display/BPX/Find+the+PI+Message+with+NF-e+Access+Key