BEx Exclusion from Selection Authorization Error

All,
Has anyone encountered the following situation and, if so, how have you handled it?
I have a query based on an InfoProvider which includes Company Code.  We restrict data which users can view by Company Code.  When my user executes the query they see data for all of the companies for which they are authorized.  If they filter by company code and "include" companies which they are authorized to see the query works without any issues.  BUT, if they filter by company code and "EXCLUDE" a company they get a "You do not have sufficient authorization" message and the query fails.
It seems as though the query is trying to get ALL company codes.
Any thoughts?

Hi,
If you exclude a company, then when you execute a query , system will search for the companies you are authorized for
but since you have already Excluded it , you get "no authorization".
This is correct.
Unless you execute the combination which you have authorization , you will get the 'no authorization'
You can even check in transaction RSECADMIN, by executing the query using RSECADMIN -> RSRT transaction -> query
It will collect the authorization logs.
This will provide you complete details which authorization is failing and then you can correct them based on analysis.
Regards,
Amit

Similar Messages

  • 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

  • Javascript Error while executing BEx querry from browser

    Hi Folks
    We have been getting a number of Javascript errors while executing BEx querries from the browser.
    The various errors that we have been getting are:
    'SAPBWItemCatalog' is undefined
    'SAPBWJSgdo' is null or not an object
    'SAPBWShortCutCatalog' is undefined
    We have already looked at SAP Note 783496 and validated the solution.
    Is there some specific settings that needs to be maintained for this?

    Hi Sandip,
    Just spent 2 hours chasing this one so I know how frustrating it is.
    Solution:-
    Check mime service in SICF - dafault_host/sap/bw/mime - if it's greyed out activate it.
    Regards
    Nev

  • Error when launching BEx analyzer from Portals

    BI Gurus...
    We are working on an initiative to migrate our user interface from SAP GUI to Enterprise Portal.
    Bex Analyzer is primary mode of reporting at this time.
    After importing the Roles into EP, I am able to execute the web queries successfully, in the BEx Wen analyzer. But, I get an error when I click on any of the excel workbooks. Our expectation was that once we click on the excel workbook name, the BEx analyzer will launch from EP. But it seems like the issue is with launching BEx Analyzer from BI Portal.
    Has anyone faced this issue before?
    Is it possible to launch BEx Analyzer from EP?
    Are their some key portal settings we have missed out on to enable launching BEx analyzer from EP?
    Please provide your thoughts/experience.
    Thanks,
    Ajay.

    Hi WernerS,
    Thanks for your response.
    The RRMXP Transaction works and it launching the BEx Analyzer as expected.
    Now, as per our research, I think there are 2 ways of launching BEx analyzer from BI Portals.
    1) Call via a URL
    You can call BEx Analyzer via the following URL: http(s)://<server:port>/sap/bc/bsp/sap/rsr_bex_launch/bexanalyzerportalwrapper.htm
    You can modify the URL to open BEx Analyzer with either a workbook, a query or a query view. You can use the following parameters to do this:
    ●      Parameter to open the workbook: ?WBID=<wb_id>
    I have tried calling via URL iView, but instead of launching the BEx Analyzer, it just throws a dialog box to "save" or "open" a file, RRMX.bex. When I try to open this file, it says "Invalid File Format".
    I tried opening the file in notepad and I see the following parameters passed.
               test
               Data=BX2,CONAJP,EN,mikoyan,17,,,250,
               9
    Any clue about what I am doing wrong?
    2) Calling via a Transaction
    You can generate BEx Analyzer in Portal Content Studio as an SAP Transaction iView.
    The iViews are of type SAP Transaction iView and have the code link com.sap.portal.app integrator.sap.Transaction.
    The most important properties are System, Transaction Code (TCODE) and ApplicationParameter.
    ●      The Transaction Code for all workbooks is RRMXP.
    ●      The ApplicationParameter property contains the value WBID=<WORKBOOK_ID>.
    I have tried this approach as well. When I open this iView, I see the RRMXP transaction in the Internet explorer, but the workbooks still does not open in the BEx Analyzer (Excel)
    Any thoughts on where am I going wrong ?
    Thanks,
    Ajay.

  • 'No authorization' error for selection values outside the authorized range

    Hi All,
    We are currently trying to use the authorization analysis concept for 'Cost center reporting'.
    We have made 0COSTCENTER info-object as authorization relevant and have created a analysis authorization object for it through RSECADMIN and we have maintained a single value as '1875' . We have assigned this object to 1 of the test users.
    So now if the user runs the report for cost center '1875' , he is able to view the data/report. Now if he enters any other cost center apart from '1875' than he gets an authorization error (Everything works as per requirement till this point).
    But now if the user enters multiple cost centers like 1875, 1876, 1877 as multiple single values and runs the report, he gets an 'No authorization error'.
    So all the experts, please let me know if it's possible in anyway for the user to see the result/report for the value he is authorized to (in this case - 1875) and should give an information/warning/error message saying that he is not authorized to other cost center (in this case - 1876, 1877).
    Same thing is occuring if user enters a range. Suppose a user is authorized for cost center - 1875 to 1880. Now if he puts multiple single values or range in between the authorized range than he can see the result but if he enters even 1 single value outside the range he gets an error - what I mean by this is - if the user enter a range from 1875 to 1801, he does not get any data display but instead he recieves an error message saying 'No authorization' even though he is authorized for all the cost centers in that range except 1801.
    I would really appreciate your help regarding this. Any comments/suggestions are very welcome.
    Thanks & regards,
    Sunny

    Hi Sunny
    That is the way analysis authorizations work!!
    If you ask for a number of values i.e. cost centers and you don't have authorization to *all* of them you will get a system error as you say.
    There is no way of partially evaluating the query as you suggest (only for the authorized values).
    Try to be less restrictive when defining characteristic values in RSECADMIN.
    In queries use variables with
    Processing by Authorization and Input Ready.
    So the system will tell the user which are the allowed values. In your example the system suggests the range 1875-1880.
    Hope this helps, regards
    Germá

  • Error "Parent Member is found in dimension from selection"

    Hi,
    while running the export transaction data package we are getting the error " Parent Member is found in Dimension from selection".
    We cannot manually select each member as there are around 64K records which will have to manually selected. Is there a work around for the same?
    Regards
    Varun

    Hi Varun,
    The first thing is that if you are using the standard export DM package, then you should not be able to select any parent members. If you look at the advanced script of this package, the first statement will be SELECTINPUT. This will restrict the selection only to base level members. Technically, you should not select the parent members, because, the parent lelve members doesnt hold any data.
    Hope this helps.

  • Unable to browse OPC Server from the selected machine / Error -2147221163 occurred at GetOPCServerList.vi

    Hallo,
    I just installed LabVIEW 8.2 DSC-Module and tried to configure a OPC Client Instance. I get the Error "Unable to browse OPC Server from the selected machine / Error -2147221163 occurred at GetOPCServerList.vi". I have no OPC-Server installed, but is there no Demo-Server?
    Thank you
    Thomas

    This issue might be related to opcenum not being registered correctly. Please follow the steps explained in this document to fix this problem.
    As OPCdemo follows the OPC 1.0 standard it is not supported by the OPC client in LV DSC 8.x which supports OPC 2.0 and 3.0 servers. You can download an OPC 3.0 compliant demoserver from Matrikon.
    I hope that helps,
    Jochen Klier
    National Instruments Germany

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

  • Error: Bex broadcaster from Portal

    Whenever  I try to send an email through Bex broadcaster from Portal I get the following error message after executing the broadcast settings.
    DomReaderError 
    Thanks,
    Eveline

    check this sap note 1025835
    reward points if helpful

  • HT1420 I am trying to authorize my new computer so I can download my previous purchases from the cloud.  It says to open iTunes and select Authorize My Computer, but when I open iTunes there is no STORE menu.  Can anyone help?

    I am trying to "authorize" my new computer so that I can download my previous purchases from the cloud.  It says to open iTunes and go to the STORE menu and select AUTHORIZE MY COMPUTER, but when I open iTunes there is no STORE menu.  Can anyone help?

    If the computer's running Mac OS X, move the cursor to the very top of the computer's screen, click on Store, and choose Authorize this Computer.
    If the computer's running Windows, press the Alt and S keys and choose Authorize this Computer, or click here, follow the instructions, click on Store in the menu bar, and choose Authorize this Computer.
    (85933)

  • Error With Insert Into From Select

    Hello,
    I have a problem with this query in pl sql developer with oracle 10G:
    insert into ca_nrj_rem(imsi,id_gamme_vente,domaine,date_topage,id_produit)
    (select a1.* from (select d.imsi, 1, 4, trunc(sysdate - 1), 'NRJ003'
    from ca_evenement_vsim a, ca_forfait b, ca_forfait c, ca_vsim_associe d
    where a.id_action = 'CP1'
    and bao.Lecture_Parametre_XML_V2(a.valeur_parametres, 'ancienCode') = b.code_forfait
    and b.code_gamme = 2
    and bao.Lecture_Parametre_XML_V2(a.valeur_parametres, 'nouveauCode') = c.code_forfait
    and c.code_gamme = 6
    and date_trace > sysdate - 6
    and a.vsimid = d.vsimid
    and d.date_fin is null
    group by d.imsi, trunc(sysdate - 1)) a1, ca_nrj_rem n
    where a1.imsi=n.imsi(+) and n.imsi is null);
    The select statement return X (163) values but the insert statement inserts Y (540) values
    Can you help me please ?
    Thanks You

    user511447 wrote:
    The select statement return X (163) values but the insert statement inserts Y (540) valuesNot possible if the select statements are identical.
    You'll have to provide more evidence and example output (format it on the forum by putting {noformat}{noformat} before and after it), so we can see exactly what you are doing.
    Are you sure that the table you are inserting into has no rows initially or that you are counting the rows correctly?
    Show us exactly what you are doing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Log SSP and Authorization Errors

    I asked for this on the feature request website
    "It seems that apex does not log SSP errors or Authorization errors, or if it does, they are no available in an apex view. For example, if a user changes the page number in the url to a page he is not authorized to see, an error page is dispalyed, telling him that he cannot see this page. As far as I can tell, this error is not logged in the apex views. Same goes for, when a user tries to change an id in the url."
    My item was closed with the comments
    "The error messages are logged into the activity log if activity logging is enabled for your application. Have a look at the column ERROR_MESSAGE in the view APEX_WORKSPACE_ACTIVITY_LOG. "
    Well I tested it again.
    I went to a page and changed the item_id and I received the checksum violation message.
    I then did a select * FROM APEX_WORKSPACE_ACTIVITY_LOG and looked for the error message.
    There was no error message.
    Can someone else try this
    Gus

    Hi Gus,
    I just have setup another test at apex.oracle.com
    workspace: patricks_test
    user: guest
    pwd: 123456
    1) Run application 24683 and login as guest/123456
    2) If you click "Customers" you will get the authorization error
    3) If you click "Products" and then pick a product to navigate to page 6 and afterwards modify the value of P6_PRODUCT_ID you will get the checksum error
    4) In the Builder navigate to Administration -> Monitor Activity -> By Application -> 24683 and you will see the entries of APEX_WORKSPACE_ACTIVITY_LOG
    When you did the query on APEX_WORKSPACE_ACTIVITY_LOG, did you verify that your app is writing activity logs at all? And second, have you connected with the parsing user of your application?
    Regards
    Patrick
    Member of the APEX development team
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Procurement Coordinator received Authorization Error when creating Bid Inv

    Hi All,
            In SRM I have an issue Please help me in solving this. Please see below
                  Procurement Coordinator received Authorization Error when creating Bid Invitation from Sourcing Cockpit.  Message states u201CMissing Transaction BBP_BID_EXTSOu201D; however Bid # is still created. User requests that Authorization issue is resolved and Bid # appear for Procurement Coordinators.  This problem does not happen for Commodity Managers

    Hi
    Please do the following steps.
    When you are using the Internal ITS,you need not run the report W3_PUBLISH_SERVICES.(only SIAC_PUBLISH_ALL_INT )
    ALso pls check the foll:
    -->activate the services through SICF tcode.
    > Go to SICF transaction and activate the whole tree under the node Deafult host>sap>bc>gui>sap>its.
    >Also maintain the settings in SE80>utilities>settings>internet transactuon server-->test service/Publish.
    Table TWPURLSVR should have entries for the / SRM server line as well as gui and web server.
    Could you please review again the following steps ?
    Did you check that ICM was working correctly (TA SMICM) ?
    1-Activate the necessary ICF services
    With transaction SICF and locate the
    services by path
    /sap/public/bc/its/mimes
    /sap/bc/gui/sap/its/webgui
    2- Publish the IAC Services
    With Transaction SE80 locate from
    the menu Utilities -> Settings ->
    Internet Transaction Server (Tab) ->
    Publish (Tab) and set “On Selected
    Site” = INTERNAL.
    3- Locate the Internet Services SYSTEM and WEBGUI.
    Publish these services with the Context
    Menu -> Publish -> Complete Service
    4- Browse to http://<server>:<icmport>/sap/bc/gui/
    sap/its/webgui/! and login to the
    webgui.
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • HT1338 What's going on with iCloud (MobileMe)?  I'm able to sign in here, but I can't access mail on my Macbook Pro, iPhone, or work computer.  I always get an authorization error (user-id or passwork wrong).  This has been going on for almost a week now.

    What's going on with iCloud (MobileMe)?  I'm able to sign in here, but I can't access mail on my Macbook Pro, iPhone, or work computer.  I always get an authorization error (user-id or passwork wrong).  This has been going on for almost a week now.

    The single download means that you won't be able to redownload it from the store without paying, either on a computer's iTunes or an iOS device - it doesn't stop you from copying the audiobook to your other computers or syncing it to your iOS devices, you just can't redownload it. (I believe that they are all supplied to Apple by audible.com, so I assume that it's them requiring the one-time download.)
    You can download audiobooks on your computer's iTunes and sync them to iOS devices, you do not have to buy them directly on the device (if you do then you can copy them back to your computer's iTunes library by connecting the device and using the File > Devices > Transfer Purchases menu option on your computer's iTunes).
    What you are doing to sync them should work i.e.
    - connecting the iPad to your Mac
    - selecting the iPad on your Mac's iTunes
    - selecting its Books tab and selecting the audiobooks that you want to sync to the iPad and syncing/applying that selection.
    You should then get an audiobooks option in the Music app on your iPad. If they aren't appearing there  then do they show in Settings > General > Usage > Music on the device - if you have audiobooks on the iPad then they should be listed there under an 'audiobooks' heading.
    By 'restart the iPad' do you mean a soft-reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.
    You could also try closing its Music app via the iPad's taskbar : Force an app to close in iOS.
    And do a soft-reset and retry syncing.
    I assume that music and other items sync ok ?

  • Call BEX-Query from VBA with BEX-automatic login?

    Hi,
    I'm trying to call a query from VBA. I have two problems/questions:
    1. Automatic login?
    I want to do an automatic login. I found this peace of code here, but I get an error:
    Public Function  LogonToYourBW()
    ' create Logon & RFC-Handle
    logonToBW = False ‘ clear connect Flag the flag can be used to find out if connected or not
        'load SAP functionality by opening BEX file ( use your installation path)
            Workbooks.Open (“c:\sappc\bw\sapbex.xla”)
        With Run("sapbex.xla!sapbexGetConnection") ‘ call the connection
           ' Set the params for Auto logon
           .client = “YOUR CLIENT NO”
           .user = “YOUR BW USER”
           .Password = “YOUR BW PWD” ‘ I recommend to create a dummy reporting user for this task
           .Language = “YOUR LANGUAGE YOU LIKE TO USE FOR QUERY DISPLAY ( i.E.  “EN”)”
           .SystemNumber = “YOUR SYSTEM NO” ‘
           .ApplicationServer = “YOUR SERVER Name OR IP-ADDRESS”
           .UseSAPLOgonIni = FALSE 'important for automatic connection
           .logon 0, True ‘ This will provide a dialog to appear
            If .IsConnected <> 1 Then
                .logon 0, False
                If .IsConnected <> 1 Then Exit Function
            Else
                Set g_oFunction = CreateObject("SAP.Functions")
                Set g_oFunction.Connection = g_oConnection
            End If
        End With
        Run "sapbex.xla!sapbexinitConnection" ‘ this will enable the connection you just created
        logonToBW = True
    End Function
    The error is by this row:
    Set g_oFunction.Connection = g_oConnection
    Object is needed! How is the g_oConnection-object defined?
    2. How can I pass values for the parameters from VBA?
    If I open the query usually from SAP-BEX-Toolbar, after selecting the query, I get a parameter mask, where I must put in a value. How can I this automatize from VBA? Has anybody a short samplecode for that?
    Thank you for your help
    Stefan
    [email protected]

    Peter and others:
    What I really want to do … is write a stand-alone application that I can run from windows scheduler … that queries our BW for sales data for certain items (in a tabular form) … and pulls that data into a VB recordset, or a .NET dataset … so that I can insert the rows into another database (SQL Server, or Access) … I already know how to do all the data movement to/from datasets and databases … I just cannot figure out how to programmatically grab this sales data from BW … our company has “workbooks” already set up that aggregate WW sales information by region (IE, there is a separate workbook for each region of the world) … I can manually go into the Excel interface, tell it which items to pull the sales info for, and it dumps the data into the worksheet (organized by customer, and then by cat #) …
    So, what I’d like to do is write an app that will pull data every week or so from the BW (from each region’s sales invoice detail “workbook”), and insert it into another database that we use for reporting other, non-sales, data.
    Thoughts on this ?  Is there another, non-BEx method that is better ?
    thanks !!

Maybe you are looking for

  • B2B-50079 Transport error: To Transport Informations Not found

    Hi, I'm trying an outbound scenario in b2b using ebXML. When i tried to test, 3 messages for a single instance can be seen. 1.A message entry with correct document type which converts custom format to ebXML format and the status is in "MSG_WAIT_ACK"

  • Drivers for notebook

    Hi all! Sorry for my English. I have a problem with the drivers, I can't find them for the following devices: Device ID 1: USB\VID_0A5C&PID_216C&REV_0112 Device ID 2: PCI\VEN_8086&DEV_0F18&SUBSYS_227C103C&REV_0E Device ID 3: PCI\VEN_10EC&DEV_5229&SUB

  • Lightroom 3 freezing on mac

    lightroom3 is freezing and slow- this just started. I am on mac 10.6.8. I have a project due this weekend and can't work on it at all right now An y ideas?

  • Belkin adaptor settings

    My 6500/300 has it graphics chips set to 1024x768, thousands colours. I now have a Belkin Mac to VGA adapter which claims it works with all PowerMacs (and all other Macs too). Anyway, the Information Sheet that came with lists Monitor, resolution and

  • Keyboard,cursor question.

    when the cursor in the textArea,how to forbit(ignore) the keyboard input, and how locate the cursor's position,(for example i press a button, then will show some text in the current cursor's position) Thank in advance.