Display data in r/3 set up tables

how to display data in r/3 set up tables

Hi,
You have different TCodes in R/3 to fill up the setup tables for different areas. Like for Inventory for intializing the opening balance we use MCNB and for Movements we use 0LI1BW and for Revaluations you need to use OLIZBW. You have to follow a set of instructions while filling up the setup tables like there should be no postings going on while you are filling up the setup tables etc...
Once you fillup the setup tables, then if you go to RSA3 and enter the data source name, you will be able to see the data for it. Unless you sill the setup tables, your data source wont give you any data. You can search for How to... documents which will be useful to you in understanding the concept.
Hope it helps...

Similar Messages

  • Display Data from multiple models in one table

    Hi Experts,
    Is it possible to display data from multiple models in one table smltnsly.
    I have created a table dynamically.Now I would like to display data from multiple models... If this possible,can anyone give me a lead as to how to do it..
    Regards
    SU

    Hi
    Your Model Nodes be
    Model1
    ---Output_Model1
    Attrib1
    Attrib2
    Model2
    ---Output_model2
    Attrib1
    Attrib2
    and the value node is
    ValueNode
    ---Attrib1
    ---Attrib2
    Now the coding.
    int size;
    IPrivate<ViewName>.IOutput_mode1Node  node1 = wdContext.nodeOuptut_Model1();
    IPrivate<ViewName>.IValueNodeElement elem;
    size = node1.size();
    for(int i=0; i<size; i++)
       elem = wdContext.createValueNodeElement();
       elem.setAttrib1( node1.getOutput_Model1ElementAt(i).getAttrib1() );
       elem.setAttrib2( node1.getOutput_Model1ElementAt(i).getAttrib2();
       wdContext.nodeValueNode().addElement( elem );
    similar code for Model Node 2
    Regards
    Abhimanyu L

  • Displaying data in a tree from database table

    Hi,
    I want to display data from a database table (mara-matnr) in a tree structure. I went through the coding of SBSPEXT_HTMLB. There static data was taken in to wa_tab. But there I want to bring data from a database table into wa_tab. For this I created an internal table without headerline by taking a work area, now how can I move data from this work area to wa_tab record by record.
    I hope some one might have worked on this. Plz help me....
    Thanks in advance,
    Ravindra.

    Hi,
    take a look at this <a href="/people/tomas.altman/blog/2004/12/13/sdn-blog-how-to-do-internal-tables-in-bsp which explains how internal tables work in ABAP OO.
    Furthermore I think you want to do this:
    insert <yourWorkarea> into table wa_tab.
    A complete mara example would be:
    data tab_mara type table of mara.
    data wa_mara type mara.
    select * from mara into table tab_mara.
    *or you can use:
    select * from mara into wa_mara.
       insert wa_mara into table tab_mara.
    endselect.
    regards
    Thomas

  • Extracting similar data from a dynamic set of tables

    I want to select common fields from an arbitrary set of tables, adding an extra field that is the table name, and return all of these rows in a single table. I know the steps but I am getting bogged down in the details (being new to Oracle):
    --Create a temporary table.
    --Generate a dynamic SQL statement to grab the data for each table of interest.
    --Execute that query and store the results in the temporary table.
    --Output the entire temporary table and delete it.
    Here is my latest attempt:
    ================
    Create global temporary table myTempTable
         Title varchar2(30),
         IdType number(8),
         Count number(8)
    ) on commit delete rows;
    declare
    sql_stmt VARCHAR2(200);
    tname VARCHAR2(30);
    begin
    for tname in (
    select distinct table_name from sys.ALL_TAB_COLS
              where owner='me' and table_name like '%ASSIGNS'
    loop
    sql_stmt :=
    'insert into myTempTable(Title, IdType, Count) ' ||
         'select '':1'', IdType, count(*) from me.:1 group by IdType';
    EXECUTE IMMEDIATE sql_stmt USING tname;
    end loop;
    select * from myTempTable;
    commit; -- to delete the temp table
    end;
    ================
    The error messages are:
    --expressions have to be of SQL types
    --an INTO clause is expected in this SELECT statement
    What am I missing here?

    (1) First of all I am executing the whole script in SQL*Plus, thats why I use SQL*Plus command like the SLASH Operator.
    <br>
    (2)
    SQL> VAR cur refcursor
    SQL> CREATE TABLE mytemptable AS SELECT ename table_name, deptno idtype, sal cnt FROM emp WHERE 1=0
    Table created.
    SQL> DECLARE
       sql_stmt   VARCHAR2 (200);
       tname      VARCHAR2 (30);
    BEGIN
       FOR tname IN (SELECT DISTINCT table_name
                                FROM SYS.all_tab_cols
                               WHERE owner = USER AND table_name LIKE '%EMP')
       LOOP
          sql_stmt :=
                'insert into myTempTable select '''
             || tname.table_name
             || ''' table_name, deptno IdType, count(*) cnt from '
             || tname.table_name
             || ' group by deptno';
          EXECUTE IMMEDIATE sql_stmt;
       END LOOP;
       OPEN :cur FOR
          SELECT *
            FROM mytemptable;
       EXECUTE IMMEDIATE 'drop table myTempTable';
    END;
    PL/SQL procedure successfully completed.
    SQL> PRINT :cur
    TABLE_NAME     IDTYPE        CNT
    EMP                10          3
    EMP                20          5
    EMP                30          6
    3 rows selected.Since we DROP the table at the end we don't need an explicit commit, since all DDL statement will implicitly commit anyway.

  • How to display data in detail block from a table.

    Dear members,
    i have 2 blocks. 1 is master block and another is detail block with multiple records.
    the requirement is when i navigate to the detail block the data from a table is displayed in it. using a where clause depend on the value in an item in the master block.
    i wrote the following code and tried in when-new-block-instance, when-new-record-instance, pre-block and post-block
    but...
    DECLARE
         CURSOR ITEM_CUR IS
         SELECT ITEM_ID, QTY_APPROVED
         FROM IN_REQUEST_FORM_DETAIL
         WHERE RF_MASTER_ID = :IN_MASTER_PO.RF_ID;
    BEGIN
         FOR ITEM_REC IN ITEM_CUR LOOP
              :IN_PO_DETAIL.ITEM_ID := ITEM_REC.ITEM_ID;
              :IN_PO_DETAIL.DIS_APPROVED_QTY := ITEM_REC.QTY_APPROVED;
              NEXT_RECORD;
              END LOOP;
    EXCEPTION
         WHEN NO_DATA_FOUND THEN
         MESSAGE ('THERE IS NO REQUESTS');
    END;

    thanks dear simon,
    i want to display the data from a table not included in this form. and these two tables are connected via a relation.
    i have the following tables.
    in_master_po
    PO_ID pk
    PO_DATE
    RF_DETAIL_ID fk (in_request_form_detail)
    in_po_detail
    DETAIL_PO_ID pk
    ITEM_ID fk
    PO_ID fk (in_master_po)
    QTY
    the above 2 tables are datablocks connected via relation
    the following is the from which i want to bring the data to display
    in_request_form_detail
    RF_DETAIL_ID pk
    ITEM_ID fk (items)
    QTY_REQ
    i tried my code on the sample tables with scott/tiger there it works good.
    thanks
    Muhammad Nadeem

  • Problem in displaying data onto Form after selecting from table.

    Hi there,
    I keep hitting this error when I tried to display the data after the selection from table. Using backing beans w data control to do it
    Err: java.lang.ClassCastException: java.util.Collections$SingletonList cannot be cast to java.lang.Integer
    Table used ArrayList to retrieve out the wanted data. E.g uses A object
    To display: selected data to retrieve the selected row to display as a read-only form layout below the table. E.g. need to get A.getName() to match with B object B.getName() then uses the B object to retrieve out the data.
    Anyone know how to do it?

    Hi
    use the follwing code
    int rowcount = wdContext.node<Name>().size();
    while(rs.next())
    IPrivate<ViewName>.I<Name>Element tabnode =wdContext.node<Name>().get<Name>ElementAt(i);
    tabnode.nodeAuthoriseNode().invalidate();
    tabnode.nodeAuthoriseNode().addElement(0,authele);
    tabnode.nodeAuthoriseNode().setLeadSelection(0);
    wend
    Regards
    Dhinakar

  • How to Display Data from Oracle E Business Suite tables in ADF

    Hi,
    I am new to ADF.
    I have a requirement to Create an ADF page for Search Results Screen.
    However the result data is from one of the Oracle E Business Suite Tables.
    ie I need to create a Screen where user will enter a Purchase Order Number and Click on Button.
    The Screen should show details from PO_HEADERS_ALL (from Oracle ERP Database Table) based on the entered PO Number.
    Is it possible to implement the same? Can some one guide me how to do it?
    Thanks,
    Kamath

    Hi,
    Is there a way where I can create a VO in ADF to which I can insert records dynamically from a source and the Source connects to E Business Suite tables and returns results ie BPEL etc.
    http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/bcadvvo.htm#sm0341
    Just replace the PLSQL example with your data source
    Can ADF invoke SOA which inturn connects to Oracle E Business Suite and fetches the data from Oracle tables and pass it back to ADF? Is it possible
    Yes. Just use a WS proxy client to access the SOA entry point (WSDL) and follow the link above
    Frank

  • How to display data in table region

    HI All,
    I have a requirement to display data from a VO to a table region after clicking the GO button please help me on this.
    Thanks
    Deb

    Hi Deb,
    In the controller's processFormRequest(), check for the GO button click, then execute the VO's query via vo.executeQuery().
    Something like:
    if(oapagecontext.getParameter("Go") != null)
    am.invokeMethod("initTableQuery");
    Regards,
    LC

  • How to display data in a table on the screen

    Dear members,
    I have to display data from the database in a table on my screen when the page loads.
    I have created the VO and the AM and made the mappings for the columns i want to display but the table on my screen is not fed when the page loads.
    I have created my "table" region with the columns to display but i don't know the code to implement in the processRequest of the AM and the VO to display thes results of the VO query when the page loads.
    Thanks in advance for your answers.

    Hi,
    In CO Process Req:
    import xxx.oracle.apps.pa.setup.server.ApplicationModuleAMImpl ;
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    ApplicationModuleAMImpl AM=(ApplicationModuleAMImpl )pageContext.getApplicationModule(webBean);
    AM.init();
    In AM:
    public void init()
    searchVOImpl Searchvo=getsearchVO1();
    Searchvo.executeQuery();
    Note:
    This is simple execute query.
    Regards
    Meher Irk

  • View of set up tables data in se11??????????

    Hi,
    can we view the data in se11 thru set up tables names? if so then how do we find set up tables names, say for example if i am using 2lis_13_VDHDR then how can i view the data apart from RSA3 after filling up of set up tables? is there any chance to view the data thru se11 and with the set up table name? and if so then how do we find set up tables name?

    Hi
    set up table names starts with 'MC' followed by application component '01'/'02' etc and then last digits of the datasource name and then followed by set up..
    we can say the <b>communication structure</b> (R/3 side,you can check it in LBWE also) name followed by 'setup'
    for your example below is the name of setup table
    MC13VD0HDRSETUP
    If you want to check data in set up tables you better look at the transaction NPRT here you can see the table name from which data is picking also
    Hope it helps
    Thanks
    Teja

  • Set up table?

    Hi,
    Can anybody explain me the concept of setup tables in LO extraction?
    I want each and every word abt setup tables.
    I will assign points.
    Thanks in advance,
    Ravi Alakuntla.

    hi ravi,
    The reason of using Set up table is that the SAP doesn't permit the extraction structure tables to access the database tables directly like.Rather than getting the data directly from the source tables (EKPO, MARC, VBRP, VBRK ), the data is stored in Set up tables, which you can use for update to BW.
    After that all transaction data is posted
    to the delta queues in the source system. After a sucessful full upload you can delete the setup tables.
    the logistics extractors from Logistic Cockpit (LBWE) was designed to replace the LIS info structures (Snnn). When you create, change or delete documents in the applications, the resulting data is staged online in LIS communication structures. In addition, data is transferred from the LIS communication structure, using extract structures, into a central delta management area (using different delta method). So, delta management acts as a buffer for data that can be requested from the BW via an infopackage with the update mode "delta upload".
    When you use infopackages with the update mode "delta initialization" (even "full"), your scope is to used to transfer existing or archived documents. Only afetr this step (initialization) any modification will be available as delta, following the schema explained before. In OLTP (R/3) the infopackages retrieve data from the setup tables (and no postings have to be in the meanwhile, otherwise there would be some data loss!), which are assigned to the extract structures.
    You fill these tables using special setup transactions in OLTP (OLI*BW).
    For each extract structure, one setup table with the name of the extract structure and ‘SETUP’ as a suffix, exists.
    Example: Extract structure MC02M_01TM, setup table MC02M_01TMSETUP.
    Since you are using cluster tables, it does not make sense to display the entries with transaction SE16.
    You cannot determine the number of entries from the number of data records.
    However, you can display data using transaction RSA3, since this transaction uses data from the setup tables.
    Hope it helps!
    Bye,
    partha

  • Purchasing - Set Up Table in source system - LBWG

    Hi all,
    Currently we are extracting Purchasing data into BI7, and have a large volume already which has been delta'd across.
    We need to apply some notes to the Source System which involve deleting the data out of the set-up table, trnx LBWG.
    Can anyone tell me what the impact of this will have on the deltas being run in BI7...and what steps if any I would need to take?
    Thanks, Lee

    Hi Lee,
    Setting up of set up table is one time activity in general scenario.
    Once setup table data population is done , load data into BW through initialization option . If this init request gets in to status "Green" , then on you dont need to refer to data in setup table .
    As per the wish / space constraint one may keep / delete the setup table data.
    Regards
    Mr Kapadia

  • How to display dates in half-months?

    How can I display dates in half-months from dim_date table? like shown below:
    Assume that 8/14/2012 is current date..
    07/15 - 07/30 - no. of opties created between those dates
    07/01 - 07/14 - no. of opties created
    06/15 - 06/30 - ...
    06/01- 06/14 - ...
    How can display the dates in those buckets? Any ideas appreciated.
    Thanks in adv.

    Try to build the same in RPD using the below sql.
    I've created a Flag based on W_DAY_D."DAY_OF_MONTH" <= 14 then 'F' else 'S' end
    in answers I've got min and max based on exp: min(Time."Row Wid" by Time.Flag)
    WITH
    SAWITH0 AS (select distinct T31328."PER_NAME_MONTH" as c1,
    case when T31328."DAY_OF_MONTH" <= 14 then 'F' else 'S' end as c2
    from
    "W_DAY_D" T31328 /* Dim_W_DAY_D_Common */
    where ( T31328."PER_NAME_YEAR" = '2012' ) ),
    SAWITH1 AS (select min(T31328."ROW_WID") as c1,
    max(T31328."ROW_WID") as c2,
    case when T31328."DAY_OF_MONTH" <= 14 then 'F' else 'S' end as c3
    from
    "W_DAY_D" T31328 /* Dim_W_DAY_D_Common */
    where ( T31328."PER_NAME_YEAR" = '2012' )
    group by case when T31328."DAY_OF_MONTH" <= 14 then 'F' else 'S' end )
    select distinct SAWITH0.c1 as c1,
    case when SAWITH0.c2 is not null then SAWITH0.c2 when SAWITH1.c3 is not null then SAWITH1.c3 end as c2,
    SAWITH1.c1 as c3,
    SAWITH1.c2 as c4
    from
    SAWITH0 full outer join SAWITH1 On SAWITH0.c2 = SAWITH1.c3
    Hope this helps, pls mark

  • Filling of set up tables for Full and Delta updates

    Dear Gurus,
    How do I go about filling the set up tables if I want to load historical data to BW using LO **** pit when set up table is running on delta ?
    I want to know how many set up tables will be there for each data source, Because if set up table is running on delta and using the same table I want to load historical data also then will I have to delete and fill set up tables or there will be a separate set up table for full upload and delta ?
    If we have multiple set up tables for one data source then in the T-code OLI*Bw, where * -> App logistics num, so to fill I just say OLI6BW, then which set up table it is going to refer.
    Clarify my doubt and get rewarded with plenty of points.
    Regards
    Mohan

    Hi,
    Filling up the set up tables depends on the datasource.
    there are different T-codes for the respective extract structures
    OLIIBW transaction PM data
    OLI1BW INVCO Stat. Setup: Material Movemts
    OLI2BW INVCO Stat. Setup: Stor. Loc. Stocks
    OLI3BW Reorg.PURCHIS BW Extract Structures
    OLI4BW Reorg. PPIS Extract Structures
    OLI7BW Reorg. of VIS Extr. Struct.: Order
    OLI8BW Reorg. VIS Extr. Str.: Delivery
    OLI9BW Reorg. VIS Extr. Str.: Invoices
    OLIABW Setup: BW agency business
    OLIFBW Reorg. Rep. Manuf. Extr. Structs
    OLIIBW Reorg. of PM Info System for BW
    OLIQBW QM Infosystem Reorganization for BW
    OLISBW Reorg. of CS Info System for BW
    OLIZBW INVCO Setup: Invoice Verification
    OLI7BW is the tcode for Sales Order.
    Hope this solves Ur issue....
    Assign points if helpful..
    Rgs,
    I.R.K

  • Smartform: Loop to display data in window :

    Dear experts,
    I m facing a strange problem. its reagrding smartform.
    i hv passed a internal table to smart form (having one header record only).
    I want to display data into a window not a table.
    but its displaying nothing. and if i use loop as we use to display data into table,
    then its displaying data.
    According to my knowledge abt smartform, we do not put internal table into loop if datais to be displayed into window.
    if i insert a break-point into form and check internal table, data is there.
    Can anyone helpin this.
    Thanks in advance
    Regards

    Hi Maverick
    Please check if the following links give you some valid info:
    http://www.erpgenie.com/sap-technical/abap/introduction-to-sap-smartforms
    and
    http://www.sap-img.com/smartforms/display-a-contents-of-a-table-on-smartform-with-loop.htm
    Regards
    Chen

Maybe you are looking for