Load hierarchy to two infoobjects

Hi,
I want the hierarchy that is defined on 0CUST_SALES available for 0SHIP_TO (in reference with 0CUSTOMER)
Is there a way that I can 'copy' a hierarchy in BW or R/3?
recreating it manually is not possible...
loading via an infosource (flexible update) isn't possible for hierarchies...
add 0CUST_SALES to cube isn't possible...
I already thought about:
- make a generic datasource on KNVH -> load hierarchy into 0CUSTOMER but what's the programming effort to make the generic datasource (hierarchies are complex)
any ideas or suggestions?
Kind regards,
Joke

You can make an 'export datasource' on a hierarchy :o)

Similar Messages

  • How to load hierarchy from file into InfoObject with compounding Attr & LN

    Hi,
    I have created an InfoObject called YCOSTC0 which has a compounding attribute 0CO_AREA. and Text is Lanugage dependent, hence the key is YCOSTC0, 0CO_AREA and LANGUAGE, now when i load hierarchy from flat file as mentioned below, it creates duplicate blank rows in master data table, becuase the flat file contains only the YCOSTC0 Info Object and this data gets loaded into 0CO_AREA column in master data table which is the first column. how can i load hierarchies from flat file into an InfoObject that has a compounding attribute and Language dependent. please provide me a sample file structure with data.
    NodeID     InfoObject     Node Name     Link Name     Parent ID     Language     Short Text     Medium Text     Long Text
    1     0HIER_NODE     CC_HIER               EN     Cost Center Heirarchy     Cost Center Heirarchy     Cost Center Heirarchy
    2     YCOSTC0     C001          1     EN     CC 1     Cost Center 1     Cost Center 1
    3     YCOSTC0     C002          2     EN     CC 2     Cost Center 2     Cost Center 2
    4     YCOSTC0     C003          2     EN     CC 3     Cost Center 3     Cost Center 3
    5     YCOSTC0     C004          3     EN     CC 4     Cost Center 4     Cost Center 4
    6     YCOSTC0     C005          3     EN     CC 7     Cost Center 7     Cost Center 7
    7     YCOSTC0     C006          4     EN     CC 5     Cost Center 5     Cost Center 5
    8     YCOSTC0     C007          4     EN     CC 8     Cost Center 8     Cost Center 8
    9     YCOSTC0     C008          4     EN     CC 10     Cost Center 10     Cost Center 10
    10     YCOSTC0     C009          7     EN     CC 6     Cost Center 6     Cost Center 6
    11     YCOSTC0     C010          6     EN     CC 9     Cost Center 9     Cost Center 9
    Thanks
    Akila R

    Hi -
        Check the following link.
    Hierarchy Upload from Flat files
    Anesh B

  • Error while loading Hierarchy  using Idoc

    Hi Experts,
    I am loading Hierarchy data from r/3 to Bw,
    After load , in the monitoring details tab
    its like this
    Data Package 1 ( Records ) : Everything OK
    Transfer rules ( 911  Records ) : No errors
    Hierarchies for master data received. Processing being started.
    Transfer 911 data records in communication structure
    Update ( 0 new / 0 changed ) : No errors
    Data saved successfully
    Processing end : No errors
    Data successfully transferred to the update
    Subseq. processing (messages) : No errors
    -> Start update of master data hierarchy
    <- End update of master data hierarchy
    Hierarchy successfully activated
    the hierarchy is adding to the infoobject
    But in the reporing it showing like not assigned material
    I think the hierarchy is not loaded correctly into the target.
    because of the Idoc process , i am Unable to debugg..
    plz give me any idea

    Hi Vijay
    Here:
    NODENAME tab
    EXTERNAL                         INTERNAL                                                       FORMULA
    *                                             js:%external%.toString().replace(/\s+/g,"")
    *                                             js:%external%.toString().replace("#","_")
    *                                             js:%external%.toString().replace(",","_")
    A006-#????                              *skip
    Only the first line will work, you have to perform all replacements in on JS line, like:
    js:%external%.toString().replace(/\s+/g,"").replace("#","_").replace(",","_")
    * in EXTERNAL means ALL
    Vadim

  • Loading hierarchy via program

    Hi BI Gurus,
    I have a requirement. There are set of document number.
    I have created a "Document number" infoobject. Have loaded master data into them.
    Now i have a display attribute called "user name".
    I need to created hierarchy for the infoobjct, it must be of the form that under every user we must have the document number created by him. Is that possible? Second  i need to load the hierarchy from a Z* program. The program should take the user id and the document numbers created by him and then update the hierarchy. Is this possible? (i think the program can be modified just to update the 'H' table via ABAP statements, will that work? )

    Hi DPN,
    Loading hierarchy from FF
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fa/e92637c2cbf357e10000009b38f936/content.htm
    Regards,
    Anil

  • Loading hierarchies for 0GL_ACCOUNT InfoObject

    Hi,
    I cannot load hierarchies into 0GL_ACCOUNT InfoObject. I have created InfoPackage and in Update Data options I can only choose 'Only PSA' option. I have loaded attributes and texts without any problems. What should I do?
    Regards,
    Maciek

    Hi Maciej,
    Hope you had customized your 0GL_ACCOUNT hierarchy on R/3. Refer the below link
    http://help.sap.com/saphelp_nw04/helpdata/en/6f/97a16a65fb11d3971c006094b969cf/frameset.htm
    Bye
    Dinesh

  • Syntax error while loading hierarchy from an external file

    Dear Expert:
    I am new to BW and I met a problem today while loading hierarchy from an external file. Actually I am following below article to load the hierarchy:
    /people/prakash.bagali/blog/2006/02/07/hierarchy-upload-from-flat-files
    When I schedule the infopackage, the error message says: "Syntax error in template RSTMPL9C, ROW 76". Actually there is only around 20 lines of records.
    Since I am not familiar with hierarchy load, so:
    1. while loading from external file, do I need to create one hierarchy in advance  through "Maintain Hierarchies" in the infoobject? My understanding is since I can load that hierarchy from file, so I do not need to create one in advance, once the load completed, the hierarchy should automatically generated there. Is my understanding correct?
    2. Before loading the hierarchy, do I need to load the master data of external characteristics in the hierarchy first? Here in my example, the sales hierarchy has 2 external characteritics (Country and region) in the hierarchy. Do I need to load some data first?
    3. My 'Preview' function in the infopackage is gray so that I can not test the data loading. Why is it gray?
    Information like file name, file dir, file type(csv), seperator should be correct there.
    Can anybody help me take a look into that? Many thanks for your time in advance!
    Tim

    Hi ctsiszidane:
    There are some other SAP Notes that can help you solve the problem.  Depending on your Support Package level check which of them is applicable.
    Note 659461 - RSAR 682: Syntax error in template RSTMPL9A, row 246
    Note 605690 - Escape characters are not processed correctly
    Note 620152 - Syntax error in RSTMPL9A during data loading from a file
    Regards,
    Francisco Milán.

  • Error While loading Hierarchy from R3 to BW

    Hi Experts,
      plz solve my problem,
    I am rtying to load Hierarchy data from IS-R R/3 to Bw
    In the monitoring(left hand side) QM status is green saying that the load is successfull
    Right hand side QMStatus also Green,
    But in the Details Tab(right hand side)
    the overall Status is Yellow and it's giving warning messa like Missing messages and Warnings Under this
    *Requests (messages): Everything OK
       Data request arranged 
       Confirmed with: OK
    *Extraction (messages): Everything OK
       Data request received
       Data selection scheduled
       6154 Records sent ( 6154 Records received )
       Data selection ended
    *Transfer (IDocs and TRFC): Missing messages(QMStatus is Yellow)
    *Processing (data packet): Everything OK
      *Data Package 1 ( Records ) : Everything OK
        *Transfer rules ( 6154  Records ) : No errors
          *Hierarchies for master data received. Processing being started.
          *Transfer 6154 data records in communication structure
        *Update ( 0 new / 0 changed ) : No errors
        *Data saved successfully
         *Processing end : No errors
           *Data successfully transferred to the update
    *Subseq. processing (messages) : No errors
       -> Start update of master data hierarchy
       <- End update of master data hierarchy
      Hierarchy successfully activated
    Why in the update mode showing 0 new and 0 changed
    it has to show records 6154 new.
    but the hierarchy(Merchandise Category) is attching to the infoobject(0material),All the hierarchies are available in the BW .
    But its  displaying in the BEx report like Not Assigned Material,
    I am Unable to solve this proble,
    Plz give me the solution
    Thanks in Advance
    Anil

    Hi Anil,
       See if this link can help you.. I am not sure though...
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=/help/sdn_nw04/saphelp_nw04/helpdata/en/1f/83813ec8d3fe3ee10000000a114084/content.htm
    Thanks,
    Raj

  • SEM-BCS Load Hierarchy Problem

    Hello Experts!
    I´m getting a problem loading the hierarchy in SEM-BCS.
    I have a method to load hierarchy from BW into BCS and the main customizing is:
    Data Type: 21 Items
    InfoObject: 0ACCOUNT
    Options for Master Data and Hierarchies: Load Hierarchy
    Updata Mode: Delete All
    When I execute extractors of BW and get the hierarchy from ECC, the infoobject 0ACCOUNT gets hierarchy and accounts loaded from ECC perfectly.
    When I execute the method to load hierarchy from BW into BCS using t-code UCWB, I get several warning messages as bellow:
    "Leaf IFRS2.30.10.02 belongs to type Hierarchy Node(s)
    Diagnosis
    Value IFRS2.30.10.02 of characteristic Hierarchy Node(s) is defined as a leaf in the hierarchy -- that is, no further nodes are attached to it. However, a leaf must belong to the hierarchy-defining characteristic Item.
    Procedure
    Modify the hierarchy either by deleting the node from the hierarchy or by adding more nodes beneath."
    The problem is, I don´t have leafs without an account or another node beneath in the source hierarchy. I have updated all of them, but SEM-BCS still tries to get leafs that even does not exist in the source provider.
    Does anybody have any clue about what is still going on with the load hierarchy?
    Any help is appreciated. Thanks!

    With uploads in Delete All mode, you may have a problem with the deletion of the existing hierarchy - try in overwrite mode to see if you get the same warnings.
    Also, as this is a "warning" message only, it does not stop you from saving the hierarchy, so you can see what value you get in the hierarchy and what/where it was before you ran the upload - this may help you identify the problem.

  • How to transfer hierarchies between two InfoObjects

    Hi guys,
    I need your opinion to solve a problem.
    I have to transfer hierarchies between two InfoObjects.
    I have to transfer one hierarchy from 0GL_ACCOUNT to other infoobject already created.
    The hierarchy datasource of 0GL_ACCOUNT is already associated, and the only option I see is to use flat files.
    Do you know another way to do this?
    Best regards,
    João Arvanas

    Hi
    If i am not wrong, a new infoobject can be created with 0GL_ACCOUNT as the reference characteristic so that the data in the 0GL_ACCOUNT infoobject will be available for the second infoobject also.
    Thanks

  • Loaded music on two computers - how do I get both libraries in my ipod?

    loaded music on two computers - how do I get both libraries in my ipod?
    Started Itunes on my home computer and added some CDs that were made from old albums and I had to manually inpt titles..then took a stack on a trip and did the same on my laptop. But when I tried to update my Ipod with the laptop it asked did I want to replace the library.
    Can't my Ipod be updated from more than one source?
    Maybe 50 yrs old is too old for an ipod:)
    Thanks,

    Maybe 50 yrs old is too old for an ipod:)
    Nope, not at all and you're getting help from a 40 yr old
    This link will tell you how to do what you wanting to do
    Use an iPod with multiple libraries
    Good luck

  • 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

  • Caller-70 Error while loading master data into infoobject

    hi ,
    I am getting following error while loading master data into infoobject (0tb-account). I am loading this master data in production environment for the first time. there are about 300000 records. All have got loaded upto PSA. Infopackage settings were PSA and then into data target.
    Short dump in the Warehouse
    Diagnosis
    The data update was not finished. A short dump has probably been logged in BI. This provides information about the error.
    System Response
    "Caller 70" is missing.
    ST22 dump analysis is as below:
    Termination occurred in the ABAP program "GP476CZYBEF2WX53UZ8TXFG6XOS" - in                  
    "VALUE_TO_SID_CONVERT_DB".                                                                  
    The main program was "RSMO1_RSM2 ".
    Please help as soon as you can..Production problem....
    Regards
    Rakesh

    Hi rakesh,
    May be IDOCs not processed completely,
    Idoc Problem, Either wait till time out & process Idoc from detail monitor screen, or go to BD87 & process Idoc with status = YELLOW ( be careful while processing IDOCS from BD87, choose only relevant Idocs
    Cheers
    Raj

  • When i try to add music from itunes to my ipod itune tells me the music on my ipod came from a differnt libray and  wants to erase my whole ipod. i just loaded my ipod two days ago. i don't want to replace everything every time i want to add to songs

    When i try to add music from itunes to my ipod, Itune tells me the music on my ipod came from a differnt libray and  wants to erase my whole ipod. i just loaded my ipod two days ago. i don't want to replace everything every time i want to add two to songs. My MacBook Pro is the only autherized computer.

    To prevent a sync when plugging in the iPod/iPhone - hold down the 'option' and the 'command' keys when plugging in the iPod/iPhone - key the keys down until the iPod/iPhone is listed under the Devices list in iTunes - this will prevent a sync from taking place and you will be able to change your settings.
    MJ

  • Error Loading Hierarchy Error when updating Idocs in Source System

    Hello  Friends,
         I am loading  hierarchy data  using Info pac into  0FUNDS_CTR . I have selected  a hierarchy under hierarchy selections tab  in the Info pac .
    All Partner profiles in WE20 seems OK .   But When I loaded data , throwing errrr message  as below
    Error when updating Idocs in Source System
    Diagnosis
    Errors have been reported in Source System during IDoc update:
    System Response
    Some IDocs have error status.
    Procedure
    Check the IDocs in Source System . You do this using the extraction monitor.
    Error handling:
    How you resolve the errors depends on the error message you get.
    When I checked in TC WE05 says that  IDoc: 0000000000355113 Status: Error during syntax check of IDoc (outbound) with status 26 .
    Please advice .
    Many thanks

    Hi  Krishna4bi,
    Actually we will monitor idoc status in BD87 in SAP BI As well ECC , while extracting the data from source sytem  if any idoc struck we will manually process in BD87 , But you are telling that while loading the datasource the error occurred , so please check once in ECC side . Otherwise see how many packets are still process, make it red that infopackage and do manually update.
    Hope it helps,
    By,
    Praveen Yagnamurthy,
    SAP BI Consultant,
    Blue Marlin Systems-INDIA.
    http://bluemarlinsys.com/bi.

  • Class Loader Hierarchy in Weblogic 7.0

    I have read the BEA documentation on the class loader hierarchy in Weblogic Server,
    and I have some questions regarding some behavior I am seeing.
    I am running Weblogic Server 7.0.
    I have an ear file that contains 3 web apps (wars) and several utility jars. The
    web apps' manifests contain the Class-Path entry for the utility jars. My understanding
    of this is that each web app SHOULD have its own class loader. Also, the utility
    jars will be scoped in a separate class loader and WILL NOT have visibility to
    the web app classes. The web app classes should have visibility to the utility
    jars.
    Is this correct????
    I added a static segment of code in each web app and printed the class loader
    for each servlet when it was loaded. I also printed the class loader from a class
    that is DEFINITELY contained in one of the utility jars. Here is the result:
    Utility Class ClassLoader: sun.misc.Launcher$AppClassLoader@b9d04 Utility Class
    Parent ClassLoader: sun.misc.Launcher$ExtClassLoader@71732b
    Servlet 1 ClassLoader: sun.misc.Launcher$AppClassLoader@b9d04 Servlet 1 Parent
    ClassLoader: sun.misc.Launcher$ExtClassLoader@71732b
    Servlet 2 ClassLoader: sun.misc.Launcher$AppClassLoader@b9d04 Servlet 2 Parent
    ClassLoader: sun.misc.Launcher$ExtClassLoader@71732b
    I'm a little confused.... I expected to see 3 different class loaders (i.e. one
    for each class above). I believe the above printout says that all 3 classes are
    being loaded by the SAME class loader instance (Launcher$AppClassLoader@b9d04).
    Am I interpreting this correctly? If so, what's going on?

    I rechecked the classpath for the user that starts Weblogic, and in the classpath
    I found the project "src" directory (must have missed it earlier). When we did
    our build, the classes are placed in the src structure then copied to the build
    area. That's the reason I was not seeing the appropriate class loader hierarchy.
    Thanks for all of the comments.
    "Sanjeev Chopra" <[email protected]> wrote:
    >
    "Mark Cotherman" <[email protected]> wrote in message
    news:[email protected]...
    Thanks for your comments again Mark. I'm just trying to get a goodhandle
    on how
    this is working.
    I'll assume that somehow my web app classes are being loaded into theroot
    classloader.
    The next question is... why??Just to be sure - is there any way these classes are sneaking into the
    system classpath ?
    My ear file contains the following:
    a.war
    b.war
    c.war
    lib/util1.jar
    lib/util2.jar
    lib/util3.jar
    lib/util4.jar
    The manifest in all three wars reference all util jars. This ear deployssuccessfully
    on Weblogic with no errors.
    How could these separate servlets (one in each war) not have seperateclass loaders
    seperate from the root where the utils should reside. I don't thinkthat
    I have
    any control over where Weblogic loads the war classes, or do I?
    See comments below....
    Mark Spotswood <[email protected]> wrote:
    Mark Cotherman wrote:
    Thanks for the follow-up.
    I want to make sure I follow what you are saying. All classes in
    the
    manifest
    Class-Path of WARs are exported to the parent classloader.That's right.
    To me this is the correct behavior since the manifest Class-Path
    is
    meant to provide
    a way to share common utility classes among several web apps. AllEJB jars and
    manifest Class-Path entries should be loaded by the same class loader.Its a way to share class definitions, but not necessarilly class
    instances. I don't think that a web application should be extending
    the classpath of its parent's classloader. This leads to namespace
    problems as well as reloadability issues.
    Ok, you lost me here. Shouldn't delegation handle the namespacecollisions??
    If the web app class loader has a class definition (webapp:com.xyz.ClassA) with
    exactly the same name in the same package as the root class loader(rootloader:
    com.xyz.ClassA), I thought the web app would use (delegate loading)the
    class
    definition from the root class loader when PreferWebInf is set to false.
    Isn't this why the PreferWebInf attribute, when set to true, can causeClassCastExceptions??
    The web app when creating an instance of (webapp: com.xyz.ClassA)from
    the web
    app class loader can potentially pass a reference to this instanceto a
    class
    instance loaded from the root loader. The root class loader has adifferent class
    definition for ClassA.
    REALLY what makes since is that all common jar files be defined
    in
    the manifest
    Class-Path OF THE ear FILE (if the WAR(s) are in an ear). These
    jar
    files should
    then be loaded by the same class loader as the EJB jars. There shouldbe no need
    for the WARs to have any reference to the utility jars since the
    EJB
    class loader
    is the parent of the WAR class loaders.The ear file doesn't have a manifest classpath, but what you are getting
    at makes sense. If you add a manifest to any EJBs in your app, theall
    webapps (as well as all other EJBs) will be able to see it, sincewith
    our structure, EJBs are loaded into the application's root classloader.
    My problem is that the ACTUAL SERVLET classes are NOT being loadedby a separate
    class loader from the EJB and common jar class loader. This is
    completely
    against
    what is being said in the Weblogic documentation. The Manifest
    Class-Path
    should
    have nothing to do with where the classes that reside in
    WEB-INF/classes
    of my
    servlet are loaded.Classloaders will ask their parent for the class first before loading
    it
    themselves. So if the parent classloader somehow has visibility to
    classes that your webpapp references, then it will get loaded by the
    parent classloader.
    I am in the middle of migrating an app from an older version of
    Weblogic,
    and
    it would be helpful to have the ACTUAL class loading hierarchy welldocumented.
    The basic hierarchy is all EJBs are in a root shared classloader and
    each web application is loaded by a classloader that is a child of
    that root.
    Again, am I missing something here???My suspicion is that somehow these servlets are in the classpath ofthe
    root classloader, so when the webapp classloaders delegate to thatone,
    it will come up with the class.
    mark
    Mark Spotswood <[email protected]> wrote:
    I believe what you are seeing is a bug in the servlet container.
    The classloader organization is what you expect, but each webapp
    is exporting the classpath information from its manifest to the
    classloader above its classloader (which is common to all
    three webapps) rather than to its own classloader. So because
    of the delegation that happens with classloading, the common
    parent classloader is the one that loads the class.
    I believe that this behavior exists as an attempt to avoid
    ClassCastExceptions, but I don't think that it is the right
    solution to this problem. In our 8.1 release, this behavior
    has been changed. That is, web applications no longer export
    manifest classpath information to the parent of their classloader.
    This change has not been ported back to the 7.x line, but a bug
    report has been created (CR099889). You should be able to follow
    up with support with this CR number.
    mark
    Mark Cotherman wrote:
    I have read the BEA documentation on the class loader hierarchy
    in
    Weblogic Server,
    and I have some questions regarding some behavior I am seeing.
    I am running Weblogic Server 7.0.
    I have an ear file that contains 3 web apps (wars) and several
    utility
    jars. The
    web apps' manifests contain the Class-Path entry for the utility
    jars.
    My understanding
    of this is that each web app SHOULD have its own class loader.
    Also,
    the utility
    jars will be scoped in a separate class loader and WILL NOT have
    visibility
    to
    the web app classes. The web app classes should have visibility
    to
    the utility
    jars.
    Is this correct????
    I added a static segment of code in each web app and printed the
    class
    loader
    for each servlet when it was loaded. I also printed the class loaderfrom a class
    that is DEFINITELY contained in one of the utility jars. Here is
    the
    result:
    Utility Class ClassLoader: sun.misc.Launcher$AppClassLoader@b9d04
    Utility
    Class
    Parent ClassLoader: sun.misc.Launcher$ExtClassLoader@71732b
    Servlet 1 ClassLoader: sun.misc.Launcher$AppClassLoader@b9d04 Servlet1 Parent
    ClassLoader: sun.misc.Launcher$ExtClassLoader@71732b
    Servlet 2 ClassLoader: sun.misc.Launcher$AppClassLoader@b9d04 Servlet2 Parent
    ClassLoader: sun.misc.Launcher$ExtClassLoader@71732b
    I'm a little confused.... I expected to see 3 different class loaders(i.e. one
    for each class above). I believe the above printout says that all
    3
    classes are
    being loaded by the SAME class loader instance
    (Launcher$AppClassLoader@b9d04).
    Am I interpreting this correctly? If so, what's going on?

Maybe you are looking for