cancel
Showing results for 
Search instead for 
Did you mean: 

Call function SXMB_SELECT_MESSAGES - determine message type

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hey,

This information is located in the table SXMSPEMAS

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