Skip to Content

I think everyone of XI’ers first or after meet the problem of searching something in a message…throughout some thousands of messages!!!

 SAP release the TREX-indexing functionality…but how to manage this problem without PORTAL or TREX-Engine installed?

 

Well, this simple abap code could be a good starting point to develop your self-made searching engine; it’s very simple (I need something like this) but useful in many environent I think.

Actually is tested on SAP XI 3.0 patch 14.

 

 .

To report this post you need to login first.

10 Comments

You must be Logged on to comment or reply to a post.

  1. Gunther Will
    Hi Paolo,
    nice work!
    Just one comment on your code: if the integration server uses the table switch deletion mode instead of standard deletion mode your report may fail if the current master table is sxmspmast2.

    To avoid this you can use persist->get_current_table_container to get the current master table.

    example:

    DATA:
    lv_master TYPE tabname,
    persist TYPE REF TO cl_xms_persist.

    CREATE OBJECT persist.
    CALL METHOD persist->get_current_table_container
      IMPORTING
        ex_master = lv_master.

    SELECT * FROM (lv_master) APPENDING CORRESPONDING FIELDS OF TABLE …

    Best Regards

    (0) 
  2. Per Rune Weimoth
    Hi,

    Very nice program. Somehow timezone CET did not work for me, although I live in that time zone so I made time zone an input parameter:
    p_tz TYPE ttzz-tzone OBLIGATORY DEFAULT ‘UTC’

    UTC works fine for me.

    Cheers,
    Per Rune

    (0) 
    1. Paolo Romano Post author
      Thank you peer for your suggestion!!!
      I won’t change now the blog(no time), but anyone that will read it in the future will take into account your suggestion.
      Kind Regards,
      greetings
      Paolo Romano
      (0) 
    1. Paolo Romano Post author
      Actually not, Mateen…but it’s a good suggestion!!!I will work at it…I’ll let you know when new version will be on!

      Thanks and regards
      Paolo

      (0) 
      1. Anonymous
        Hi Paolo,
        Did you ever add the archive functionality? Or do you know if there are other ways to search the payload of archived messages without clicking through one by one? This would be a life-saver for monitors and support experts.

        Thanks for the great blog!

        Peter

        (0) 
  3. Sebastian Geissler
    Hi Paolo,

    nice blog. Would it also be possible to download the payload of the found messages?
    Aand is there anything new about searching for archieved messages?

    Thanks and Regards,
    Sebastian

    (0) 

Leave a Reply