Not sufficient authorization to run a query : multiple authorization

Hello,
I have ran into an issue way beyond my BW skills concerning authorizations used to restrict Queries data for certain characteristics. I am not sure which information are relevants, so here is all I gathered :
Screenshot of the rsecprot transaction after the Query has failed to run:
[http://f.imagehost.org/view/0113/rsecprot]
As you can see on this screenshot, we want (the query is requesting, I suppose) "AND /BIC/OR_CA4010 = ':' " and the authorization is "OR_CA4010  I CP * " so this okay, and the second part, we want "/BIC/
OR_CA0111/BIC/OR_CA4001 = ':' " and the autorization is only for "OR_CA0111__OR_CA4001  I EQ USA9996" so this is probably the part which fails, since the query is requesting all the data while the user only has access to one value.
In my poor understanding of the issue, it seems that this isn't a normal behavior, one would assume that queries would restrict themselves to allowed data, and this is what actually happens  when there is only one authorization involved. However, with two, the mix doesn't seem to work...
What is interesting is that if I set the values for OR_CA4010 (in the variable entry screen) for instance to the values "Node 1" and "Node 2" seen in the rsecprot, then the query is working fine and if I set it to another value, then the query doesn't work , so it seems that the issue isn't really the authorization themselves, but the way we set them up.
Any idea on what the issue may be? Any guidelines on how to set up authorizations in queries ? Maybe we missed something obvious which make it works in most cases but not in this one (since otherwise the queries are working fine, we don't have many user which this kind of authorization set up)
Thank you very much in advance!
Guilaume

Abhishek,
Thanks for your interest, I'm glad you took a peek at this thread
I am not sure what you are asking tho ... So to make things simpler, I created a very simple query with only the following things :
-> Two characteristics as rows, the two which are mentioned in rsecprot (OR_CA4010 and OR_CA0111__OR_CA4001), as you can see on the previous screenshot
-> Those two characteristics have a restriction in "Default Values" : a variable for each, which have been created as "Processing : By Authorization" (one is a "Hierarchy Node", for OR_CA4010 which has a hierarchy, and the other one is just a "Characteristics Value")
So, as you can see, you can't make it more simple ! And I still get the same error and the same log in rsecprot. Is it any helpful to you ?
Is there anything else I need to check? The authorization given to the user contains values for those two characteristics...
This is driving me crazy

Similar Messages

  • Index does not exist error while running the query

    Hi Everone,
    I am facing some problem when i try to tun the query in BEx. When i run the query, it is giving the error "Index does not exist".  Please help me out.
    With Regards
    Pavan
    Edited by: PavanRaj_S on Mar 3, 2010 4:50 AM

    Hi,
    If you facing index problem go to mange create the index and you want to know what are all the infocubes not maintained index go db02 you can find out.
    Regards
    sivaraju

  • Run a query multiple times in the same report for different nodes in Hier

    Hi,
    I have created a query as per my requirements. But my issue is I need to run the report for all the profit centers in a hierarchy. Right now I enter a node value of the hierarchy in the variable and I get the result. But I want to run it for each node in the hierarchy and display the result in the same report.Is it possible to do so in web using information broadcaster or any BI 7.0 tools. Has anyone done similar to this in web. I would prefer the web route rather than the excel but if excel is the only answer I will follow the excel path.
    Looking forward to your suggestions on this.
    Thanks,
    Kal

    Hello Kal,
    if the number of Profit Centers is limited, you could probably work with query views (one for each PC) and include all these into your Web Template.
    If this is not appropriate, I don´t know if there is any way of programming possible.
    Regards
    Cornelia

  • Getting Error while running this query

    Hi,
    SELECT SUM(BATCHWISE_COUNT) TOTALBATCHCOUNT,
         TO_CHAR(SUM(BATCHWISEAMOUNT),'9,99,99,99,99,99,99,99,990.99') TOTALAMOUNT ,
         SUM(SLIP_RECORDS) TOTALSLIPCOUNT,
         SUM(CHEQUEONLY_RECORD) TOTALCHEQUECOUNT
    from (SELECT COUNT(TI.FLDITEMINITIALID) BATCHWISE_COUNT from TBLITEMINITIAL TI),
    (select SUM(IT.FLDAMOUNT)/100 BATCHWISEAMOUNT from TBLITEMINFOTRANS IT ),
    (SELECT COUNT(FLDITEMINITIALID) FROM TBLITEMINITIAL TI WHERE FLDBATCHNUMBER NOT IN (select FLDBATCHNUMBER from TBLITEMINITIAL_DEL where TI.FLDCAPTURINGDATE=FLDCAPTURINGDATE) AND TI.FLDITEMTYPE = 'P' AND TI.FLDCAPTURINGMODE = 'CP') SLIP_RECORDS,
    (SELECT COUNT(FLDITEMINITIALID) FROM TBLITEMINITIAL TI WHERE FLDBATCHNUMBER NOT IN (select FLDBATCHNUMBER from TBLITEMINITIAL_DEL where TI.FLDCAPTURINGDATE=FLDCAPTURINGDATE) AND FLDITEMTYPE = 'C' AND FLDCAPTURINGMODE = 'CO') CHEQUEONLY_RECORD
    from TBLITEMINITIAL TI,
                   TBLITEMINFO II,
                   TBLITEMINFOTRANS IT
              WHERE     II.FLDITEMINITIALID                    = TI.FLDITEMINITIALID
              AND     II.FLDITEMID                         = IT.FLDITEMID
              GROUP BY TRUNC(TI.FLDCAPTURINGDATE),TI.FLDBATCHNUMBER,TI.FLDCAPTURINGBRANCH,TI.FLDSCANNERID)
    Im geeting error
    ORA-00933: SQL command not properly ended
    when running this query
    I don't know what mistake i have done in this query , Kindly help for solving this issue
    Thanks
    Bala,
    Edited by: 965937 on Feb 11, 2013 9:25 PM

    Dear Friend
    Try with the query below,
    <<
    SELECT SUM(BATCHWISE_COUNT) TOTALBATCHCOUNT,
    TO_CHAR(SUM(BATCHWISEAMOUNT),'9,99,99,99,99,99,99,99,990.99') TOTALAMOUNT ,
    SUM(SLIP_RECORDS) TOTALSLIPCOUNT,
    SUM(CHEQUEONLY_RECORD) TOTALCHEQUECOUNT
    from (SELECT COUNT(TI.FLDITEMINITIALID) BATCHWISE_COUNT from TBLITEMINITIAL TI),
    (select SUM(IT.FLDAMOUNT)/100 BATCHWISEAMOUNT from TBLITEMINFOTRANS IT ),
    (SELECT COUNT(FLDITEMINITIALID) FROM TBLITEMINITIAL TI WHERE FLDBATCHNUMBER NOT IN (select FLDBATCHNUMBER from TBLITEMINITIAL_DEL where TI.FLDCAPTURINGDATE=FLDCAPTURINGDATE) AND TI.FLDITEMTYPE = 'P' AND TI.FLDCAPTURINGMODE = 'CP') SLIP_RECORDS,
    (SELECT COUNT(FLDITEMINITIALID) FROM TBLITEMINITIAL TI WHERE FLDBATCHNUMBER NOT IN (select FLDBATCHNUMBER from TBLITEMINITIAL_DEL where TI.FLDCAPTURINGDATE=FLDCAPTURINGDATE) AND FLDITEMTYPE = 'C' AND FLDCAPTURINGMODE = 'CO') CHEQUEONLY_RECORD
    from TBLITEMINITIAL TI,
    TBLITEMINFO II,
    TBLITEMINFOTRANS IT
    WHERE II.FLDITEMINITIALID = TI.FLDITEMINITIALID
    AND II.FLDITEMID = IT.FLDITEMID
    GROUP BY TRUNC(TI.FLDCAPTURINGDATE),TI.FLDBATCHNUMBER,TI.FLDCAPTURINGBRANCH,TI.FLDSCANNERID;
    Regards
    Ahamed Rafeeque Cherkala
    Edited by: Ahamed Rafeeque on Feb 12, 2013 3:20 AM

  • When running a query of a 0IC_C03 cube copy inventory shows as blank

    When loading the 0IC_C03 cube copy ZMM_C01 Cube: Material Stocks/Movements, if there
    is no movements for that day in a plant the inventory values do not show when we run a query on that key date
    When we create a movement type and run the extraction then the ending inventory values
    will show when we run a query usig that key date.
    So if there are no movements types for a plant  then the inventory balance does not show up in our query reports. Once we post a
    movement type for a plant and extract data then rerun our reports then the inventory balances show up.

    Refer link
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30f15839-0cf1-2b10-c6a7-ebe68cc87cdc?QuickLink=index&overridelayout=true
    & check ur e-mail.

  • Dashboard runs blind query

    Hi All,
    I defined dashboards in OBIEE in 10g.
    But I am facing performance issue.
    Every time one of the dashboards is run, it looks like it runs a blind query.  Is there any way to prevent them from running a query before they select certain parameters?
    It appears that even after I select values, the original session for the blind query runs in the background. 
    Appreciate help on this.
    Regards

    if you are using 10g use an intermediate report and set guided navigation to show the section only when your intermediate report returns rows.
    You can follow the below blog entry to customize it for your need to not let the Dashboard run a query when nothing is selected.
    Dynamic dashboard prompts and columns used in multifunctional report, full guided navigation ~ OBIEE - Oracle Business I…

  • You do not have the sufficient authorization

    Hi Experts,
    I am trying to setup Structural Authorization from HCm in BW. I am using 0HR_PA_2 and 0HR_PA_3 extractors to pull the data from HCM in 0TCA_DS01 and 0TCA_DS02. I am able to load the data for both DSO's and Authorizations are generated also via RSECADMIN. 
    The auth relevant info objects are
    0ORGUNIT
    0HRPOSITION
    0EMPLOYEE
    But when i run the query for test user it is giving the error "You do not have the sufficient authorization". Our security guy setup everything for the test user at the back end. Can anyone help me out to fix this problem?

    Hi Shehzad
    Kindly check the below details and confirm.
    1. Check auth objects S_RS_COMP, S_RS_COMP1, S_RS_AUTH and S_RS_DSO as you mentioned data is coming from DSO.
    2. Now check the value maintained in S_RS_AUTH and copy that value and go to RSECADMIN and in maintenance screen put that value click on display and check whether these relevant auth is maintained (this you can also check in rsecval table).
    3. If every thing is fine then go to tcode - rsecadmin-> Analysis-> Check "Authorization Log" ID and put test user Id there and click on run RSRT this will take you to RSRT scrren and there you can Simple RUN or run with debug also.
    Now If error came of No authorization go back and check log in that you will get to know the auth obj which is missing in analysis object.
    Suggestion: Simultaneously run ST01, so that you will also get auth obj if any is missing as there may be possibilty of multi-cube so for that there is requirement of some other object.
    Hope this will help.. Else please share trace results and role objects which is maintained.
    One more IMP point if new query or report is created. it will take some time to synch for other users even 0BI_ALL will not work for that user, need to pass that particular values in analysis object which is required.
    Thanks
    Bhupinder Singh Arora

  • Running sql query across multiple (remote) databases

    I'd like to run a query that pulls information from multiple databases which are not on the same machine. Is this possible using SQL Developer?

    If you are still interested, there is a tool that can query multiple databases and save results in a single text file that you can then modify as necessary - see www.bsutils.com/MuSQL.html

  • Error on running BEx Query: Variable does not exist or is incorrectly used

    Hi all,
    I have a characteristic in my query which I restrict using a variable with Mutliple Single values.
    When I run the query in the Analyzer or RSRT, I get the following error:
    "Variable does not exist or is incorrectly used"
    Please help me fix this error.
    Thanks and Regards,
    Srilakshmi B

    Hi,
    I have a characteristic in my query which I restrict using a variable with Mutliple Single values.
    When you define any Filter Values, BEx will ask you to select either Single Values or Variables or Value Ranges etc..
    If you want to select by Multiple single values, you should include all the values in the Restriction area.
    Please do not define any variables, unless the User wants to enter any thing. Look for any other variables which are not defined correctly..........
    Regards,
    Suman

  • Authorization Issues: Message EYE007: You do not have sufficient authoriza

    Hi all,
    We are facing issue regarding authorization. Details are -
    We have info object Region (which has values like NORTH, SOUTH, EAST, WEST and CENTRAL).
    Steps:
    1. I made Region as Authorization Relevant.
    2. Created Variable on Region and Processing type as Authorization (Multiple Single Values, Optional)
    3. As per user's role we have created 5 Authorization analysis objects with respective to Region values.
    If one user has access rights for north then, will assign North Role in BI. Similarly for others aslo it is working fine.
    But, If I assign North and South Role for one particular User then it is giving error.
    Error Message:
    All Authorizations Tested
      Message EYE007: You do not have sufficient authorization
      No Sufficient Authorization for This Subselection (SUBNR)
    Following CHANMIDs Are Affected:
    1478 ( ZDISTRICT )
    1488 ( ZREGION )
      Authorization Check Complete  
    Please help me.
    Regards,

    Hi,
    If ZDISTRICT & ZREGION  are not included in your selection you will get an authorization error. To avoid this error maintain value as : (Colon) in RSECADMIN for these objects.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/b1/0c9441b8972e7be10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/932b839c8019ade10000000a11466f/content.htm
    hope it helps...
    regards,
    Raju

  • Planning Sequence error - You do not have sufficient authorization

    Hello Experts,
    I am encountering the following error during execution of my planning sequence:
    You do not have sufficient authorization
    Message no. EYE007
    Diagnosis
    You do not have sufficient authorization for the requested data records.
    Procedure
    Either select other data or get the required authorizations from your administrator.
    Can anyone please suggest me what could be the possible cause of this error and how can I overcome it?
    Thanks in advance,
    Nitish.
    Edited by: Nitu_0105 on Jan 12, 2012 11:54 AM

    Check the planning level on which planning sequence is based  for values restriction.Looks like values for which it is been restricted you are not authorized or Roles assigned to you are not restricted with values in planning level.
    Also check if level is been restricted with any variable on which authorization is been restricted.Some are user specific example specific business area are assigned to only some users ...so you need to add your user ID to those variable.

  • Running BW Query in a Web, but not using Portal

    Hello guys,
    I'm running a BW Query using Web (From Query Designer) and it keeps trying to open a portal page. Then I need to change the URL manually to something like this:
    http://sapdev:8000/sap/bex?......
    Then works fine, my query runs with no issues. Where can I define to do not use Portal url ? (I'm checking the following document: How to... enable SAP BW Web functionality....").
    Regards,
    Marcelo

    Hi Marcelo,
    Please check out these threads:
    Re: Error while running BW Query.
    wrong url on running BEx query
    Regards
    Jeeth

  • Query not showing detailed result when run through query Designer or Portal

    Hi,
    There is one query which not showing detailed result while running through Query Designer or run in Portal.
    But strange thing is that it is showing the detailed result when i run it through BeX Analyzer.
    While all the other queries don't have this problem in system. All showing the correct detailed result.
    If anyone have some idea on this issue plz let me know.
    Regards,
    Javed
    Edited by: Javed Akhtar on Jul 7, 2009 3:59 PM

    Hi,
    We can do this setting in WAD. Please check the web template and try to remove that setting. When you have hierarchy then we can display only till certain level in portal, this setting is done in web template APIs, but in bex analyzer you can see all the detailed information.
    Edited
    Go through this thread for some more detailed information
    http://help.sap.com/saphelp_nw2004s/helpdata/en/44/7b5f0a95ce12d0e10000000a422035/frameset.htm
    Regards,
    rik

  • Can not read authorization object in execute Query

    hello:
       Now I create a authorization object ZSALR, include Activity,Sales Group,Sales Office.                     Activity = Display ,Execute;
    When Sales Group = S_N and Sale Office = S_SX. I execute Query restrict by Sales Group and Sale Office.
    Warning message"You do not have authorization to read to ZSALR"
    When Sales Group = * and Sale Office = *. I execute Query OK, and display all infomation. and explain "S_N" and "S_SX" can display in middle part in Query.
    Hope someone can tell me how to solve the error.
    Regards&Thanks!

    This occurs because , something in the class has changed . Every class has a serial id associated with . It is unique. even if a member var changes , this id will change .
    You are trying to deserialize a serialised object with a changed version of the class .
    You can see the serial id using "serialver" utility provided with jdk in bin directory

  • Event Viewer cannot open the event Log or Custom view. Verify that the Event log service is running or query is too long. The instance name passed was not recognized as valid by a WMI data provider(4201).

    "Event Viewer cannot open the event Log or Custom view. Verify that the Event log service is running or query is too long. The instance name passed was not recognized as valid by a WMI data provider(4201)"
    This error keeps cropping up now and again on most of our domain controllers (OS-2008 AND 2008R2)...Usually a restart fixes the issue however the issue repeats and security logs don't generate.
    Any advice on how to fix this issue permanently would be greatly appreciated.

    Please see this: https://social.technet.microsoft.com/Forums/windows/en-US/95987ca3-a1b2-4da6-95b7-d825d06cdac7/error-code-4201-the-instance-name-passed-was-not-recognized-as-valid-by-a-wmi-data-provider?forum=w7itprosecurity
    You can also try rebuilding the WMI repository: http://blogs.technet.com/b/askperf/archive/2009/04/13/wmi-rebuilding-the-wmi-repository.aspx
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

Maybe you are looking for

  • Including Vision M in PC music libr

    Is there any way that I can consolidate the tracks on my Zen Vision M into the 'PC music library' WITHOUT the files being physically copied to my hard dri've. At the moment I have to access tracks by selecting the Music directory on the Zen Vision, a

  • Weird behaviour of images in firefox 3

    Hi all, I have a problem with firefox 3 since it is compiled with the --enable-system-cairo option. here is a screenshot when firefox 3 was in unstable I recompiled it without the option to avoid the problem and it was ok. disabling the option now wi

  • Mail 4.2 started overloading my computer when posting a reply

    Hi Recently my Mail program is OK to start, but when I try to reply to someone's email, the text I enter stalls, the beach ball starts, and then I can only get another word or two in when the ball stops, until the ball starts again. Also, it seems th

  • Creative Zen Micro vs Windows Vista 32

    Hey guys, Looking for a little help and this seems to be the right place to get, lots of helpful people! I have a 3 year old Zen Micro, 4/5Gb I think and it worked fine with my old Dell laptop which ran XP, I used to drag and drop mpg files easily wi

  • Trouble importing music to my Zen To

    I used to have an ipod, but it was stolen about a year ago. I have since then been using the itunes player as my default, and it hold all of my music. With my new Zen Touch though, it won't let me transfer the files from my documents and iTunes into