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

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

  • 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.

  • Merge/Concat Multiple Columns in a Flat-File wthin ODI

    Hi,
    I was wondering if there is a quick way to merge/concat multiple columns in a Flat-File from within ODI, a functionality kinda similar to Essbase load rule files for join/split columns etc.
    Please let me know.
    Thanks

    Looks like the CONCAT function works only with Memory Engine. Could someone please confirm this? If this is true, I guess applying the patch is the only resolution.
    Thanks

  • How to extract required data from a column to a flat file

    my ssis package is working OK. However, I want to refine one of the column extraction.
    when data is extracted to the flat file, I just want to the initials, firstname, lastname e.g.
    FZ = Ben Smith, Add1, add1, etc
    the only bit that i want is  Ben Smith
    how can i state in the package to just give me the name and exclude the rest
    sukai

    Add a derived column task to extract Name part alone and give expression as below
    LEFT([ColumnName],FINDSTRING([ColumnName],",",1)-1)
    If before SSIS 2012 use SUBSTRING
    SUBSTRING([ColumnName],1,FINDSTRING([ColumnName],",",1)-1)
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Dynamic Column Names in Flat File Destination

    Hello,
    Inside a Data Flow Task, I have an ADO.Net data source which executes a stored procedure that provides results in 5 columns.
    The requirement is to have it connect to a flat file destination, such that the column names is dependent on what data was pulled by the data source. There is a variable indicator which identifies the data that was pulled. For example:
    If the indicator is 0, then the columns names will be A,B,C,D,E. Otherwise, if the indicator is 1, then column names will be V,W,X,Y,Z.
    Any suggestions will be of great help.
    AJ

    If you only have two variations then use a branched execution (based on precedence constraints) and direct it to one DFT or another based on the result returned by the stored procedure.
    Otherwise use .net
    code to create one package or another dynamically.
    PS: I suggest not to bother using SSIS for such a simplistic scenario.
    Arthur My Blog

  • 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

  • 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

  • SSIS Flat File Source not populating varchar column

    I have SSIS package that imports flat files with column separator | from "Flat File Source" into the database trough "OLE DB Destination".
    For one of the columns (file contains UIDs in curly brackets) destination column is varchar(250) null-able, when "Retain nulls" is set to true complete data have been imported, but when "Retain nulls" is set to false beside fact that in
    the file data is not null and it is not empty string it is not imported and in the destination column is empty string.
    I know that this "Retain nulls" applies to the columns that contains NULLs but this is not the case.
    If someone have experience with such issue please help.
    Thank you in advance.

    From your statement it looks like when you have curly brackets it skips the value and inserts nulls instead. And that may be the reason why its working fine when you change retain null value. 
    I would suggest 
    Make your setting "retain null" to true and load the flat file, then check what happens to the values having curly braces (is there any value or null) , if there is value we need to check for that(please share a sample file). And if it having null
    instead of "{value}", I would suggest to put a script task to remove { from your flat file and then try load the data.
    Hope this helps.
    Regards, -Amit

  • Reject columns which exceed a particular length during OWB flat file import

    Hi,
    I have a file in csv format. This file has a lot of columns out of which i need to use only a few. I created a file in OWB using the given csv file using the file import wizard. I am using this file to create an external table.
    The import is working fine, But the problem is that certain columns (which are not required to be processed) have very huge data. This is leading to rejection of certain rows (when i deploy the external table) which have valid data for the required columns, but too huge data was columns which i do not need.
    But these rows must not be rejected.
    I wanted to know if there any way by which we can truncate/ insert null in these unwanted columns (either during flat file import / or during creation of external table), so that the row is taken in partially(with the wanted columns)?
    Thanks a lot!
    NS

    Hi Julie,
    As Jim posted, you could try a RAW file instead of a CSV file. In SSIS, the Raw File destination writes raw data to a file. Because the format of the data is native to the destination, the data requires no translation and little parsing. So does the Raw
    File source. Besides, the Raw File destination/source can improve the package performance because they write data more quickly than other destinations such as the Flat File, the OLE DB, and Recordset destinations.
    References:
    http://www.katieandemil.com/ssis-raw-file-source-example-ssis-2012
    http://www.jasonstrate.com/2011/01/31-days-of-ssis-raw-files-are-awesome-131/
    Regards,
    Mike Yin
    TechNet Community Support

  • Loading of master data through flat files

    Hi
    can anybody tell how to load master data through flat files.As for as my knowledge we load characteristic and attributes values first and then we load text and then hierarchy.
    is it right or is there any procedure to load all values at a time.
    sai

    Hi ,
    condition1:The sequence of columns in the transfer structure must correspond to the sequence of columns in your flat file
    chk this help.sap link
    http://help.sap.com/saphelp_nw04s/helpdata/en/c8/e92637c2cbf357e10000009b38f936/frameset.htm
    Hope this helps you!!!!!!!
    cheers,
    Swapna.G

  • How to load flat file containing data(separated by commas) into cube sapbi.

    hi gurus,
    please help me with this question?
    i have some data in the flat file for example, address but with commas for ex:
    h.no:123,colony,area,hyd-59.now i have even other columns in this flat file like customer name,age.....i want to know ,how to load this data into infocube. where in when it comes to address column sap bi takes it as a single column in the generated report.

    Hi Amulya,
    To get reports on all ur records save ur flat file in .CSV format -> to do this open ur flat file, save as "filename.csv".
    -> CSV is nothing but comma seperator value, sap supports two types of formats 1).csv and 2) ASCII format.
    we prefer .csv format.
    check this link for step by step modelling.
    http://www.scribd.com/doc/3804698/SAP-BW-StepBystep-From-Fu-Fu
    http://books.google.co.in/books?id=3wBjrMDWescC&pg=PA184&lpg=PA184&dq=stepbystepdocumentationfor+sap-bw&source=bl&ots=RIp
    T1knFet&sig=_4HOg59Om504Zb9RObF9Ir_oE64&hl=en&sa=X&oi=book_result&resnum=3&ct=result#PPP1,M1
    hope it helps u,
    Thanks,
    Sai Chand.
    Edited by: sai chand on Jan 26, 2009 10:04 PM

Maybe you are looking for

  • Services for Objects will not display attachments

    Hi Gurus, we are currently set up to display attached documents using IXOS Live Viewer, but only a select number of users have this viewer due to licensing, etc. The problem is, we have requirements for other users to display attachments in FI docume

  • How to fetch tables for a particular pricing document?

    Hi all, From which tables I have to fetch for particular pricing document that has a particular Condition type?For exampe i am asked for to fetch Pricing document 'IDV' that has a 'ZQTG' Pricing Condition Type.By the way is there any difference betwe

  • Can I upgrade to mountain lion and skip snow leopard from my OS X 10.6.8?

    Hi guys, Im not sure on this thus any one can advice me on this? I'v missed the snow leopard upgrade and now came the mountain lion; can I just upgrade and down the m.lion directly? Or do I need the snow leopard in order to install the mountain lion?

  • Apache Mod_Rewrite in an Alias

    Hello, I have mod_rewrite working just fine for files that are in /srv/http. I copied my test files to another directory where I have an alias pointing and tried them there but was not able to get it working. Is anyone able to spot what I am doing wr

  • Database upgrade using assistant

    Hi I installed 9i on a server that already has an 8i database. I am trying to use the upgrade assistant in 9i to convert the database to 9i. After selecting the 8i db, I get dialog saying 'Getting database information. Please wait..' then error 'ORA-