Skip to Content
avatar image
Former Member

Call function SXMB_SELECT_MESSAGES - determine message type

After calling function SXMB_SELECT_MESSAGES, you get the

following information in the return structure. How do you determine the

message type based upon this information? Programatically (table name or

functions)?

outbound system,outbound namespace,outbound interface name

inbound system,inbound namespace, and inbound interface name

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Oct 02, 2007 at 09:06 PM

    Hey,

    This information is located in the table SXMSPEMAS

    (The name of the table means sap xi message blob ENHANCE master table)

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 03, 2007 at 11:09 AM

    Hey,

    I forgot to mentation,

    if you are using swith proceudure than,

    need to use the table SXMSPEMAS2,

    in order to find the current table,

    pleae do the following:

    • I hope I don't have minor syntax error 😊

    • (I didn't compile this before...)

    Report mizi.

    Data:

    lv_emast_table type tabname,

    lv_guid like sxmsemast-msgguid,

    lv_pid like sxmsemast-pid,

    ls_emast type sxmsemast.

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

    • Get values into lv_guid and lv_pid

    • lv_guid = ...

    • lv_pid = ...

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

    call method

    cl_xms_persist=>get_current_table_contrainer

    importing

    ex_emast = lv_emast_table.

    select *

    from (lv_emast_table)

    into ls_emast

    where

    msgguid = lv_guid and

    pid = lv_pid.

    write: / ls_emast.

    Add comment
    10|10000 characters needed characters exceeded