SXMB_MONI -- Runtime Table

Hi,
In SXMB_MONI -->  Inbound -> SOAP Header --> RunTime I can see this values below (HOST is most interesting).
I have problems debugging (SXMB_MONI)  in order to see which table(s) data is stored.
<SAP:RunTime xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SAP:Host>sappi03</SAP:Host>
Any one knows which table to look in ?
Br
Martin
Edited by: Martin Andersson on Jun 17, 2008 2:42 AM
Edited by: Martin Andersson on Jun 17, 2008 5:34 AM

Hi Martin,
Here are some tables.
SXMS_AE_AUDITCNF____________XI: Adapter Runtime Data
SXMS_AS_STATUS__________________Status Table of Synchronous/Asynchronous Bridge
SXMS_MULTIM_REF__________________Link-Table Leading Message - SubMessages
SXMS_PACKCOUNT__________________Counter for Packed Messages
SXMS_QUEUE_PRIO__________________Prioritized EOIO Queues
SXMS_SYSPAR__________________SAP System Parameter and Storage Location
SXMSAEADPMOD__________________XI: Adapter and Module Information
SXMSAEADPMODCHN____________XI: Adapter Module Chains
SXMSAEAGG________________________XI: Adapter Runtime Data (Aggregated)
SXMSAERAW________________________XI: Adapter Runtime Data (Raw Data)
SXMSALERTCNTRL____________ Control Table for XI Alerts
SXMSALERTCONTROL____________Control Table
SXMSALERTLOG__________________XI Alert Log
SXMSALERTLOGGER____________XI Alert Logs
SXMSALERTRULES__________________Rules for Alert Generation: Msg Header ->Alert Category
SXMSALERTSTEPS__________________PMI Process Steps for Alerting
SXMSALERTTMSTMP____________Time Stamp of Last PMI Process Instance Chhecked
SXMSARCITF________________________XML Message Archiving
SXMSCLUP________________________XMB: Property Cluster
SXMSCLUP2________________________XMB: Property Cluster (Switch Table)
SXMSCLUR________________________XMB: Resources Cluster
SXMSCLUR2________________________XMB: Resources Cluster (Switch Table)
SXMSCONFDF__________________XMS: Integration Engine Configuration Para
SXMSCONFVL__________________XMS: Integration Engine Configuration Data
SXMSDCONF________________________Integration Engine: Settings for Deletion
SXMSEPCACHE__________________XI: Runtime Cache for Exchange Profile
SXMSEPCLOG__________________XI: Log Table for Runtime Cache for Exchange Profile
SXMSFTEST________________________Table for XI Runtime Engine Test
SXMSGLOBAL__________________Integration Engine: Obsolete
SXMSHELP________________________Help Assistant
SXMSHELPT________________________Help Assistant (Short Text)
SXMSINTERFACE__________________Sender/Receiver Definition
SXMSINTF________________________XMB: Container for Application Monitoring(Template)
SXMSINTFT________________________Sender/Receiver Interfaces
SXMSITF________________________Search Help for Interface for Archiving (Without Content)
SXMSJINFO________________________Integration Engine: Job Information
SXMSJOBS________________________Jobs for Time-Controlled Message Processin
SXMSMONSEL__________________Selection Table for Integ. Engine Application Monitoring
SXMSMONSET__________________Selection Table for Integ. Engine Application Monitoring
SXMSMSGDEF__________________Message Definition
SXMSMSGFILLED__________________Message for a Message Definition Saved
SXMSMSGFILTER__________________SAP XI: Filter for Sender/Receiver Attributes
SXMSMSGINDCUS__________________SAP XI: Configuration Indexing of Messages
SXMSMSGINDLOG__________________SAP XI: Message Indexing Log
SXMSMSGINDSRV__________________SAP XI: Services for Indexing Messages
SXMSMSGPMI__________________Using XI Messages in PMI
SXMSMSGREF__________________Message Reference Storage
SXMSMSTAT________________________Exchange Infrastructure: Message Status
SXMSMSTATT__________________Exchange Infrastructure: Message Status Description
SXMSPADM________________________XMS Pipeline: Execution Settings
SXMSPCONF________________________XMB: Administrative Data for Pipeline Conf
SXMSPEMAS________________________Integration Engine: Enhanced Message Queue(Master)
SXMSPEMAS2__________________Integration Engine: Extended Message Queue(Switch Table)
SXMSPENTRY__________________XMS: Map Inbound Pipelines to XMB Pipeline
SXMSPERFC________________________SXMS: Runtime Measurement Results
SXMSPERFCD__________________SXMS: Data Table for Online Performance Data
SXMSPERFCH__________________SXMS: Header Table for Online Performance Data
SXMSPERFT________________________XMS: Monitor Table for Runtime Measurement
SXMSPERRO2________________________XMB: Message Queue (Entries with Errors) (Switch Table)
SXMSPERROR__________________XML Message Broker: Message Queue (Incorrect Entries)
SXMSPFADDRESS__________________Integration Engine: Sender and Receiver Information
SXMSPFAGG________________________Integration Engine: Aggregated Data for Performance Display
SXMSPFCOMPONENT____________Integration Engine: Component Information
SXMSPFMSGTYPEDB____________XMB: Selektionsdaten für Monitoring
SXMSPFRAWD__________________Integration Engine: Data Table for Raw Data for Performance
SXMSPFRAWH__________________Integn Eng: Header Table for Raw Data for Performance Evaln
SXMSPFSEARCHDB__________________XMB: Selektionsdaten für Monitoring
SXMSPHIST________________________XML Message Broker: History
SXMSPHIST2________________________XML Message Broker: History (Switch Table)
SXMSPIPE________________________XML Message Server: Pipeline Definition
SXMSPIPEEL________________________Pipeline Element Definition
SXMSPIPET________________________XMS: Pipeline Description
SXMSPLELT________________________XMS: Description of Pipeline Elements
SXMSPLSRV________________________XMS: Pipeline Service Specification
SXMSPLSRVT________________________XMS: Description of Pipeline Services
SXMSPMAST________________________Integration Engine: Message Queue (Master)
SXMSPMAST2__________________XML Message Broker: Message Queue (Master)
SXMSPMIRAW__________________Integration Engine: Performance Data Extracted from PMI
SXMSPTRACE__________________HTTP Trace
SXMSPVERS________________________Integration Engine: Message Version
SXMSPVERS2________________________Integration Engine: Message Version (Switch Table)
SXMSQUEUE_RCV__________________Mapping Queue Receiver
SXMSQUEUE_REORG____________Storage Location for Queues That Are Being Reorganized
SXMSQUEUESTATUS____________Queue Status During Upgrade Phase
SXMSRECVT________________________Technical Receiver
SXMSRTDIAG__________________Entries for Support Diagnostics
SXMSSPDIAG________________________Objects for SXMS SUPPORT DIAGNOSTICS
SXMSSPDIAGS__________________Objects for SXMS SUPPORT DIAGNOSTICS
SXMSSYERR________________________XMS: System Error Error Codes
SXMSSYERRT________________________XMS: Brief Description of System Error Codes
SXMSTRANS_CONFIG____________Configuration Table for Message Transfer
SXMSTRANS_HEADER____________Lookup Table for Message Transfer
SXMSTRANS_MSG__________________Body Table for Message Transfer
SXMSTRC_DAT__________________XMS: Trace Data
SXMSTRC_SEL__________________XMS: Selection Criteria for Trace Start
SXMSTSACT________________________Action Table for Integration Server Troublshooting
SXMSTSTRIG________________________Table of Troubleshooting Trigger
Best Regards,
Nagesh Y R
Edited by: Nagesh Rudhra Yellapu on Jun 17, 2008 1:43 PM

