Hierarchy Flat file

Hello Gurus
Can anyone plz send the format for Flatfile for hierarchy or any hierarchy flat file...i want to know how to create a flat file for hierarchy.
Plz send to
[email protected]
Regards
Srikanth

hi,
check the format here (with sample)
http://help.sap.com/saphelp_bw33/helpdata/en/b0/ab8e3cb4340b14e10000000a114084/frameset.htm
http://help.sap.com/saphelp_bw33/helpdata/en/fa/e92637c2cbf357e10000009b38f936/frameset.htm
http://help.sap.com/saphelp_bw33/helpdata/en/1f/0e3237e5875249e10000009b38f936/frameset.htm
hope this helps.

Similar Messages

  • Hierarchy flat file extraction

    Hi experts--
    Can anyone could guide me in Flat file Hierchy extraction.Step by step.
    if possible with screen shots.
    can send it to [email protected]
    regards,
    Rambo.

    Hi,
    Flat file hierarchy extraction is similar to the normal flat file extraction procedures. But the file structure itself can be complex and is different than normal flat files.
    Take a look at the threads below for more details :
    Hierarchy Flat file
    Hierarchy from flat file
    Program to load a flat file in a Hierarchy
    Cheers,
    Kedar

  • Short dump while loading Hierarchy flat file

    Hi gurus,
    i am trying to load data from flat file to hierarchy, when i am trying to schedule the InfoPackage its giving message  a dump :-
    "ASSIGN_LENGTH_0" C     
    "SAPLRRSV" or "LRRSVU10"
    "RRSV_INT_CHA_VAL_SPLIT"
    These are the steps i followed.
    1 created a ZINREGION
    2. enabled hierarchy of ZINREGION and included ZINCOUNTRY as external characteristics.
    3.and then created infosource and assigned DataSource and created hierarchy and created InfoPackage.
    4. selected the hierarchy in InfoPackage, which was created by clicking the hierarchy structure in DataSource and transfer structure.
    5.when i scheduled the load in InfoPackage i got above short dump message.
    I FOLLOWED THIS BLOG
    /people/prakash.bagali/blog/2006/02/07/hierarchy-upload-from-flat-files
    thanks
    Sathya Pathapati

    Hi Philippe,
    The processing step, as I could see in the status tab of the monitor, is ".Service API" I am not sure if this is what you are asking for. If not, please let me know what you want me to check for. Below is the description I have in the Status Tab.
    InfoIdocs missing; file system
    Diagnosis
    InfoIDocs are missing. With the file system as source system, the IDocs are created in BW. As this did not happen there was probably a short dump in BW.
    System response
    No end-confirmation arrived in the Warehouse from
    Procedure
    Check the short dumps in BW.
    Check the data in the InfoCube.
    Error Correction:
    If the data was correctly updated in the InfoCube, then it is possible that no InfoIDocs were generated.
    Set the data request status manually to "OK" (green traffic light).
    This error has occured in a standard SAP Program.
    Hi Ravi,
    I am not loading the data to the cube but only to the ODS. I have plans to load the data later from ODS to Cube.
    I am not using the process chains to load the data and anyway, as I am not loading to the cube, I auume the index will not come into picture. Please correct me if I am wrong.
    And, what do you mean by "Split the file". Can you please elaborate?
    Thanks,
    RPK.

  • Timedependent hierarchy flat file upload

    Hello All,
    I am trying uploading timedependent hierarchy through a flat file.There was no error when i ran infopkg but when i go and check in hierarchy maintanance, i dont find any hierarchy there.I also verified in PSA, wherein i found four segments properly loaded with data.
    I am wondering what can be the possible reason, please provide your valuable suggestions.
    Regards,
    Jay

    Actually speaking there was a error which i didn't noticed. I have to go to scheduler monitor --> details tab --> Transfer (IDocs and TRFC): Errors occured --> Data Package 1 : arrived in BW ; Processing : 2nd processing step not yet finished ,  on the context menu i clicked manual update, hierarchy got loaded.
    But still why one has to go for manual update, Can't it be automated ?
    Infopkg --> processing tab --> check -- update subsequently in data target will solved the problem.
    Edited by: Mr. JK on Mar 14, 2008 7:28 AM

  • Link Column in Hierarchy Flat file

    Hi Gurus,
          Good Evening.
    Can anyone please let me know the significance of the Link column (in between Node name and Parent ID) while doing the flat file extraction for Hierarchy.
    Warm regards,
    Warnie.

    Hi
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4dae0795-0501-0010-cc96-fe3a9e8959dc
    A customer (a global retailer) wishes to create a master data repository to store information about the locations it is active at. The data includes information about states, regions, counties, and cities (for example, the state capital, county population) and specific outlets. Each outlet is associated with a geographical hierarchy (state, region, etc.) Itu2019s expected that it will be easy to search and maintain information using the MDM Data Manager, and that the repository will be designed in a way that will ensure data integrity.
    The information to store includes the following objects and hierarchy:
    1. States u2013 each state holds a name, postal, traditional name and capital.
    2. Regions u2013 a region is associated to one state. It holds the name of the region.
    3. Counties u2013 a county is associated to one region. It holds the county name, population, FIPS code, and the county code.
    4. Cities u2013 a city is associated to one county. It holds the city name.
    5. Outlet u2013 an outlet is associated to one city. It holds a unique identifier, a name, outlet manager name, and contact information (address and phone number.)
    Hope it is clear and helpful

  • Hierarchy Flat File loadable format

    Hi,
    We need to load flat file hierarchy into infoobject.
    We have the hierarchy in an excel file, in a sequential format.
    How to convert this file into BW loadable format ie how to make it as hiearchy format?
    Can you please throw some light.
    Thanks,
    Sri Arun Prian

    Hi,
    Thanks for your immense responses.
    I have a flat file with huge records. To load it, we need the flat file data to be presented in nodes and sub nodes format.
    As I have huge data, it will be tedious to do them manually.
    So kindly throw some points in acheiving this.
    Thanks,
    Sri Arun Prian

  • Hierarchy flat file maintainence

    Hi BW experts,
    I am trying to load a material hiearchy from a flat file. The question is I have to maintain a flat file and I understand that if the number of materials are more there is some abap program to maintain the parent child relationships.Could somebody help with the abap program to maintain a flat file and I can upload that to the BW.
    My hierarchy looks like
    text node
      text node
          materials
    Textnode
      textnode
        materials
    Textnode
      textnode
        materials
    and so until 10 text nodes. I have the relationship between text nodes and materials.Please help me to accomplish that task. I appreciate quick replies.
    I understand the maintenace of flat file if the number of entries are limited but if the entries are say 10000 we have to come up with a logic which will take care of this format. I hope I explained the requirement and if you need further details ask me.
    Thanks,
    Pavan.

    If you can use the ABAP program to download the hierarchy, I don't understand your need for accessing the H table.  (I'm sure the ABAP program accesses this table.)
    I understand your issue with different materials between the other BW environments.  You can create multiple hierarchies in BW for a given info object.  You can create one hierarchy to be used for reporting in BW DEV, and create/copy another one to be downloaded and uploaded into your QA/PRD environments.
    What is your source system?  I have presumed it is not R/3, because you could simply use the material hierarchy datasource available with R/3.  And when the source system is non-SAP, production master data values are typically loaded into all of the BW environments (because customers do not usually want to create multiple flat files (DEV, QA, PRD) for master data loads.

  • Hierarchy: Postable node (or not) in Flat file

    Hello Experts,
    I have read several times, the links you provided on this subject and they were very helpful but I am still stuck here:
    If I am loading a hierarchy through a flat file, how do I specify which of these nodes are postable and which are not?
    I know the Leave notes are postable, but my issue is with the various interval nodes
    For example, in this Customer profit center hierarchy ....
    NodeID|InfoObject Name| Node Name----- |--Link-|-ParentID|Child-|----Next ID
    0001----|0Hier_Node|--Customer--||---0|2---|--0---
    0002----|-0Country--|-China||| -|----
    0003----|-???--|50000||| -|----
    0004----|-oRegion--|RegB||| -|----
    0005----|-???--|60000||| -|----
    0005----|-???--|70000||| -|----
    What I want to achieve in the flat file, is to place region and the profit center 5000 under country, and make the profit center 5000 postable but Region is not postable.
    Also, under Region is RegB which is supposed to be NOT postable, but it has 2 profit centers under it, 6000 and 7000 which should be postable.
    Root
    Country---5000
    Region
    RegB---6000 / 7000
    Any help on this flat file will be appreciated. Where I have ???, I only meant I have doubts but I think it should be 0ProfitCtr.

    Hi,
    I don't know if this is what you mean...
    NodeID|InfoObject Name| Node Name----- |--Link-|-ParentID|Child-|----Next ID
    0001----|0Hier_Node|--Customer--||---0|2---|--0---
    0002----|-0Country--|-China||---1| -|----
    0003----|-???--|50000||-2| -|----
    0004----|-oRegion--|RegB||--2| -|----
    0005----|-???--|60000||4--| -|----
    0005----|-???--|70000||--4| -|----
    (hope it is readable)
    In the hierarchy flat file you only need to specify the parent node of a row. That way your hierarchy will get linked. That is how we load our flat file hierarchies and it works perfectly.
    Regards,
    David.
    Message was edited by: David Sirvent

  • Flat File data load issue

    Hi All,
    I have an issue where in flatfile  load is failing.
    I have flat 7 hierarchy flat files. We loading them from application server which is in Unix platform.But 2 files among them are failing.
    When i copy the same files into my local computer which is in Windows platform and load them they are getting loaded without any error.What would be the problem.Is there any special character set that unix cannot identify.
    Can any one advice on this.
    Thanks in advance
    Bhanu

    Hi Bhanu,
    As you mentioned  out of 7 files only 2 are faling .
    a)  Are the data in the 2 files similar to other 5 files which are successful ?
          No 
               1. Check if its a data issue, error mesgs and at which line it failed and analyze or provide us details.
          Yes
                1. check the path of the file  if its defined properly.
                2. check why the load failed ..if its an error while lookup.
    Hope it helps .
    Thnks
    Ram

  • Error while uploading data from a flat file to the hierarchy

    Hi guys,
    after i upload data from a flat file to the hierarchy, i get a error message "Please select a valid info object" am loading data using PSA, having activated all external chars still get the problem..some help on this please..
    regards
    Sri

    there is o relation of infoobject name in flat file and infoobjet name at BW side.
    please check with the object in the BW and their lengths and type of the object and check your flat file weather u have the same type there,
    now check the sequence of the objects in the transfer rules  and activate them.
    there u go.

  • Flat File Hierarchy Datasources

    We are creating several flat file hierarchy datasources. The datasources will be maintained in an external database.
    I am familiar with the creation of flat file datasources for master and transactional data, but don't have good documentation for how the external flat file hierarchy is to be formatted.
    We have reviewed the 2004 Netweaver Document "How to Download Hierarchies in BW" and have used the program referenced there, Z_SAP_HIERARCHY_DOWNLOAD, to download our hierarchies to then test the upload.
    However, this has not worked.
    Does anyone have the record layout that the flat file must be in to upload a simple 2-level hierarchy (for example groupings of 0vendor)?
    Thanks, Doug

    I think the URL you mention is http://help.sap.com/saphelp_nw04/helpdata/en/fa/e92637c2cbf357e10000009b38f936/content.htm.
    This contains the record layout instructions as follows.
      5.      Maintaining the hierarchy:
    Choose Hierarchy Maintenance, and specify a technical name and a description of the hierarchy.
    PSA Transfer Method: You have the option here to set the Remove Leaf Value and Node InfoObjects indicator. As a result, characteristic values are not transferred into the hierarchy fields NODENAME, LEAFFROM and LEAFTO as is normally the case, but in their own transfer structure fields.  This option allows you to load characteristic values having a length greater than 32 characters.
    Characteristic values with a length > 32 can be loaded into the PSA, but they cannot be updated in characteristics that have a length >32.
    The node names for pure text nodes remain restricted to 32 characters in the hierarchy (0HIER_NODE characteristic).
    The system automatically generates a table with the following hierarchy format (for sorted hierarchies without removed leaf values and node InfoObjects):
    Description
    Field Name
    Length
    Type
    Node ID
    NODEID
    8
    NUMC
    InfoObject name
    INFOOBJECT
    30
    CHAR
    Node name
    NODENAME
    32
    CHAR
    Catalog ID
    LINK
    1
    CHAR
    Parent node
    PARENTID
    8
    NUMC
    First subnode
    CHILDID
    8
    NUMC
    Next adjacent node
    NEXTID
    8
    NUMC
    Language key
    LANGU
    1
    CHAR
    Description - short
    TXTSH
    20
    CHAR
    Description - medium
    TXTMD
    40
    CHAR
    Description- long
    TXTLG
    60
    CHAR

  • Numbering nodes when loading hierarchy from a flat file.

    Hi All,
    I want to load a hierarchy from a flat file. When we number the nodes, do they have to be in a sequence or can I give them any number I want? I want to make the GL account number as the node number since it makes it easy to generate the node number that way. The way I see it, the important thing is the parent node number; so this approach should be fine. Please correct me if I am wrong.
    Thanks,
    Uday

    Hi Uday,
       You need to have a running sequence numbers for Node Id field in the flat file. The file structure is as
    NODEID  IOBJNM      NODENAME TLEVEL LINK PARENTID
    00000001 0GLACC     GL233344             00000001
    00000002 0GLACC     GL435556             00000001
    00000003 0GLACC     GL545666             00000001
    00000004 0costcenter cc433232            00000002
    00000005 0costcenter cc433233            00000002
    00000006 0costcenter CC555551            00000003
    The Parentid will calculated by the system automatically.
    when you prepare you file csv please ensure that you have 8 characters for the Node ID " 00000003" other wise you will get error.
    And if you want to add GL Account number to your hierarchy then you need to add GL A/c Number as external characteristics in hierarchy and add it to your flat file .
    Hope it helps.
    Cheers,
    Balaji

  • Hierarchy format in Flat file

    Hi gurus,
          please tellme  the Hierarchy format in Flat file.
               ThanQ.
       Regards,
       Ramesh.

    Hi
    1.Defining the source system from which you want to load data:
    Create For a flat file, choose: File System, Manual Metadata; Data via File Interface.
    2.Defining the InfoSource for which you want to load data:
    Create Application Component.
    Create InfoSource , Direct Update
    Choose an InfoObject from the proposal list, and specify a name and a description.
    3.Assigning the source system to the InfoSource
    Assign Source System. You are taken automatically to the transfer structure maintenance.
    The system automatically generates DataSources for the three different data types to which you can load data.
    Attributes, Texts,Hierarchies (if the InfoObject has access to hierarchies)
    The system automatically generates the transfer structure, the transfer rules, and the communication structure (for attributes and texts).
      4.      Maintaining the transfer structure / transfer rules
    Choose the DataSource to be able to upload hierarchies.
    Idoc transfer method: The system automatically generates a proposal for the DataSource and the transfer structure. This consists of an entry for the InfoObject, for which hierarchies are loaded. With this transfer method, during loading, the structure is converted to the structure of the PSA, which affects performance.
    PSA transfer method: The transfer methods and the communication structure are also generated here. 
    5.      Maintaining the hierarchy:
    Choose Hierarchy Maintenance, and specify a technical name and a description of the hierarchy.
    PSA Transfer Method: You have the option here to set the Remove Leaf Value and Node InfoObjects indicator. As a result, characteristic values are not transferred into the hierarchy fields NODENAME, LEAFFROM and LEAFTO as is normally the case, but in their own transfer structure fields.  This option allows you to load characteristic values having a length greater than 32 characters.
    Characteristic values with a length > 32 can be loaded into the PSA, but they cannot be updated in characteristics that have a length >32.
    The node names for pure text nodes remain restricted to 32 characters in the hierarchy (0HIER_NODE characteristic).
    The system automatically generates a table with the following hierarchy format (for sorted hierarchies without removed leaf values and node InfoObjects):
    The system transfers the settings for the intervals and for time-dependency from the InfoObject maintenance. Depending on which settings you have defined in the InfoObject maintenance, further table fields can be generated from the system.
    The valid from and valid to field is filled if you select Total Hierarchy Time-dependent in the InfoObject maintenance. The time-dependent indicator is activated if you select the Hierarchy Nodes Time-dependent option in the InfoObject maintenance.
    6.      Save your entries.
    Depending on which settings you defined in the InfoObject maintenance, additional fields can be generated from the system. Also note the detailed description for Structure of a Flat Hierarchy File for Loading via an IDoc and for Structure of a Flat Hierarchy File for Loading via a PSA.
    Further Steps:
    Maintaining InfoPackages
    Result
    You have uploaded the hierarchy data for the corresponding characteristic.

  • Exporting Hierarchy in Flat File Format

    Hi All,
    I exporting hierarchy in local file from transaction code OB58 (Balance sheet Hierarchy and Profit & Loss Hiearchy) , KSH3 (Cost Center Hierarchy), KCH3 (Profit Center Hierarchy). But the hierarchy is commming as it is displayed at the R3 screen.
    I have to load these hierarchies in BW through flat file. Is there any method other that writing an ABAP program by which we can extract these hierarchies in Flat file loadable format.
    Thanks

    Perhap's it can help you
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0403a990-0201-0010-38b3-e1fc442848cb?overridelayout=true|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0403a990-0201-0010-38b3-e1fc442848cb?overridelayout=true]
    It's an ABAP program but it works well and you can load your flat file easily

  • How to built a hierarchy with flat file?

    Hi Experts,
    for a better representation of the report, i need to built a hierarchy with flat file.
    The Data load is via Flat file.
    Do you have some documentation about that?
    Thanks
    Cheers
    Gilo

    Hi Gilo,
       Check these docs...
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0403a990-0201-0010-38b3-e1fc442848cb">How to… Download a Hierarchy to a Flat File</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/fa/e92637c2cbf357e10000009b38f936/content.htm">Uploading Hierarchies from Flat Files</a>
    <a href="http://sapbwneelam.blogspot.com">More Docs...</a>
    Hope it Helps
    Srini

Maybe you are looking for

  • Im on the 10.6.8 software and i recently deleted my mac app store and emptied trash and dont know how to get it back now.

    Im on the 10.6.8 software and i recently deleted my mac app store and emptied trash and dont know how to get it back now.

  • What should be the approach to perform these tasks?

    I am working on an AIR Desktop application (With Flex) which reads data from some XML Feeds, this data is feed for a Discussion Forum. 1. I need to store the records from XML Feed into local Database. 2. Need to check periodically (every 15 minutes)

  • Logic problem in using card ..

    hi !! i have a movie file stored on a cd, but it is in encrypted format (encrypted with symmetric key key1). key1 is stored on the cd also, but encrypted with public key key2. the corresponding private key key3 is stored on the card. there is a funct

  • Page can't be auto refresh in IE 8

    Hi All, I have a enviorment dependency which force me to use IE 8 for some spesific application. But since last tow days we face an unwanted issue that the IE webpage is not getting updated or refreshed once the content of the page value is changed.

  • Video FX don't render, just turn RED!

    I have no idea what I'm doing wrong. But when I want to add certain Video FX for example, FOG, OLD FILM, or RAIN, etc.. once it has completed rendering the clip the entire thing just turns RED! as opposed to the effect i chose. why is this?? Thank yo