RELATIONAL DATABASE TABLES IN SAP BW

hi
friends please give me the information regarding the RELATIONAL DATABASE TABLES IN SAP BW?

Hi,
See the tables.
InfoObjects Table:
RSDIOBJ Directory of all InfoObjects
RSDIOBJT Texts of InfoObjects
InfoCube Tables:
RSDCUBE Directory of InfoCubes
RSDCUBET Texts on InfoCubes
DSO Tables:
RSDODSO Directory of all ODS Objects
RSDODSOT Texts of all ODS Objects
PSA Table:
RSTSODS Directory of all PSA Tables
For reports:
RSRREPDIR
Thanks & Regards,
Sathish

Similar Messages

  • HI,Can anybody pls explain me, while extracting database table from sap-r/3

    HI,Can anybody pls explain me, while extracting database table from sap-r/3 to sap-bw using GENERIC DATA SOURCE it will ask us Name of the APPLICATION COMPONENT what does it means?

    Application Component is a collcetion of tightly coupled S/W component. You can think of it is like folder, where all the related S/W will be put in. Like MM will have all the DS related to MM.
    Thanks..
    Shambhu

  • Extracting Values of a Field from a Database Table in SAP ECC System

    Hi,
    I downloaded Extracting Values of a Field from a Database Table in SAP ECC System Using MII 12.0
    senario from sdn. I'm trying to do that senario in MII 12.05. But I have problem with section 6 in page 7 (you can supply senario from sdn)
    "6- Under the loop of Repeater, use action u2018Rowu2019 to append just the string part of the WA which will display only values for field u2018Batchu2019"
    I did not find WA elemen in Output element of Repeater_0
    How can I create WA element?
    Thanks.

    Cemil,
    Set up a SAP JCo Interface action block.  Use the RFC name RFC_READ_TABLE.
    In the link editor map the table to "MARA", set RowCount to something small (20 is good sample size) and create an xml transaction property named FIELDS and copy the following into it:
    <?xml version="1.0" encoding="UTF-8"?><FIELDS>
          <item>
            <FIELDNAME>MATNR</FIELDNAME>
            <OFFSET/>
            <LENGTH/>
            <TYPE/>
            <FIELDTEXT/>
          </item>
          <item>
            <FIELDNAME>MTART</FIELDNAME>
            <OFFSET/>
            <LENGTH/>
            <TYPE/>
            <FIELDTEXT/>
          </item>
          <item>
            <FIELDNAME>BSTME</FIELDNAME>
            <OFFSET/>
            <LENGTH/>
            <TYPE/>
            <FIELDTEXT/>
          </item>
          <item>
            <FIELDNAME>XCHPF</FIELDNAME>
            <OFFSET/>
            <LENGTH/>
            <TYPE/>
            <FIELDTEXT/>
          </item>
          <item>
            <FIELDNAME>DATAB</FIELDNAME>
            <OFFSET/>
            <LENGTH/>
            <TYPE/>
            <FIELDTEXT/>
          </item>
        </FIELDS>
    Then link the Transaction.FIELDS to SAP_JCo_Interface_0.Request{/RFC_READ_TABLE/TABLES/FIELDS}.  You may run into problems with two other fields and optionally they can be removed (set link type to remove xml).  I usually remove them initially for testing.  The two fields are:
    SAP_JCo_Interface_0.Request{/RFC_READ_TABLE/INPUT/NO_DATA}
    SAP_JCo_Interface_0.Request{/RFC_READ_TABLE/INPUT/DELIMITER} (or you can set this to something like a semicolon,";" or tilda,"~".  I find it easier to caclulate position by length, but that is my own idiosyncrasy.)
    Once you get this one working, we can explore how to do filtering on the dataset.  Your output should be something like this:
    <?xml version="1.0" encoding="utf-8"?>
    <RFC_READ_TABLE>
      <INPUT>
        <DELIMITER />
        <NO_DATA />
        <QUERY_TABLE>MARA</QUERY_TABLE>
        <ROWCOUNT>20</ROWCOUNT>
        <ROWSKIPS>0</ROWSKIPS>
      </INPUT>
      <TABLES>
        <DATA>
          <item>
            <WA>000000000000000023ROH 00000000</WA>
          </item>
          <item>
            <WA>000000000000000038HALB 00000000</WA>
          </item>
          <item>
            <WA>000000000000000043HAWA 00000000</WA>
          </item>
          <item>
            <WA>000000000000000058HIBE 00000000</WA>
          </item>
          <item>
            <WA>000000000000000059HIBE 00000000</WA>
          </item>
          <item>
            <WA>000000000000000068FHMI 00000000</WA>
          </item>
          <item>
            <WA>000000000000000078DIEN 00000000</WA>
          </item>
          <item>
            <WA>000000000000000088FERT 00000000</WA>
          </item>
          <item>
            <WA>000000000000000089FERT 00000000</WA>
          </item>
          <item>
            <WA>000000000000000098HALB 00000000</WA>
          </item>
          <item>
            <WA>000000000000000170NLAG 00000000</WA>
          </item>
          <item>
            <WA>000000000000000178NLAG 00000000</WA>
          </item>
          <item>
            <WA>000000000000000188NLAG 00000000</WA>
          </item>
          <item>
            <WA>000000000000000288HALB 00000000</WA>
          </item>
          <item>
            <WA>000000000000000358HAWA 00000000</WA>
          </item>
          <item>
            <WA>000000000000000359HAWA 00000000</WA>
          </item>
          <item>
            <WA>000000000000000521HAWA 00000000</WA>
          </item>
          <item>
            <WA>000000000000000578FERT 00000000</WA>
          </item>
          <item>
            <WA>000000000000000597HAWA 00000000</WA>
          </item>
          <item>
            <WA>000000000000000598VERP 00000000</WA>
          </item>
        </DATA>
        <FIELDS>
          <item>
            <FIELDNAME>MATNR</FIELDNAME>
            <OFFSET>000000</OFFSET>
            <LENGTH>000018</LENGTH>
            <TYPE>C</TYPE>
            <FIELDTEXT>Material Number</FIELDTEXT>
          </item>
          <item>
            <FIELDNAME>MTART</FIELDNAME>
            <OFFSET>000018</OFFSET>
            <LENGTH>000004</LENGTH>
            <TYPE>C</TYPE>
            <FIELDTEXT>Material Type</FIELDTEXT>
          </item>
          <item>
            <FIELDNAME>BSTME</FIELDNAME>
            <OFFSET>000022</OFFSET>
            <LENGTH>000003</LENGTH>
            <TYPE>C</TYPE>
            <FIELDTEXT>Purchase Order Unit of Measure</FIELDTEXT>
          </item>
          <item>
            <FIELDNAME>XCHPF</FIELDNAME>
            <OFFSET>000025</OFFSET>
            <LENGTH>000001</LENGTH>
            <TYPE>C</TYPE>
            <FIELDTEXT>Batch management requirement indicator</FIELDTEXT>
          </item>
          <item>
            <FIELDNAME>DATAB</FIELDNAME>
            <OFFSET>000026</OFFSET>
            <LENGTH>000008</LENGTH>
            <TYPE>D</TYPE>
            <FIELDTEXT>Valid-From Date</FIELDTEXT>
          </item>
        </FIELDS>
        <OPTIONS />
      </TABLES>
    </RFC_READ_TABLE>
    Add a repeater sourced on:
    SAP_JCo_Interface_0.Response{/RFC_READ_TABLE/TABLES/DATA/item}
    Link your repeater output to a tracer with this:
    Repeater_0.Output{/item/WA}
    What you will see in each tracer message is a single line of data with all the fields contents concatenated together.  You can look up what each field in the string represents by the length of the field as returned in the Response segment of the RFC_READ_TABLE rfc.  Then you can parse out the data you are interested in.
    Give this a try and let me know how you succeeded.
    By the way, I could not find the scenario you referred to.  Can you post a link?
    Regards,
    Mike
    Edited by: Michael Appleby on Jan 12, 2009 5:16 PM

  • HOWTO Transfer Oracle Database Tables to SAP

    hi
    I need to import some Oracle Database Tables to the SAP Dictionary, i was wondering that id there is a short way to do this. If there is a progrm to be written then could any one send me the code.
    And if there is another way then plz  do guide me.
    Thanx in Advance.
    Zahid

    Dear vasmi VaraPrasad!
    I am grateful for ur time. I perfectly understand the logic you told me.
    Now let me tell you what i have done so for in this regard by doing some googling and with the help of my respected teacher.
    I made a connection entry in the DBCON table and specify all required things
    like
         NAME      =  MYCONNECTION
         DBMS      =  ORA
         USER      =  SABRO <my db user>
         PASSword  =  *********/********* <my db password>
         INFO      =  FIRS <TNS Name to my db>
    afte that i tried the following code.
    ===========================================
    REPORT Z_DB_1 .
    *Declaration
    DATA: WA TYPE <SAP_TABLE>.
    Init connection
    EXEC sql.
    connect to 'MYCONNECTION' as 'MYDB'
    ENDEXEC.
    Open connection
    EXEC sql.
    SET CONNECTION 'MYDB'
    ENDEXEC.
    Do your trick
    EXEC sql PERFORMING your_form.
    SELECT * INTO :WA FROM <DB_TABLE>.
    ENDEXEC.
    Stop connection
    EXEC sql.
    disconnect 'MYDB'
    ENDEXEC.
    FORM your_form.
    WRITE: / wa-deptno, wa-dname, wa-loc.
    ENDFORM.
    ======================================================
    now when i run this program it terminates with a runtime error that is:
    "An error occured while setting up a connection to MYCONNECTION".
    This  seems that there is some problem with the connection i don't know how to figure out what is wrong with this connection.
    I think the problem is that SAP does not know the TNSNAMES file, or there might be some environment variables to be set so that SAP recognize or read that TNS NAME "FIRST".
    Regards
    Zahid Kareem.

  • Help creating a relational database table

    Hi,
    I need help creating a relational database data. I am suppose to enter the following information in the workstation:
    CREATE TABLE patient (
    MedRecNo number (4),
    LName varchar2 (15),
    FNAME varchar2 (15),
    MInitial varchar2 (1),
    BDate date,
    Sex varchar2 (1));
    3. Query (using the syntax below) the database to ensure that you have created the table:
    SELECT TABLE_NAME FROM USER_TABLES;
    I entered the information in the workstation but I have no idea what to do with this command-------->SELECT TABLE_NAME FROM USER_TABLES;
    Pleaaaassssse help me.
    Thanks in advance,
    Tanya

    Thanks for responding so quickly. I'm sorry if I said
    it wrong, this is completely new to me. This is what
    I am suppose to do:
    Directions:
    1. Login to the DVOLUSER (select this from the
    Connection Identifier drop down window) Oracle
    instance using the username and password provided to
    you.
    2. Use the following SQL syntax to create the patient
    table in the database:
    CREATE TABLE patient (
    MedRecNo number (4),
    LName varchar2 (15),
    FNAME varchar2 (15),
    MInitial varchar2 (1),
    BDate date,
    Sex varchar2 (1));
    3. Query (using the syntax below) the database to
    ensure that you have created the table:
    SELECT TABLE_NAME FROM USER_TABLES;ETA: I also do not know how to enter this into the data base. I mean I enter the following information into the database and then I click execute but once I do that, what do I do with the SELECT TABLE_NAME FROM USER_TABLES;

  • Load XML data from UNIX Server Directly into Relational Database Tables

    Is there a way I can load data from an XML File into Oracle Tables , without having the Input XML file in some Oracle Server Directory. My XML File resides on UNIX Application server. And I need to directly load the data into Database tables. Without loading them into the Database Directory.
    Also I am looking for a solution that would not load my Database much and effect other running processes. Can it be done using SQL Loader ?
    Oracle Database Version is : Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production

    Thanks for your reply ,
    Please would you quote an Example about : 'Load the file into that table using SQL*Loader'  (From UNIX Server) Or instance of some existing thread that relates to my situation.
    The Size of the File would be about 3 GB. For a similar requirement one of my peers Code which used XMLTABLE and XPATH Approach consumed a lot of resources while running and caused the other Database Applications to slow down. Thus those guys have come up with an approach to :
            Parse XML using a C Code using some STRING Functions =>  For a CSV or Fixed width .dat file and then use SQL Loader to just load the file into Tables.
            This approach is efficient in terms of Resources and Time(Takes 5 mins). But I am not confident about parsing XML based on String based C Functions.
             Please comment about this approach . Also if possible Suggest the best efficient way of doing this.

  • MM related database table list

    What database tables are used by an ABAPer for the second phase of MM workflow called "Source List : ME41"?

    Hi
    Check
    EORD  table
    Vishal...

  • Transport and Program Relation Database table

    Hello,
    From which database table we can find program and its active transport request details?
    I need to check all Z programs requests from DEV to PRD.
    Thanks,
    Krishna.

    hi,
    you can see
    E070 -Header of Requests/Tasks
    E071- Object Entries of Requests/Tasks
    refer transactions SE01 and SE09 .
    thanks

  • Mapping XML data to relational database tables

    I'm writing an application that has two parts: the client part generates XML documents and sends them across the network to a server part, which parses the XML, maps the XML to various RDBMS tables and stores the data in the RDBMS.
    I've got everything working using SAX, but now any change I make to the XML schema and/or the RDBMS table structures in the future will mean some serious code changes.
    Has anyone worked with this scenario and developed a better method of handling this mapping? All the previous efforts in this area seem to be RDBMS to XML, which is of no use to me.
    If you had to do this this, how would you approach it? I'm using XML for ease of reading, as the client has code to allow for documents to be written to the disk if no connection to the server is available, and the server does the same if no database connection is available.
    Thanks in advance ...
    cheers,
    mark

    OK, to reply to my own posting for future reference, I've found an open source project called Osage at http://sourceforge.net that does what I need. I'm looking at it now and can't say if it's everything I want, but it seems likely to fit the bil.
    cheers,
    mark

  • Information related SMMAIN table in sap

    Hi Experts,
    Can anyone brife me about the table SMMAIN, its functionality in sap.
    I tried to findout many forums but didnt received any.
    Please guide....
    Thanks,
    Functional Consultant

    Good Afternoon,
    Is this table a module specific? how it works? application of this table?
    Can you please brief me out.
    Thanks in advance.....
    Regards,
    Functional Consultant

  • The relationships and links between the various SAP database tables

    Hi Gurus,
    I am trying to learn the relationships and links between the various SAP database tables (SAP FI-AA, SAP SD, SAP MM, SAP HR and so on) for correctly extracting data from them. Especially I am expressing an interest in the SAP database tables on SAP FI-AA, SAP SD, SAP MM, SAP HR. Could somebody provide me with documentations about the relationships and links between them. I will be very grateful if somebody can provide me with links.
    Thanks and regards
    Sergey

    hi Sergey,
    try
    http://www.erpgenie.com/abap/tables.htm
    http://www.erpgenie.com/abap/tables_fi.htm
    http://abap4.tripod.com/SAP_Tables.html
    http://abap4.tripod.com/Finance_Tables.html
    http://www.auditware.co.uk/SAP/Extras/SAPTables.pdf
    hope this helps.

  • How to copy the Data From Oracle Table To SAP Table

    Hi Friends,
    We need to copy the data from Oracle Database Table to SAP Table. The data should be updated simultaneously in both tables . Should I write a program that contains the native sql statement like EXEC SQL PERFORMING WRITE,....
    I appreciate any suggestions regarding this.
    Regards
    CSM Reddy

    Hi,
    since you posted this question in the DB2 forum I assume that you are using a DB2 database for your SAP system.
    To access a table from a legacy ORACLE database you may use the DBSL multiconnect feature. I.e. you open a secondary connecction in the SAP system to your ORALE database. You can then ready the data from the ORACLE database into an ABAP internal table and insert it afterwards into the DB2 table on the main connection.
    Another way to access an ORACLE table from a DB2 database is to use the DB2 federated database feature. This requires a little bit more DB2 skill. With this feature you can make the ORACLE table visible within the DB2 database. To copy data you can then simply use a "INSERT ... SELECT" statement. 
    Regards
             Frank

  • File-to-rfc ..database tables are not updating??

    hi xi friends..
    in my file -to-rfc scenario.. without BPM ..
    in sxmb_moni..it is showing successfull.. database tables in sap not updating..
    my source structure..
    workorders 1..1
    ..order 1..unbounded
    ...id
    ...operation 1..unbounded
    .....id
    .....closingdate
    .....status
    .....comment
    my target is Zbapi_alm_conf_create..
    Zbapi_alm_conf_create
    ...Zdetail_return 1..1
    .....item 0..unbounded
    ...Ztimetickets
    .....item 0..unbounded
    .......orderid
    .......operation
    .......fin_conf
    .......con_text
    .......exec_fin_date
    in message mapping:
    MM_file_to_zrfc
    i changed the occurance of target to unbounded..
    message mapping like this..
    my source structure..
    workorders 1..1 
    ..order 1..unbounded   --------->Zrfc 0..unbouned
    ...id                  --------->Ztimetickets-item-order
    ...operation 1..unbounded ------>Ztimetickets-item 0..unbounded
    .....id                ---------->Ztimeticktes-item-operation
    .....closingdate       ----------->Ztimeticktes-item-exec_fin_date
    .....status            ----------->Ztimetickets-item-fin_conf
    .....comment           ------------>Ztimeticktes-item-conf_text
    and also in  interfacemapping ,changed the target occurance to unbounded.
    and in ID ,interface determination using enhanced i selected interface mapping with occurance unbounded..
    in sxmb_moni it is showing success..
    in adapter monetering( receiver).
    <i>Receiver channel 'cc_sap_work' for party '', service 'SAP_ERP__DEV' (internal name 'RfcClient[cc_sap_work]')
    Client data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=400, jco.client.passwd=****, jco.webas.ignore_jdsr_error=1, jco.client.user=aar, jco.client.sysnr=10, jco.client.ashost=53.247.192.84}
    Repository data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=400, jco.client.passwd=****, jco.webas.ignore_jdsr_error=1, jco.client.user=thotv, jco.client.sysnr=10, jco.client.ashost=53.247.192.84}
    Current pool size: 0, maximum pool size : 1
    Channel History
    - OK: 2006-12-31 14:19:47 CET: Message processed for interface ZBAPI_ALM_CONF_CREATE
    - OK: 2006-12-31 14:18:50 CET: Message processed for interface ZBAPI_ALM_CONF_CREATE</i>
    but the database tables are not updating..if i execute ZBAPI_ALM_CONF_CREATE manually in SAP ..tables are updating...
    please guide me...
    thanks in advance...
    regards
    Ram

    Hi..
    my mappis is like this..
    message                   message
    .message1                         message1       
    ..workorders 1..1 
    ..order 1..unbounded   -
    >Zrfc 0..unbouned
    ...id                  -
    >Ztimetickets-item-order
    ...operation 1..unbounded -
    >Ztimetickets-item 0..unbounded
    .....id                -
    >Ztimeticktes-item-operation
    .....closingdate       -
    >Ztimeticktes-item-exec_fin_date
    .....status            -
    >Ztimetickets-item-fin_conf
    .....comment           -
    >Ztimeticktes-item-conf_text
    i didnt mapped message at root..is this necessary to mapp messages??
    please tell me
    regards
    ram

  • Populating 2dimentional array from database table

    Hi,
    I have created two dimentional array
    TYPE type_DIR IS TABLE OF site_direction.site_direction_id%TYPE INDEX BY    BINARY_INTEGER;
    TYPE type_DIR_LAN IS TABLE OF type_DIR INDEX BY BINARY_INTEGER;
    var_DIR_LAN type_DIR_LAN;I have to populate data into this from a relational database tables "site_direction" and "site_lanes".
    I'm using cursors like below.
      CURSOR lane_numbers(c_site_id NUMBER, c_direction_id NUMBER) IS
           SELECT site_lane_id
          FROM site_lanes
             JOIN report_parameters
               ON site_lane_id = report_parameter_value
            WHERE site_lanes.site_id           = c_site_id
              AND site_lanes.site_direction_id = c_direction_id
              AND report_parameters.report_parameter_id  = in_report_parameter_id
              AND report_parameters.report_parameter_group = 'LANE'
           AND report_parameters.report_parameter_name  = 'LANE'
      ORDER BY site_lane_id;
         CURSOR direction_id(c_site_id NUMBER) IS
         SELECT site_direction_id
           FROM site_direction
           JOIN sites
             ON site_direction.site_id = c_site_id
           JOIN report_parameters
             ON site_direction.site_id = report_parameter_value
          WHERE report_parameters.report_parameter_id  = in_report_parameter_id
               AND report_parameters.report_parameter_group = 'SITE'
            AND report_parameters.report_parameter_name  = 'SITE_ID'
       ORDER BY site_direction_id;  How could I do that?
    Once I got populated two dimentional array with value, how could I return that values?
    Do I need one more 2 dimentional array to return or could I use sys_refcursor?
    Thanks.

    Return the values to what? Using what version of what software?
    Ideally you are using those cursors, though I can't imagine why they are necessary, to BULK COLLECT into the array. If so then just pass the array as a parameter.
    If passing back to an external program like JAVA or .NET then a REF CURSOR would be appropriate.

  • Loading standard R/3 Hierarchy in BO Database Table using Data Services

    Hello,
    i'm trying to load Cost Center Hierarchy from R/3 to BO database table using SAP BO Dataservices 4.0
    i have replicated the Data Flow and Abap Data Flow explained in SAP documentatio (SAP BusinessObjects Data Services 4-0 SP1 Supplement for SAP) and http://wiki.sdn.sap.com/wiki/display/BOBJ/ReadingR3Hierarchies
    but it doesn't work
    i get errors like:
    [Merge:Merge]
    Length <64> for Tran Merge input ABAP_DF_Hierarchy_Leaf_Values column <PARENT_DESC> does not match the length <30> of Tran Merge input ABAP_DF_Hierarchy_Extraction column <PARENT_ID>. The matching columns of Merge transform must have the same data type length. (BODI-1111062)
    [Merge:Merge]
    Length <30> for Tran Merge input ABAP_DF_Hierarchy_Extraction column <PARENT_ID> does not match the length <64> of Transform Merge output column <PARENT_DESC>. The matching columns of Merge transform must have the same data type length. (BODI-1111062)
    thanks for your support
    Bilal

    It appears that the structures of the two Data Transports going into the Merge Transform don't have the columns in the same order. One of the Data Transports has PARENT_DESC listed before PARENT_ID and the other Data Transport has PARENT_ID before PARENT_DESC.
    Basically, you need to change the order of the columns in one of the Data Transports so that it structurally matches the other Data Transport that it's being merged (UNIONed) with.

Maybe you are looking for