Hierarchy restrictions in BEx
Hello BW Experts,
I am a beginner in SAP BW(ver 3.1).We have particular BEx query,where there is a characteristic in the filter part that is restricted by a particular hierarchy.
Now,I need to track the data at the infocube(over which the query is created) level.So,at the selection screen for the cube,what restrictions should be put for that particular characteristic?Is it all the characteristic values in the hierarchy,which are unfortunately,too many in number and might make the job rather tedious or is there any simpler alternative to view the data at the infocube level while applying the restrictions on the characteristic?
Thanks in advance!!
Regards,
Minuj Sarma
Hi,
One check you can do to validate the data, remove the Hierarchy for that particular char. then the data is displayed in the normal form and then validate. OR if not to remove the Hier. then check in hte particular hierarchy in the RSA1 under infoobject list..
Regards,
Vishwa.
Similar Messages
-
Hierarchy display in BEX is confusing
I am having an issue with the customer group hierarchy display in BEX:
In RSA1 hierarchy display like this
Customer group 1
--Customer A
--Customer B
--Customer C
In BEX (restricting characteristic or variable selection for 0customer/0sold_to) it displays:
Customer group 1
--Customer group 1
--Customer A
--Customer B
--Customer C
It confuses the users as to which is the correct Customer group 1 node to select for the queries. I could not find any setting that may control this behaviour.
This is a time dependent hierarchy. We are in 3.1c
Any help is much appreciated.
JoeHi,
set the properties of your characteristic
Values of posted nodes to hide
http://help.sap.com/saphelp_nw04/helpdata/en/1a/25213c9cffa027e10000000a11402f/frameset.htm
Regards
Heike -
Creating Restrictions in BEx query designer for (1-a), where a is variable.
Dear All,
>> Suppose for the variable in the BEx query designer, I've created restriction for 0FISCPER to the variable 0P_PER (as 0P_PER-1) by right clicking 0P_PER3, from that a dialog box appears. In that I've selected 0P_PER3 and then clicked on offset variable and when I set the offset variable, it works for (0P_PER-1.etc, 0P_PER+1,etc..)
But if I want to have (1-0P_PER), then plz tell me how to define this restriction?
Plz explain me the steps to perform (1-0P_PER) restriction in BEx query designer in BW1.
I'm using SAP BI 7.2 gui.
Expecting your reply soon,
with Regards,
JeraldMy requirement is that I want to have " 1-fiscal year"., But this I could not define using offset variables, since using offset we can define "fiscal year +1" or "fiscal year -1".
So there would be some other way to define "1-fiscalyear". So Please help me to define "1-fiscalyear" by giving me the steps.
Thank you,
with Regards,
Jerald -
How to filter hierarchy node in BEX query designer
Dear experts
We are working on FI balance sheet with hierarchy infoobject 0GLACCEXT. Example of our balance sheet is as follow:
Parent Node A = 20
Sub-parent Node A1 = 10
Leaf A11 = 5
Leaf A12 = 5
Parent Node B = 20
Sub-parent Node B1 = 10
Leaf B11 = 5
Leaf B12 = 5
We require only:
Sub-parent Node A1 = 10
Leaf B12 = 5
So I filter those out in BEX restriction; however, after we examine the report in tcode RSRT, "Sub-parent Node A1" is not shown in BEX Report, and the result is as follow:
Parent Node B = 5
Sub-parent Node B1 = 5
Leaf B12 = 5
Are there solutions for us to show merely A1 and B12 ?Hi Chu
Try the following steps.
Initial Output
In this example I will restrict the query for only displaying Node 8603 and leaf 9000
Proceed to restrict the Characteristic. Please be aware of the difference between hierarchy nodes and leaf characteristic values. Also set the Hierarchy display properties to expand up to level 1.
Execute the query again:
Please be aware that users will still be able to expand node 8603 and see the lower level nodes/leaf. In order to restrict users from doing this set up users authorizations.
Regards,
Carlos -
Hierarchy Restrictions as Per Query
Hi ,
We have one query that is using GL Account InfoObject. We are displaying GL account as Hierarchy in Bex Output. There are 5 hierarchies in BW for GL Account Info Object.
I created one Variable to select hierarchy while running the query. When users select this variable it displays all 5 hierarchies available for GL Account InfoObject. But, for Balance sheet query, only 3 hierarchies are relevant and users only want to see those 3 hierarchies. Rest 2 hierarchies are relevant for Profit and loss queries. Same user when run P/L query he should only see those 2 hierarchies.
So in nutshell, users only want to see relevant hierarchies as per queries. Same user will run these reports, so we cannot restrict hierarchies for users by authorizations.
Is there any way to do this?
Please help me.
Regards
AmanHi Amandeep,
Please check the following option.
I am looking this option in 7.3 and not sure whether this is available in lower options.
SPRO -> SAP Netweaver -> Business Warehouse -> Enhancements -> Restricting the value help in the variables screen.
Once you implement this BADI,
To restrict input help for flat object lists using hierarchies, use method Get_Restriction_Node.
Method GET_RESTRICTION_NODE
I_VNAM Variable
I_IOBJNM InfoObject
I_T_VAR_RANGAE Table of entries on the variable screen
I_T_COMPID Table of participating queries
C_T_HIERARCHY Table of possible hierarchies
C_T_NODE Table with node restrictions
C_INFOPROV InfoProvider
C_F4_Mode F4 mode
Thanks,
Krishnan -
Hierarchy restriction in a query
Hi,
I have some hierarchies defined on an object.
Lets say i have two hierarchies on an object day
first_Hier : day->week
Second_hier : day->month->quarter->year.
Now in the query i have selected first_hier for the object day.
Now the problem is when the user executes the query in Bex analyzer.
The user can right click on the characteristic, here in our case say day, go to properties, goto hierarchies tab.
Can choose the object day and now he can see and select any hierarchy that is defined on the object.
But that should not happen.He should be able to select first_hier.
Is there any way by which we can restrict the user from seeing and selecting all hierarchies defined on the object?
Because if there are any keyfigure say for forecast
and we want the users to see the forcast Keyfigures only for the next week but not for the next month,quarter and year.
But now though we have taken only first_hier
at run time they can select the second_hier and see the values for the year, quarter and month...
Pls share your thought to achieve this.
Thanks in advance.
Regards,
Raghu
Edited by: Raghu tej harish reddy on Oct 14, 2008 9:22 AMHi Amar,
Thanks for the reply.
I feel you didn't understood what i am trying to explain.
It is not the issue with hierarchy loads.
Whenever the Hierarchies fail while saving
What do you by the above statment?
some times the error shows " The heirarchy already saved "
What do you mean by this again.
Seems you are speeking some thing about hierarchy loading...
There are no issues with hierarchy loads. Every thing is sucessful.
The note speeks about :
Executing the report rrincltab_rebuild directly or activating the hierarchies, Leads to a system dump with sapsql_where_for_all_mismatch.
But here i am not talking about the report rrincltab_rebuild
Regards,
Raghu -
Hey, is there a way to make a BEx characteristic variable that has hierarchies available so that the user can select between several hierachies and not just within the one? i.e. 0costelmnt has several hierarchies available but when you set up a variable you can only use one hierarchy.
Thanks in advance,
A. BerkeyIf I understand your question correctly, at query runtime, you want to enable the user to just be able to select an entire hierarchy (w/o regard to hierarchy nodes). You need use (or create) a hierarchy variable by right-clicking "cost element" and selecting either:
A). Properties
Click the hierarchy field and select the checkbox for variable entry.
or
B). Restrict
Go to the hierarchy tab of the restrict dialog window and choose the hierarchy variable.
As a more detailed scenario, you may want a user to be able to choose which cost element hierarchy to be used within the query. Additionally, you may want the user to be able to choose a particular node(s) of the selected hierarchy.
To create this scenario (user picks hierarchy and node of selected hierarchy): Create/use a hierarchy node variable on cost element (this can be done by right-clicking "cost element",choosing "restrict", and proceeding to the hierarchy tab of the restrict dialog window). After selecting the variable, right-click, and choose "Select variable hierarchy".
At runtime, the user should now be prompted with two variable fields, one for the hierarchy, and one for the hierarchy node.
Note: Within query properties, set the order of the variables where the "hierarchy" variable precedes "hierarchy node" variable. This is useful as the values of "hierarchy node" are driven from the selected "hierarchy".
Also,
For more info on variable, please refer to http://help.sap.com.
Rod Johnson -
Char restriction in Bex Query Designer
Hi Gurus,
Can anyone explain what is the use of the Characteristic Restriction Area in in the BEx Query designer
If i set 0CALYEAR =2008 in the Char Restriction and in the column definition i set the one of the column to display data from year 2009. Will it work ?
Please advice
Thank you
BRThere are two type of characterstic restrcitions in the query. Global and local.
If you are createing a restrcited key figure or selection and restricting calday then it will be restricted to that particular key figure (and show 2008 data) and in the columns it will show you other years data (i.e. 2009 data).
But if you are using a global fiter in the filter tab of query designer, then it will be applicable to the whole query. -
Hi,
Our 0material is loaded with hierarchy prdha, also
0prod_hier_attr is loaded-activated and 0prod_hier infoobject is loaded-activated as well.
The weird thing (unless for me) is that in bex only some 0materials have a data in hierarchy attribute; we check 0material records and the hierarchy is there same in 0prod_hier... the problem is only in the query.
Please some advices??
Thanks In AdvanceHI Neetu..
Please check the settigns of the infoobject in use..u need to select text and key for the description in buisness explorer tab of \inoobject definition -
Populating mass restrictions in BEx
hello,
I know that there is a way to upload a text file with restrictions into a variable. Is this also possible (or some similar way) to upload many values for restriction while in the Query builder?
many thanks,
AllanAllan,
in bex you must use eq, less then, equal, interval, ecc.
if it's not possible you must create an attribute for you char (if the value are always the same) and select/find all your selection in bex filters with your attribute.
char attr
1 A
2 B
3 A
4 B
5 B
6 B
7 A
if you want only the 1,2,7 post the attr A in master data and find the values of your char using the attribute.
alessandro -
Hi,
Is there a way in BEx Analyzer where the hierarchy nodes can display across rather than down? Each hierarchy node will be represented in a column rather than a row?
Thanks,
RoseanneHello Roaseanne,
This should be easy to do as below :
This will take your hierarchy nodes in columns.
Regards,
Ashutosh Singh -
Dear Experts,
One GL Account having in 2 sub nodes, For these two sub nodes for that GL account having the GL Vales in Transaction data.
We have a GL Account as credit check box in one node and debit
check box in another node in Financial Statement Version Hierarchy. In
this case BIMaster data is showing that GL in Both the nodes but in Bex
Report same GL falling under Not assigned Node. Through this issue the
value is not appearing the Actual Node.
BI Hierarchy master data:-
EX: GL Account: 130001
Bex output for that above GL:-
Please suggest me how i need to get data with respect to GL nodes even contains one GL in 2 sub nodes.
Thanks & Regards,
Srinu.RapoluHi Experts,
Please look in to above issue and give the reply....
Thanks & Regards,
Srinu.Rapolu -
How to create the Hierarchy Structure in BeX
Hi,
We have a cost center IOBJ MD, and our source system does not have the feasibility to create hierarchy to load it. But the business gave a hiearchy structure in flat file, and want to get the cost center hierarchy in bex.
How do we do that ? Please suggest.
Thanks
RKHi,
A hierarchy can be created in the system by two ways:
By hand:
I would recomend to create by hand if the hierarchy has a few nodes or if the hierarchy will stay without changes for long.
RSA1 --> Look for your infoobject and "create hierarchy". Then, you can create the folders and nodes that you need and dont forget activate it
This option is the quickest and easier, if you could go for it.
Loaded by flat file.
If the hierarchy has many many nodes or if it will change its values quite often, it will be a good idea to develop stractors, infopackage and so on for loading the information from file file.
There are plenty of information of the Internet about how to do it.
From my own experience, it would be easier to build the extractor in the old version (rsa1old).
I hope that it helps! -
Dear All,
I am syncing the query between two system.
In the query there is a restriction on hierarchy on particular node,so
I am finding very difficulty to find the ame node in the other system,
Is there any easy way to do it.
Please help.
Thanks,
Saveen Kumarif you know node description then you can find tech name of node from amster data table and then use same in H table of master data to find your node. level there will give you level id i.e. hierarchy level id for your node.
Hope this helps.
Regards
Sudeep -
WEBI above universe - hierarchy restriction
Hello,
I read that the authorization concept in WEBI above universe works if we build a universe above a query and we use authorization variable. But what is the case for restriction by a hierarchy? For this restriction in the Query designer there is no need for authorization variable. Is it also possible in the WEBI?
Thanks,
DavidHi David,
are you referring to a hierarchy node authorization ? so that should work via the query automatically as well.
ingo
Maybe you are looking for
-
Sum distinct values grouped in ssrs expression
Hi ALl Need help in writting an expression I have this kind of data C1 L1 10 C1 L2 10 C1 L3 10 C2 L1 3 C2L2 3 C3 L1 6 C3 L2 6 Need to write an expression in SSRS calculated fieldwhich will sum only C1L1 + C2 L1 +C3L1? Is this possible ? Can so
-
My iPod touch will not shut down automatically which causes my battery to drain within hours? HELP
-
Using File Adapter with Logical Name
I am creating a file adapter with Logical name. Apart from giving the Logical name is there any other configuration that I am suppose to do on the Web Logic before I start using it? Thanks in Advance.
-
Hi All I want to assign drill down report to my PCA (New GL)report painter report( GR52). Can any one suggest some reports for drill down functionality. Thanks
-
Availability transfer from HCM to CRM
Hi, Could you please help on configuration steps for transferring availabilty of the employee from ECC 6.0 HCM to CRM 7.0 EHP1. We have implemented the Service Resource Planning (Workforce Deployment) We have successfully transferred employees from H