Loading hierarchy from r3 to BW
Hi,
I am trying to load a hierarchy from R3 to BW, but once in BW i do not see any hierarchy.
I have checked if the hierarchy was activated in R3 and it is, do you know any reason or solution?
Do you know where I can find information about the steps to follow?
Many tahnks
Hi,
Say you want to extract an existing hierarchy from an SAP R/3 system and load it into BW so you can present your reports in a hierarchical way. For example, by loading a cost center hierarchy into BW, you could show expenses at the top node and then drill down to the lower nodes to see the details.
Although standard Business Content extractors support main hierarchies (e.g., cost center, general ledger [G/L] account, material, plant, work center), they do not support all hierarchies in the R/3 source system, such as Treasury Cash Management. In this case, SAP does not provide a standard DataSource to link R/3 hierarchies to BW.
So what are your options? In my example of working in Treasury Cash Management, you could define hierarchies for planning levels and create your own ABAP program to extract the data from R/3, send it to a flat file, then upload the flat file into BW via a custom DataSource, a multistep process. This is what I call the traditional method.
I developed a workaround that allows you to bypass the step of creating a flat file and extract directly from R/3 in a single step, like any Business Content DataSource. My workaround combines two different standard SAP mechanisms: the generation of a hierarchy DataSource on the R/3 IMG side and the user exit EXIT_SAPLRSAP_004 on the R/3 side. I tested this workaround with BW 3.5 and plug-in (PI) 2004-1, but it also works with BW 2.0B with PI 2002-1 and later.
Hope it helps.
Thanks,
Amith
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 RHi -
Check the following link.
Hierarchy Upload from Flat files
Anesh B -
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. -
Loading hierarchy from infobject to infobject BI 7.0 - EXIT_SAPLRSAP_004
Hi to everybody,
We are very interested in loading hierarchy from infobject 0CUST_SALES
to a new infobject ZCUST_SALES in order to use the hierarchy exit EXIT_SAPLRSAP_004 in CMOD.
The export datasource 80CUST_SALESH cannot be tested in RSA3 (an error 6 - function module RSS_PROGRAM_GENERATE occurs) and in our BI 7.0
datasource appears as emulated one.
I have read that new concept of transformation cannot be applied to hierarchies
but the 3.X flow is mantained.
And I read that while it is not possible to build a generic extractor for hierarchy it is possible to bind a new infobject to the existing one (by means of export datasource) in order to manipulate the hierarchy in exit (as Dirk Herzog states in his new interesting book "Abap development for SAP BW" - page 22).
It is curious to notice that we can load data to this ZCUST_SALES (hierarchies as well from 0CUST_SALES) while it seems that we are not allowed to use our abap code in CMOD in BW.
Does anyone knows something about this issue?
Please any help would be really appreciated.
Thanks in advance
bye
Luca RobertoThe only way to build a hierarchy on BPC MS is by using the dimension member sheet. All 5 hierarchies must be built on the same member sheet, using 5 columns ParentH1,ParentH2,... ParentH5. And of course you'll have the original columns of ID, EVDescription, etc. on the same member sheet.
Unlike the way you add other dimension properties, the ParentHn property is one that you must add directly to the XLS member sheet by inserting a column. There is nothing to do on the "maintain dimension properties" screen of the admin console. The properties and hierarchy are created automatically when you process the dimension.
If you have a complex dimension with 100's or 1,000's of members, I'd recommend trying it out first on just 10 members or so, to make sure you have all the mechanics working properly. Then you should be able to bulk load the full list pretty quickly. -
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 -
Loading Hierarchy from flat file giving dump
Hi gurus,
i am trying to load data from flat file to hierarchy, when i am trying to schedule the infopackage its giving message PLEASE SELECT THE VALID INFOOBJECT and if i proceed even its giving a dump :-ASSIGN LENGTH 0.
i tired using i-doc method...then i am getting records in to BW in red and the same error
InfoObject INFOOBJECT is not available.
i followed the blog
/people/prakash.bagali/blog/2006/02/07/hierarchy-upload-from-flat-files
> points will be assigned for inputs.
Message was edited by:
ravi ahi guys,
my heirarchy is different from the one in the blog. should i mark all the infoobjects in all nodes as hierarchy relavant or only the bottom one? i also brought the 0hier_node from the business content. i dont know what other valid infoobject is missing ......plz help........
the following are more details about the dump
Program error: ASSIGN with length 0 in program "SAPLRRSV".
Error analysis
An ASSIGN statement in the program "SAPLRRSV" contained a field symbol with
length 0. This is not possible.
length 0.
This is not possible -
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 -
Want to load hierarchy from R3 to BW.
Hi All,
i need to load an hierarchy from R3 to BW (VER 3.5) .The hierarchy is present in the R3 side and the client wants me to get it to BW to infoobject 0account and 0gl_ account for reporting purpose.As i have never worked on hierarchy loads before.Please be kind enough to give me a step by step solution.
Also if the hierarchy is present in R3 how do i get it in to BW.How do i create an hierarchy stucture same as the R3 and load to BW.
thanks in advance.
Ashwinok here you go:
rsa5 : install the 2 extractors that are mentioned in one of the replies to your question.
I am not sure if you can use rsa3 to look at the hierarchies in R/3 system but in se38 you can use this report : RSA1HCAT to look at all the accounts that are under a particular hierarchy for these extractors.
In bw create infopackage and you will 'Hierarchies in OLTP' click on that and you should be able to see all the hierarchies that are available. Select whatever you need based on the requirements and load them.
You can use those in your reports.
Assign points if it helps. -
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
AnilHi 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 -
Loading Hierarchy from one info object to another
Hello friends,
I have Profit Center Managerial Hierarchy which is connected to R3 QAS. It is in the infoobject 0PROFIT_CTR. I want to load the same Hierarchy from 0PROFIT_CTR to BCS info object 0BCS_PRCTR. Is there any way to do it.
Thanks
JoseHi Jose,
It's easier to load a new IO from the same datasource in R/3, not from 0PROFIT_CTR.
Best regards,
Eugene -
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 -
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 -
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 -
Hierachy Load error from R/3
Hi All,
I got an error while loading hierarchy from R/3 to BW. error is
<i><b>Diagnosis</i>
The hierarchy level of the parent node must be one larger than the
hierarchy level of the actual node. This is not the case for the node
with ID 00092826 and its parent node with ID 00092827 .
<i>System response</i>
<i>Procedure</i>
Correct the hierarchy level of the node or of the parent node in your
source system.
<i><b>Procedure for System Administration</b></i>
Can anybody help how to solve this error and where to correct this hierarchy in R/3.
This is an urgent issue.all my dependant loads are stopped due to this error.
Thanks in advance
Narendra.Hi,
Refer Note 339453
Is this is the first time ?
Thanks
Assign points if useful -
Loading hierarchies from R/3
HI friends,
I want to load article hierarchy from R/3 (IS Retail). Can anyone tell me the steps to do it.
In RSA5 i find....
0RF_ARTHIER1_ATTR -- Article hierarchy Level 1
0RF_ARTHIER1_TEXT -- Article hierarchy Text level 1
Thia is from Level 1 upto Level 10. Can anyone tell me the use of these.
Thanks.Hi,
Check these.
[http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6729e07211d2acb80000e829fbfe/frameset.htm]
[Hierarchy Data loading from R/3 system]
[Loading Hierarchy from R/3 to BW]
Regards
Prasad
Maybe you are looking for
-
Picking the value of PBEG and PEND incase of multiple entries 2002 on a day
Hi Experts, Our client's business requirement is to have provision handling multiple entries multiple entries of same subtype of IT 2002 on same day with different Time entries.For example one IT 2002 Styp 1 has entry 10 am to 14 pm & other entry of
-
String into java.sql.Date
Can anyone tell me how to convert a String (yyyy-mm-dd) into a java.sql.Date format? Also I need to test to see if the Date of birth (entered in the format above) is >= 18. Can I do this in an SQL query? Thanks Marika Ludmann
-
Beginner hoping for general help - Long
Forgive the intrusion on this particular board, but I am not at all learned when it comes to databases and distributed computing, despite the fact I hold a degree that says I should be. In short, I coded an application for my father's accountancy pra
-
Re: No ASMLIB for Unbreakable Enterprise Kernel - over-sight or ASMLib death?
Hi, I originally resurrected a years-old thread that was down in the Oracle Linux forum that was vaguely related to my question but a kind forum moderator split my post away to let it stand on its own -- then moved it to the RAC installation forum wh
-
Cannot open Google from any application on the IPad
Sorry to bother. Started to blog using the blogger format. Set up Google+. Now unable to open the site from my desktop, email, or blogger site. The site appears to crash after 2-5 seconds and kicks me back to the desktop page.