Hierarchy extraction from R/3 Table to BW

Hi Gurus/All,
I need extract the Organizations  Hierarchy  Structure data from R/3 "Z table".Please any one can  give me  the detailed steps to extract the Hierarchy data from R/3 "z table" in to Bw.It is Masterdata extraction and the hierarchy has 5 levels.
Please send me the links or detailed steps to extract in to Bw hierarchy from R/3 "Ztable".Also I would like to know the settings/Must do's on R/3 side.It is urgent
regards
Prasad

Hi Shailaja,
http://www.bwexpertonline.com/archive/Volume_03_(2005)/Issue_08_(September)/V3I8A2.cfm?session=
I have tried to open above mentioned link, but itz not gettting there.
Can you send me the article to my email: [email protected]
Thanks to you,
Rafi

Similar Messages

  • How to read the hierarchy data from the same table using loop in AMDP method

    Hi All,
    We have a requirement to get the top partner from BUT050 table.
    Here the Top parent is nothing but the top most in the hierarchy of the partners from BUT050.
    Example:
    For partner 1234 (BUT050-PARTNER1) there is partner 3523(BUT050-PARTNER2) one level above
    For partner 3523(BUT050-PARTNER1)  there is partner 4544 (BUT050-PARTNER2) last level .
    so in this case for the partner 1234 the Top parent is 4544 .
    I have created AMDP Procedure method to get the top-parnet and below given is the logic implemented in AMDP method.
    Here i have implemented a recursive logic with the WHILE loop to get the top most hierarchy partner from the same table BUT050
    IV_Parent is the input partner and ev_top_parent is the output value.
    AMDP Procedure Method:
        DECLARE lv_date VARCHAR(8) := TO_VARCHAR (current_date, 'YYYYMMDD');
        DECLARE found INT := 1;
              iv_partner1 =  SELECT partner1 FROM but050
                              WHERE partner2 = iv_partner
                              AND reltyp = :iv_hierarchy
                              AND date_to >=  :lv_date
                              AND date_from <= :lv_date;
         WHILE found <> 0  do
           select partner1 into ev_top_parent from :iv_partner1;
                           iv_partner1 =  SELECT partner1 FROM but050
                           WHERE partner2 in ( select partner1 from :iv_partner1 where partner1 is not null)
                           AND reltyp = 'ZBP004'
                           AND date_to >= :lv_date
                           AND date_from <= :lv_date;
           select COUNT ( partner1 ) INTO found FROM :IV_PARTNER1;
        END WHILE;
    This method is working fine, but here it is only taking one single partner and getting the top parent as output.
    Now i would like to convert this mehtod so as to accept n number of partners (not one single partner) as input and should process each partner to get the top parent.
    Could anyone guide me how can i handle the given AMDP method further so as to work some how it is within another loop from other AMDP method.
    Thanks.
    Regards,
    Laxman.P

    Hi
    Go to SE11 and enter the hierarchy table name.
    /BIC/H....(infoobject name)...and execute the table and select table entry and delete all....
    Thanks
    TG

  • Data Extraction from AR Aging Tables to Acess

    Hi
    I used to work on developing the reports.But I am a new to the Data Extraction from AR Aging Tables into Acess and the data is upload from Acess to SAP.
    Can anybody help me to relove this issue.I really appreciate to you.After mapping then the data is loaded to SAP.

    Hi
    I used to work on developing the reports.But I am a new to the Data Extraction from AR Aging Tables into Acess and the data is upload from Acess to SAP.
    Can anybody help me to relove this issue.I really appreciate to you.After mapping then the data is loaded to SAP.

  • Reg : Hierarchy extraction from Source

    Hello Friends,
    I have an issue with Hiearchy Extraction.
    I am trying to Load 0WBS_ELEMT ( Hiearchy) data (Full Update) for the first time.Its displaying the following error.(Its extracted from SAP R/3)
    Diagnosis
        The hierarchy level of the parent node must be one larger than the
        hierarchy level of the actual node. This is not the case for the node
        with ID 00075558 and its parent node with ID 00000001 .
    System response
    Procedure
        Correct the hierarchy level of the node or of the parent node in your
        source system.
    Procedure for System Administration
    Can any of you who encountered the similar issue share your valuable experience with me please ...
    Kind Regards,
    Sai Gautam Pusala

    Its resolved/
    Thanks,
    Sai Gautam
    Edited by: Sai Gautam Pusala on Oct 21, 2011 2:14 PM

  • Can OBIEE handle hierarchy built from different dimension tables?

    Can I build an hierarchy with values at various levels appearing from other dimension tables in the model ?
    Thanks

    Hi,
    if you want to drill in Answers from an attribute of a dimension to the attribute of anothr dimension, you can use the Preferred Drill Path inside the level of an hierachy.
    For example:
    Dime Time
    -Year
    --Month
    ---Day
    Dim Geography
    -Continent
    --Nation
    ---City
    If you set in the Month level of the Dim Time the Preferred Drill Path to Nation, in Answer when you drill from Month you see Nation.
    I hope it helps.
    Regards,
    Gianluca

  • 0GL_ACCOUNT. hierarchy extraction from R/3

    Dear experts,
    I don't know how to extract hierarchies from R/3 into BW.
    I need to extract the hierarchy for the characteristic Account Number, which represents the insurance Balancesheet structure (VKIA)
    What DataSource may I use? is anything useful within the BC?
    Til now, I created 2 datasources (attr and text), which brought the master data from tables SKA1, SKB1, SKAT into BW's infoobject 0GL_ACCOUNT, but the hierarchies issue still remains, and I don't know how to proceed..
    Could you tell a bit the steps? (i'm a novice...)
    Have a nice day, and thanks in advance.
    jordi

    To find relevant data source for your master data info object, go to RSA1 -- business content-- select data flow before and drag you info object it will show all relevant data source for that.
    Once u know your data sources, go to source system, activate them replicate and so on in BW/BI.
    Do not create unnecessary objects in R/3 or BI just check for business content before you create Z objects.
    Hope this helps,
    Assgn pts if helpful,
    Regards
    Edited by: chintamani deshmukh on Apr 23, 2008 1:35 PM

  • Hierarchy extract from R3 to BI not successful

    Hi,
    We are in the process of extracting 0ACCOUNT hierarchy from R3. Any of the hierarchies cannot be pulled.
    BI receives 4 info Idocs with one indicating of no of data records to be pulled.
    But, never getting a data package.
    RSA3 shows records. It has only 1586 records.
    Other extractions except for hierarchies are working fine.
    Following is the background job log in R3:
    Step 001 started (program SBIE0001, variant &0000000006432, user ID ALEREMOTEBID
    Asynchronous transmission of info IDoc 2 in task 0001 (0 parallel tasks)
    DATASOURCE = 0ACCOUNT_0109_HIER
             Current Values for Selected Profile Parameters               *
    abap/heap_area_nondia......... 2000683008                              *
    abap/heap_area_total.......... 2000683008                              *
    abap/heaplimit................ 40894464                                *
    zcsa/installed_languages...... ED                                      *
    zcsa/system_language.......... E                                       *
    ztta/max_memreq_MB............ 2047                                    *
    ztta/roll_area................ 3000320                                 *
    ztta/roll_extension........... 2000683008                              *
    BEGIN BW_BTE_CALL_BW204040_E 5,009 2,011
    END BW_BTE_CALL_BW204040_E 5,009 2,011
    BEGIN EXIT_SAPLRSAP_004 5,009 2,011
    END EXIT_SAPLRSAP_004 5,009 2,011
    Asynchronous send of data package 1 in task 0002 (1 parallel tasks)
    IDOC: Info IDoc 2, IDoc No. 279049, Duration 00:00:00
    IDoc: Start = 12.08.2009 14:36:50, End = 12.08.2009 14:36:50
    Asynchronous transmission of info IDoc 3 in task 0003 (1 parallel tasks)
    IDOC: Info IDoc 3, IDoc No. 279050, Duration 00:00:00
    IDoc: Start = 12.08.2009 14:36:55, End = 12.08.2009 14:36:55
    Synchronized transmission of info IDoc 4 (1 parallel tasks)
    IDOC: Info IDoc 4, IDoc No. 279051, Duration 00:00:00
    IDoc: Start = 12.08.2009 14:36:55, End = 12.08.2009 14:36:55
    Job finished
    Thanks in advance,
    Isiri.

    Hi Gary,
    The data flow is correctly enabled. The data packeges doesnot arrive BI at all. ( Not coming to PSA ).
    Could not track using BD87 command. Data package is not getting generated in R3. But info idoc says of data availability.
    Checked job log of R3. It doesn't indicate of generating data packages. Couldn't find any error message as well.
    Following is the message from extraction node of BI monitor.
    "Data packet 000001 had 15876 records selected for it"
    But, with this messsage, the node is red, which has been timeout. Kept running for the whole day.
    It should have come within seconds.
    Thanks,
    Isiri.

  • 2LIS_05_Q0TASK, or how to extract from a new table

    Hi All,
    I would like to enhance the Quality Management (in Lo Cockpit) extractors with own data. I have standard table appends and an own table which represent a sublevel of the task table QMSM. The appends are ok, I can enhance the standard extractors. But how can I use my new table in the BI?
    The key of the new table is this:
    MANDT
    QMNUM
    MANUM
    OUTCM  (char10)
    CODE    (char10)
    Please help.

    Hello Laszlo,
    If I would have understood your question,
    Once you are done with the datasource enhancement you have to replicate the same into BW side and you have to map the new fields to Comm Stru and finally your data target (InfoCube / ODS)
    Thanks
    Chandran

  • Unable to Extract from Oracle

    Dear Team,
    I am very newer in Golden Gate. Going thru with the blog and trying to learn.
    http://www.pythian.com/news/7959/oracle-goldengate-installation-part-1/
    I was trying to extract from the Oracle tables at the time of extraction
    it’s giving error which are:-
    1.     2011-02-01 10:20:16 ERROR OGG-00685 begin time Jan 28, 2011 1:48:12 PM prior to oldest log in log history. Last SQL executed <SELECT 1 FROM dual WHERE TO_DATE(:begin_time,'YYYY-MM-DD HH24:MI:SS') < (SELECT MIN(first time) FROM v$log_history WHERE thread# = :ora_thread)>.
    2.     2011-02-01 10:20:16 ERROR OGG-01668 PROCESS ABENDING.
    Configuration details are available in detail in Ext1.rpt. Please provide the solution for the same.
    Thanks & Regards
    Pramod Gaikwad
    log file details are:-
    Oracle GoldenGate Capture for Oracle
    Version 11.1.1.0.0 Build 078
    Windows (optimized), Oracle 10 on Jul 28 2010 15:50:58
    Copyright (C) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
    Starting at 2011-02-01 10:20:14
    Operating System Version:
    Microsoft Windows XP Professional, on x86
    Version 5.1 (Build 2600: Service Pack 3)
    Process id: 1064
    Description:
    ** Running with the following parameters **
    extract ext1
    userid ggate, password ********
    rmthost INFVA04159.vshodc.lntinfotech.com, mgrport 7809
    rmttrail /goldenGate/dirdat
    ddl include mapped objname sender.*;
    table sender.*;
    2011-02-01 10:20:14 INFO OGG-01635 BOUNDED RECOVERY: reset to initial or altered checkpoint.
    Bounded Recovery Parameter:
    Options = BRRESET
    BRINTERVAL = 4HOURS
    BRDIR = C:\GoldenGate
    CACHEMGR virtual memory values (may have been adjusted)
    CACHEBUFFERSIZE: 64K
    CACHESIZE: 1G
    CACHEBUFFERSIZE (soft max): 4M
    CACHEPAGEOUTSIZE (normal): 4M
    PROCESS VM AVAIL FROM OS (min): 1.81G
    CACHESIZEMAX (strict force to disk): 1.59G
    Database Version:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE     10.2.0.1.0     Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Database Language and Character Set:
    NLS_LANG environment variable specified has invalid format, default value will be used.
    NLS_LANG environment variable not set, using default value AMERICAN_AMERICA.US7ASCII.
    NLS_LANGUAGE = "AMERICAN"
    NLS_TERRITORY = "AMERICA"
    NLS_CHARACTERSET = "WE8MSWIN1252"
    Warning: your NLS_LANG setting does not match database server language setting.
    Please refer to user manual for more information.
    2011-02-01 10:20:15 WARNING OGG-01423 No valid default archive log destination directory found for thread 1.
    2011-02-01 10:20:15 INFO OGG-01515 Positioning to begin time Jan 28, 2011 1:48:12 PM.
    Source Context :
    SourceModule : [er.redo.ora.metathr]
    SourceID : [er/redo/oracle/ocimetathr.c]
    SourceFunction : [OCIMETATHR_get_sequence]
    SourceLine : [771]
    2011-02-01 10:20:16 ERROR OGG-00685 begin time Jan 28, 2011 1:48:12 PM prior to oldest log in log history. Last SQL executed <SELECT 1 FROM dual WHERE TO_DATE(:begin_time,'YYYY-MM-DD HH24:MI:SS') < (SELECT MIN(first_time) FROM v$log_history WHERE thread# = :ora_thread)>.
    2011-02-01 10:20:16 ERROR OGG-01668 PROCESS ABENDING.
    Edited by: user2855889 on Feb 1, 2011 1:33 AM

    This is a startup bug error where certain initial log positions are not resolved at initialization.
    This should happen only if the first log switching didn't occur after the db was created and before extract was started
    It is bug (11839680).
    It is resolved by performing a database log switch.
    Other causes and solutions:
    If some of the nodes in RAC are not active, OGG will hit this error when trying to find the redo logs for those inactive nodes.
    The solution in this case is to exclude those inactive nodes from GG, e.g. THREADOPTIONS PROCESSTHREADS SELECT 1

  • Delta extract from PAYR?

    Has anyone been able to delta enable an extract from the PAYR table?  I'm searching thru the BTE in ECC, but I don't believe there is a suitable event.  Any help is much appreciated.
    Dave

    Hi Bhat,
    Could you throw some light on how you managed to extract data from SAP ECC to IBM Datastage?
    Say Article Master Outbound Scenario, Sales Order Outbound scenario etc?
    Regards,
    Ajay

  • Extract a value of a fields from an internal table

    hello everyone,
    i need to extract a value of a fields from an internal table, the fields is in a postion "sy-tabix" that i know, so i need to pick this value without using a loop
    thank you.

    Like this?
    DATA: FIELD1 TYPE C,
               FIELD2 TYPE C.
    READ TABLE T_TAB INDEX 3.
    FIELD1 = T_TAB-FIELD1.
    FIELD2 = T_TAB-FIELD2.
    Greetings,
    Blag.

  • 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

  • Vendor General data extraction from Table

    Hi,
    I need to extract data maintained in 2 fields from vendor master table. These 2 fields are "Standard Communication method" under "communication" tab and "Comments" at the end of the vendor address data. Could you please tell me the table from which I can extract the data maintained in these two fields in vendor master? These fields are not maintained in LFA1 table.
    Thanks
    Satya

    Hi
    Kindly check these tables
         Vendor
         LFA1               Vendor master
         LFB1               Vendor per company code
         LFB5               Vendor dunning data
         LFM1               Purchasing organization data
         LFM2               Purchasing data
         LFBK               Bank details

  • Extraction from R/3 generated Table

    Hi,
    I have a situation that i have to extract from a table in ECC R/3 and that table name changes and changes mainly during transports as it is a SAP generated table containing the Fund and Fund Center.
    but i need to extract the data  but not able to use it as the table name changes.
    Anyone please can throw some light  on this how to use the extractor in this situation and how to work around with this table ????
    Thanks,
    GG

    It is generated when it goes to the target system, right?
    This table name would be stored somewhere, trace the R/3 programs associated with the table to figure out how it finds the table name.
    Have an FM based extractor which will follow the same logic to dynamically select from the table (by finding the table name in the same way as SAP programs do).

  • CALL function to extract data from a structure table

    Hi Gurus,
    Anyone knows how to write a call function to extract data from a structure table?
    Your help is very much appreciated.
    Thanks alot.

    Hi,
    structure doesnot hold any data. instead of it you can check the stucture in which table it is used, find the table name,use select query to extract the data u needed.
    you can use where used list option to find the structure in which table it is used.
    regards
    siva

Maybe you are looking for