Hierarchy activation
Hi all,
Till today we used to update a customer hierarchy via a process chain. The update is done via a full upload from SAP R/3. For one week we can not ACTIVATE anymore (but we can load it) a costumer hierachy from R/3, we got a timeout. Below some information from the short:
The termination occurred in the ABAP program "SAPLRSSHIER" in
"EXPAND_SINGLE_LINKNODE_TIME".
The main program was "RSABW_START_NEW ".
The termination occurred in line 882 of the source code of the (Include)
program "LRSSHIERU01"
of the source code of program "LRSSHIERU01" (when calling the editor 8820)
ABAP code:
008730 * *
008740 * FORM EXPAND_SINGLE_LINKNODE_TIME *
008750 * *
008760 * ........ *
008770 * *
008780 * > L_S_RSNODES_LNK_HELP *
008790 * > C_MAX_NODEID *
008800 * > C_CHANGING_INDEX *
008810 * *
> FORM expand_single_linknode_time
008830 USING i_s_rsnodes_lnk_help TYPE rssh_s_timersnode
008840 CHANGING c_max_nodeid TYPE rshi_s_hienode-nodeid
008850 c_changing_index TYPE sy-tabix.
008860
008870 DATA: l_s_rsnodes_lnk_help TYPE rssh_s_timersnode,
008880 l_s_node_help TYPE rssh_s_timersnode,
008890 l_t_rsnodes_lnk_help TYPE rssh_s_timersnode OCCURS 0,
008900 l_s_rsnodes_lnk TYPE rshi_s_hienode,
008910 l_index TYPE sy-tabix.
008920
008930 FIELD-SYMBOLS: <l_s_hienode_org> TYPE rssh_s_timersnode,
008940 <l_s_hienode_org_child> TYPE rssh_s_timersnode.
008950
008960 l_s_rsnodes_lnk_help = i_s_rsnodes_lnk_help .
008970 l_index = c_changing_index.
Furthermore, I note that an important change has been performed on this hierarchy in SAP R/3. Indeeed the nomber of records of the new upload has increased of 70000 records (normaly only 5 or 10 records were added). Therefore I suppose that the root cause of this issue is due to a data incoherence.
What do you think? Have you ever got a problem to activate an hierarchy? Any suggestions?
Thanks in advance
Jak
Jacques,
Please give us your SP levels and looks like a lot of nodes have been added and could be an issue with unassigned nodes containing too many nodes...
best check the hierarchy in R/3 before doing the update again...
Similar Messages
-
Hierarchy Activation dumps when itu0092s executed from Process Chain. u0096 BI 7.0
Issue:
CostElement Hierarchy sign reversal is updated manually using ABAP Program to update sign reversal, which updates H and J tables and activates the Hierarchy using func module RSHIER_HIER_CHECK_AND_ACTIVATE. It works fine when ABAP is executed manually as well as when Process Chain is executed in BW 3.5.
However, the same Process Chain in BI 7.0 it abends during Hierarchy Activation.
From the Dump, find below call sequence of programs for more details:
No. Ty. Program Include Line
Name
6) METHOD CL_RSSH_SHOW_LOG==============CP CL_RSSH_SHOW_LOG==============CM008 53
CL_RSSH_SHOW_LOG=>CREATE_CONTAINER
5) METHOD CL_RSSH_SHOW_LOG==============CP
CL_RSSH_SHOW_LOG==============CM007 52
CL_RSSH_SHOW_LOG=>SHOW_MESSAGES_WRITE_LOG
4) FUNCTION SAPLRSHIER LRSHIERU03 121
RSHIER_HIER_CHECK_AND_ACTIVATE
3) FORM ZBWUXXX1 ZBXXXXX1 382
005-ACTIVATE-HIER 2) FORM ZBWUXXX1 ZBWUXXX1 278
It abends during Container creation to send out a message.
Any help to resolve this issue would be highly appreciated.
Thanks, VijayVijay,
Due to the age of this post I am assuming did you find a fix to the problem?
I actually would like more information about your abap program as we are trying to create a similar program. -
Hi All,
I have included a hierarchy activation step in a process chain immediately after loading a hierarchy. However, the hierarchy activation is failing with the following error message:
**Hierarchy that was loaded with request l_rnr cannot be activated
Can anyone advise what's wrong? Thanks.
Regards,
KMHi Koon,
Check table /BI0/HEVENTGROUP there has to be a record for 022540.
Selection of HIEID you get with TA RSH1 -> right click on requested hierarchy -> details -> internal hierarchy id
or by displaying the hierarchy -> header data.
Are there many values for this hierarchy with 5 or 6 digits?? If so, maybe you can ad missing digits while uploading from source system. If its only one you can repair the hierarchy manually by creating the correct node in RSD1 and change node 022540 with node 00022540 in the hierarchy.
Klaus -
Hello Experts
I re loaded hierachy for 0material, infopackage failed with error "Error arose when activating the hierarchy; Hierarchy not active
I tried activating using FM RRHI_HIERARCHY_ACTIVATE got error "There is no modified version for this hierarchy"
I am able to see M and A versions of hierachy in hierarchy maintenance.
but when i mannually try to activate hierarchy i get short dump with message
Short text
Message type " " is unknown.
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_RSSH_MESSAGE_HANDLER=======CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
Please help.
Regards
SudeepHi sudep,
did u done the attribute change run for hierarchy after loading the hierarchy?.....
try the below steps
1) Load Hierarchy
2) Save Hierarchy
3) Attribute CHange Run on the InfoObject.
Run these in the same sequence and see if it solves the problem.
Make sure that you have this Checkbox on:
1) In Infopackage, in tab Hierarchy Selection, there is a small checkbox for 'Flag for Activation'. Make sure its ON.
2) In Save Hierarchy Process Type, the same check box should be ON.
Harikrishna N -
In Process chain for hierarchy we have a save process, which activates the hierarchy.
This process failed with 0CUST_SALES table locked, so couldnt activate the respective hierarchy.
When from RSA1 activated the hierarchy manually showing modified on list, it gets done.
Can any one help on whyit fails while activating automatically through chainHi,
The reason may be the object 0CUST_SALES related to that save hierarchy process got locked at that time it is running in process chain.and the lock was released at the time u manually executed it that's why it allowed you to actiavte it manually.
Before repeating that process you can check in SM12 whether lock has been released or not and then u can proceed by giving repeat on that particular event in process chain.
Hope u understand.please assign required things if it is helpful.
Regards,
nani
Edited by: Nani on Oct 28, 2010 11:45 AM -
I updated the product hierarchy in V/76 and in trans MM02 works fine but not in trans MCBA.
So I went in RSA1>Tools>Apply Hierarchy/Attribute Change.. and hit Execute and it shows: "Program RSDDS_AGGREGATES_MAINTAIN successfully scheduled as job BI_STRU(big string here) with ID 18335500"
What would be the next step to activate the hierarchy?
I went to edit > infocubes on RSA1 but there are none created, not even in the matchode. All this is in DEV environment. In fact I have to enter a name for the System Logic in order to get into RSA1 transaction.
I am rather a MM guy, so I am pretty lost here.
Regards,
CarlosI found a book online its a much larger subject I suspected first.
-
Count difference when hierarchy is active/ hierarchy is inactive
We have hierarchy activated on 'first contact date'. We have the KPI 'Number of Complaints'. and we have char infobject 'Transaction Number' (complaints id). For all 'Transaction Number' we do not have the 'First contact date'.
We have in the initial layout 'First contact Date' and 'Number of Complaints' when hierarchy is activated for 'first contact date' we have 'Number of Complaints' as 8 when hierarchy is inactive we have 'Number of Complaints' as 5. The difference 3 is because these 3 transactions have 'first contact date' as blank. Our requirement is to have the count to be same as 8 with hierarchy activation and hierarchy inactive. Can u suggest how to go about this.Any ideas on this????
-
Urgent: hierarchy in report
Hi,
How can I exclude a account number with hierarchy active for it.
I have a report in which col1 is account hierarchy and col2 is amount. In the report I want to exclude one account form the report. I right click on account number, select the option select filter value.. , select that particular account. For the account being selected in the selection box the option exclude from selection is grayed out and so I cant select it. If I make hierarchy inactive in the report and then try it I can do exclude from selection. But now with this filter condition on if I make hierarchy active then it gives me following message:
Invalid filter on 0ACCOUNT: Filter changed
Message no. BRAIN502
Diagnosis
You tried to filter according to an invalid value.
This could be because you filtered according to a hierarchy node which
is not visible to the current user.
System response
The filter is not evaluated for the characteristic, but removed instead.
If no other filter values exist for this characteristic, the system
responds to the whole request with the message "no applicable data
found".
Thank you,
samTry placing account number in global filter and do the same (select the account and choose exclude).
Hope it works.
Regards -
I have following data in the cube.
Material qty
M1 20
M2 30
M3 -20
M4 50
And Master data - Material Hierarchy is
Material Hierarchy
Mgrp 1
M1
M2
M3
M4
I need to display only quantities with positive numbers, ie records 1, 2 and 4.
So the report should look like
Mgrp 1 100
M1 20
M2 30
M4 50
If I use the condition I get following result
Mgrp 1 80
M1 20
M2 30
M4 50
PLease suggest a way to get the desired results.
Thanksyour expected behaviour works for me (BW30B SP26).
Furthermore, the system doesn't allow me to calculate results as summation for a hierarchy.
The settings of 0MATL_GROUP:
Hierarchy: active.
Suppress result rows: never.
The hierarchy attributes settings (RSD1):
none of the check boxes are marked
Root/Total Item appears above.
In the QDesigner the hierarchy is not activated, I activate it directly form the Web reporting.
The Keyfig as nothing special, calculation = "nothing defined"
Condition: I tried with all characteristic in the drilldown as well as with selected (0MATL_GROUP). Qty > value.
It works just fine: I get the total amount without condition in the result.
Please let me know what do you have on your side....
Olivier. -
Error while executing report related to hierarchy
Hello all
Why trying to execute a query that we moved to production we're getting the following error.
Error Hierarchy MANAGEMENT_REPORTING 99991231 is not available for InfoObject
This heirarchy is defined on the BCOCOM_CC Combination code info object and is a time dependant heirarchy.
I can verify that the definitions of the queries in both Quality and Production are the same and data had also been loaded into the heirarchy and the hierarchy tables are active.
There are no authorization defined on this object.
Please let me know your views
Thanks in advanceHi..
couldnt respond coz its a busy day...
1.Check your query in development..
Open query designer --
right click the concerned infoboject for ur hierarchy and
in the properties window click on hierarchy.tab...
are you able to see the hierarchy active there...i.e. is it available there??
Now if everything is fine then run the query in development and check if there is issue?
If on query execution everything is fine then compare the hierarchy properties of two queries..of Prod and Development..there should be some settings different..or transport issue...
If possible transport the query once again..if it is working fine in dev.
Regards,
rk -
Issue with Hierarchy selection in Filter area
Hi experts,
We have an issue with BEx query selection.
Structure of Quey
1. Filter Area
=> Characteristic Relations : Restriction condition with hierarchy
2. Rows
=> Display characteristic with hierarchy active
3.Columns
=> Formula with keyfigure using sign reverse of hierarchy (formula variance).
<symptom >
When I use context menu, "Keep filter value", with the displayed hierarchy node,
and drilldown with other characteristics, the result became wrong. Filter value I kept became inactive.
Workaround I found was like belows.
1. Remove sign reverse calculation in Formula.
2. Keep sign reverse calculation and move restriction condition with hierarchy in filter area TO default values.
I wonder this symptom was right technically or bug ocurred after version upgrade or something.
Thanks in advance.
BEx BI Addon 7.X(based on 710)/SP11 Revision 634Hi
This depends on the logical database that the report is based on. Secondly I have experienced that the report variant overwrites the date selections and therefore it looks like that the dates are not parsed (which I think is your problem).
For e.g. logical PHP and PHPCE both the period and data dates are filled with the data selection from the portal. (check on the report attributes in SE38 which logical DB used) For e.g. PTRVP (travel) no date are passed at all in the call of the report!!
To make sure that the report variant isnu2019t overwriting I normally set the variant for the report to u201CSave field without valuesu201D for the date selection periods and then it isnu2019t filled by the variant.
Data selection period
Data selection period: Start
Data selection period: End
Employee selection period
Employee selection period: Start
Employee selection period: End
Regards,
Lars -
Subtotals problem in hierarchy selection
Dear all,
we have a technical problem in query 'Deviation Analysis'. When data is
displayed as a hierarchy ('Brand local hierarchy', or 'Universal
hierarchy'), calculations ("Calculate Result as...") in Subtotals of
'Formulas' are ignored. Calculations in Subtotals are correct when
hierarchy view is deactivated. For instance,
execute query with following selection:
Company Code = ES01
Sales Organisation = ES20
Calendar Month = 01.2005
1. HIERARCHY DEACTIVATED
Deactivate Hierarchy of 'Prod-L2 Brand'. Check Subtotal in column 'Volume
Deviation Last Year' = -517. Bear in mind that 'Properties' of Key Figure
'Volume Deviation Last Year' define Subtotal as a 'Summation' of singles
values above. Then Subtotal result we get here is correct.
2. HIERARCHY ACTIVATED
Then activate hierarchy of 'Prod-L2 Brand'. In the same figure 'Volume
Deviation Last Year' you will get a different Subtotal = -831, which
actually displays a Subtotal result as if nothing was defined in
'Properties' of Key Figure 'Volume Deviation Last Year'. It seems to ignore
'Summation' subtotal result.
As users need to report data with this special hierarchy for Brand, we
really need to have correct subtotal result in situation 2, that is when
hierarchy is active.
pls help me...Thanx in advance..Rajesh,
You might want to check out this note, 460255, which exaplains the limitations and behavior of the result rows when hierarchies are used in the query definition.
Good Luck
Gova -
Hierarchy Level value displayed in BEx Query
Is there a way to display the Hierarchy Level value (0, 1, 2, etc...) associated with each hierarchy level in BEx Query as a characteristic?
we are currently using the Crystal Reports function HierarchyLevel(GroupingLevel(GL Account Node id)) to display the level of the node (0, 1, 2, etc...). Is there something similar to this in BEx Query.
We would like to use this Level value to do groupings in Crystal Reports. When we try to create a Group, we can only create the groups on fields that are brought over in the BEx Query results.
Thanks --Hi ,
Hierarchy level can be defined in Bex query as well.
In the query property there is option where you can say hierarchy active for that particular object.
Also you can define level upto which it can be active in initial display say 3 level
Also when you want to drill down further level 4,5 you can right click and select that particular level say 4 or 5 or 6.
If you want to display hierarchy flat there is no option in BW then to right code,but I heard in crystal report it will automatically display in fl;at version as well means
Level 0 level 1 ......KF1 KF2 etc.
Thanks and regards -
I have 0Product Hierarchy activated in the Row. The Hierarch has 3 level.
In column, there are 3 Key Figure - A, B and C.
Column C is the Average Amount, the fomular is Total of the 0Product Hierarchy divided by current Hierarchy Level.
Question is how can I get the Total of the 0Product Hierarchy?Hi,
Yes, I am using Account Number in my Query.
The Account Number is placed in the Rows, with Hierarchy option activated.
In the Accoutn Number characteristic property, the Display of Results ->Suppress Results Rows is "Never".
what do you mean by "and display resultsd just before object to hierarchy (I guess account number)."?
Please help. -
Hierarchy can't run in bi7 analyzer
hi:
i have set hierarchy active in a query ,when i open the query with bi3.X analyzer ,the hierarchy is ok.but when i open the query with bi7 analyzer and click the hierarchy,the system is responseless.
who can help me ! i'll very appreciate!in 3.x analyzer,when you click the hierarchy icon,the hierarchy explanding ,but in 7.x analyzer,you shoud double click the hierarchy icon when you want the hierarchy expland.
Maybe you are looking for
-
FaceTime no longer wotking on my iPhone 4 (GSM) iOS 6.1.4
Hello everyone, My last successful FaceTime call was made on August 31, 2013. When I tried to answer / initiate a FaceTime call to a family member over the weekend, I discovered that FT would attempt to connect, but fail to complete. I have since dis
-
I am still having trouble with Guided Edit mode in Photoshop. It doesn't work and I have been
careful about the size of the files that I open or work on. Initializing doesn't run and I was wondering if not down-loading Revel was effecting the editing features in Photoshop 12. I have a IMAC with Snow Leopard and Mavericks. I am [email protecte
-
Hi, when I try to access B1if-webdav with the internet explorer (http://127.0.0.1:8080/B1iXcellerator/exec/webdav) I get the following error: SAP B1iP detected an error: Emitted HTTP-Code 500 - Internal Server Error Internal Reason while trying to in
-
Process synchronization problem
I have a unique problem. - I have two seperate methods method1 and method2, which I am calling in the same order. - method1 produces a file using an exe. - method2 should use this file for further processing. Now, what is happening is, method2 execut
-
The reload button blinks continually with certain sites; how do I stop it?
Reload butto blinks continuously at certain sites. How do I make it stop without resetting Firefox?