Skip to Content
author's profile photo Former Member
Former Member

BEX Analyzer content should not be editable

Hi All,

I have requirement that once my query got executed in BEX analyzer. The value should not be editable.

Can you please how can we achieve this?

TIA

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Posted on Sep 08, 2013 at 04:12 PM

    If I understand your question correctly, you want the spreadsheet's cells to become locked when the report is executed. In other words, you don't want the users to change the numbers on the report by typing these numbers in the spreadsheet, right?

    I think you need to use VB in order to trigger this behaviour in Excel. Otherwise, why use Excel-based tool if you want your report to be delivered in a static mode. Use Crystal or Web Analyzer for example.

    Thanks,

    MJ

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 25, 2013 at 11:18 AM

    Hi,

    You can authorize your user to display the workbook only, but not change access. Create Role just to display the workbooks and assign this role to the particular users.

    Regards,

    Suman

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2013 at 09:39 AM

    Hello,

    Maintain optional variables in the query exit itself, so that it will never ask for user input. It will be executed for the given values at the query creation itself.

    You can follow the procedure from http://help.sap.com/saphelp_nw04/helpdata/en/22/1e9b3c334d8c15e10000000a114084/content.htm

    Regards,

    kumar

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 08, 2013 at 05:24 PM

    Hi ,

    If you want that the user should not be able to change in report output then you can give the user Web Reports by designing WAD Templates if not already available.

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 09, 2013 at 04:29 AM

    Hi,

    Is it a query that you are executing in Analyzer or a workbook that you have created by embedding the query?

    1. If you want the contents of the query to be in editable after execution, the I would suggest you to create a workbook with the query and use a simple macro to restrict the access to "read only". Just put the following code in the macros and it will not allow the user to change the values in the sheet:

    Public PriorSheet As Worksheet

    Const PW = "password"

    Sub SetPriorSheet()

    Set PriorSheet = ActiveSheet

    End Sub

    Sub ProtectSheet()

    Call SetPriorSheet

    On Error Resume Next

    ActiveWorkbook.Protect Structure:=True, Password:=PW

    ActiveSheet.Cells.Locked = True

    ActiveSheet.Protect Password:=PW

    On Error GoTo 0

    End Sub

    Private Sub Worksheet_Activate()

    Call ProtectSheet

    End Sub

    Just right click on the sheet name at the bottom of the workbook and go to "View code" , VBA editor will open up, just paste the code there. This will not allow the user to edit any of the values, if he does so, it'll ask for a password.

    You can also protect the VBA code from being edited, open up the editor -> tools-> VBAproject properties-> protection and enable the password.

    2. If you want the cells to be read only after you run query without creating workbook: I don't think BEX or analyzer provide this kind access control. Even with the use roles i don't think you can prevent the values in cells to be edited.

    Regards,

    Saurabh Ojha

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.