Authorizations for adhoc query

Hi all,
I am facing a problem with authorization on adhoc query. The following is what I am trying to achieve: Power Users are able to design a query but they are only allowed to save the query with the prefix "p_"
In PFCG I have set this up in s_rs_comp and s_rs_comp1 but I am still able to save the query under z_...... The role I have setup is quite plain, it has s_rfc, s_tcode, s_rscomp,
s_rscomp1 en s_rsicube. Have I forgot to setup something else?
anyone any idea?
mcteam

Hello James,
I am trying to make it so my users can only save queries with the prefix "Y" I guess my problem is sort of the reverse of yours.
My SDN thread is: 
Only save queries if name starts with Y
if you can help it'd be great!
Thanks,
Nick

Similar Messages

  • Authorization for ABAP Query

    Hello all,
    Can I benefit a little from your experience with SAP Query(ABAP) and Adhoc Query(ABAP)?
    My customer want to use both SAP Query and Adhoc Query.
    And they want to separate for SAP Query as preset report program and Adhoc Query as general-purpose reporting tool.
    And I want to know how to separate authorizations of SAP Query and Adhoc Query as below.
    As for SAP Query, users can only execute and cannnot change or delete it.
    As for Adhoc Query, users can save Queries they created or changed in Adhoc Query.
    I know there is only one authorization object for SAP Query:S_QUERY
    Is there any solution for that kind of request?
    Thanks and Regards,
    Hanae

    Hello,
    We have check in the abap program ask you functional to give the authorization object i.e. y_k_autchk
    and ask him for which filed we have to give authorizaion.
        AUTHORITY-CHECK OBJECT y_k_autchk
        ID 'WERKS' FIELD y_wa_tvarv-low.

  • How can i check the authorizations for a query in sap bw 3.1c

    Hi,
    While running one query i am getting warning message is  : you do not have authorization to read object ZVERSION  and few column results also not displaying.
    I would like to check is there any authorization check for this query and could you explain how we use the authorizations in our BW.
    Thanks in advance....

    if you execute su53, the authorization check failed cannot be displayed for reports. because you are executing query in BEx is it?
    for this you can trace the userid that executing query to check the authorization check failed. Go to st01 and find out the authorization check failed there.
    And you can find in RSRT too. i am not sure that.
    One more option is there to check the authorization with help of matrix that you prepared for assigning access/authorization to the users.
    Hope this would help you.

  • User Authorization for a Query

    Hi,
    I have assigned a single role to a user, in which I have authorization for all the Infoproviders, including authorization for reporting. The user is able to access most of the queries, except one query. If there is a problem, he should not have accessed all the queries.
    What problem could have prevented the user from accessing on particular query???
    Any Ideas will be highly appreciated,
    Thanks and Regards,
    Ravi Sankar

    Some possibilities:
    The one query which the user is not able to run , who is the author of this query?
    You need to give authirozation for the object S_RS_COMP1.
    If the user has authorization for this object, then the next possibility is:
    The query may have a filter or a characteristic value for which the value is not set for the user.
    Ravi Thothadri

  • Template for Adhoc Query

    Hi
    I need to create a role  so that user can create and execute adhoc query. Please let me know the template that can be copied in this regard in BI
    Thanks in advance

    Hi,
    with Regards to WebI you can create on Report based on a Universe....Design it as needed and save it. Afterwards copy it for each new created Report on the Universe.
    With Regards to CR you can create your template and save it in the Template directory on your PC where CR is installed.
    Regards
    -Seb.

  • Authorization for BEX Query

    Hi all,
          I badly need your help.i need to give authorization for a particular query.As of now when i execute that query it gives me "No Authorization" message. what authorization object i need to include in that role? Am sure that there should be some business content authorization object for the current situation.
    Thanks in Advance

    Hi Nanda,
    you need:
    s_rs_comp    -- for querries
    s_rs_comp1   -- for querries including the username, this is usefull if you would like to allow a user to change and create only his/her querries
    s_rs_hier    -- if hierarchies used in the querrie
    s_rs_icube   -- if autorization is switched on for the Cube
    s_tcode for rrmx of course
    s_gui and s_rfc for workbooks
    you can check the authorization process for a user with su53 and rssm
    Regards
    Pierre

  • Created on Date for Adhoc Query

    Hi Everyone,
    I have a requirement for creating a query which will list the adhoc queries created by the power users.
    User - Query - Infocube - Created on - No of Navs - Last Used.
    Is there a way to make the BW Stats system give me the 'Created on' Day. I know it has the Last changed date which can be either the day it was created on or enhanced on.
    Also (just a thought I had) .... No of Navs - this number denoted the number of times the query requested data (executions and drilldowns). Is there key figure which can give only the no of times the query was executed and not the drilldowns it made.
    Any suggestions will be greatly appreciated.
    Thankx!
    Kumar.
    Edited by: kumar saurabh on Aug 18, 2008 5:34 PM

    Hi..
    Pls check below code to fetch the tesxt of historical org unit. hope it will help.
    *//Internal table declaration.
    DATA : lt_00  TYPE STANDARD TABLE OF pa0000,
           lt_psn TYPE STANDARD TABLE OF zhrpositions,
           lt_ret TYPE STANDARD TABLE OF bapiret2,
           lt_01  TYPE STANDARD TABLE OF pa0001,
           lw_01  TYPE pa0001,
           lw_psn TYPE zhrpositions,
           lt_comps  LIKE zstr_hr_comps,
           lt_return LIKE bapiret2.
    Thanks,
    kl
    Edited by: Narayana on Aug 10, 2010 10:50 AM

  • ADHOC  Query Authorization

    Hi Experts,
    How authorization can be assigned to a query created by PAAH transaction (adhoc query).
    If a query is created by particular user/user group, it should not be altered by other user / user group.
    Please advice.Thanks in Advance.
    Regards,
    IFF

    Hello,
    Through P_PERNR we could restrict the authorisations for adhoc query for a particular user.
    Using the employee sbu group field value found under the P_ORGINCON authorisation object we could restrict the authorisations for a particular group of users.
    Hope this answers your query.
    Kindly let me know if you need any further help in this regards.
    Pramathesh.

  • Customization of "No Authorization" for Query in BI!!!

    Hi,
    Have a query on when we get a no authorization for a query in BI. Can we customize the error message or create pop up in analyzer to show the user that he does not have access to a particular value like a Company Code etc.
    Also is it possible to show data to the user for which he is authorized even if he has put in fields to which he has no access.
    Thanks,
    Yogesh

    May be you can try Authorization Fill variable.
    To see what the user ID is Authorized to see use RSECADMIN (Only in BI7.0) and see for Error Logs under Analysis.
    AB

  • Authorizations for Query loading

    Hi,
    We provided the authorization for EP screen and backend is BW while opening an screen we are getting an error " no authorizations for Loading a query" please can anyone will help me for this.. which authorization is require for laoding up query...
    Thanks
    Sonu

    Hi,
    Please create a role for the reporting user in T code PFCG.
    Assign execute authorization for the query using authorization object
    S_RS_COMP and S_RS_COMP1.
    Assign the role to the user.
    Basic idea is to make sure the user has execution authorization for the query you are running in Portal.
    Please see below link
    http://help.sap.com/saphelp_nw70/helpdata/EN/f8/7913426e48db2ce10000000a1550b0/frameset.htm
    Regards,
    Nitin

  • Query Authorization for acessing , modification

    Hai
    I created the InfoCube and Query . I want give query auhtorization and query access and query modifications to some superusers.
    How can i give tht authorization to superuser. Pls tell me in step-by-step.
    I will assing th points
    kumar

    Hi,
    You have to provide authorization for The Query & Cube.
    1. Add the query/Workbook to the role in PFCG.
    2. Create/ Assign Authorization profile.
    3. Assign Authorization objects S_RS_COMP & S_RS_COMP1
    4. Provide desired authorization for Diaplsy,Execute etc.
    Regards
    SS

  • Infotype 0120 - changes in adhoc query program

    Hi All,
    I have to make some code changes for the std infotype 0102 - Grievances NA in the adhoc query. My requirement is :-
    1) A range from 000-999 should be available for each Employee for the Grievance Number field. P0102-GRNUM.
    2) If a record already exists for the employee for a particular Grievance Number -GRNUM(e.g - 467) and Stage- GRSTG(e.g.- Stage1), the system should not allow to enter another record with the same Grievance Number and Stage for the same employee.i.e. No duplication should be allowed. i.e only 3 records for 1 Grievance Number as there are only 3 stages.
    Please advice me how to proceed for the same.
    Thanks & Regards,
    Preeti

    hi
    Its not getting clear that u want the changes for ADhoc query or in pa30.
    if u want validations in adhoc query as u have mentioned in the question
    u need not to go to a user exit.
    In adoc query itself u can incorporate these changes
    u can go to infoset of this query and write a abap code which checks the Infotype 102 for the grievance no.
    If u want the validation on while creating the record then u have to use user exit ZXPAUD01 or can use BADI's also .
    Regards
    Manish
    Award reward paoints If Useful

  • Difference Beetween Query Designer and Adhoc Query Designer

    Hello!
    can any one explain me what exactly is Adhoc query designer and how is it different from  Bex Query designer. can you please provide me links for Adhoc query designer (not to Bex query designer)
    with regards
    ashwin

    Hi Ashwin,
    See this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/1f/03223c5f00612be10000000a11402f/content.htm
    Basically the Adhoc query designer is a web item that you can include in a web template to allow the user to create or change queries in the web environment. It has some limitations like you cannot use variables, and can only use one structure.
    Hope this helps...

  • Sapquery , adhoc query and Infoset query

    any body having any material for ADHOC QUERY , SAP QUERY and Infoset query with detail explanation and steps for creation.
    plz forward it to me??????????

    hi,
       sap query r used to design reports to see the data according to our selections in this daa is fetched from diff tables its  much easier to desing reports using this
                 infoset query is somthign used with BI ints used to read data form PSA some temp storage loc
               if i am wrong someone correct me
    reward if useful
    ravi

  • Using of Bex Web Analyzer as Adhoc query?

    Hi,
    can we use the Bex Web analyzer as a preferred tool for designing the Adhoc query?
    Points willl be definitely assigned.

    Hi Vasu,
    You can create an appropriate ad hoc query to specify parameters for Web target iViews.
    In logical SAP R/3 Systems of Release 4.6B or higher, transaction SPO0 contains an Ad hoc Query tab. This uses the concept of InfoSets, which are usually based on table joins or logical databases, to create abstract definitions for fields that the system can read. You have to enter parameters for the individual fields. The ad hoc query delivers values that can be passed to the portal.
    Transaction SPO0 also contains a buffer for ad hoc queries. This improves system performance by avoiding the need to put together the query every time it is used.
    You can delete the contents of this buffer by choosing Delete Buffer for AdHoc Query on the start screen of transaction SPO0. This removes the index entry and the generated queries from the system.
    Hope this will help you.
    Kind regards,
    Praveen

Maybe you are looking for