Report parameters - user authorization

Hi all -
We are trying to limit the ways a particular user can run a report (with a standard selection screen 1000).  For example, the report has a parameter for company code on the selection screen - but the user should only be allowed to run the report for ONE particular company code.  We can obviously create a transaction code that starts with a particular variant in order that the appropriate data is populated.  However, we want to limit the user's access to other variants available to that report.  Is there a way we can disable the "Get variant" button for a report selection screen? 
If anybody has another suggestion as to how we can run a report where the user only has authorization to run with particular parameters, I would really appreciate hearing about it!
Thanks -
Abby

Thanks, but unfortunately company code is just an example... there are other fields as well.  
But I think I've found the solution...  limit the function code GET as shown below...
DATA itab TYPE TABLE OF sy-ucomm.
PARAMETERS test(10) TYPE c.
AT SELECTION-SCREEN OUTPUT.
APPEND: 'GET' TO itab.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = sy-pfkey
TABLES
p_exclude = itab.
Thanks for the help!

Similar Messages

  • User authorization query/report

    Has anyone determined a method of printing a query or report of all authorizations for a user? From reading SOX requirements, this appears to be standard in almost every company yet there does not appear to be a way to do it in Business One.

    Hi,
    if you want to print all authorization for all users so I think that the only way is do it through tables and sql query. The base table is HEM5.
    hope it helps
    Petr

  • Need a Query/User Authorization Report

    Hello All,
    I am looking for tables, function modules, programs etc that will aid in building a report that will show every query and which users have access to them.
    This program I am wanting to build will serve as a periodic "reality check" on our authorizations.
    I am not sure about the tables/programs etc involved in interpreting the user's roles/profiles.
    My current thinking is that there may be a function module or program that is being by the BEx tools that comes up with the list of queries that the user has access to when they first select the query they want to run. Getting a hold of that would be very beneficial.
    Any ideas?

    Hi,
    Refer the below links
    www.das.state.ne.us/nis/security/docs/authorized_agent_manual.pdf
    script.wareseeker.com/PHP/uas-user-authorization-system.zip/18033
    eda.ogden.disa.mil/users_guide/trainMaterial/GeneralAdminMaint.ppt
    www.umaryland.edu/eumb/Documents/user_aff.pdf
    www.mariewagener.de/node/98
    https://wiki.sdn.sap.com/wiki/display/BI/AuthorizationinSAPNWBI?focusedCommentId=78053701
    www.bi-expertonline.com/downloads/Smith.doc
    https://aisweb.wustl.edu/hr/benefits.nsf/pages/files/$file/hrmssecurityauth07.pdf
    www.sapdev.co.uk/sap-bw/queryexit.htm
    naresh

  • "Low-level" authorizations for accessing BW reports - add users to role

    Using the advice in Topic "Low-level" authorizations for accessing BW reports, I have been able to publish a query to a role that has 3 test users and each user gets the same query but with different data, as determined in the tables.
    Is there a way to look up the users and e-mail addresses from a table and associate them to the role? We have several hundred e-mail recipients that will not need BW access, but only need an e-mail with a static report that contains data on their own territories.

    Hi!
    i think programatically it might be complex. You got to maintain a seperate variant of report per user and use this variant to send mail. that means you need to maintain a variant and a Broadcast setting per user. once maintained you can use it any number of times the values will be recalculated everytime.
    with regards
    ashwin
    <i>PS n: Assigning point to the helpful answers is the way of saying thanks in SDN.  you can assign points by clicking on the appropriate radio button displayed next to the answers for your question. yellow for 2, green for 6 points(2)and blue for 10 points and to close the question and marked as problem solved. closing the threads which has a solution will help the members to deal with open issues with out wasting time on problems which has a solution and also to the people who encounter the same porblem in future. This is just to give you information as you are a new user.</i>

  • All the users authorization report

    Dear Experts,
    I want run the all the users authorization in SAP. I want prepare authorization matrix from all the users.
    Please help me on this. Thanks for advance.
    Regards
    S.Prasad

    Hi,
    post your query in abap forum.
    the following tables are useful to create such report
    ROLES BY  TCODE  ASSIGNMENT
    TSTCT
    AGR_1251
    ROLES BY  USERS ASSIGNMENT
    AGR_USERS
    USER_ADDR
    ROLES BY ORGANIZATIONAL LEVEL ELEMENT ASSIGNMENT
    AGR_1252
    USVART
    regards,
    kaushal

  • User authorization - parameters id

    Dear All,
    I want to default the client no by user id, thus can I set a client parameter in SU01 ?
    kindly give me the client parameter id or url link for the parameter id reference.
    Thank You.

    Hi,
    Please find the below the information and link.
    http://help.sap.com/saphelp_47x200/helpdata/en/52/6711df439b11d1896f0000e8322d00/frameset.htm
    Parameters
    User parameters supply defaults to SAP fields. If a field is indicated, the system automatically fills in the default value. Depending on the field definition, the entry can also be replaced with a value entered by the user.
    The two input fields on the parameter maintenance screen are described briefly below. For more information, choose F1.
    ·        Parameter: Enter the parameter ID for which you want to define a default value. You can display all of the parameter IDs defined in the system by choosing F4.
    ·        Value: Enter the default value for the parameter.
      Regards
    Sreedhar Reddy

  • Reporting Services web service complex xml type report parameters

    Hi,
    I have the following xml type parameter in my request query that I use in reporting services.
    <Parameter Name="accountDetails" Type="XML" xmlns:d4p1="thevalue" xmlns:i="thevalue">
    <DefaultValue>
    <d4p1:AccountDetailDto>
    <d4p1:AccountNumber>12345</d4p1:AccountNumber>
    <d4p1:AccountType>Sales</d4p1:AccountType>
    </d4p1:AccountDetailDto>
    </DefaultValue>
    I want to know how I can assign values to the accountDetails parameter from report parameters, I've tried to call it from the dataset parameter properties but it doesn't return any values. I created Parameters!accountDetails.Value on the dataset parameters
    properties and assigned it the following value: it only returns empty columns
    ="<AccountDetailDto><AccountNumber>"& Parameters!AccountNumber.Value &"</AccountNumber><AccountType>"& Parameters!AccountType.Value &"</AccountType></AccountDetailDto>"
    You're help will be highly appreciated as I've been trying to solve this for a while now

    Hi Alisa,
    Perhaps I should explain my problem clearly...
    This is my query request that I send to the webservice:
    <Query>
    <Method Name="GetPerAccountAssetAllocation" Namespace="http://tempuri.org/">
    <Parameters>
    <Parameter Name="accountDetails" Type="XML" xmlns:d4p1="thevalue" xmlns:i="thevalue">
    <DefaultValue>
    <d4p1:AccountDetailDto>
    <d4p1:AccountNumber>12345</d4p1:AccountNumber>
    <d4p1:AccountType>JSE</d4p1:AccountType>
    </d4p1:AccountDetailDto>
    </DefaultValue>
    </Parameter>
    </Parameters>
    </Method>
    <SoapAction>http://tempuri.org/IPortfolioManagementService/GetPerAccountAssetAllocation</SoapAction>
    <ElementPath IgnoreNamespaces="true">*</ElementPath>
    </Query>
    It works well when I run it just like this, that is without specifying any parameters in the report data dialogue window or on the dataset parameters properties, it returns the values and columns correctly.
    So my problem is, I need to find out how(xml parameter syntax, steps e.t.c)
    I can do to allow users to specify the accountDetails parameter, its quite tricky for me coz its an xml type parameter, Im not sure if I should just specify the AccountNumber and
    ReportType parameters separately:
    I've tried the following without any success:
    1. Under the dataset properties:  I tried not to specify a default value for the accountDetails parameter on the xml query, then I added a parameter called "accountDetails" under the dataset parameters properties, then under parameter
    value I added the following xml value :
    <d4p1:AccountDetailDto>
    <d4p1:AccountNumber>Parameters!AccountNumber.Value</d4p1:AccountNumber>
    <d4p1:AccountType>Parameters!AccountType.Value</d4p1:AccountType>
    </d4p1:AccountDetailDto> 
    (I also added the AccountNumber and AccountType parameters under the report data dialogue window)
    This returns empty columns, is there something I'm missing, or am I doing this incorrectly?

  • Report parameters in MM/DD SSRS

    I have a requirement where there will be two report parameters like From(MM/DD) and To(MM/DD) that will be used to compare against a month and day fields. For example, I have month and day fields stored in a table like
    MM DD
    01 24
    05 29
    When the user enters the two report parameters values as say From(01/25) and To(01/29), I need to retrieve records lies between Jan 25 to Jan 29 from the above table.
    Can you kindly provide a sample way to achieve this.

    Hi Sarayu,
    I have tested on my local environment and you can add the filter as below to filter the data of the Month and Day field based on the two parameters.
    Details information below for your reference(I assumed that the datatype of the twe parameters are Text ):
    Add the filter in the dataset and in the expression input as below to combine the month and day together:
    Expression (String)
    =Fields!Month.Value &"/"& Fields!Day.Value
    Operator: Between
    Value: [@From]    [@To]
    Preview you will got the result as below:
    If the DataType of the two parameters are Date/Time type you can use the expression below to filter the data:
    =CDate(Fields!Month.Value &"/"& Fields!Day.Value)
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Report Parameters behaving strangely

    Hello,
    I just completed my report in the designer provided with visual studio 2008, it's a relatively complex report with 6 subreports and has multiple detail sections. The parent report has one parameter which is used in a Database command. The report works nicely when previewing from the designer and only shows up one required parameters as it should. All the subreports have parameters as well but these are all linked to things on the parent report.
    The problem is when I try to execute the report from code, it ignores my parameters and proceeds to ask for multiple parameters, both including the parent parameters and all sub report parameters. If I enter these manually just to test if it works, I then get a message saying there's an error in one of the subreport's record selection formula. However I'm not sure how much I believe this as the previewing works completely fine.
    I just have no idea what is happening and why I am getting requests for so many parameters?
    Marlon

    Update ***
    I have managed to work through towards getting the report to display in the .NET app now, I needed to check the IsLinked() fucntion before assigning parameters.
    However, I have now been presented with an even more weird problem: If I switch database in code, I now get asked to enter a parameter I know is a linked one, if I do I get a message saying the record selection formula references an unknown field. But if I get the designer to change database, then get it to preview, it works flawlessly (both in the previewer and in the application). Until I change the database back to the original one, where I get the same error.
    Our application needs to be used in many client organisations with each having different connection strings / databases (all have the same schema obviously) so I need this report to run independent of what the database it was designed / compiled on.
    Here is the code I use to switch database within the application, is there anything different to the way I do it to the way the crystal report designer does it? As the designer is obviously doing something behind the scenes.
    This code has worked on the 15 or so reports I've designed so far.
                   ReportDocument cryRpt = new ReportDocument();
                    TableLogOnInfo tLI = new TableLogOnInfo();
                    ConnectionInfo cI = new ConnectionInfo();
                    Tables tables;
                    cryRpt.Load(reportPath);
                        cI.ServerName = (string)builder["Data Source"];
                        cI.DatabaseName = (string)builder["Initial Catalog"];
                        cI.UserID = (string)builder["User ID"];
                        cI.Password = (string)builder["Password"];
                        tables = cryRpt.Database.Tables;
                        foreach (Table t in tables)
                            tLI = t.LogOnInfo;
                            tLI.ConnectionInfo = cI;
                            t.ApplyLogOnInfo(tLI);

  • CR 2008,  Universes, and report parameters....

    All,
       I would like to use a universe(s) as a data source for our crystal reports (CR 2008 - BOE 3.0/3.1).  We have an application that collects the report parameters from users and then schedules the CR report using the JAVA API.  My question is this:
      what construct do I use in the universe to represent this statement in a where clause of the report query (I assume it's one of the @ functions):
    where...
          and loc_name in '(?locNameList)'
    ?locNameList is a multi-value parameter defined in the report. 
    Any comments, pointers to onlince documentation or examples, and book references would be appreciated.
    thanks,pf

    Paul,
    Did you get any feedback on this, I am looking to do the same thing.
    Thanks,
    Ian S

  • SSRS 2008 R2 Report parameters have default values and report not to auto run

    Hi, I am using SSRS 2008 R2 one of my requirements for a Report is all the parameters have default value and I do not want this report to auto run when users open this report. I can create a dummy hidden parameter to break the auto run for this
    report. But I am looking for solutions other than that.
    Thanks in advance..........
    Ione

    Hi lone,
    According to your description, you have a report with parameters. Now you want you report not to run automatically with your parameters default values. Right?
    In Reporting Service, if you have parameters with default values in your report, your report will always auto run with these default values. We can say these default values are used for report running initially. So for your requirement, if you really need
    to see your default value before the report running, the best workaround is set one more parameter to break the auto run like you have done. If you just want your report not to auto run, your can achieve it by removing those default values.
    Reference:
    Report Parameters (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou (Pactera)

  • Variable value to be populated based on user authorization

    Hi all,
    I want to have a variable with single value on plant.
    when the user executes the report, value of the variable has to be populated automatically based on the authorization of the login user and it has to show the output without displaying the selection screen.
    Kindly guide me of, what type of variable to create and to proceed.
    Thanks.
    I

    Hi
    Restriction Plant from user authorization can be achieved by the following steps
    1. Plant infoobject should be authorization relevant.
    2. make authorization object including plant and restrict to the plant u needed and assign the profile to the user
    3. in BEX create variable of authorization type on plant. this variable will get the default values for the plant from the user authorization on the selection screen of the query.
    4. if you dont want to display the variable on the selection screen then remove the chek box in variable that " variable is not ready for input"
    thanks
    radhika

  • Web service report parameters

    Hi,
    just wondering is it possible to retrieve more info regarding report parameters using web service, I can only get following:
    multiValuesAllowed
    name
    values
    basically could a call register some other classes than call.setReturnClass(ReportDefinition.class) or call.setReturnClass(ParamNameValue [].class) which gives me the same info.
    The reason why I'm asking is because I'd like to be able to get:
    id / name
    data type
    label
    default value
    value set
    and so on... so I can create my own prompt page in which user could set/select desired values and then run report with those values. Is this making any sense?
    Looking at this document http://oraclebizint.wordpress.com/2007/10/25/oracle-bi-publisher-101331-web-services-first-impressions/ it looks like it is not possible, are there any workarounds.
    At the moment I'm doing this by parsing xdo and that way I can get parameters, value sets and so on, then using api I'm generating reports, but I don't like this approach...
    Any advices and help regarding this are welcome.
    Thanks in advance,
    Tomislav.

    Hi
    I hope you have already found an answer for your question, if not, please check the post Re: Getting null bytes using PublicReportService_v11.wsdl
    I've found and described an issue similar to the one you are facing.
    IHTH
    Please, let me know.
    Marco

  • I've created a character report without user

    I've created a character report without user parameters that works just fine.
    The moment I've created a user parameter, without even putting it in a query, instead of
    a report I've got the message: "REP-1219: 'repeating_frame_name' has no size - length or with is zero".
    The same message I've got few times before:
    1. When in the Layout Model -> Main Section Width and Height were not set correctly. Setting Width and Height to right numbers solved the problem
    2. When 2 frames were overlapping. Turning off Snap to grid and moving the frames just a little from one another solved my problem.
    What should I do this time ?
    What I have installed is:
    Report Builder 6.0.5.35.0
    ORACLE Server Release 8.0.5.1.0
    Oracle Procedure Builder 6.0.7.2.1
    Oracle ORACLE PL/SQL V8.0.5.1.0 - Production
    Oracle CORE Version 4.0.5.0.0 - Production
    Oracle Tools Integration Services 6.0.5.32.0
    Oracle Tools Common Area 6.0.5.32.1
    Oracle Toolkit 2 for Windows 32-bit platforms 6.0.5.35.0
    Resource Object Store 6.0.5.0.1
    Oracle Help 6.0.5.35.0
    Oracle Sqlmgr 6.0.5.33.0
    Oracle Query Builder 6.0.5.6.0 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle ZRC 6.0.5.24.0
    Oracle Express 6.0.5.11.0
    Oracle Virtual Graphics System 6.0.5.32.1
    Oracle Image 6.0.5.34.0
    Oracle Multimedia Widget 6.0.5.34.0
    Oracle Tools GUI Utilities 6.0.5.35.0

    SEGURAMENTE UN FRAME TIENE POCA ALTURA,
    A MI ME HA PASADO LO MISMO,LO QUE HAGO ES QUE LOCALIZO EL ITEM Y LE DOY MAS ALTURA, POR ALGUNA RAZON REPORTS EN MODO CARACTER NO ACEPTA UNA ALTURA CORTA

  • Report for users permission to see universes

    Hi,
    I would like to create a report in the BO that shows for each user which universes he has permission to see.
    Which universe contains information about user authorization to see universes?
    Or how can I find this type of data?
    Thanks,
    Shiran

    This info is not available in universe, you have to use SDK to get the result.
    You can find the sdk from here,
    http://www.sdn.sap.com/irj/boc/sdklibrary

Maybe you are looking for