Check user role/authorization during Web report run-time?

Hello again,
I ran into a problem. I need to check <b>user's authorization during webtemplate execution (run-time)</b>. I want to have a possibility to allow in one web template extra functionality (through template menu) to key users. Normal users, who are running same report, should not have this extra menu visible.
Is it possible to check user authorizations or roles during web-template run-time?
Thank you!
Vitaliy

Hi Harinam,
From my logic your are right.
The restriction is in two new roles (Requestor and Approver role).
But ->
If I assign my approver role the selection possiblities of the request types during the AR creation is restricted and the AR search function does not work.
If I assign my requestor role the restriction of the request type is not there, but the AR search function works again. :-(
If I assign the original approver role of sap I have the same behavoiur for the AR search.
Both new roles are a 1:1 copy of the SAP standard roles - > Exception, ristriction on request type 'Execption Approval' is not displ.
I have execute ST01 now. If I try to open the log, the system syst "No records that correspond to these search criteria".
But I have found something else.
The problem appears only if I search for Process ID "Access Request Approval Workflow".
If I select other Process ID such as "Control Assignment Approval Workflow" or "Fire Fighter Log Report Review Workflow", everything works fine.
Very strange!
BR
Melanie

Similar Messages

  • Roles & Authorizations for Web Reports...

    Hello Experts,
    We are newly implementing Web Reports in our organization. I need your great thoughts regarding implementing Authorizations for users to access the reports.
    We are using a report menu page that contain links to all the reports. The page opens by clicking on a link on the portal. The individual reports are basically accessed from this page by clicking on the corresponding button (links a URL ).
    I wonder if there is any way to look into the menu page (XHTML code of that web page/application) when ever the users click on the reports link and disable those buttons that the users are not allowed to access depending on the roles users are assigned to. Otherwise is there any better way to do it.
    And also how to call a function from web applications.
    This is a kind of urgent issue any quick ideas would be greatly appreciated.

    I apologize for the difficulty in reading this  I will repost.
    We have had no training or received any documenation on WAD.  The below was created from internet research.  Hence there may be WAD functionality that would allow easier maintenance, however; this is what we use.
    With our dashboard, I have a web template that contains hyperlinks for our reports.  I will call this HeaderTemplate1.  For each web page I have report templates.  These report templates have the HeaderTemplate1 mentioned above as well as the report tables, charts, text elements, tabs, etc.
    The JavaScript logic for accessing the urls of the specific report templates is contained within our HeaderTemplate1.
    Below is how our setup was tested.  Keep in mind, this was only for testing basic functionality.  If this is something we use I will most likely create a master data table that houses the user ID and an attribute for the header type.  Thus, any report menu changes can be altered quickly without changing the javascript of each report template.  Also this will accomodate the few thousand users we have.
    To add the functionality of different 'menus', I created another header template with the same hyperlinks of HeadertTemplate1 with the exception of one or two hyperlinks.  This, HeaderTemplate2, was added to each report template just below HeaderTemplate1.  Note that both HeaderTemplate1 and HeaderTemplate2 were set as visible on each report template.
    Also, on each report template I added a text element.  The 'List of Text Elements'property was set as such; Element Type = General Text Sympol,  Element ID = SYUSER.  This Text Element was linked to a query  or view from BEx via the dataprovider.  On the HTML side, I surrounded this Text Element with
    <Font ID="UserID",,,textelement....</Font>
    Each Report template has this javascript function, fnRepOnLoad, which is triggered at the OnLoad event.
    [<SCRIPT language = "JAVASCRIPT">                       
      function fnRepOnLoad()
        var user_ID=document.getElementById("UserID").innerHTML;
        if (user_ID=='USER123')
          document.all["HEADTMPLT1"].style.visibility = 'hidden';
          document.all["HEADTMPLT1"].style.position = 'absolute';
        else         
          document.all["HEADTMPLT2"].style.visibility = 'hidden';
          document.all["HEADTMPLT2"].style.position = 'absolute';
    </script>
    The function results as this.  If the user is USER123, HeaderTemplate1 is hidden, leaving only HeaderTemplate2 visible.  Otherwise HeaderTemplate2 is invisible leaving on HeaderTemplate1 visible.
    We do not use buttons as our global leaders prefer hyperlinks but buttons can be enabled or disabled similarly.
    As mentioned before, if this method is implemented, I will create a reportable master data table.  Create a customer exit variable to retrieve the header template required for the user.  This header template variable value will then be pulled by a text element on each report template.  The script function will act as follows.  If many report headers are necessary I may use a case statement.
    Var User_template=document.getElementById("UserTmplt").innerHTML;
    If UserTmplt = HeaderTemplate1
    -->  make all header templates other than HeaderTemplate1 invisible
    else
    -->  make all header templates other than HeaderTemplate2 invisible
    etc...
    I hope this helps.  Please keep me posted with your solution.  I am very interested to learn what others are doing.
    Best Regards,
    Larry

  • How We Can Change Page Size During Report Run Time

    Hello !
    How We Can Change Page Size During Report Run Time .
    How can we stop to change the column name when we amend a sql in report data model.
    Thanks !
    null

    hello sohail
    1. question - i'm afraid this cannot be done ... bit in report 6 and newer you have posibility to divide your report in 3 parts (former header, body, trailor) and each part can have diferent page siz, orientation , ...
    2. question - best is give each column in your statements in one report diferent alias. when you have to chnge something, alias will remain same ...
    try this: select 1 as fist_column, 1 as second_column from dual
    hope this helsp

  • How can i see Log information of Report Run Time?

    Hi Gurus,
    How can i see Log information of Report Run Time?, till now i am counted report run time manually. Is there any way i can see the workbook running time in log information?.
    Thanks & Regards
    Vikram

    There could be a few things -
    At one time, you needed to run a separate script to create the tables. I'm not sure that is still the case. If you check the Administrators guide, look into the chapter that deals with the EUL Status Workbooks.
    If you are not logged on as the eul owner, you may not have select privileges, or you may need to qualify the table with the schema (if there is no synonym) - select * from <eul_owner>.EUL5_QPP_STATS;
    If you are on 4i, the table is EUL4_QPP_STATS

  • XL Reporter Run-time Error '429' ActiveX component can't create object

    Hi Everyone,
    When trying to install XL Reporter on a Windows 2003 Server SP2 machine getting the following Error:
    XL Reporter
    Run-time error '429':
    ActiveX component can't create object.
    Did anyone get this error? Please advise of any steps we can try to resolve.
    Kind Regards,
    Kafil

    Dear Friend,
                 I had described the problem to our technical support team, and they replied as follows u2013
    They solved the Script related error by several stages.
    They checked the machine for any mal-ware existence by the tool provided by Microsoft (MS Mal-ware remover).
    Then they tried by installing the following patches from Microsoft u2013
    http://support.microsoft.com/kb/949140
    Windows Script 5.7 for Windows XP
    http://www.microsoft.com/downloads/details.aspx?familyid=887fce82-e3f5-4289-a5e3-6cbb818623aa&displaylang=en
    Windows Script 5.6 for Windows Server 2003
    http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAA&displaylang=en
    Windows Script 5.6 for Windows XP and Windows 2000
    The internal matter to this problem was about the following DLL and its version u2013
    C:\WINDOWS\system32
    vbscript.dll
    5.5.0.8820
    Desired
    5.6.0.8820
    Check, if the information helps you.

  • Can I Disable the Menu at report run time

    Dear All,
    I have windows Environment with Oracle 8i and Report 6i
    Can I Disable the Menu at report run time.
    user not able to generate other formats (HTML,PDF etc) of my report.
    awaiting with advance Thanks

    Hello,
    There are some parameters to disable some "feature" :
    DISABLEFILE
    Description
    DISABLEFILE specifies whether to disable the File->Generate to File menu in the Runtime Previewer.
    Syntax
    [DISABLEFILE=]YES
    Search for disable* in the Reports 6i online help for more details ..
    Regards

  • Web dynporo run-time methods parameters

    Hi,
    What is the best way of finding web dynpro run time method parameters ? I'm talking about methods like get_selected_parameters(), get_child_node etc..
    Many thanks

    Hi
    You can use the Web Dynpro Wizard this will give you the required coding
    or
    go to attributes of the view
    the context in the VIEW is of type IF_WD_CONTEXT_NODE. double click on this class you can find all the methods from there you can go to the parameter list
    for that matter if you know a class the same can be done
    Hope this will serve your purpose.
    Regards
    Ramchander Rao.K

  • Authorization object in procurement that checks user role

    Hi Experts,
       Please let me know if we have any standard authorization objects in the transactions PO or PR that checks the SAP User role. Authorization check can be done by sap role, we are not botherd checking on company code, purchase group and so on, Is there any standard procedure to find out that or any function module available to check that by passing user role.  << removed >>
    Cheers
    Mohan
    Edited by: Rob Burbank on Feb 19, 2010 12:24 PM

    easiest way to find all authorization objects is to execute SU24.
    There you enter the transaction code for which you want find the authorization objects.

  • ECATT Test user roles (authorization check)

    Dear all,
    I want to test the authorizations on a SAP transaction using eCATT.
    I have defined some generic users with specific roles and I want to "automatisate" the test with eCATT.
    Is it possible to re-execute te transaction with different users within the same eCATT execution ?
    Nicolas

    Hi Nicolas!
    At least not in a direct way (there is no call ... with user x).
    But maybe you can work with several logical systems. You can run the eCATT remote - also on the same system (usually for different clients). When you use your generic users to log in automatically, then the execution will be done by the generic user.
    It's easy to run the whole eCATT remote, but there has to be a possibility to run single steps remotely - that's for scenarios to follow a process with messages to other systems (e.g. ordering).
    Regards,
    Christian

  • Authorization in Web reports

    Hi ,
    I amfacing a authorization problem when executing the query in web.plz consider the senario below
    there are 2 seperate roles ,one for web and other for bex version
    we are having an authorization object for one characteristics. We are restricting this with auth variable in the query.I have created a particular role wih restriction on certain values on authorization obj.If I am executing the web version with this role alone then i am get an authorization error.If I am executing the web with * auuth for the auth obj then it is getting executed without auth error.
    Can some body help me and explain how authorizatio works in case of web reports.There is also a precalculation job scheduled

    Hi,
    Sorry for the confusion in the earlier mail.plz read the below mail
    My requirement is to have user specific precalculation of webtempletes.ie different users should see values for which they are authorized to when they login with their id in Web.(after precalculation job is executed)
    I checked precalculate user -specificaly flag in the reporting agent setting and executed the precalculation job. But when I logon with any id added in the reporting agent setting it is showing the " Requested document not found".
    Can somebody help me in solving this ? Thanks

  • Authorization for Web report

    Hello Experts,
    One of my user wants to see a report in the web and wants an authorization for the same. When he is trying to execute the query in the WEB he is facing the follwoing error.
    User SCANESIN has no RFC authorization for function group SDIFRUNTIME.
    What steps do i need to follow to resolve this issue.
    Regards,

    Hi,
    You can solve this problem with the help of your basis person.
    Go to the role of that use using RSECADMIN. Find the authorisation object S_RFC. Include SDIFRUNTIME in
    'Name of RFC to be protected' field. Activate the role.
    Regards
    Githen

  • Webi report runs in schedule in mins, times out when trying to modify

    I have a Webi Report that runs in schedule copy sent to an inbox (takes a minute to run)
    However when you try to modify refresh or edit in Webi on Infoview. The application just sits there with one green bar on progress bar, No Timeouts etc.
    Any ideas?

    To increase Java heap size on the client computer, check SAP NOTE# 1201179 - Error: "java.lang.OutOfMemoryError" when attempting to edit large Web Intelligence
    Symptom
    In BusinessObjects Enterprise XI Release 2, when attempting to edit large Web Intelligence documents, the Internet Explorer browser stops responding. In the Java console, the following error message appears:
    "java.lang.OutOfMemoryError".
    Cause
    The error message occurs because the instance of Java on the client computer has reached its memory threshold.
    Resolution
    To edit large Web Intelligence documents, the default memory size on the client computer must be increased.
    To increase the default memory size
    Click Start > Control Panel > Java Plug-in > Advanced.
    Type "-Xms128m or -Xms256m" for the Java Runtime Parameters.
    Click Apply.
    Close all Internet Explorer windows.
    Retry the report.
    To automate the process the user can also create a script file that will update the deployment.properties file on each users' workstation.  The file is located under C:\Documents and Settings\<username>\Application Data\Sun\Java\Deployment folder.
    Modify the deployment.javapi.jre.<version>.args parameter in the deployment.properties file and add the xms and xmx parameters, for eg:
    deployment.javapi.jre.1.5.0_12.args=-Xms128m  -Xms256m
    The Web Intelligence document can now be edited successfully

  • Authorizations for WEBI report based on BPC data model

    Hi All,
    We are strugelling with setting up authorisations for the reporting on BPC data model.
    We created Bex query on top of Multiprovider that consists of BPC cube. The Bex query is source for WEBI output. The authorisations has been set up on BPC data model (cube) in BPC application but they are not passed nor to Bex query nor to Webi. Example: The query is build on top of OPEX BPC data model, this data model is restricted based on Oranizational Unit. My test user is allowed to see only Org Unit = 'Australia' in the OPEX BPC data model, however when I'm running the report I can see absolutely everything.
    We are not connecting/using any BI cubes itself for this reporting. We are intrested only in the WEBI report based on BPC data models.
    We were trying to use BPC data model (without any extra settings) as the source for BEx report, we were also trying to use virtual BPC data model as the source for Bex transient query - but non of these have helped.
    Can you please advise how the authorisations should be set up for WEBI reporting on BPC data models?
    Kasia

    Anybody can help with this issue please?

  • Checking user roles in FI Module

    Hi,
    Please let me know the points to be considered while checking the security and authorization in FI modules based on a user role.
    Thanks,
    Sridevi

    Hi,
    While defining the security roles, as a first step Composite roles, Single Roles are created. Transaction codes are attached to Single roles. A group of Single roles are attached to a Composite roles.
    Based of Business requirements / Orgnaization structure in the Company  in the sense VP. Finance / Controller / Sr.Manager / Manager etc., the composite roles and single roles are assigned to the positions. For example Vice President Finance will have full authorization to all composite roles.
    Some of the users require only display authorization, in which case a role is created only incorporating transaction codes which display documents.
    Thanks
    Murali.

  • How to check user role/profile

    Dear all,
    I'm finding function module to get a list of profile/role of user. Would you please suggest me on this?
    Btw, if you have any other advise please feel free to let me know.
    Thanks in advance.
    Peersit

    I've just found the related threads on this site.
    User Profile Details
    Re: User Profile Details
    User Wise Authorization/profile report needed
    User Wise Authorization/profile report needed
    Have a good day.

Maybe you are looking for

  • How to get dynamic query results from an array/structure

    I have an edit page that is set up to display phone number fields from the user stored in our database. The properties for the phone number fields are set by a structure of arrays. My problem is that when a user has more than 1 phone number in my dat

  • SubReport Data in a Main Report Yet Again

    I have been trying and reading posts all day. 1. The shared variable formula used in the main report will show any/correct value only if its placed atleast 1 section below the one where the sub report exists. (I've Done This) 2.The formula that is us

  • PO price: info record conditions

    Hello all, Our buyers maintain info record pricing, and they want the PO price to be determined only by info record conditions, even when the condition period has ended. In other words, if the condition period ends today, a PO created today would use

  • Make field selection for 201 Movement type for MB21 t.code

    Hello, I have making reservation through T.code.. In that screen we have entered Movement type 201 in MB21 t.code  ,,it will show me two fileds G/L Account filed and Cost center.. In that Cost center field is mandatory.....User told me to do the G/L

  • Kdegraphics-3.2.2 needs a patch to compile with gcc-3.4

    Hi, I've tried to compile kdegraphics-3.2.2 with gcc-3.4 without succes, even after changing things in the PKGBUILD file. Just before I gave up I found this patch :-) Patch can be found here: http://bugs.gentoo.org/show_bug.cgi?id=48596 I've download