Update Hierarchy from file flat
Hi,
We have transferred the hierarchy of infoobjet 0IM_REPOBJ from OLPT, and a new hierarchy is created in SAP BW.
Now we want to add new characteristic (node) to this hierarchy, from upload file flat.
I have followed all steps of documentation from sdn but I can't do it.
After that, I think that from uploading file flat, only is possible created a new hierarchy or update a hierarchy created before for this way.
It's correct or exist any way for update by uploading file flat, of a hierarchy downloaded from OLPT?,
Best Regard,
Mario.
Hi Abhishek,
When I try to upload the new characteristic from file flat, the follow error appear:
RSAR 204: Error when you calculate the node level in ahierarchy.
There is two sap notes, but it not apply for our case.
When I create the infopackage of datasource from file, in tab "Hierarchy Selection" I can't select the herarchies available from OLPT, I have to create a new hierarchy. Although I create a new hierarchy with the same technical name of OLPT hierarchy, the system assign a new internal ID.
And I think that, when I execute the infopackage from file flat, try calculate the node level in the new hierarchy created and not of the hierarchy existing in a infoobject.
For this reason I guess that it isn't possible update by file flat of a hierarchy downloaded from OLPT.
Regarding your proposal of download the OLPT hierarchy, update it and upload to BW from file flat (deleting the existing hierarchy). I think that would be the more aproximate option, but we'll have to analyze the process, because the hierarchy will be updated both from OLPT as file flat.
Have I to assume that my guesses are right?.
Best Regard,
Mario.
Similar Messages
-
Extract hierarchy from a flat file
Hello,
Im trying to extract hierarchy from a flat file.
The hierarchy is built from 3 different infoObjects each infoObject represent different level in the hierarchy. I built the hierarchy in the last level of the hierarchy and put all the levels as external chars in the hierarchy.
(I used the blog: Hierarchy Upload from Flat files: /people/prakash.bagali/blog/2006/02/07/hierarchy-upload-from-flat-files )
When I extract the data into the PSA it looks fine but when I choose to update the PSA data into the infoObject the request stays yellow. Three is no dump and I cant find the job in SM50.
Please Advice,
DavidHi David,
Thats the problem with using PSA for flatfile hierarchy loads. If you can change the transfer method to "IDOC" then change and retry the load. The IDoc method gives you an advantrage when dealing with flatfiles as you can debug and notice which record # has errors.
Bye
Dinesh -
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,
UdayHi 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 -
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 RHi -
Check the following link.
Hierarchy Upload from Flat files
Anesh B -
SG300-28 How update boot from file rfb - version 1.3.5.06
I download to my switch SG300-28 new firmware version 1.3.5.58 I package zip i found two file:
sx300_fw-13558.ros - this is the firmware
sx300_boot-13506.rfb this is the boot code
I upgrade firmware by WEBGUI swicth. ADMINISTRATION>FILE MANAGEMENT>UPGRADE/BACKUP FIRMWARE/LANGUAGE
But i dont know how i can upgrade BOOT from WEBGUI or other... Please help me a tell my how-step by step.Hello.-
After reading release notes and some experiences in this forum, I am really worried about upgrading a SG300 firmware 1.1.2.0 to version 1.3.5.58. Release Notes points out that you have to update the boot loader before the firmware. However some users report that they had to reconfigure the switche after the upgrade.
My concern are.
- Is it necesary to boot the switche after upgrading the boot loader ?. This is not going to be a problem with the old firmware?.
- Can I apply the confirguration backup after the firmware upgrade or is necesary to reset to factory default and do it from scratch ?.
Thanks. -
[SSM 7.5 BI CONNECTOR] Updating hierarchy from BW query
Hello
I'm working on SSM 7.5 SP2 with the BI Connector.
I've made a model with the BI Connector which read a simple query with one dimension. This dimension has a hierarchy which we will call H1.
Bi connector steps :
I import the schema...
I create my metrics...
I update my data...
SSM Admin steps :
I create a new KPI in my context with the measure from my query
I launch the Scorecard and i drilldown in the KPI screen and i see all my data in the hierarchy H1. Everything is Ok.
Now
I create a new hierarchy in BW, let's call it H2 on my infoobject which correspond to the dimension.
I edit my query in Query Designer to set the new hierarchy on the free characteristic. I do not change anything else.
I repeat BI Connector steps :
I import the schema...
I create my metrics...
I update my data...
I launch the Scorecard and i drilldown in the KPI screen and i see all my data in the hierarchy H1 not H2. So SSM is not up to date.
I tried many ways to solve this but i cant find a solution to update the scorecard.
So what can i do to make SSM Scorecard use H2 hierarchy instead of old H1 ?
Thank you very much for your help.
Note : H2 has the same members as H1 but in a different order so there is data in both hierarchy.Hello,
did you stop the services and clear the cache?
In "Best Pratices - The BI Connector in SSM 7.0" it says:
"In early versions of the BICA Tool (pre 6 June 2008), if you did an Import Schema using BICA then changed the query definition in BI then tried to re-import schema using BICA (or even import schema to a brand new PAS Model) then the BICA may not have recognized the new query definition. This is because the old query definition is still in the Work Database of the PAS user that the BICA tool uses to connect to PAS. From BICA version 6 June 2008, u201CFORCEu201D has been added to all of the IMPORT commands so this should no longer be a problem. The other solution is to restart the extended listener (to close the work database of the PAS User) and then use the BICA to re-import the new query definition. Note that if you are working in PAS directly you would just issue an exit clear command and re-enter PAS u2013 the new query definition will then be available to you."
I don't know if this to SSM 7.5, but you can try.
Regards,
Vera -
My Ipod Refuses To Update ANYTHING, from files to internet update software
I just updated a few songs, and when it was done "updating" I checked and EVERYTHING was gone... It erased every file in it by itself !!! it says there is an error, and it wont update anything again,it says something about writting or "escritura" in spanish...
I'm desperate!
And there is a diffrent icon of "do not disconnect" than the one it used to have (probably the one you all have) this one looks smaller, with other letters...See this http://support.apple.com/kb/HT4527
Also, follow the steps given here...
Syncing to a "New" Computer or replacing a "crashed" Hard Drive -
Hierarchy from flat file loading with errors - duplicate node names
Hello experts,
I am loading a product hierarchy from a flat file into a custom hierarchy
object. The issue is that it errors out saying I am loading
duplicates within nodes, however all node IDs within a level are unique.
It seems to be looking at the node name to determine uniqueness and I know
we have some duplication within the text there especially when you factor
in the 32 character limitation for the node name. Does anyone have an idea
as to whether it is possible to have it only consider the node ID instead
of the node name to determine uniqueness?
A colleague suggested using the link ID to fix this problem but I don't know how that field works or how to populate it.
I'm working in a BI 7.0 environment (I don't know if that makes a difference since you still have to use the 3.x objects to extract the hierarchy).
Any help would be appreciated.
NancyHi Nancy,
You may wish to check this OSS Note 1026749 - Hierarchies: Consistency check for duplicate nodes and 912115 (old one)
Symptom -
When you load or activate a hierarchy it terminates with error message RH 109 or RH 211. The hierarchy contains duplicate nodes and this is not allowed. The long texts of messages RH 109 or RH 211 do not describe the reason for the problem sufficiently or they are partially incorrect.
There is uncertainty about in which cases duplicate nodes exist in a hierarchy and in which cases duplicate nodes are allowed.
Hope this helps,
Bye...
Naga Timmaraju -
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!
TimHi 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. -
How to Create Hierarchy From Flat file Structure
Hi Gurus,
There is a scenario for me regarding the Hierarchy.
Required Hierarchy structure - Region>Director>Manager-->Sales id
I have flat file which gives the info like user id , sales id , manager id, director id.
But the transaction data Flat file has structure with sales id, region id, sales amt, sales qty.
Note : Region id is another Master Data.
How i can create hierarchy from the first flat file which doesnot have region info in that but it is available in the transaction data Flat file.
Is there anyway we can create hierarchy based on the first Flat file structure which contains more that 1,00,000 records.
Try to Suggest me in this regard .
This is urgent.
Regards,
ManoHi Mano,
Defining the source system from which to load data
Choose the source system tree File ® Create.
2. Defining the InfoSource for which you want to load data
Optional: choose InfoSource Tree ® Root (InfoSources) ® Create Application Components.
Choose InfoSource Tree ® Your Application Component ® Other Functions ® Create InfoSource 3.x ® Direct Update.
Choose an InfoObject from the proposal list, and specify a name and a description.
3. Assigning the source system to the InfoSource
Choose InfoSource Tree ® Your Application Component ® Your InfoSource ® Assign Source System. The transfer structure maintenance screen appears.
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
Select the DataSource for uploading 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, the structure is converted to the structure of the PSA during loading, 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
Hope this helps
Regards
Karthik
Assign points if Helpful -
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
Srithere 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. -
Updating Table using the data from a flat file
Hi,
I have a table called emp;
Name,
empno,
accountno,
amount.
This table is filled with values of name and empno.
The columns accountno and amount are empty.
I have a flat file created in some folder.
Contents of the flat file can be like this:
mani | 23 | 123 | 1000
spr | 22 | 342 | 2133
asjf | 54 | 432 | 2345
I need to access the file in the specified location, read all the records one after the other in the flat file and update the table "emp" with the values in the flat file.
Row after row all the records in the file should be updated to the table.
I found out some way to do this - its sqlloader - But it loads the data from a file to the table - i dont need that - i need to update the table.
Let me know how this can be solved ?????????
Thanks in advance.......Just to clarify Andrew's point, you can use external tables as the source table for an UPDATE statement. You cannot use them as a target for an UPDATE statement (i.e. you can't update the text file from an Oracle table).
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Upload hierarchy from flat file to BPC
Hello SAP Guru,
I have download customer / material hierarchy in flat flie from BI/BW and now I want to upload hierarchy from flat file to BPC
Please can any one give me step by step method to load hierarchy from Flat file to SAP - BPC.
Thanks in advance.
With regards,
Anand KumarHi Saida Reddy,
why you resurrect a 5 years old thread? Surely he solved in the meanwhile his issue, see please dr Frankenstein.
Regards
Roberto -
Error when loading hierarchy from Flat-file
I am trying to get the Fund Group-Fund Fund Center Hierarchy .
Ie : Fund Group
Fund 1
Fund center 1
Fund Center 2
Fund Group 2
I am trying to load it from a flat file.
I got the Flat file structure for the hierarchy.
& I am trying to load it to the Funds Group master data.
I am stuck at IPak.
In the Processing Tab,
Only the option Only PSA is enabled.
My Doubt is :
Why are the other options disabled: could it be because I might have missed something in my previous steps ???
Or
if I load till PSA , I dont know how to load it to the Master data from there -as when I schedule it : I can see it in PSA but then it stays in Yellow & then turns to Red.Hi,
Go to monitor(RSMO)then verify on detail tab for PSA Load. Hope this help you,
Thanks
DST -
I have to load hierarchy from flat file
Hi Guys,
I build a balance sheet Report,which is showing the report based on financial statement item(0glaccext)hierarchy.
But previously client is maintaining some third party system,so client wants to load all the GL accounts in to BW.
When i load the GL accounts in to BW using flat file,in report it is not showing based on hierarchy for the flat file GL accounts.
So i need to load the hierarchy also for those GL accounts,how to load the GL accounts using flat file to maintain the hierarchy based on Assets,liabilities etc...Abdul,
You might want to take a look here:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0403a990-0201-0010-38b3-e1fc442848cb
or else see this weblog:
/people/prakash.bagali/blog/2006/02/07/hierarchy-upload-from-flat-files
assign points if useful
kalyan
Maybe you are looking for
-
I cannot open a tab to the right of an existing tab. I've followed the directions provided under normal FAQ. This feature just recently was wiped from my PC, and I am not certain how.
-
When I view all images in Finder I see up to four duplicates of most of my images
I bought my iMac earlier this year and all of my images were transferred to my iMac at the Apple Store.
-
Feature request for next firmware of 5320 xm 4.13
in the next firmware for 5320 xm 4.13 we want new features to be included in this great phone 5320 xm note : mod pls donot delete this bcoz its of great importance for nokia people here is the list of features requested Comes With Music Nokia 5320 h
-
Why does my camera stay on?
Why does my camera stays on? FaceTime is not active!
-
Can I create a new 'master' from an existing 'version'?
All, I've spent a few hours poking around the forums but haven't seen this question posed. Can I take a 'version' and turn it into a 'master'? I would like the ability to export masters and my 5* versions out at the same time in the .nef format. If t