Authorization Errors from BEx queries

We are developing Crystal reports on top of BEx queries. We are working on BO XI 3.1 FP2.8, Crystal Reports FP2.8 and SAP Integration Kit FP2.8 and SAP BW is BI 7.0 Suppport pack 5.0. How can we display the Authorization errors that are returned on BEx queries on the Crystal reports.
If i run the Crystal reports and if it comes back empty, there can be 2 reasons one no Data and second no proper authorizations. We want to display a mesage to users to tell them the report is empty either becaus of no data or Authorization error.
Thanks,
Venkat

Thank you Ingo. Is there any work around where we can get the return code to a temporary KeyFigure and use that.
Regards,
Venkat

Similar Messages

  • Edit LOV of objects in universes build from Bex Queries

    Hi,
    We are creating webi from universes build from Bex Queries.
    Can anyone please tell me, is there any way to edit list of values for the objects in universes coming from Bex though i can see that option for edit/display LOV is greyed out.
    for eg-- i am having a prompt calendar day at the Bex level which is coming as filter in Universe but it is not showing me the values of dates for future years rather it's showing me the till date values (means upto current date of current month).
    As per my requirement, i want all the values for the future years also(can say..wanna see calendar to select any value) so that user can select from it.
    Regards,
    Akhil

    Thanks for reply Jacques!!!
    When i see the code of object in object properties i receive a calendar for only one prompt (Key date of the query as its data type is "D") but for other prompt (Inventory 1 to inventory 11) the data type is alphanumeric "A". and i receive only till date values not a calendar to select value.
    The code is as below:
    <OPERATOR VALUE="AND"><FILTER KEY="[!V000012]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date for Inventory 11','A','Calendar day\LovDate for Inventory 11Base',mono,primary_key)"/></CONDITION></FILTER><OPERATOR VALUE="AND"><FILTER KEY="[!V000011]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date for Inventory 10','A','Calendar day\LovDate for Inventory 10Base',mono,primary_key)"/></CONDITION></FILTER><OPERATOR VALUE="AND"><FILTER KEY="[ZBODATE9]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date for Inventory 9','A','Calendar day\LovDate for Inventory 9Base',mono,primary_key)"/></CONDITION></FILTER><OPERATOR VALUE="AND"><FILTER KEY="[ZBODATE8]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date for Inventory 8','A','Calendar day\LovDate for Inventory 8Base',mono,primary_key)"/></CONDITION></FILTER><OPERATOR VALUE="AND"><FILTER KEY="[ZBODATE7]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date for Inventory 7','A','Calendar day\LovDate for Inventory 7Base',mono,primary_key)"/></CONDITION></FILTER><OPERATOR VALUE="AND"><FILTER KEY="[ZBODATE6]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date for Inventory 6','A','Calendar day\LovDate for Inventory 6Base',mono,primary_key)"/></CONDITION></FILTER><OPERATOR VALUE="AND"><FILTER KEY="[ZBODATE5]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date for Inventory 5','A','Calendar day\LovDate for Inventory 5Base',mono,primary_key)"/></CONDITION></FILTER><OPERATOR VALUE="AND"><FILTER KEY="[ZBODATE4]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date for Inventory 4','A','Calendar day\LovDate for Inventory 4Base',mono,primary_key)"/></CONDITION></FILTER><OPERATOR VALUE="AND"><FILTER KEY="[ZBODATE3]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date for Inventory 3','A','Calendar day\LovDate for Inventory 3Base',mono,primary_key)"/></CONDITION></FILTER><OPERATOR VALUE="AND"><FILTER KEY="[ZBODATE2]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date for Inventory 2','A','Calendar day\LovDate for Inventory 2Base',mono,primary_key)"/></CONDITION></FILTER><OPERATOR VALUE="AND"><FILTER KEY="[ZBODATE1]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date for Inventory 1','A','Calendar day\LovDate for Inventory 1Base',mono,primary_key)"/></CONDITION></FILTER><FILTER KEY="[0P_CSDAT]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Key date of the Query (Single-Value Entry, Required)','D',,mono,free)"/></CONDITION></FILTER></OPERATOR></OPERATOR></OPERATOR></OPERATOR></OPERATOR></OPERATOR></OPERATOR></OPERATOR></OPERATOR></OPERATOR></OPERATOR>
    Can you please guide me, how to get the calendar or all the values for future date in the list for prompt (Inventory 1 to Inventory 11)
    Many thanks in advance!!!
    Regards,
    Akhil

  • Error from bex query while executing in portal

    Dear Experts,
    while executing the query bex analyzer, is working ok but the same query when executing in portal is throwing the following error:
    error message:
    The initial exception that caused the request to fail was:
    Termination message sent
    ABEND RS_EXCEPTION (000): The argument '0,01' cannot be interpreted as a number
      MSGV1: The argument '0,01' cannot be interpreted as a
      MSGV2: number
    Messages
    ABEND: The argument '0,01' cannot be interpreted as a number
    ABEND: An exception with the type CX_SY_CONVERSION_NO_NUMBER occurred, but was neither handled locally, nor declared in a RAISING
    ABEND: Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
    I tried to find from existing blogs but did not get suggestions for similar issue.
    Coud some be kind enought to analyse this error.
    Inputs will highly been appreciated
    Thanks in advance,

    Hi,
    Here I tried retransporting the depended bex queries accross the landscape.
    Now the reports are OK from the Portal.
    Thanks,
    Mannu

  • Authorization Error when running queries built on IP Aggregation Levels

    Hi,
    Did anyone encountered this kind of issue.
    We are in NW04s SP 9.
    When running a query built on Integrated Planning aggregation levels getting authorization error
    " Do not have authorization Component !! ARMMGASL ".  (ARMMGASL is the name of Multi Provider)
    Queries built directly on Multi Provider "ARMMGASL" works fine.
    Security trace doesn't show any failures
    Any help or info on this highly appreciated.
    Thanks,
    Suresh Yalavarthi

    Hi Frank,
    We have the same issue. What did you do to solve it?
    The suggestions you received are already investigated/done, but don't provide a solution.
    regards, André

  • No authorization error in Bex report

    Hi
        When i open an workbook i get the selection screen and when i select values and execute i get an message" warning you don’t have sufficient authorization"
    When i click close button on the message the work book opens up but with out output (values) instead i get you don’t have sufficient authorization. I checked in for authorizations in Su01 and su53 every thing looks fine.
    NOte: I was able to open this report couple of days back
    Can someone help me out in this issue?
    Thanks a lot
    Sheetal

    hi,
    who's assigned the role to you. he is having the authorization rights to change these and all. please check out with that. if you having the rights to modify means go to your role change the authorization. otherwise contact your role head.
    if helpful provide points
    regards
    harikrishna N

  • Lumira on BW BEx queries

    Hello experts
    We intend to connect Lumira to BEx queries.
    How are the authorizations / access to BEx queries from the Lumira view handled?
    We don't have HANA.
    Thanks
    Thomas

    Hi,
    at the moment, the desktop can only "visualise" BW results in an online manner, and not "prepare", "compose" or "share"   (i.e. the other main workflows)
    the next implementation will be a 'download from bw' where the dataset will be queried down and stored in the local client.
    either way, the authorizations concept will be the same - when the user connects from lumira to BW, they use a named user and password to connect to a BW SID (dropdown info coming from the SAPGUI logon pad)
    then the Bex queries are accessible either by Roles or Infoareas
    Bex Variables are handled in the manner you would expect - they are called when the connection to the query is established, mandatory ones are enforced, processed by authorizations etc (much like Webi, Crystal or Analysis via BICS)
    kind regards
    H

  • BEx queries - one or more SQL statements generated?

    Iu2019m a BusinessObjects man and BEx is new to meu2026When you execute a BEx query against a cube u2013 how does BEx manage that query and what gets send to the backend DB (e.g. Oracle)?
    I understand the cube is one table in Oracle?, but other tables (dimensions?) will also be needed to return all the data for a given report/query.
    Does BEx pass that as one query to Oracle, or is it performed as separate queries, with BEx pulling the result sets together?

    Hi Durgesh, Susan
    Thank you to both of you for your response to Ed on this thread.  The background to these questions on how SQL statements are generated from BEx queries that we are working with Ed in a project to test the capability of accelerating the performance of BEx queries via the following process described below. (Please excuse any terminology errors as like  I do not have a background in SAP):
    1. Export fact table InfoObjects relevant to queries for InfoCubes to be accelerated by defining as Open Hub destinations, creating mappings and a data transfer process. Trigger export from SAP BI via a Process Chain and then load data to external database via ETL tool.  Master data (dimension tables) remain in SAP BI
    This step was completed successfully, including exporting of data.
    2. Create a Universal Data Connect (UDC) source system to map to the exported fact tables.
    3. Create a virtual provider mapping to the UDC source defined in step 2 to enable access to external table via JDBC.
    4. Execute BEx report, selecting the query properties 'Cache inactive' and 'Reading all data at once', specifying restrictions (variables) in the report which would result in a small subset of data being returned from the fact table if applied in the SQL passed to the external database.
    We hoped that SAP BI would push down predicates which could be applied to the fact table into the SQL sent to the external database via the virtual provider, but instead an SQL query selecting all columns with no WHERE clause was generated with the result that a 36 million row results set was sent across a network to join with dimension data, rather than a few rows.
    Is this how SAP BI works in version 7.0 or are there configuration options which can change this behaviour?  Is so, if all tables (including master data (dimensions) were exported to external database would SAP BI then transmit the database queries as joins to the external database?
    Sorry this was a bit long, and thank you in advance for any advice you can give.
    Stuart.

  • No authorization error in BI7

    Hi
      Recently we had migrated to the new authorization concept in BI7 after that, when the business users open an query or workbook they get the selection screen and when they press F4 on company code info object  (Authorization relevant object) to select values they get an message" you don’t have sufficient authorization" and the out put does not get displayed. but as an BW developer i am able to open the same report without any error
    I checked in for authorizations in Su01 and su53 every thing looks fine for the business user.
    Note: This error occurs only to queries having infoobject company code
    Can someone help me out in this issue?
    Thanks a lot
    Sheetal

    Hi sheetal,
    I am facing the same problem what you have faced regarding authorization error in BI queries.
    when users try to open the workbook, select their options in selection screen and run it, they get warning 'you do not have sufficient authorizations'. when i try to run the same, i am able to open it. this is happening in prod.
    how are you able to solve this problem.

  • SAP BW Bex Queries as Data source WIS 10901 Error while refreshing

    Hi,
       I have created a Web Intelligence report based on Universe upon SAP BEx queries.
      When I refresh the report, I get the following error:
      A database error occured. The database error text is: the supplied XML is not valid. [Measures].[4ASYKV5XU5T].(WIS 10901)
      Report was fine for a day. I started showing error from today.
    This is my first report and Universe based on SAP BEx queries. I do not have knowledge of SAP system as well.
    Please help.
    Nanda Kishore B

    Hey Nanda kishore B,
    It is because that Measure object definition changed @BEx.  Measures.4ASYKV5XU5T
    Can you check @BEx query for any latest changes??
    OR
    Go to Universe Designer:
    1. Open Universe
    2. View == Refresh Structure
    3. Can you see any updates now?? OK
    4. Save Universe
    5. Export it
    Now open the Report. It will work now, if all Objects are there at Bex query & Universe level.
    Along with this Do integrity check @Universe also before exporting.
    Gracias...!!
    Let's play with Aurora (BO XI 4.0)

  • BW BEX Queries and Analysis Authorizations

    Hello....
    Have an opportunity with BW BEX queries and Analysis Authorization...would like to see if anyone has had the same experience and if so is there a answer....
    1) given a query....
    2) given a analysis authorization with a info-object that has intervals defined to be both single values and ranged values
    the following happens...
    after the query is fired the starter screen appears...the info-object in question appears with the defined single values only....if....the window is opened....again only the single values appear...the range values do not appear...once the query is executed the only results given are those for the single values...
    also if you re-fire the query and manually enter a valid value for the info-object that falls with-in any of the range values no result is given...even if there is data for it....the reponse given is no data found....
    NOW...if the single values, for the given info-object, are removed from the Analysis Authoriization then the range values appear and work....
    Is this a problem within in the query...or...is this a "feature" of the query...and thus must be "lived" with...
    Terry
    PS...this problem currently only happens if the window for the info-object allows for multi-selection....this problem does not occurr when the window only allows for one selection...

    Hi,
    This is a known problem with analysis authorization and multi selection IO selection criteria.
    When you define the analysis authorization with ranges and when you try to enter single values on the selection critera of the query, then the system shows zero data.
    You can run the query without entering any selection values for the IO in question only.
    I have tried several combinations and still encountering the same issue.
    Ravi

  • Error when trying to open new query from Bex

    Hi guys,
    I m trying to open query designer from Bex explorer and i get the following error: The macro 'sapbex.xla!reponewquery'cannot be found.
    Can anyone please tell me how to rectify this? thanks in advance

    Sunil,
    Go to  Business explorer>Analyzer>Business Explorer-->Installation check and click on Start button.
    You will be able to know if its properly installed or not.
    Also check note 197460;938540
    -Doodle
    Message was edited by: Doodle

  • How to design a optimized universe from SAP BEx queries

    Hi Team,
                  I would like to know some of the queries :
    1.How can you design a optimized universe from SAP BEx queries in the sense which gives you more performance
    2.What are the differences between Non SAP sources like Oracle,SQL and SAP sources in designing the Universe.
    3.Can we create a Derived table from an SAP source because i know that the Schema is not created for BEx queries,cubes.
    4.What are the advantages of having oracle as a source then SAP source.
    Can you please elobarate the above queries.
    Regards,
    Pradeep P.

    Hi,
    1. Check Ingos Blog on SDN ther are some PDF for performance regarding WebI on BW
    2. On RDBMS Source you have to design your universe. On OLAP Source like BW you generate the Universe and cant customize it a lot.
    4. Good question. In a BW all your logic is already in place. On a RDBMS you have to build your logic in a universe. But there are a lot of differences.
    Regards
    -Seb.

  • Error occurred when launch browser from BEx

    Dear All,
    i have problem when i tried to display my query from Bex to Web browser. or the same problem occurred when i open the portal BI open tab Business Intelligent --> BEx Web Analyzer. i already maintained the parameter for icm/host_name_full. please refer to this link to see the message error.
    http://docs.google.com/leaf?id=0B3rgxsXR4tPzNjBiODM3NDItY2UxNy00OWY5LWFiYjMtNTVkYzU2YTM4ZWU3&sort=name&layout=list&num=50
    please kindly to help.
    Best Regards,
    dinie.

    Hi Gochi,
    you mean alias in BW system, like /etc/hosts? if yes here is the list.
    #BW Systems
    172.16.1.18     prodbwbo       prodbwbo.elnusa.co.id
    172.16.1.14     devbwbo          devbwbo.elnusa.co.id
    172.16.1.15     qabwbo          qabwbo.elnusa.co.id
    172.16.1.37 eoffice
    if no, please explain me more specific,  what is SAP_BW? is tcode or what. and about table RST_P_PORTAL, it gives me message "Table RST_P_PORTAL is not active in the Dictionary". so what should i do next?
    Regrads,
    dinie.

  • Authorization error when syncing apps from iphone to mac, mac to iphone

    I am having this error with both apps I've synced from my iPhone to my Mac, and one I purchased from ITunes (which as a side problem, I can not sync to my iPhone no matter what I try). I have one iTunes account and it is the same on my computer and on my iPhone. However, the one I bought on my mac I can't authorize on my computer, and I can't sync some back because I get this same error message (I have all the latest software on phone and Mac):
    THERE WAS AN ERROR STORING YOUR AUTHORIZATION INFORMATION ON THIS COMPUTER
    The required directory was not found or has a permission error. Correct this permissions problem and try again, or deauthorize this computer if the permissions can not be changed.
    Is this just becuase these apps aren't made to USE on a computer? Because that would make sense. I'm just worried it has something to do with the app I purchased on ITunes not syncing back to my iPhone.

    I created a new user on my macbook and tried to authorize the computer but got the same authorization error. This doesn't have to do with the fact that I have once used a different iTunes account? (not since I have had the iPhone. I have tried to figure out how to delete this but it looks as if apple doesn't want me to.) Plus, it's the same email as my dot mac which I've ALSO been having trouble with the past few months-- it keeps resetting on its own and my keychain and iphone can't get into it. online chat has not solved the problem so i decided to just let it expire...
    Ive been using a mac for 15 years and have never had as many problems as i've had these past few months.

  • Chart from data with two bex queries in crystal reports 4.0 for enterprise

    Hi,
    I'm fairly new to crystal reports and I have a requirement to show the data from 2 bex queries in one single cross table. is it possible ?
    after getting it i should be able to create chart with that data
    Eg: my table would be something like below :
                   calendar day
    Input     : 12      34     50     60
    Output  :  09     23     19     57
    Input Data will be coming from one bex query
    Out put data comes from another bex query
    is it possible to merge the dimensions and then work on ????         
    any help is much appreciated

    Hi Tanveer,
    The only way you can add two BEx queries in a report is using a Subreport. The First BEx query goes in the Main Report and the second one goes in the Subreport.
    You'll not be able to add the dimensions and measures from these two BEx queries in a Crosstab anyway. Perhaps, you could create a mock crosstab and send values (all rows) from the Main Report to the Subreport as a string however, I can see that it's going to get complex.
    -Abhilash

Maybe you are looking for

  • Looking for App for books owned (not ebooks)

    Looking for a simple app to keep tracks of books I own. The only one I have been able to find is Clz books (collectorz.com). It looks okay but something simpler would be better. And you need the app on your computer to add/edit anything.

  • IOException when sendRedirect() in servlet

    I write 2 servlets when I try to sendRedirect() to call from one servlet to the second servlet it work but make HANDLER THREAD PROBLEM: java.io.IOException:socket Closed I will thank any one for help my. tal

  • Call function in function?

    is this possible? I was told it's best to do this, how would I go about it. I've attached my code below and bolded the areas I'm having a problem with. backbutton.addEventListener(MouseEvent.CLICK, backclick); helpbutton.addEventListener(MouseEvent.C

  • Calling web services in adf form...

    suppose i have created a web service which is adding two string.this web service takes two string parameter and return concatenation of these two parameters. I have an adf table which is showing firstname and lastname.when i select a row and press bu

  • Changing local host name

    I would like to change my command prompt at the terminal window. At present it is shown as <mycompletename@XXXXXXX> where "mycompletename" is well my name and xxxxxxxxx are some alpha numeric characters. How can i get rid of this alphanumberic charac