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.

Similar Messages

  • How to create a tcode for abap query

    how to create a transaction code for abap query,
    i used a single table , my requirment is as i enter the tcode i should get the selectioin screen of my query.

    Hi
    Follow this
    . Make a transaction with parameters transaction from se93 .
    2. Put START_REPORT in the transaction
    3. Check the skip intial screen checkbox
    4. in the table control in the end of screen put these values
    D_SREPOVARI-REPORTTYPE = AQ
    D_SREPOVARI-REPORT = <USER GROUP in WHICH THE QUERY IS CREATED> G
    (G stands for GLOBAL AREA:)(Entered after a space)(G should come after 9
    chanracters(8 char for user group,one space and then G)
    D_SREPOVARI-EXTDREPORT = <QUERY NAME>
    refer this:
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/how-to-assign-a-tcode-to-a-sap-query-579623
    Regards
    Shiva

  • Creating t.code for ABAP query and Transport  it TO Production and run it .

    Hi Friends
    Thanks for ur reply ,
    The requirement is that i want to create tcode for abap query and that query can be regenearted ,
    in case of regeneration programe name i got answer programame name will be change, i created and modified query but i saw the same programe name ,,, may be it changed when it is trasnported if so then what ??
    and also pls give me solution for asiging tcode for query which is going to be regenerated.
    thanks and regards
    farukh

    Dear Farukh,
    As we know,
    Query is created in Production server and a corresponding program is generated by System.
    What we have to do is just to assign the program to the desired transaction code in Development server and transport it.
    If you have any doubts please let me know.
    Kindly assign points if you find this info usefull.
    Regards,
    Lijo Joseph

  • Creting t.code for ABAP query and Transport  it TO Production and run it .

    Hi Friends
    Thanks for ur reply ,
    The requirement is that i want to create tcode for abap query and that query can be regenearted ,
    in case of regeneration programe name i got answer programame name will be change, i created and modified query but i saw the same programe name ,,, may be it changed when it is trasnported if so then what ??
    and also pls give me solution for asiging tcode for query which is going to be regenerated.
    thanks and regards
    farukh

    Hi farukh,
    1. If any query is re-generatred,
       then some MANUAL INTERVENTION
       is absolutely required.
    2. Hence, what we prefer is this :
       1. Generate first query.
       2. Copy the code to a Z Program
       3. Attach tcode to THIS z program.
       4. Transport
    3. Now,
      whener the query is generated again,
       AGAIN COPY THE CODE
      TO OUR Z PROGRAM (2ND STEP ABOVE)
                        (which has already been created)
      AND TRANSPORT JUST THIS Z PROGRAM.
      REST WILL TAKE CARE OF ITSELF.
    4. In such cases,
      ONLY COPY-PASTE IS REQUIRED.
      (and it takes not more than 15 SECONDS)
    regards,
    amit m.

  • Performance tuning for ABAP Query (created from t-cd SQ01)

    Hello all,
    We created ABAP Query report from transaction SQ01.
    But the generated report has an appropriate SQL statement which causes performance problem.
    To solve this issue, I guess the easiest way is;
    0. Give up to use it.
    1. Copy it to another object in the customer namespace.
    2. Ajust SQL statement.
    But I'm wondering if there're appropriate ways to adjust SQL statement of Query.
    Could anybody give me any better idea?
    Thank you
    Yuko

    You can try this: Create 2 ranges, for objnr and cdtcode and fill like:
    ra_objnr-sign = 'I'.
    ra_objnr-option = 'CP'.
    ra_objnr-low = 'OR*'.
    append ra_objnr.
    ra_code-sign = 'I'.
    ra_code-option = 'CP'.
    ra_code-low = 'CO*'.
    append ra_code.
    SELECT objnr udate utime
    FROM jcds
    INTO TABLE it_jcds
    WHERE objnr IN ra_objnr
    AND stat = l_tj02t
    AND cdtcode IN ra_code
    AND inact = space
    Regards,
    John.

  • 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.

  • How to set default value in select option for ABAP query

    Hi experts,
    What is the way to set up default values for select-options in ABAP query.
    e.g.
    I have one field 'Year' in my ABAP query selection screen.
    I want value of current year to be appeared here whenever user execute report
    Thanks in Advance
    -Harkamal

    Hi Harkamal,
    execute your Query via SQ01. On Selection-Screen
    goto save Variant. Mark your field
    as selection variable an press Button election variable.
    Take variable from TVARV and use it.
    Than save the Variant.
    Look at TVARV if the 'Year' is updated to the actualYear!
    regards, Dieter

  • 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

  • Creating TCODE for ABAP Query

    Hello everyone! I have created my very first ABAP Query, but I still need to create/assign TCODE for the said report.  Can anyone help me with it? Somebody told me to use SE93.  I found out that there are 5 options in SE93 to create a TCode, I tried all options but I could not get through it because I was asked for a program name or a transaction.  What should I put in there? The query name?  Please help.
    Thanks!

    HI Ervyone! Got it Already. To Get the program name of the ABAP Query,
             1. Go to SQ01> Query Menu>More Function--> Generate Program
             2. Go to SQ01> Query Menu>More Function--> Display Report Name. Copy the Report Name that Will be displayed.
             3.  Go to SE93 Enter the TCODE that you want to use, then click on Create BUtton.  Choose the second option "Program 
                  and Selection Screen (Report Option)".  The next screen will ask for your program name,  Paste/copy the program
                  name and save it.
    Thanks!
    Edited by: Ksbaizas on Jun 22, 2010 3:19 AM

  • Authorization in ABAP Query

    Dear Guys
    Is it true that ABAP Query bypass Authorizations Profiles while ABAP reports dont,

    Hi,
    Generally QUERY's are User Specific (Pertaining  to USER GROUP).
    Where as Reports are Global to all, Unless you restrict them with some Explicit Authorizations.
    Regards,
    Anji

  • 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

  • Short Dump While selecting Variant for ABAP query

    Hi,
    ABAP query is going to short dump (CONNE_IMPORT_WRONG_COMP_LENG) while selecting a Variant. If i create and use variant then i am able to see Output of Variant.But not able to use Earlier created variants .
    I think some mismatch between variant values and selection screen fields.Can anyone tell me how to rectify this ?
    I am not able to debug the code as dump is coming in a System program(RSDBSPVD).Can anyone tell me which database table i can use to get values of the Variant.
    Thanks in Advance.
    Nirmala K

    Hi nirmala,
    chk the links:
    http://help.sap.com/saphelp_webas620/helpdata/en/c0/980398e58611d194cc00a0c94260a5/content.htm
    http://help.sap.com/saphelp_webas620/helpdata/en/c0/9803a7e58611d194cc00a0c94260a5/content.htm
    regards,
    keerthi.

  • Re: functional spec for ABAP query

    Hi gurus
    I need one model functional specification for ABAP Queries
    amk

    Hi,
    Functional Specification  is written by the functional consultants to give to the ABAPers where there will write technical specifications to meet the requirement.
    Regarding your issue, u have to first know
    whats the requirement is
    when to start with either T.Code and
    at what field
    who are authorized to do that
    How we do that
    How this integrated with other modules
    what implications it is going to reflect in other modules
    the approval from the repective supervisors
    and finally viewing the output
    and rectifying the same after going through the technical requirements.
    Mohan
    Award pointsif it helps.

  • 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

  • PI  Developer Authorizations for ABAP and Netweaver

    Hello,
    I was wondering if anyone had the basic authorizations for a developer in PI? I also need to know what they need access to in the Configuration Tool? I have the Security Guide but I was looking for a little more specifics? Anyone that could help would be fantastic.
    James

    Hi James,
    I find this one useful
    http://www.erpgenie.com/sap/netweaver/xi/xiauthorizations.htm
    As for the Config tool, i don't think developer should have access to it. It should be restricted to BASIS Team only
    Cheers !!
    Zaheer

Maybe you are looking for

  • Updated to BIOS 1.9, Got some new BIOS Setting??

    hey...    I was previously runnin on the 1.4 BIOS ver and flashed to the 1.9 release and after that i got this option under Voltage Settings for Speed Performance or somehting like that.     it had options like Slow, Fast , Ultra Fast and one more th

  • Any solution to pixelated images when zooming?

    Wondering if there is a solution to prevent pdf images on transparent background from pixelating when zoomed in. This is a screen capture. There are two knife images. The large white knife is a pdf on a transparent background saved at 108 ppi in phot

  • Lightroom 5 can't write metadata to DNG files

    I have converted a large number of Canon and Nikon raw files to DNG using Adobe DNG Converter (version 8.2.0.94).  Using Lightroom 5.2 I wanted to change metadata in these master DNG files.  I import the files into a catalog, select all, modify the m

  • Photo library to iPhoto

    When i plug in my ipod to mac book air and touch the camera icon I have saved photos and photo library. I opne iphot and ony saved photos automatically load into iphoto. How do i get photo library to load to iphoto? thanks

  • Flash Action Happening Too Early

    I'm attempting to have a flash video file play before loading a web site. The way I'm doing it is to import an FLV video that I created in AE, into Flash, set the frame rate of the Flash to that of the (video 24fps) and add an action at frame 241 whi