Maintain hierarchy data in R/3

Hello experts,
How to maitain hierarchy data in R/3. Any pointerts will be appreciated.
Thanks
Konda Reddy

Hierarchy maintenance in R/3 is the domain of the functional consultant - be it the cost center hierarchy or the plant hierarchy etc. It depends on the functional consultant to configure the same and the TCode for each is different and depends on the module... please be more specific...
Arun

Similar Messages

  • I have hierarchy data in R/3 side how will i load that data from R/3 to BW

    Hi all,
    i have my hierarchy data in the R/3 side how will i load that data from  R/3 to BW side
    Regard
    Kiran Kumar

    Hi Kiran,
    Here is the procedure:
    1.      In the Data Warehousing Workbench under Modeling, select the InfoSource tree.
    2.      Select the InfoSource (with direct update) for the InfoObject, to which you want to load the hierarchy.
    3.      Choose Additional Functions® Create Transfer Rules from the context menu of the hierarchy table object for the InfoObject. The Assign Source System dialog box appears.
    4.      Select the source system from which the hierarchy is to be loaded. The InfoSource maintenance screen appears.
    ○       If the DataSource only supports the transfer method IDoc, then only the transfer structure is displayed (tab page DataSource/Transfer Structure).
    ○       If the DataSource also supports transfer method PSA, you can maintain the transfer rules (tab page Transfer Rules).
    If it is possible and useful, we recommend that you use the transfer method PSA and set the indicator Expand Leaf Values and Node InfoObjects. You can then also load hierarchies with characteristics whose node name has a length >32.
    5.      Save your entries and go back. The InfoSource tree for the Data Warehousing Workbench is displayed.
    6.      Choose Create InfoPackage from the context menu (see Maintaining InfoPackages). The Create InfoPackage dialog box appears.
    7.      Enter the description for the InfoPackage. Select the DataSource (data element Hierarchies) that you require and confirm your entries.
    8.      On the Tab Page: Hierarchy Selection, select the hierarchy that you want to load into your BI system.
    Specify if the hierarchy should be automatically activated after loading or be marked for activation.
    Select an update method (Full Update, Insert Subtree, Update Subtree).
    If you want to load a hierarchy from an external system with BAPI functionality, make BAPI-specific restrictions, if necessary.
    9.      If you want to load a hierarchy from a flat file, maintain the tab page: external data.
    10.      Maintain the tab page: processing.
    11.      Maintain the tab page: updating.
    12.      To schedule the InfoPackage, you have the following options:
    ○       (Manually) in the scheduler, see Scheduling InfoPackages
    ○       (Automatically) using a process chain (see Loading Hierarchies Using a Process Chain)
    When you upload hierarchies, the system carries out a consistency check, making sure that the hierarchy structure is correct. Error messages are logged in the Monitor. You can get technical details about the error and how to correct it in the long text for the respective message.
    For more info visit this help pages on SAP Help:
    http://help.sap.com/saphelp_nw04s/helpdata/en/80/1a6729e07211d2acb80000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/3d/320e3d89195c59e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6729e07211d2acb80000e829fbfe/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4dae0795-0501-0010-cc96-fe3a9e8959dc
    Cheers,
    Habeeb

  • Creating sets to load hierarchy data to BW

    Hi,
    I was able to create sets using GS01 and change set using GS02, create a Datasource, and load the data as an hierarchy in BW.
    My question is creating and changing sets is a manual process using these transactions, so what's the point of doing this instead of entering the data directly in BW to create and maintain the hierarchy? I would think then that the preferrred method would be to write an ABAP program to create a flat file with the hierarchy layout and then upload to BW?
    Would some clarify what's the point of using GS01 and GS02 as opposed to maintaining it directly in BW or upload a flat file?
    Is there a way to automatically create and change sets?
    Thanks,
    Will

    Hi,
    I also have the similer problem for hierarhcy files, I used to get the dump of hierarchy data. all child parent info comes in a single rows.  see the example below :
    <b>Country state city territory customer</b>
    I have developed a Foxpro local program, which will convert above flat data into BW Hierarchy loadable flat file.
    Similer you can also do the same. get the flat file from R3 and then convert to BW hierarhcy file using local program and then load to BW.
    Sanjiv
    Message was edited by:
            Sanjiv Kumar

  • Incorrect result between maintain master data and bex query, how can i fix?

    Hi ALL,
    i get some messages from the users there is incorrect result between SAP R/3 and Report on BW. i controlled the monitor and i saw there was a job for 0CUSTOMER_ATTRIBUTE that it finish correctly but the processing it was only in PSA, i started the full update immediately from PSA into Data Targets and is finished correctly. after when i control the content of the 0CUSTOMER (right click maintain master data) i get the correct attribute result that match the data in SAP R/3, but the problem is when i execute a query Bex on this master data it will not return the same attributes data.
    Can SomeBody Help please
    Bilal

    hi,
    For any master data attributes loaded you will have to run "Attributes Change Run" for that.Execute for Master data 0CUSTOMER.
    The same is avilable in rsa1->Tools(top menu)->apply hierarchy/attribute run.
    hope it helps,
    regards,
    Parth.

  • Beginner question on creating hierarchy data

    We are moving data migration and other data bases to SAP and in the process of coming upto speed on SAP BI/BW using 7.0. I am working thru the Step by Step excercise by Fu et al.
    It has salesoff, salesregion and salesperson infoobjects. Salesperson infoobject has attribute of Salesperson name and we have edited external hierarchies to include salesoff and salesregion.
    Also, we manually entered master data for salesregion and salesoff - EAST, MIDWEST and WEST. To enter the hierarchy data for salesperson we were told that entering hierarchy data in 7.0 by a flat file is not enabled and will be only in 7.1 (is that correct?). So I tried doing it manually,
    a) I click on infobject Salesperson - create hierarchy.In that page I picked Create Characteristic node - entered salesoff - I get this message - salesoff is not a foreign characteristic.
    How do I get past this ? Should I not include salesoff and salesregion in the external char while creating salesperson.
    Is there something I missed in the StepbyStep ?
    Sanjay
    ps - when I learn to give out points I definitely will.

    Hi Sanjay,
    Have you enbled Hierarchy option for both Salesoff, Salesreg ?
    if enabled uncheck and activate infoobjects.
    SalesrepID should be hierarchy enable if you want to create Hierarchy using SalesrepID infoobject.
    on hierarchy, click on Maintain hierarchies to create Hierarchy, here give name of hierachy and discriptions on infoobject SalesrepID.
    and click on External chars. in hieracies to add Salesoff, Salesreg, and activate SalesrepID.
    Hope this helps
    Regards,
    Daya Sagar

  • How to delete the Hierarchy data from Infoobjects.

    How to delete the Hierarchy data from Infoobjects. In my case I had 300 records in the corresponding table of info object.
    When i was trying to delete the hierarchy data, I am getting error message. "Some master data not deleted". Can any one tell me to delete all these records by using a program.

    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

  • FI:where to maintain the data of "Group account number"?

    Hi.When I use the T-CODE FS00 to create G/L account,the sap require me to Make an entry in field "Group account number".But when I press F4 on the field "Group account number",the sap tell me there is no values.So I need to maintain the data of "Group account number".But I don't know where to maintain the data of "Group account number".So I need someone give me the T-CODE or some advice.Thanks so much.

    Hi,
    You have activated group account number. If you have any grp account number of your company please provide the group company account number.
    Else if you dont want to give group account number
    In T-code: OB13 remove group chart of accounts from your chart of accounts
    Best Regards
    Ashish Jain
    Message was edited by:
            Ashish Bohara

  • Issue in Hierarchy data upload from R/3 for info object Product Hierarchy.

    Hi,
    I am trying to upload the hierarchy data from R/3 system for Info Object Product Hierarchy.
    Insted of business content info objects (0PRODH, 0PRODH1, 0PRODH2, 0PRODH3, 0PRODH4, 0PRODH5, 0PRODH6), we are using customized objects (ZPRODH, ZPRODH1, ZPRODH2, ZPRODH3, ZPRODH4, ZPRODH5, ZPRODH6).
    In transfer rules the mapped is as specified below
    Fields        =>  Info Objects.
    0ZPRODH1 => ZPRODH1
    0ZPRODH2 => ZPRODH2
    0ZPRODH3 => ZPRODH3
    0ZPRODH4 => ZPRODH4
    0ZPRODH5 => ZPRODH5
    0ZPRODH6 => ZPRODH6
    Now, when I schedule the Info Package, it is ending with an errors
    "Node characteristic 0PRODH1 is not entered as hierarchy charactersitic for ZPRODH"
    "Node characteristic 0PRODH2 is not entered as hierarchy charactersitic for ZPRODH"
    "Node characteristic 0PRODH3 is not entered as hierarchy charactersitic for ZPRODH"
    "Node characteristic 0PRODH4 is not entered as hierarchy charactersitic for ZPRODH"
    "Node characteristic 0PRODH5 is not entered as hierarchy charactersitic for ZPRODH"
    "Node characteristic 0PRODH6 is not entered as hierarchy charactersitic for ZPRODH".
    when i tried to load by flat file, there is no issues. But, flat file loading is not allowed for us.
    Please let me know any possible solution to handle this issue.
    Thanks.
    Regards,
    Patil.

    Hi voodi,
    Insted of using the info object 0PRODH1, we should use customized info object ZPRODH1 which I added already in the external characteristic in Hierarchy.
    Regards,
    Patil.

  • Maintain Validity Date for Documents

    Hi
    Any Idea how can we put and maintain Validity Dates for any Document uploaded in DMS Server.
    Validity Dates here means (Documents cannot be used if validty is over)
    I could not find any option in CV01*   T-Codes.
    Regards

    Dear Prasant,
    You can also do this solution also if you find it OK.
    1. Create a Class with "Validaty Date" as characteristics. Assign this Charac to class. Assign this class to doc Type. This charac should not be editable to any one except creator.
    2. Create a program with BAPI " Set Status" ( Check the name). which will run in background to check the validity date of Document. If the validity date is reached the BAPI will change the status to "S" as stated by Chritoph.
    This will help user to manually tracked which documents have exceded the validity date. You can also genegrate report and mail it to particular user that what documents have been set to Status "S".
    Hope I have provided a valid solution as I have tried similar kind of functionality with changing a characteristics with Date.
    With warm Regards
    Mangesh Pande

  • Error from loading Hierarchy data from BW

    I am following the BPC NW online help to load the costcenter master data from BW, The members were successfully loaded, but
    when I tried to load the hierarchy, I received the following message"
    Task name HIERARCHY DATA SOURCE:
    Info: Hierarchy node includes text node or external characteristics
    Record count: 50
    Task name CONVERT:
    No 1 Round:
    Record count: 50
    Accept count: 50
    Reject count: 0
    Skip count: 0
    Task name HIERARCHY DATA TARGET:
    Hierarchy nodes include dimension members that do not exist
    Submit count: 0
    Application: CONSOLIDATION Package status: ERROR
    I am pretty sure that all the dimension members were loaded in this herarchy. Since the hierarchy node I am trying to load only include 2 level, I have only 49 base member and 1 node which I can see from the BPC admin after master data,following is the.tranformation and conversion file:
    *OPTIONS
    FORMAT = DELIMITED
    HEADER = YES
    DELIMITER = ,
    AMOUNTDECIMALPOINT = .
    SKIP = 0
    SKIPIF =
    VALIDATERECORDS=YES
    CREDITPOSITIVE=YES
    MAXREJECTCOUNT=
    ROUNDAMOUNT=
    *MAPPING
    NODENAME=NODENAME
    HIER_NAME=HIER_NAME
    PARENT=PARENT
    ORDER=ORDER
    IOBJNM=IOBJNM
    VERSION=VERSION
    *CONVERSION
    HIER_NAME=HIER_NAME.xls
    NODENAME=HIER_NAME.xls!NODE_NAME
    PARENT=HIER_NAME.xls!NODE_NAME
    CONVERION TAB:
    EXTERNAL     INTERNAL     FORMULA     
    CC_Her     PARENTH1             where CC_Her is the name of the gerarchy in BI
    NODENAME TAB:
    EXTERNAL     INTERNAL     FORMULA
    *     js:%external%.toString().replace(/\s+/g,"")     
    Did I miss anything?
    Edited by: Jianbai on Jan 18, 2011 9:57 PM
    Edited by: Jianbai on Jan 19, 2011 12:29 AM

    Hi Jianbai,
    The following link describes the steps to import master data/hierarchies from SAP BW into SAP BPC 7.5 NW..
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c02d0b47-3e54-2d10-0eb7-d722b633b72e?quicklink=index&overridelayout=true
    Hope this helps!
    Thanks
    BSV

  • How to import Hierarchy Data in MDM 7.1

    Hi All,
        I am trying to import the hierarchy data to SAP MDM 7.1
    I have the data in the Excel sheet in the following structure
    Parent Code   Parent Name   Child Code   Child Name
    A1                  Printer              P1               Inkjet
    A1                  Printer              P2               Canon
    P1                   inkjet                Q1               Model - XXX
    P2                   Canon              Q2              Model - YYY
    In MDM i have 2 fields in the hierarchy table Code and Name as display fields.
    I tried to do partition of fields, combine fields as per the Import documentation. But i was not able to import the hierarchy.
    I have also seen some papers on SDN for Hierarchy import, but none of them talk about 2 display fields in the hierarchy table.
    Can anyone help me to import the data to MDM.
    Thanks,
    Priya.

    Hi Priya.
    You have three level hierarchy in your example
        A1    !     Printer
             P1   !    inkjet
                Q1   !    Model - XXX
    Parent Code ! Parent Name  ! Child Code ! Child Name
    in your import manager
    select "Partition Field/value" Tab
    In source partition window select  your "Parent code" filed
    press add
    select  your "Parent name" filed
    press add
    in window "Partition by:" select "Parent name" and "Parent code"  fields  and press "Combine" button
    for next fields you sould repeat previous steps
    then  select "Map Fields/values"
    find  in Field mapping Source field:  "Parent code [Partition]"
    map it to "Code"
    in "Values conversion mapping" window
    select all walues and press "Add" button then Add as Child
    More about import hierarchy:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b07849c7-3a5b-2b10-7586-c431d300a578
    Regards
    Kanstantsin

  • DELETE  HIERARCHY DATA,CONNECT BY  SQL/PLSQ

    Hi
    Please help with the logic!
    I am trying to delete the data from the hierarchy table data(TABLE1) based on another table(TABLE2),For this i am using 2 cursors (get_ssn and get_max),
    problem is with deleting the hierarchy data, there are several levels (few of them upto 10 levels), i have to delete from top to bottom level of the hierarchy structure
    the first cursor returns the hierarchy structure
    level ssn report_to baid
    1
    2
    3
    1
    2
    1
    2
    3
    4
    my plan is to pull the max of the level and delete it, loop the max value and decrement it by 1 in every iteration and delete the rows, below is the rough logic,
    please help me building up the logic
    declare
    lev eweb.level%TYPE;
    i = number :=0;
    cursor get_ssn is --> this cursor is getting ssn based on simple join between two tables
    select level, ssn, report_to, baid
    from TABLE1
    where ssn not in ( select e.ssn
    from TABLE1 e, TABLE2 s
    where e.ssn = s.ssn)
    start with ssn in (select e.ssn
    from TABLE1 e)
    connect by prior report_to=baid;
    cursor get_max is --> pulling the max of level
    select max(level)
    from eweb
    where ssn not in ( select e.ssn
    from TABLE1 e, TABLE2 s
    where e.ssn = s.ssn)
    start with ssn in (select e.ssn
    from TABLE1 e)
    connect by prior report_to=baid;
    BEGIN
    for i in get_ssn
    loop i := i+1;
    Delete from eweb --> here im trying to delete rows by using max(level)-i, in 1st iteration it takes the max value, in next iteration it will be max -1..........
    where level = get_max-i
    END LOOP;
    end for loop;
    END;
    Edited by: user8884944 on Jun 23, 2010 11:34 AM

    A few remarks
    1 The subject line was shouted by using all caps. This must be considered rude
    2 The introduction discusses 2 tables, yet the code deals with 3, and only from the third table data is deleted
    3 no CREATE TABLE statements were posted, nor sample data
    4 if you can put a constraint on the affected column, using on cascade delete, everything will be deleted automagically.
    With this little information, no help is possible. We can not see what each statement does, the comments don't tell anything, and we can also not see what it is expected to do in terms of logics, as the statements are almost certainly wrong.
    Sybrand Bakker
    Senior Oracle DBA

  • Hierarchy Data not saved after Hierarchy Load

    Hi Gurus,
    I am facing a problem with the hierarchy data load in SAP BPC NW 7.5 SP06. I have already used /CPMB/IMPORT_IOBJ_MASTER & /CPMB/IMPORT_IOBJ_HIER once to load the data from BI to BPC and it worked fine that time.
    Now I have made some changes in the Hierarchy at the BI side. When I run the package link list, the /CPMB/IMPORT_IOBJ_MASTER chain runs fine and the master data, description for Attribute and Hierarchies are loaded perfectly. But whn the /CPMB/IMPORT_IOBJ_HIER is run, the changes are not saved in the BPC Member sheet. I have manually make the changes in the member sheet and Process the Dimension.
    Can we process the Dimension explicitly after the Hierarchy load again?
    Does anyone have an idea about this?
    Any help is appreciated.
    Thanks,
    Abhishek

    Abhishek,
    Double check whether  /CPMB/IMPORT_IOBJ_MASTER is bringing all the ID's,Texts and Hierarchy Nodes. If required drop the data from dimesion member sheet and load it again.
    Double check the Hierarchy and level setup while running /CPMB/IMPORT_IOBJ_HIER.
    (when we are in SP05, it was not bringing the multiple Hierarchies, now we are in SP07 loading multiple hierarchies but not the TEXT fo the Id's some inconsistency)
    Thanks

  • How to maintain the date fromat in DD.MM.YY

    Hi
    I want maintain the date fromat like DD.MM.YY
    i have used following statement but it is showing systax error.
    please send the solution for this asap
             write: i_vbrk-erdat to v_erdat dd.mm.yy.
    regards
    venu

    write: sy-datum to v_erdat using edit mask '__.__.__'.
    if i use above statement
    the output is like this
    30.05.20
    dd.mm.yy
    it should like 30.05.06
    regards
    venu

  • How to maintain the data while popping a screen?

    Hi all,
    I am having a screen in which I am using the set data() method and populating the values.
    After this I am pushing a new screen.
    So when I come back to the original screen using popview(), I am not able to maintain the data on that screen as it is going in the set data method and giving the null object exception.
    I want the original data to remain on the screen.
    Is anyone having solution for this?
    Thanks in advance.
    Regards,
    RONAK SHAH

    This post might be useful: http://flexponential.com/2010/12/05/saving-scroll-position-between-views-in-a-mobile-flex- application/

Maybe you are looking for