Authorization hierarchy variables in QD

Hi!
Is it possible in Query Designer to create a hierarchy  authorization variable (i.e. based on a profit center), which is <b>editable</b>, searchable (F4) and the default value is automatically included from the authorization profile?
-OV-

hi
check this link.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b849e690-0201-0010-9b88-c00cca40736f
Reward points if helpful!!
Supam

Similar Messages

  • Hierarchy authorization with variables of type exit

    Hi all,
    I am trying to implement hierarchy based authorizations with variables. After collecting information from the SAP documentation and this forum, I think I know more or less how to do it, but it's not working and it has me very confused.
    These are the steps I have followed:
    - From RSSM, I have created a hierarchy authorization object including my characteristic and 0TCTAUTHH
    - From RSSM again, I have created a hierarchy authorization pointing to the node $ZG_V_008
    - From the Query designer, I have created a hierarchy node variable of processing type customer exit ZG_V_008 (are any special settings needed here?)
    - From the Query designer, I have created <b>another</b> hierarchy node variable of processing type authorization, and I have used this variable to restrict the hierarchy for my characteristic
    - I have edited the EXIT_SAPLRRS0_001 to watch for I_STEP = 0 and give values to ZG_V_008 (we'll get to my code later in case we solve this issue first
    It is my understanding that with this setup, the user exit will be called to process the value of ZG_V_008 in I_STEP = 0, however, when debugging, I don't see any calls for the function with I_STEP = 0.
    What have I done wrong?
    Thanks a lot in advance.
    Guillermo

    Thanks, Jimmy, but that does not help much: my problem is that my user exit is not evaluated with I_STEP=0, but there are no error messages or anything like that.
    I have created a test user <b>without</b> a developer role to see if that could have any impact, but it's still not working.
    Any ideas?

  • Hierarchy Authorization using Variable via Customer Exit

    Hi experts,
    I am wondering if I can do Hierarchy Authorization using Variable via Customer Exit? I know it can be done on normal value authorization by putting $+(the variable name). So can we do the same for Hierarchy authorization?
    For my case I have a 0ORGUNIT and I would allow the role to access anything below its node. So do I put $VARORGUNIT in Technical Node Name and Hierarchy name as ORGEH, Type of authorization = 1 and Area of Validity = 3.
    Points will be given!
    Thanx!

    Hello Chee Jason,
    Are you working with version 3.5 or 7.0
    How do you specify Hierarchy variable?
    Any advise you can share is very much appreciated.
    Thanks,
    Patrick

  • Double Role for Analysis Authorization using Variable via Customer Exit

    Hi Guys I have been implementing AA using variable via customer exit and I have run into this problem, I wonder anyone have encountered this.
    Example I have a User having 2 sets of authorization Roles
    Role 1
    Personnel Area = A, B
    Personnel Sub Area = 1,
    Role 2
    Personnel Area = A
    Personnel Sub Area = 1, 2
    And what we can derive this that is the user is able to see A-1 B-1 and A-2 BUT NOT B-2 when we run all.
    But instate when we run the report it is drawing B-2 as well as because we are entering
    Personnel Area = A,B
    Personnel Sub area = 1,2
    Any idea how to solve this?
    <removed by moderator>
    Edited by: Siegfried Szameitat on Dec 3, 2008 2:41 PM

    Hello Chee Jason,
    Are you working with version 3.5 or 7.0
    How do you specify Hierarchy variable?
    Any advise you can share is very much appreciated.
    Thanks,
    Patrick

  • Profit Center Hierarchy Variable-Prompt

    Hello,
    I'm using a heirarchy variable in BEx 7.0 query designer that is based on a profit center hierarchy object. When I execute the query, and I get prompted to choose nodes of the hierarchy, I'm only able to "include" nodes but I'm not able to "exlcude" nodes. Any ideas?
    Thanks!
    Michelle

    Remove the varaible for the hierarchy and try executing it.
    If you remove the Hierarchy variable from the query and execute the query ,user should only get the nodes to which he is restticted it could be 1 node or multiple.
    Hope you had kept Type of Authorization = " 1" Subtree below nodes in RSECADMIN of the auth object for profit center for the particular node
    Hope it Helps
    Chetan
    @CP..

  • HIerarchy Variable in Selection Screen not taken into account.

    Hi,
    Our users choose a cost center hierarchy in the selection screen and run the report. As we have suppressed Unassigned Nodes, they do not appear. However when users then deactivate the hierarchy, unassigned nodes are shown. Their argument is that the unassigned nodes should still not be displayed because a hierarchy was entered on the selection screen. Is there a way of stopping this?
    Thanks

    Hi Shawn,
    I think I get what you did in your query, though it took me some time...
    Did you select the cost center in your query and set the display hierarchy using settings, hierarchy tab, select hierarchy, hierarchy variable (or something like that)? That would explain why the query isn't filtered on that hierarchy, only the display of cost elements is affected. You should also have the same hierarchy variable in your filter settings in the query designer. That way, the user filters on a hierarchy and the unassigned nodes will never be in the result.
    Hope it helps, tell me if I got it wrong,
    Kind regards,
    Alex

  • BW hierarchy variable not working in Crystal Report 2008

    Hi,
    I have created BEx 7.0 report which has hierarchy on 0customer object, the report is working fine whith hierarchy variable. I have created Crystal Report by using this query as source. I have followed below link to create grouping to get data through hierarchy variable.
    http://wiki.sdn.sap.com/wiki/display/BOBJ/BWHierarchiesinCrystalReports
    But report does not work for hierarchy variable and report is blank. When I give filter of child node which has actual data then I get report output. For ex.
    Below hierarchy for 0customer
    11396
         - 737007
         - 123456
    When I run report for 11396 then no data display but when I run 737007 child node I get report output but with blank group name.
    Can anyone came accross this issue. Please guide me . Thanks in advance.

    Thanks Ingo for your reply..
    The word filter means, I have hierarchy node variable in the BEx report that has become Parameter in CR. When I give hierarchy node variable value of parent node then there is not data display but for the child node I get the data.
    For ex. In the info cube there is data for 730707 customer but in the customer hierarchy the parent node of 73707 is 11396. I am giving 11396 in the variable pop screen for hierarchy variable. I do not see any data but for 73707 I get data.
    User does not know 73707, he always enter 11396 customer no. and he gets data in BEx query that is source of CR. but crystal report is not showing data for 11396.
    One more point I want to tell here, I am saving CR at my local system not to SAP BW server.
    Hope this clear my issue.
    Harish Swami
    Edited by: hswami27 on Jan 31, 2011 8:17 PM

  • Problem with hierarchy variable while displaying query in Portal

    Hi,
    I came up with an problem with a query in the portal.  The problem is :
    I have one query which is displayed in the portal. The Query has hierarchial selection criteria. I am executing the same query using analyzer. Its taking the variable from the selection and displaying it on the analyzer. I have used the option to " display the query on web " from the BEX query designer. From there its opening and displaying the results with the given selection criteria.
    Where as when i open the query seperately in portal, its not displaying the results.
    I came to know from one of my colleague that the porblem is with the Web item and the hierarchial variable declared in WAD  was different from the variable declared in the BEX Query designer.
    I never Worked with WAD. I tried finding out the variable definition. But i was unable to find out where the Hierarchial variable was defined.
    Please help me out regarding the same.

    The problem is sovled.
    Poornima.

  • Hierarchy variable names in report

    I'm would like to be able to display the user selection for a hierarchy variable in a Crystal Report but when I do I get a message that says you can't add this to a report as a field. Is there any way to get access to this so it can be put in the report header? I know how to get the technical name from the parameter, but we need the description.

    Hi Ingo and the others,
    so, that unfortunately a very hard constraint.
    We have for example the following scenario:
    A sales Crystal Report which is built on a SAP BW Query. The query contains a country variable, to select the country. Now we want to create Country Sales report. In Crystal the variable is converted into a parameter. The country selection works fine and the report is able to show the correct data. But all this does not make sense with the country name in the report title. Is there no way to achieve this?
    Would rebuilding the parameter with Crystal means and deleting it from the BW query an option, or would this have a bad effect on performance issues?
    Best regards,
    Sebastian

  • URGENT::Hierarchy Variable creating Problem in WAD

    Hi,
    I am using Profit Center as Hierarchy variable in my Queries, when i run the report in WAD portal, and select the profit center on the selection screen, after clicking the check button it appears with compounding Characteristic Controlling Area as prefix.
    In the back end for the Profit Center Hierarchy data each node has Controlling Area attached with profit center(value), whereas in master data for profit center we don't have controlling area attached with profit center(value).
    For eg: if the Profit center has value P0001 has the controlling area is CA01 then the master data of profit center shows the value as P0001 whereas when we look at Hierarchal nodes it displays as CA01P0001 along with its description.
    So when we run the Query we dont get any data because it shows that profit center CA01P0001 node does not exist in Hierarchy.
    But in Analyser Query is working fine.
    Please suggest some solution.
    Thanks in Advance.
    Regards,
    Ankur

    Hi,
    This issue is resolved with note:
    1558066    WAD Metadata corrupt due to invalid entries in RSZWMDITEM
    There are some incorrect entries in the table which is causing an issue.
    Could you please follow the below to delete the entries manually:
    1> Go to Transaction: SE16
    2> Enter the table name = RSZWMDITEM and press enter
    3> Enter the value for MDITEMNAME = TARTITLE and execute.
    4> You will find 3 entries for the value TARTITLE. Could you please
    delete all these 3 entries from this table.
    After doing the above steps, please refresh the metadata by doing the
    below steps:
    1> Open Web Application Designer.
    2> Go to Tools->Settings - > Refresh Metadata and press OK
    now close and restart the web application designer. It should work fine
    Regards,
    Venkat

  • Selection screen issue with hierarchy variable, due to compounding

    Hello people,
    I'm having this odd effect with a Hierarchy variable in the selection screen of a query,  the IObject is 0PROFIT_CTR.
    When I display the hierarchy values and pick up one of them, it returns ok to the sel.screen in this format: CO_AREA + "/" + ProfitCtr Value, example: "CANI/AR03".  (CO_AREA is compounding of 0PROFIT_CTR).
    Now,  if I hit the "check" button in the selection screen, the system converts the value to an different one, by repeating twice the compounding (CO Area) value, therefore creating an incorrect value like this: "CANI/CANIAR03". Note the string after the "/" is supposed to have only the profit center value, however now has also CO Area value (repeated).
    This value goes effectively to the query execution, but because this value does not exist, I get a message "SID value not found" and the effect is that the query does not get filtered by the value I picked up.
    Note, the same happens if I go directly to the query execution without hitting the check button, as it seems internally the system its doing the same conversion before sending the value to the query.
    I can't figure out if this is a problem of the variable, the hierarchy or the selection screen mechanism.... but I cannot find an explanation/solution.
    I trust someone has already facing this!!
    cheers and happy August to everyone.
    Fernando

    Sorry, but actually its the parent that needs tagging with "Never Share", not the level 0 member, so Alt_Entity1 and Alt_Entity2 etc, see Essbase DBA guide
    understanding Implied
    Sharing
    The shared member property defines a shared data relationship explicitly. Some
    members are shared even if you do not explicitly set them as shared. These
    members are said to be implied shared members.
    If you do not want a member to be shared implicitly, mark the parent as Never Share so
    that the data is duplicated, and is not shared. See Understanding Shared Members for an
    explanation of how shared members work.
    So in the example above
    Entity Dimension:
    E1 (user has access)
    E2
    E3(user has access)
    E4
    Alt_Entity
    Alt_Entity1 - Set to "Never Share"E1 (sharedmember)
    Alt_Entity2E2 (sharedmember)
    Alt_Entity3 - Set to "Never Share"E3 (sharedmember)
    Alt_Entity4E4 (sharedmember
    Thanks
    Anthony

  • How to find the existing hierarchy variable?

    Dear SAP gurus,
    In this existing query, there is a Cost Element hierarchy variable created. When I run the query (second attempt by refreshing the query selection screen), the Cost Element Node variable field was not available to be changed again. Believe this has to do with the option 'Changeable with query navigation' option in the variable created. I was trying to confirm on this via the variable properties, but I had trouble identifying where it is located, because there are just too many cost element hierarchies available for reporting.
    Anyone can help me? Thank you in advance.
    Regards,
    Adelynn

    HI Nagesh,
    Thanks for your highlight, I found the variable, however, I didnt see any option "Changeable with query navigation" for this hierarchy variable. Any reason for this?
    The issue I am facing was, say, when I run the query for the first time with Cost Element Node 1, and i was trying to change my selection to CE node 2, so I refreshed my variable screen but the field to select CE hierarchy Node was no longer there. Normally this happens to variable that has the option "Changeable with query navigation" unchecked.
    But in this case, I did not see this option for the hierarchy variable used, how do we justify the scenario in this case?
    Please kindly assist, thanks again.
    Regards,
    Adelynn

  • Hierarchy variable description not displaying correctly

    Hi all,
    I'm using 0ORGUNIT hierarchy variable in several queries either based on the characteristic 0ORGUNIT, or based on the navigational attribute 0EMPLOYEE_0ORGUNIT.
    When I execute the query with 0EMPLOYEE_0ORGUNIT hierarchy variable the selection node description displays the Medium description, which is correct.
    Whe I execute the query with 0ORGUNIT hierarchy variable the selection node displays the Short description, which is incorrect, as I need it to display the Medium description.
    The settings for the object in both query properties are set to display Text Medium Length, and 0ORGUNIT infoobject Business Explorer tab dipslays text,  text type is medium Length and bex description is long text, but still when I try to select the node in the parameter selection before query execution the description differs in both cases, any idea why??
    Please advice, much appreciated.
    Thanks!
    M.

    Hi,
    I understand what you're saying, and unfortunately I can't attach any screenshots here but both queries use the Medium Description in the object properties and it's maintained in the text table /BI0/TORGUNIT as well (short and medium).
    However, the BEx Descpription is only in short and long text, there is nothing I can change or maintain about that.
    It looks like everything is as it should be, because for one query I can see the medium text properly, but not for the other, even though I'm using the exact same settings, apart from the fact that in one query I use 0ORGUNIT and in the other it's used as a navigational object 0EMPLOYEE_0ORGUNIT.
    It's a funny thing indeed....
    Thanks
    M.

  • Input hierarchy  variable is not working

    Hi,
    i have created a BI quary which have a manual input hierarchy variable.Now i have created a Universe on it,and then Qaaws.
    In Qaaws this varibale working fine,its gives proper result aCcording to selection of node.Then i have used this in Xcelsius,i have created a connection and then as input value i provided ROOT node key thorugh mapping this to one cell, and mapped the output cell.
    Now if when i preview it,its showing no data,and if remove the input node value(balnck cell) then its showing data.I find out that its not taking the value.
    What could be wrong here?How  to pass hhierarchy  node in xcelsius?
    Thanks,
    Piyush

    Hi,
    I had the exact same problem. Please have a look at this thread:
    xPost: QaaWS, BW, Xcelsius and aggregation
    Here is what you need to do (assuming you are on XI 3.1 SP2)
    1) Refresh you universe with the option Generate technical names. This will give you an additional detail for each dimension in your universe called ...techname. So if you now check e.g. L01, L02 in your hierarchy they will have this attribute.
    2) Create a new web service that includes key and the techname detail
    3) Insert this into your visualization and use it to fill e.g. a combo box (key) and return the key + techname when selected
    4) You can then use the techname to filter your second web service in the input values
    Hth.,
    Jacob Lund

  • Bex hierarchy variable leads to internal server error

    hi all,
    problem is about hierarchy variables. Whenever i have hierarchy variable with characteristic i get an error detailed below.
    "500 internal server error."
    "ERROR RS_EXCEPTION (000): SQL0104N  An unexpected token """" was found following "'1' AND "I"."SVER" =".  Expected tokens may include:  "".  SQLSTATE=42601
    ABEND RSBOLAP (000): SAPMSSY1 s&#305;n&#305;f&#305;nda  yönteminde program hatas&#305;: UNCAUGHT_EXCEPTION

    Dear John
    Thanks.
    Well, I have seen that the note mentioned  was supposed to be fixed with SP15 and we got this error after SP17...
    Thanks and Regards,
    Walt
    Edited by: Walter Olofsson on Jun 5, 2008 4:35 PM

Maybe you are looking for

  • How do i create a second iCloud account

    how do I create an additional iCloud account

  • Could this work on Nvidia boards as well

    ?(  I found this on a Intel site about loading DDR ram and copied it. Remove the AGP video card before installing or upgrading memory to avoid interference with the memory retention mechanism. To be fully compliant with all applicable DDR SDRAM memor

  • OIM - OID (11g) auto-provision thru ldap sync

    Hi, I have configured ldap sync. I have following questions 1. We have created custom attributes in OID and referred to custom object class. Now when I try to create user in OIM, user is auto-provisioned to OID. But the custom attributes in OIM are n

  • SMQ1 -  obsolete qRFC outbound entries

    Hi All, We have Blocked the RFC and unrigistered the queues pointing to our CRM system as it is decomissioned. But stillthe outbound queues were generating in my system towards CRM. Could any one help on this ,how to stop generating those queues and

  • Chinese display error

    I work with english version of windows installed chinese font . JFileChooser can't show chinese correctly in the file view but buttons are labeled with english. When I call "Locale.setDefault(Locale.CHINA)" buttons are labeled with little square:( I