Similar Messages

  • Diff bet sxmb_moni&runtime work bench

    what is diffrence between SXMB_MONI & runtime work bench?

    Hi,
    Moni:
    SXI_Monitor / SXMB_MONI is used for monitoring of XML messages either in error or success or in System error and in other status. You can check messages here for all of your interfaces.
    SXMB_MONI is the monitoring tool for all the message processing and shows different pipeline steps like receiver determination,interface determination and mapping ..etc....
    You can see the status of message after reaching the Intergration server from the sender adapter to the before delivering to the receiver adapter from IS.
    SXMB_MONI is for Integration Engine monitoring, it provides Additional monitoring functions for the Integration Engine. u have outbound and inbound processes in XI and XML message processing happens in I.E in both the cases.
    u can monitor both sender and receiver XML messgaes processed in integration engine. bcz both sender and receiver messages must have to pass through I.E runtime.
    u can monitor all pipeline steps happens in I.E at runtime, and MONI displays runtime versions of xml messages.
    refer these links to understand the message flow and monitoring features:
    http://help.sap.com/search/highlightContent.jsp
    /people/siva.maranani/blog/2005/05/25/understanding-message-flow-in-xi
    For BPM you can use SXMB_MONI_BPE.
    RWB
    With the help of Runtime Workbench we can able to monitor the following ...
    1. Component Monitoring --- we can monitor all the components w.r.t to xi are working fine
    2. Message Monitoring --- Here we can check the errors with Integration Engine and Adapter Engine.
    3. End -to - End Monitoring
    4. Performance Monitoring
    5. Alert Configuration
    6. Alert Inbox .. etc..,
    Just check these links:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1db5e190-0201-0010-1c90-d9de570c6b18
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/webinars/how%20to%20set%20up%20alerts%20for%20monitoring%20in%20sap%20xi%2030%20-%20webinar%20powerpoint.pdf
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/08438c77-0501-0010-50a0-e39fe8fa0446
    and this one for complete XI
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ee5bc490-0201-0010-e9b5-a258cf083bca
    RWB :
    http://help.sap.com/saphelp_nw70/helpdata/EN/2e/278a8363b5ac4483dc1efc382e51df/frameset.htm
    regards
    Aashish Sinha
    PS : reward points if helpful

  • Runtime Tables for Workflow Builder

    Hi,
    Once the process flow is designed in workflow, I need to execute the jobs through OEM. To know the status of execution (whether completed, how many records are extracted, how many records are inserted, how many records are rejected, any errors) in which runtime table can I get the information.
    Regards
    Kishan

    Hi,
    If you know your item key, you could get those informations in WF_ITEM_ACTIVITY_STATUSES table.
    Regards,
    Luiz.

  • MS Access Database on Runtime (Tables on Sharepoint)

    Using: Office 365
    MS Access tables are on my Share Point Site as lists.
    The database on my local pc has linked tables to the Share Point lists, which works fantastic.  I have a need to place the database on a pc that does not have any office software installed, so I loaded Access Runtime on that pc.  Pulls up the database,
    but, it the tables will not link to Share Point.  No error messages, cursor just spins, nothing happens.  

    Actually I'm already using JDBC-ODBC driver. The problem is it still doesn't connect. Sorry I should have mentioned this above.
    String dbDriver = "sun.jdbc.odbc.JdbcOdbcDriver";
    String dbLocation = "//host/directory/database.mdb";
    String dbURL = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)}; DBQ=" + dbLocation;
    String dbUserName = "Name";
    String dbPassword = "Pass";
    public boolean connectToDatabase () {
      // Microsoft Access Database SQL Connection.
      try {
        Class.forName(dbDriver);
        connection = DriverManager.getConnection(dbURL);
      } catch (Exception e) {
          return false;
      return true;
    }If I run my applet local, I can connect to my Access DB (Using a location similar to 'C:\Path\myDB.mdb'). When I put it on my web host, it can't connect to it. DriverManager tries to connect but fails after about half a minute of inactivity. The error message is:
    java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] '(unknown)' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
    And so I need to know any Java equivalent that doesn't require 'HttpServlet' 'getRealPath(...)' and get's me the server path to my DB or another way to connect to it alltogether.
    Devyn

  • SXMB_MONI internal table

    Dear Gurus,
    When we execute sxmb_moni then it picks the data from which internal table.
    Please update ASAP.
    Regards
    Tushar

    Hi Tushar
    Remember that you can always use the transaction ST05 to trace which tables a transaction is using.
    Take a look at this example: http://mysapsource.com/transactions-t-codes/using-st05-to-trace-which-tables-a-transaction-is-using
    Best Regards
    Ole

  • SXMB_MONI transaction table

    Hi,
    Does anyone know which ABAP table is sxmb_moni transactions is stored?
    Thanks,
    Gowri

    Patil,
    There is a function module SXMB_GET_MESSAGE_LIST through which you can get the messages in SXMB_MONI.
    Or
    Try running sxmb_moni in debug mode and see all the tables it is using or set the DB performance analysis and see all the db calls.
    Check this thread also:
    In Which Database Table the Messages are Stored in XI
    ---Satish

  • Monitoring servlets through SNMP Servlet Runtime Table

    Is it possible to check or monitor a servlet/jsp using SNMP traps (counter, attribute change, etc). If so can you provide a sample set up for values such as the MBean Name, MBean Type, MBean Attribute.
    Thanks,
    Juan

    Yes there is, monitor the gateway, not the CCM:
    http://cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a00801abe59.shtml

  • Create dynamic table at runtime and bind it with ViewObject

    Hi everyone.
    I have the following task.
    I need to create a multiple ViewObjects at runtime (using different constructed sql queries) and then bind ViewObjects with created (also in runtime) tables.
    Tables are to be created on PanelTabbed component. Each tab contains one table.
    So the problem - is there a way to perform this task?
    A portion of code:
    ApplicationModule am = ADFUtils.getApplicationModule("AppModule");
    ViewObjectImpl vo = null;
    if (am.findViewObject("SQLVo") != null)
    am.findViewObject("SQLVo").remove();
    System.out.println("object removed!");
    vo = am.createViewObjectFromQueryStmt("vo", "select ...");
    RichTable newTable = new RichTable();
    newTable.setVar("row");
    newTable.setVarStatus("rowStat");
    RichShowDetailItem newDetItem = new RichShowDetailItem();
    newDetItem.setText("New Detail");
    newTable.setInlineStyle("width:100%;height:180px");
    newTable.setRowSelection("single");
    DCBindingContainer dcBindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    String iterBindingName = vo.getName() + "Iterator";
    JUIteratorBinding iterBinding =
    (JUIteratorBinding)dcBindings.findIteratorBinding(iterBindingName);
    if (iterBinding != null) {
    dcBindings.removeIteratorBinding(iterBindingName);
    BindingContext bcc = (BindingContext)JSFUtils.resolveExpression("#{data}");
    iterBinding =
    new JUIteratorBinding(bcc.findDataControl("AppModuleDataControl"), vo);
    String ctrlBindingName = vo.getName() + "Binding";
    FacesCtrlHierBinding clonedHierBinding =
    (FacesCtrlHierBinding)dcBindings.findCtrlBinding(ctrlBindingName);
    if (clonedHierBinding != null) {
    dcBindings.removeControlBinding(ctrlBindingName);
    =======================================
    Please, look here!
    What's the best practices to create a new FacesCtrlHierBinding?
    What a parameter _nodeBindings (type JUCtrlHierTypeBinding[]) should be?
    =======================================
    clonedHierBinding =
    new FacesCtrlHierBinding(null,
    iterBinding,
    new String[]{
    "BUILDING_ID"
    // "BUILD_NAME",
    // "FUNCTIONALITY_NAME",
    // "CITY_NAME",
    // "STREET_NAME",
    // "FLOORS"
    _nodeBindings
    dcBindings.addControlBinding(ctrlBindingName, clonedHierBinding);
    newTable.setValue(clonedHierBinding.getCollectionModel());
    for (int g=0; g < vo.getAttributeCount(); g++){
    RichColumn col = new RichColumn();
    col.setId("c" + Integer.toString(g));
    col.setHeaderText(vo.getAttributeDef(g).getProperty(AttributeHints.ATTRIBUTE_LABEL).toString());
    ValueExpression valExp =
    facesContext.getApplication().getExpressionFactory().createValueExpression(facesContext.getELContext(),
    "#{row." + vo.getAttributeDef(g).getName() + "}",String.class);
    RichOutputText text = new RichOutputText();
    text.setId(vo.getAttributeDef(g).getName() + "txt");
    text.setValueExpression("value", valExp);
    col.getChildren().add(text);
    newTable.getChildren().add(col);
    newDetItem.getChildren().add(newTable);
    myBean.panelTabbed.getChildren().add(newDetItem);
    ...

    Shay, good day!
    You answer is good, but - it use only one dynamic view (and one table, iterator and FacesModel).
    I have task like topic started have - i need to create some unknows numbers of ViewObject (created by demad) and i must have a FacesModel for each created ViewObject.
    How can we do it?

  • Issue with determing table name runtime

    Hi All,
    I have a problem in determing the table name during runtime
    TABLES : ekko.
    DATA : test TYPE REF TO lcl_test.
    DATA : itab TYPE STANDARD TABLE OF ekko.
    IF test IS INITIAL.
        CREATE OBJECT test.
      ENDIF.
    test->cmeth( EXPORTING itab1 = itab ).
    CLASS lcl_test DEFINITION.
      PUBLIC SECTION.
        METHODS : cmeth IMPORTING itab1 TYPE STANDARD TABLE.
    ENDCLASS.                   
    *       CLASS lcl_test IMPLEMENTATION
    CLASS lcl_test IMPLEMENTATION.
    METHOD test.
    *Here i have to know the table name of the importing internal data itab1 (In this particular case its EKKO)
    *In general it can be any table
    *Is there a way to determine a table name (as EKKO) in this method
    *My problem is i need to find out the field of that internal table
    *to find out the fields of the  table i'm using
    CALL FUNCTION 'GET_COMPONENT_LIST'
    EXPORTING
    program = sy-repid
    fieldname = 'I need to pass header of the internal table something like wa_ekko'
    TABLES
    components = icomp.
    ** so i have to find out the table name and declare a work area and then pass that to Get_component_list FM*
    OR
    I CAN USE BELOW CODE AS WELL
    data:
        wa_ref        type ref to data,
        desc_table    type ref to cl_abap_tabledescr,
        desc_struc    type ref to cl_abap_structdescr.
      field-symbols:
        <p_data>      type any,
        <p_field>     type any,
        <p_component> type abap_compdescr.
    ** The probelm  here is it_data has s tructure defined in class unlike mine  with is type standard table*
    create data wa_ref like line of it_data.
      assign wa_ref->* to <p_data>.
    desc_table ?= cl_abap_tabledescr=>describe_by_data( it_data ).
      desc_struc ?= desc_table->get_table_line_type( ).
    loop at it_data assigning <p_data>.
        loop at desc_struc->components assigning <p_component>.
            assign component <p_component>-name of structure <p_data> to <p_field>.
        endloop.
      endloop.
    endmethod.
    Hope i'm clear
    Thanks
    David

    Hi
    Perhaps something like this can help you:
    TABLES : EKKO.
    DATA : ITAB TYPE STANDARD TABLE OF EKKO.
    CLASS LCL_TEST DEFINITION.
      PUBLIC SECTION.
        METHODS : CMETH IMPORTING ITAB1 TYPE STANDARD TABLE.
    ENDCLASS.                    "lcl_test DEFINITION
    CLASS LCL_TEST IMPLEMENTATION.
      METHOD CMETH.
        DATA: MY_WA       TYPE REF TO DATA.
        DATA: DESC_TABLE    TYPE REF TO CL_ABAP_TABLEDESCR,
              DESC_STRUC    TYPE REF TO CL_ABAP_STRUCTDESCR.
        FIELD-SYMBOLS:
             <P_DATA>      TYPE ANY,
             <P_FIELD>     TYPE ANY,
             <P_COMPONENT> TYPE ABAP_COMPDESCR.
        CREATE DATA MY_WA LIKE LINE OF ITAB1.
        ASSIGN MY_WA->* TO <P_DATA>.
        DESC_STRUC ?= CL_ABAP_TYPEDESCR=>DESCRIBE_BY_DATA( <P_DATA> ).
        LOOP AT DESC_STRUC->COMPONENTS ASSIGNING <P_COMPONENT>.
          WRITE: / <P_COMPONENT>-NAME.
        ENDLOOP.
      ENDMETHOD.                    "test
    ENDCLASS.                    "lcl_test IMPLEMENTATION
    DATA : TEST TYPE REF TO LCL_TEST.
    START-OF-SELECTION.
      IF TEST IS INITIAL.
        CREATE OBJECT TEST.
      ENDIF.
      TEST->CMETH( EXPORTING ITAB1 = ITAB ).
    Max

  • In Which Database Table the Messages are Stored in XI

    Folks,
    When we run SXMB_MONI, Which table it access ? please let me know .
    Manish

    Hi
    Here is how I did it after long debugging sessions.. you can pass MessageID and get the payload back as binary, here I download it for test purpose.. btw you have to change your client number.. and FYI, this code is draft version so there might be some unnecessary codes you might have to clean up..
    REPORT  Z_READ_MESSAGES.
    TYPES: BEGIN OF ts_resource,
             resource TYPE REF TO if_xms_resource,
             name     TYPE string,
             ref      TYPE string,
             kind     TYPE char1,
           END OF ts_resource.
    DATA: persist             TYPE REF TO cl_xms_persist,
          g_message           TYPE REF TO if_xms_message,
          l_pro_s             TYPE sxms_pro_s,
          l_pro_t             TYPE REF TO sxms_pro_t,
          l_manifest          TYPE REF TO cl_xms_msghdr30_manifest,
          super_xstring       TYPE xstring,
          super_string        TYPE string,
          gt_raw_lines        TYPE sxmsraw512lines,
          binary,
          l_mf_s              TYPE sxms_mf_s,
          l_mf_t              TYPE sxms_mf_t,
          gv_length           TYPE int4,
          l_resource          TYPE REF TO if_xms_resource,
          lt_resource         TYPE TABLE OF ts_resource,
          ls_resource         TYPE ts_resource.
    FIELD-SYMBOLS:  <fs1> TYPE sxms_pro_t.
    CREATE OBJECT persist.
    CALL METHOD persist->read_msg_pub
      call method persist->read_persist_tab_version 590C75F0F50611DC81E000110A31811B
        EXPORTING
           im_msgguid  = 'F7E02E28752CBA4B889B9C00AC306CD3'
           im_pid      = 'CENTRAL'
           im_version  = '000'
           im_client   = '001'
         IMPORTING
           ex_message  = g_message.
    l_pro_t = g_message->getbodies( ).
    ASSIGN l_pro_t->* TO <fs1>.
    LOOP AT <fs1> INTO l_pro_s.
      IF l_pro_s-lcname = cl_xms_manifest=>lcname.
        l_manifest ?= l_pro_s-prop.
        l_mf_t = l_manifest->get_payload_refs( ).
        REFRESH lt_resource.
        LOOP AT l_mf_t INTO l_mf_s.
          CLEAR ls_resource.
          l_resource = g_message->getattachmentbyname( l_mf_s-href ).
          IF NOT l_resource IS INITIAL.
            ls_resource-resource = l_resource.
            ls_resource-name = l_mf_s-name.
            ls_resource-ref = l_mf_s-href.
            ls_resource-kind = l_resource->getkind( ).
            super_xstring = l_resource->GETbinarydATA( ).
            APPEND ls_resource TO lt_resource.
          ENDIF.
        endloop.
      endif.
    endloop.
    *xmbph = cl_xms_profile=>getinstance(
                             name = cl_xms_profile=>profile_name_xmb ).
    *TRY.
       extmessage = xmbph->serialize( intmessage = g_message ).
    CATCH cx_xms_exception .
    CATCH cx_xms_system_error .
    *ENDTRY.
    *TRY.
       super_xstring = extmessage->WRITETO( ).
    CATCH cx_xms_exception .
    *ENDTRY.
    binary = 'X'.
    PERFORM display_xml.
    CLEAR: binary.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        bin_filesize  = gv_length
        filename      = 'c:\a.xml'
        filetype      = 'BIN'
      TABLES
        data_tab      = gt_raw_lines
      EXCEPTIONS
        invalid_type  = 03
        no_batch      = 04
        unknown_error = 05
        OTHERS        = 99.
    *&      Form  display_xml
          text
    -->  p1        text
    <--  p2        text
    FORM display_xml .
      DATA: str_l               TYPE i,
            lv_len              TYPE i,
            lv_offset           TYPE i,
            lv_len_tmp          TYPE i,
            ls_raw_line(512)    TYPE x,
            gv_type(50)         TYPE c,
            l_xstring           TYPE xstring.
    constants
      CONSTANTS: true           TYPE boolean VALUE 'X',
                 false          TYPE boolean VALUE ' '.
      IF STRLEN( super_string ) = 0 AND XSTRLEN( super_xstring ) = 0.
        EXIT.
      ENDIF.
    Conversion only if the output is to be displayed in the HTML-Viewer
    additional actions for non binary sources
      IF binary  = false.
    convert string to xstring
        CALL METHOD cl_xms_main=>convert_string_to_xstring
          EXPORTING
            im_string          = super_string
            im_encoding        = 'UTF-8'
           im_endian          = im_endian
           im_replacement     = im_replacement
           im_ignore_conv_err = im_ignore_conv_err
          IMPORTING
            ex_xstring         = super_xstring
            ex_length          = gv_length.
        gv_type = 'application'.
      ELSE.
        gv_length = XSTRLEN( super_xstring ).
      ENDIF.
      lv_len     = gv_length.
      lv_offset  = 0.
      lv_len_tmp = lv_len.
    break string into lines of 512 bytes
      IF lv_len_tmp > 512.
        DO.
          ls_raw_line  = super_xstring+lv_offset(512).
          APPEND ls_raw_line TO gt_raw_lines.
          lv_offset = lv_offset + 512.
          lv_len_tmp = lv_len_tmp - 512.
          IF lv_len_tmp < 512.
            EXIT.
          ENDIF.
        ENDDO.
      ENDIF.
      IF lv_len_tmp > 0.
        ls_raw_line  = super_xstring+lv_offset(lv_len_tmp).
        APPEND ls_raw_line TO gt_raw_lines.
      ENDIF.
      CLEAR: super_string, super_xstring.
    ENDFORM.                    " display_xml

  • Fetch data from Table

    Hi all,
    I am using function module through Call fucntion.
    There i am getting <b>Table Name</b> as import Parameter.
    Now i need to fetch data from that table (Which name we got througfh function module).
    Is there any point to know how can we fetch data from runtime table .
    i need some sample code for this.
    Thanks inn advance,
    Regards,
    Bhaskar

    Hello Bhaskar,
    I don't have an SCM system, so I cannot test out that FM
    However, I modified the above code to update the table as well
    *& Report  ZKRIS_DYNAMIC_TABLE_READ_MOD
    REPORT  ZKRIS_DYNAMIC_TABLE_READ_MOD LINE-SIZE 256.
    DATA : LV_FIELD_DESC TYPE STRING.
    DATA : LV_DATA1 TYPE STRING.
    DATA : LV_DETAIL(128).
    DATA : COMMA TYPE C VALUE ','.
    DATA : LV_TNAME LIKE DD02L-TABNAME.
    DATA : LV_DBTAB1 LIKE DD02L-TABNAME.
    DATA : DREF TYPE REF TO DATA.
    DATA : FLAG_MODIFIED.  " determines if database needs to be updated
    FIELD-SYMBOLS: <ITAB> TYPE ANY TABLE, " used to store dynamic tables
                   <WA>    TYPE ANY,      " used to store record data
                    <WA1> TYPE ANY .      " used to store field data
    * call Fm /SAPAPO/TS_PA_COPY_TABLE_GET here
    LV_DBTAB1 = 'ZGSTSET'. " <-- put your table name here
    DATA: IT_FIELDS TYPE X031L OCCURS 0.
    DATA: WA_FIELDS LIKE LINE OF IT_FIELDS.
    CALL FUNCTION 'DDIF_NAMETAB_GET'
      EXPORTING
        tabname           = LV_DBTAB1
    *   ALL_TYPES         = ' '
    *   LFIELDNAME        = ' '
    *   GROUP_NAMES       = ' '
    *   UCLEN             =
    * IMPORTING
    *   X030L_WA          =
    *   DTELINFO_WA       =
    *   TTYPINFO_WA       =
    *   DDOBJTYPE         =
    *   DFIES_WA          =
    *   LINES_DESCR       =
    TABLES
       X031L_TAB         = IT_FIELDS
    *   DFIES_TAB         =
    EXCEPTIONS
       NOT_FOUND         = 1
       OTHERS            = 2
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    * we do not know the sized of the table that must be generated beforehand
    * hence we use field symbols to dynamically generate the internal table
      CREATE DATA DREF TYPE STANDARD TABLE OF (LV_DBTAB1)
                                WITH NON-UNIQUE DEFAULT KEY.
      ASSIGN DREF->* TO <ITAB> .
    * selects all data
      SELECT * FROM (LV_DBTAB1) INTO TABLE <ITAB> .
      LOOP AT <ITAB> ASSIGNING <WA>.
        FLAG_MODIFIED = ''.
        LOOP AT IT_FIELDS INTO WA_FIELDS.
          ASSIGN COMPONENT WA_FIELDS-FIELDNAME OF STRUCTURE <WA>
            TO <WA1>.
          IF WA_FIELDS-FIELDNAME = 'FIRSTNAME'. " fieldname in the table you wish to modify
            IF <WA1> = 'Kris'. " old value
              <WA1> = 'NewName'. " new value
              MODIFY TABLE <ITAB> FROM <WA>.
              FLAG_MODIFIED = 'X'.
            ENDIF.
          ENDIF.
          WRITE <WA1>. " comment this line to remove the display
        ENDLOOP.
        IF FLAG_MODIFIED = 'X'. " updates database only if the record was changed
          UPDATE (LV_DBTAB1) FROM <WA>.
    *     note that if the field you choose is a key field, sy-subrc will be set to 4
        ENDIF.
    *   display
        NEW-LINE.
      ENDLOOP.

  • Can we access PI tables from WebDynpro Java via PI 7.1?

    Hi Experts
    Is it possible to fetch PI Tables (to display monitoring and alerts as dashboard on portal) from Java Stack. I got some javadocs API SAP Netweaver for PI 7.1 but i don't know how far it can help me in solving my purpose of fetching and displaying the PI monitoring data on Portal.
    https://www.sdn.sap.com/irj/sdn/javadocs
    Please advise if J2EE access to PI Tables is possible or RFC is the suggested solution to fetch PI Monitoring data.
    Thanks
    Neha

    Hi Neha,
    You can access PI tables from Webdynpro Java application using RFC or Webservices. Create RFC or Webservices which will fetch data from the PI tables.Create the required JCO's and the Webdynpro java application which uses the Adaptive RFC model or Adaptive Webservice Model to connect to the ECC system.
    I found a document that speaks about fetching data from SXMB_MONI Standard Table https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b050ff4f-84c3-2b10-3d99-8f9c44f57a17
    Hope this is useful.
    Regards,
    Seema Rane.

  • SXMB_MONI does not show payload after upgrade to SP15

    Hi there,
    We have installed SP15 in our system, everything seems to be working OK with exception of the SXMB_MONI which now does not show the Payload in the SOAP output/response.
    Does anyone know if this is a know bug/functionality of SP15?
    Thanks,
    Roberto

    The other OSS note:
    SAP Note Number: 917885
    XI: Attachments werden im Message-Monitoring nicht angezeigt
    Version: 1, Note Language: EN, Released on: 01/27/2006 
    Symptom
    An XML message contains attachments with mime types different from application/xml. When clicking on the attachments in Message-Monitoring for that message, the attachments cannot be displayed!
    Error message is: "Format of the document cannot be displayed"
    Other terms
    SXI_MONITOR, SXMB_MONI, Runtime Workbench, XI, RWB, Message Display Tool, MDT
    Reason and Prerequisites
    Before displaying an attachment, Message Monitoring checks the mime type of the message with a list of supported types. Since there are several mime types for some applications, like powerpoint or excel, the check is not exhaustive.
    Solution
    The attached correction instruction adds additional mimetypes for powerpoint, excel, and word. The patch is included in SP17 for NW04 and SP7 for NW04s.
    Actually both of these notes don't exactly indicate that the issue will be fixed in terms of the payload.  We are going to apply it and see if it fixes the issue.  I will update this forum when i try it out.
    Regards,
    Jay

  • Creation of Table Dynamically.

    Hi friends,
            I am creating one application in Webdynpro java for creating Table dynamically at run time. But i am getting error after deploying the application.
          I am getting this error :-
          error at runtime table "com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: View: Cannot add element with duplicate ID "tb" of type com.sap.tc.webdynpro.clientserver.uielib.standard.impl.Table "
        how to solve this error.
    Thanks & Regards,
    Murali

    Hi Vijay,
         Yes , solved My problem. I am missing in my code that Condition
              if(firsttime){}
       That's why i am getting that type of error. Thanks for updating proper information.
    Thanks & Regards,
    Murali

  • Convert SXMB_MONI Payload to Readable String

    Hi All,
    I found an article regarding to get sxmb_moni data programatically
    [PI Monitoring Functionality - Fetching Data from SXMB_MONI Standard Tables |https://wiki.sdn.sap.com/wiki/x/w4MQB].
    I would like to ask how to convert sxmb_moni's payload into readable string for getting particular value into customise table?
    Is it possible to get transaction inbound or outbound data by Abap?
    Thank you.
    Best Regards,
    Weng

    >Weng wrote:
    >>how to convert sxmb_moni's payload into readable string for getting particular value into customise table
    generally the structure of the payload is different for different scenarios. it cannot be generalised, as the structure of the payload is defined in the MessageType in ESR. so for getting a particular value, you might need to parse the payload xml by yourself and put into customised table
    Regards,
    BJagdishwar.

Maybe you are looking for

  • Can I open a CS6 Photoshop file in Adobe Photoshop Touch for Phone?

    I am trying to rountrip a ps file to/from Adobe Photoshop Touch for Phone to/from CS6 Photoshop on a mac. Is it possible? It seems (so far) I can create a .psdx on the phone and edit on my desktop, but once editing in CS6 PS, I can't get that file ba

  • Blu-Ray Motion menus don't work!

    Hey Gang, I posted this issue before but since I received a very limited response, I'm hoping that someone will respond to this simplier issue. I created a empty blu-ray project. I placed the Encore Crib Motion Menu HD into the project. The menu prov

  • Problems with image movement

    Hello everybody: First of all let me tell you that I am not a DVD wise person. I am starting to use iDVD and hope to soon be able to use DVD Studio Pro. The problem that I have is that I created a presentation in Motion using only photographies. The

  • How long did your MacBook Pro take to arrive?

    My MBP is coming direct from Apple but as it was purchased via a reseller I have no tracking. Its been over 9 working days already, but the apple site says 2-3 days is typical? I'm soooo excited but its quickly turning to disappointment with every af

  • How to create an install cd with the final cut pro x app if the app comes from App.Store?

    How to create an install cd with the final cut pro x app if the app comes from App.Store?