Skip to Content
Author's profile photo Former Member

Command EDIT in SXMB_MONI to insert Dynamic Configuration attributes

In many projects I’ve seen using ASMA attributes, usually to retrieve the name of the file or the server from which a file have to be picked up. Every person who has used them at least once know how difficult could be performing unit testing for those attributes, especially in the early stages of the development when you don’t have any real file or you cannot upload anything on the remote or local server for testing.

Recently I have discovered the possibility to Edit Messages in error directly from SXMB_MONI, by typing the command ‘edit’ in the command menu:

ScreenHunter_118 Jul. 19 18.01.jpg

This will bring you to the web-based editor where, if you have the permissions (given by role SAP_XI_MESSAGE_MODIFY), you can edit the payload of the message and save it for re-processing:

ScreenHunter_119 Jul. 19 18.03.jpg

The interesting feature is that you can edit also the additional attributes, like the dynamic configuration, in the same page:

ScreenHunter_120 Jul. 19 18.05.jpg

Once saved, you can re-process the message in SXMB_MONI and get the desired result inside dynamic configuration 🙂

ScreenHunter_121 Jul. 19 18.07.jpg

Of course, message editing is not encouraged in production systems unless really required and roles must be properly setup to restrict it.

Have fun!

Antonio

Assigned tags

      3 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Interesting trick, this can certainly help saving time when testing scenarios

      Good work!

      Massimo

      Author's profile photo Former Member
      Former Member

      Good one helps saving time ! .

      Rama

      Author's profile photo Andrea Olivieri
      Andrea Olivieri

      Hi Antonio,

      Thank you for light shed on this interesting tool.

      Who would have known what hidden functions live inside the standard SXMB_MONI?

      I look forward to reading more from you.

      Cheers,

      Andrea