To read data from Adapter engine table

Hello,
We have requirement to generate  a summary of report with number of messages success and failed in XI with failure reason
I understand that we have to get the count of message from IE and AE and integrate it.
Can anybody help to know in which table data from IE and AE is stored and how can we access it
Also, any other solution to get the summary of count of interfaces running
Thanks in advance

Hi Anu.
In the Adapter side (not visible by data dictionary), the tables are:
XI_AF_MSG
XI_AF_MSG_AUDIT
In the Integration Server, the tables are:
SXMSPMAST or SXMSPMAST2
SXMSPEMAS or SXMSEMAS2
SXMSPVERS or SXMBPVERS2
SXMSCLUP or SXMSCLUP2
SXMSCLUR or SXMBCLUR2
SXMSPERROR or SXMBPERRO2
History
SXMSPHIST or SXMPHIST2
The integration server tables can change if the configure delete procedure is active (it can be principal table 1 or 2).
It´s better to use the runtime workbench reports delivered by SAP.
Regards.
Bruno.

Similar Messages

  • Help Required -- Can we use SQL Query to READ data from SAP MDM Tables

    Hi All,
    Please help.........
    Can we use SQL Query to READ(No Creation/Updation/Deletion  just Read) Data from SAP MDM tables directly, without using MDM Syndicator.
    Or direct SQL access to SAP MDM tables is not possible. Only through MDM Syndicator can we export data.
    Thanks in Advance
    Regards

    All the tables you create in Repository comes under A2i_CM_Tables in Database named as your repository name. So the tables names are fields of table A2i_CM_Tables. Now i tried it but cant make it.
    Now, I dont think its possible to extract all fields in tables and there values using select query. May be pure sql guy can do that or not.
    But there is no relation of data extraction and syndicator. Data is viewed in Data Manager. and you can also store data in a file from DM also.
    BR,
    Alok

  • Reading Data from a SQL table to a Logical file on R/3 appl. Server

    Hi All,
    We would like to create Master Data using LSMW (direct Input) with source files from R/3 Application Server.
    I have created files in the'/ tmp/' directory however I do not know how to read data from the SQL table and insert it into the logical file on the R/3 application server.
    I am new to ABAP , please let me know the steps to be done to acheive this .
    Regards
    - Ajay

    Hi,
    You can find lot of information about Datasets in SCN just SEARCH once.
    You can check the code snippet for understanding
    DATA:
    BEGIN OF fs,
      carrid TYPE s_carr_id,
      connid TYPE s_conn_id,
    END OF fs.
    DATA:
      itab    LIKE
              TABLE OF fs,
      w_file  TYPE char255 VALUE 'FILE',
      w_file2 TYPE char255 VALUE 'FILE2'.
    SELECT carrid connid FROM spfli INTO TABLE itab.
    OPEN DATASET w_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT. "Opening a file in Application
                                                            " Server to write data
    LOOP AT itab INTO fs.
      TRANSFER fs TO w_file. "" Writing the data into the Application server file
    ENDLOOP.
    CLOSE DATASET w_file.
    OPEN DATASET w_file FOR INPUT IN TEXT MODE ENCODING DEFAULT. "Opening a file in Application
                                                          " server to read data
    FREE itab.
    DO.
      READ DATASET w_file INTO fs.
      IF sy-subrc EQ 0.
        APPEND fs TO itab.
        OPEN DATASET w_file2 FOR APPENDING IN TEXT MODE ENCODING DEFAULT. "Appending more data to the file in the
                                                           " application server
        TRANSFER fs TO w_file2.
        CLOSE DATASET w_file2.
      ELSE.
        EXIT.
      ENDIF.
    ENDDO.
    Regards
    Sarves

  • How to read data from an internal table into a real table?

    Hello experts,
    I'm relatively new to ABAP and I'm trying to figure out how to read data from an internal table into a table that I created.  I'm trying to use the RRW3_GET_QUERY_VIEW_DATA function module to read data from a multiprovider.  I'm trying to read data from the e_cell_data and e_axis_data tables into a table that I've already created.  Please see code below.
    TABLES MULTITAB.
    DATA:
      query_name TYPE RSZCOMPID,
      s_cubename TYPE RSINFOPROV,
      t_cell_data TYPE RRWS_T_CELL,
      t_axis_data TYPE RRWS_THX_AXIS_DATA,
      t_axis_info TYPE RRWS_THX_AXIS_INFO,
      wa_t_cell_data like line of t_cell_data,
      wa_t_axis_data like line of t_axis_data,
      w_corp_tab like line of t_cell_data.
    s_cubename = 'CORP_MPO1'.
    query_name = 'Z_corp_test'.
        CALL FUNCTION 'RRW3_GET_QUERY_VIEW_DATA'
           EXPORTING
             i_infoprovider           = s_cubename
             i_query                  = query_name
            i_t_parameter            = query_string_tab
           IMPORTING
             e_cell_data              = t_cell_data
             e_axis_data              = t_axis_data
             e_axis_info              = t_axis_info.
    If anyone has any information to help me, I would greatly appreciate it.  Thanks.

    Hi,
    <li>Once you call the function module RRW3_GET_QUERY_VIEW_DATA, lets say data is available in the corresponding tables e_cell_data e_axis_data which you have mentioned.
    <li>Modify your internal table defined for other purpose, with data from e_cell_data e_axis_data like below.
    LOOP AT t_cell_data INTO wa_t_cell_data.
      "Get the required data from t_cell_data.
      MOVE-CORRESPONDING wa_t_cell_data TO it_ur_tab.
      "Modify your internal table wih data
      MODIFY it_ur_tab TRANSPORTING <field1> <field2> <field3>.
    ENDLOOP.
    LOOP AT t_axis_data INTO wa_t_axis_data.
      "Get the required data from t_cell_data.
      MOVE-CORRESPONDING wa_t_axis_data TO it_ur_tab.
      "Modify your internal table wih data
      MODIFY it_ur_tab TRANSPORTING <field1> <field2> <field3>.
    ENDLOOP.
    Thanks
    Venkat.O

  • Read data from STATIC internal table during round trip in DO_PREPARE_OUTPUT

    Dear Gurus
    I have a requirement where I need to select some data from the database table BUT_HIER_NODE_D.
    After SELECTING this data to an internal table (say ITAB), I am displaying this data in a table view. I was able to achive this functionality by putting some code in the DO_PREPARE_OUTPUT method.
    Now according to my requirement, after the above data has been displayed on the screen initially, the user will click on any row. After clicking on a particular row, I need to capture the document number on that particular row and need to display all its child document numbers in a separate table. I am able to achive this functionality also.
    Initially I am not sure of how to READ the same internal table (ITAB) again and again by avoiding the SELECT query upon each round trip (between CRM and Web).
    After some research, I understand that I might have to use STATIC internal table to store the data during the
    initial SELECT. This way, upon each round trip, I can READ the data from the same internal table.
    My question: But now, when I tried to create a STATIC internal table in DO_PREPARE_OUTPUT, it is not allowing me to declare this table because DO_PREPARE_OUTPUT method is a INSTANCE method.
    I didn't find any STATIC methods in the IMPL class of the view.
    I would really appreciate if somebody can help me on how to proceed further.
    Thanks
    Raj

    Hi Bharathy / Adil / Masood
    Thank you very much for the replies. I declared a static method inside the IMPL class and I was calling this method inside the DO_PREPARE_OUTPUT method. Looks like it is working fine for me...will comeback if I had any further issues.
    Masood
    As per my requirement, I need to Select the data into the internal table during the very first step, then I need to continuosly read the data from this internal table upon every round trip. So I am not sure if I would be able to use the method DO_INIT_CONTEXT. Because I need a method which will trigger upon each round trip and will also hold the data of this internal table. So right now, the only option for me is DO_PREPARE_OUTPUT method.
    Plz let me know if am doing in the right way.
    Thanks
    Raj

  • How to read data from cell of table indicator?

    In my application, I've filled the table indicator with data from  database. Now I want, when I click on any particular row, I should be able to read data from that row.
    Thanks & Regards,
    Shrinivas
    Solved!
    Go to Solution.

    Hi Shrinivas,
    you can use "Selection Start" property node in a click-event to fnd out the row index of selected cell and retrieve the appropriate row from it.
    Message Edited by My NI on 08-05-2009 09:04 AM
    Regards
    MY
    Attachments:
    Example.vi ‏10 KB

  • Problem reading data from nested internal table.

    Hi,
    Below is my code;
    *********SAP Code********
    TYPES: BEGIN OF v54a0_scdd,
             fknum  LIKE vfkk-fknum,
             change LIKE vfkkd-updkz,
             x      TYPE v54a0_scd,
             y      TYPE v54a0_scd,
             tvtf   LIKE tvtf,
           END OF v54a0_scdd.
    SCD table for dialog
    TYPES: v54a0_scdd_tab TYPE v54a0_scdd OCCURS 1.
    *********SAP Code********
    *Custom declaration*****
    data: wa_freight_costs type v54a0_scdd_tab.
    data: it_freight_costs type v54a0_scdd_tab occurs 0.
    *****Here data is getting appended to it_freight_costs. P_frieght_costs is coming from standard program.
         move p_freight_costs TO wa_FREIGHT_COSTS.
         append wa_freight_costs to it_freight_costs.
         clear wa_freight_costs.
    ***Now the problem is here. I am not able to read the data from the nested internal table x-item.
    if i use <fs_f_costs> to move data from it_freight_costs in the outer loop, i get a syntax error; <i> "the line type of the table it_freight_costs is not compatible with field symbol type <fs_f_costs>" </i>
         FIELD-SYMBOLS: <fs_f_costs> type line of v54a0_scdd_tab.
          LOOP AT it_freight_costs assigning <fs_f_costs>.
              LOOP AT <fs_f_costs>-x-item ASSIGNING <fs_freight_item>.        
                  <b> I want to read <fs_freight_item>-vfkp-netwr.</b> 
             ENDLOOP.
    Can anyone guide me?

    A quick look at how I would do this. Note I haven't checked if this compiles just done a quick brain-dump.
      DATA: lr_f_costs TYPE REF TO v54a0_scdd_tab,
            lr_f_cost TYPE REF TO v54a0_scdd.
      LOOP AT it_freight_costs REFERENCE INTO lr_f_costs.
        LOOP AT lr_f_costs->* REFERENCE INTO lr_f_cost.
        ENDLOOP.
      ENDLOOP.
    As you can see I personally prefer pointers to field symbols - I don't believe there is any performance differences and because of my background in other languages pointers make more sense to me.
    Cheers
    Graham Robbo

  • Reading data from a BW Table

    Hi All,
    I have a DB Table in BW. I have to read that tables data from R/3 in a program. Both the R/3 and Bw are connected through RFC. Is there any way to do this?
    Thanks,
    RPK.

    Hi Poorna/All,
    I have created a function group in BW and also created a function module in it which picks the data from the table and stores in an internal table(output table). I have made this FM as RFC Enable(Just selected the 'Remote-Enabled Module' instead of 'Normal Function module', please let me know if I have to do something else to make it RFC enabled). I have tested it and it is picking up all the required data.
    Now, I need help in the process to be followed at R/3 side. Could you please help me in this.
    Thanks,
    RPk.

  • WDABAP - How to read data from filtered ALV table

    HI
    In Web Dynpro for ABAP.
    I have a view with an ALV table on it.
    I would like to know how to read the data that's been filtered in the ALV table?
    Regards

    I've managed to find out that during runtime the following code returns a reference to a class pool:
    data: lr_salv_wd_table TYPE REF TO iwci_salv_wd_table.
    lr_salv_wd_table = wd_This->wd_cpIfc_ALV_GRAPHICS_DATA( )
    Two of the attributes of this class pool are:
              <b>IG_COMPONENTCONTROLLER~R_COMPONENT =    </b>                                       
    <b>          IF_COMPONENTCONTROLLER~R_COMPONENT =    </b>
    The attributes, IG_COMPONENTCONTROLLERR_COMPONENT and IF_COMPONENTCONTROLLERR_COMPONENT references a class CL_SALV_WD_C_TABLE. This class has an attribute R_RESULT_DATA which references a class CL_SALV_WD_RESULT_DATA_TABLE. The attribute T_RESULT_DATA contains the filtered data.
    Now I need to find out how I can access these attributes in the view.
    Regards

  • Decoding BLOB data from Adapter engine Java Stack

    Hi,
    I am able to gain access to Java stack schema.
    I am pulling out AUDIT_DATA field from BC_MSG_AUDIT.
    This is a BLOB format data piece.
    Is this Data stored in any specific encoding? or a normal UTF-8 string conversion will work?
    Cheers,
    Earlence

    I've faced with same problem. What is the serialization scheme for AUDIT_DATA?

  • How to read the data from a sorted table

    Hi all,
    How to read data from the sorted tables. Please provide some examples.
    Thanks and regards,
    Lisa

    You can read like this :
    DATA: BEGIN OF LINE,
    COL1 TYPE I,
    COL2 TYPE I,
    END OF LINE.
    DATA ITAB LIKE SORTED TABLE OF LINE WITH UNIQUE KEY COL1.
    DO 4 TIMES.
      LINE-COL1 = SY-INDEX.
      LINE-COL2 = SY-INDEX ** 2.
    INSERT LINE INTO TABLE ITAB.
    ENDDO.
    CLEAR LINE.
    READ TABLE ITAB WITH TABLE KEY COL1 = 3
                    INTO LINE TRANSPORTING COL2.
    WRITE:   'SY-SUBRC =', SY-SUBRC,
           / 'SY-TABIX =', SY-TABIX.
    SKIP.
    WRITE: / LINE-COL1, LINE-COL2.

  • Read data from E$ table and insert into staging table

    Hi all,
    I am a new to ODI. I want your help in understanding how to read data from an "E$" table and insert into a staging table.
    Scenario:
    Two columns in a flat file, employee id and employee name, needs to be loaded into a datastore EMP+. A check constraint is added to allow data with employee names in upper case only to be loaded into the datastore. Check control is set to flow and static. Right click on the datastore, select control and then check. The rows that have violated the check constraint are kept in E$_EMP+ table.
    Problem:
    Issue is that I want to read the data from the E$_EMP+ table and transform the employee name into uppercase and move the corrected data from E$_EMP+ into EMP+. Please advise me on how to automatically handle "soft" exceptions in ODI.
    Thank you

    Hi Himanshu,
    I have tried the approach you suggested already. That works. However, the scenario I described was very basic. Based on the error logged into the E$_EMP table, I will have to design the interface to apply more business logic before the data is actually merged into the target table.
    Before the business logic is applied, I need to read each row from the E$EMP table first and I do not know how to read from E$EMP table.

  • Problem reading data from two tables

    Hi experts,
    I'm developing a JDBC - IDOC scenario that needs to read data from two oracle tables. I have created a BPM that has a initial fork for the two channels and it works fine.
    The problem is that I need to read data from the first, two or both tables depending if there is data to read. If there is data in the two tables it works, but if only there is data in one of the two tables, I have read problems. I have tryed to set the 'neccesary branches' to 1 but this is a problem when I have data in both tables.
    Any idea?
    Best Regards,
    Alfredo Lagunar.

    Hi,
    have your fork step inside a block and then right-click your block to insert a deadline branch to your BPM process and specify the time after which your BPM process should be cancelled.....so if in that time, you get data from both tables, your BPM will work okay otherwise if that time is over, then your BPM process will be cancelled.
    Regards,
    Rajeev Gupta

  • Read data from 2 tables.

    Hello everyone,
    I created a SQL database in phpMyAdmin. It contains 2 tables.
    'Woninginformatie' and 'Makelaars'.
    I use the next SQL query in my PHP file to read from the
    database:
    SELECT DISTINCT * FROM Woninginformatie
    INNER JOIN Makelaars ON Woninginformatie.ID_mk =
    Makelaars.ID_mk
    WHERE Huiscode = $huiscode"
    The query works correct and I get all the fields from both
    tables. Anyway, in Flash I can only read out the information in the
    table 'Woninginformatie'.
    I use these kind of codes to read from the database:
    eigendomssituatie =
    gegevens.childNodes[0].childNodes[24].firstChild.nodeValue;
    How can I also read data from the second table?

    you can't read data from the 2nd table because because you
    have a table issue, php issue or you can read data from the table
    but are having trouble getting those data into flash? are you using
    echo to return data to flash?

  • How to relate data of tables returned by FM for reading data from ST03N

    Hello,
    I am using the FM SWNC_COLLECTOR_GET_AGGREGATES to retrieve data displayed in T-Code ST03N into my report.
    I am able to get the required data in different tables like Times, Memory, Usertcode, Userworkload, Hitlist_database.
    However I am unable to undertand how to relate the data of these different tables, prepare another internal table with only the fields that are required for my report and then display those details.
    Like, I want to loop through one of these internal tables, read data from other internal tables and consolidate my required data. But I am unable to understand based on what criteria I can read other internal tables inside a loop of any one of the above said internal tables.
    I searched a lot and found many threads and blogs related to ST03N and learnt a lot about this T-code. But I could not find how to relate the data of all these tables.
    Request you to please help.
    Thanks and Best Regards,
    Eswar

    Hi,
    I see the common fields like TaskType, EntryId. But, I want to make sure that these are the fields that are enough to read the records or is there any other way that I can be sure that I am getting the correct record in my read statement. So my question is specific to the tables returned from the FM SWNC_COLLECTOR_GET_AGGREGATES and not a generic one.
    Thank you for your help.
    Best Regards,
    Eswar.
    Edited by: eswar praveen on Aug 20, 2010 12:19 PM

Maybe you are looking for

  • When I try to launch my downloaded apps, nothing happen.  What can I do to fix this?

    When I try to launch my download apps, nothing happen.  It uses to work before.  What can I do to fix this?

  • Managing gif colors

    I would like to know if is possible to manage all the gif colors and alterate them. Example: I have a road crossing with the light blinking but is only one image. In the light I have the color (255,254,254). I would be able to change that color to ot

  • Major problems with dropped frames while trying to capture

    Are there any settings where you can change the sensitivity of FCP HD or any settings that I am not aware of? Trying to capture from DigiBeta through a Sony J30 SDI, the whole thing wount go for a minute without intruption and dropped frames. I have

  • Auditing in XI

    Hi experts, Is there any way of carrying out the auditing side in xi. to get any report on the number of messages that went through , the mumber of messages that was posted successfully and the mumber of one's that failed. i know that we can view thi

  • January Upgrade backup question

    Hi, I have bought the January Upgrade and want to do a backup. I have located the file "iPod Touch App Pack 4A93.ipa" in the Mobile Applications folder (Win XP), but ONLY has a size of 9,49KB. Can someone confirm this? (It seems to be too small) Than