Authorization Issue while Data Preview from HANA View

Hi Experts,
We are using BW on HANA. We have created DSOs (info provider) in BW and generated HANA views from there. We have also created analysis authorizations in BW for authorization relevant characteristics. In HANA, we are able to go to the generated analytic view and preview the data from it successfully.
Now I have created a test user and assigned a custom role with below authorizations to this user in HANA:
- bw2hana/../REPORTING role (this role is automatically created by activation of DSO in BW).
- Roles MODELING, MONITORING, CONTENT_ADMIN, USER.
- Multiple system privileges although not needed, like REPO.EXPORT, REPO.IMPORT, etc.
- Analytic Privilege  _SYS_BI_CP_ALL
- Package Privilege: REPO.READ for all required packages (tried with ROOT package also).
In BW system also, the test user has analysis authorizations providing access to the relevant info objects.
But when I am trying to preview data for HANA view, I am getting attached error (also listed below):
"Cannot get the data provider outline
SAP DBTech JDBC: [2048]: Column store error: Search table error: [2950] user is not authorized"
I tried to trace the situation is HANA and got below details in 2 trace files:
indexserver_alert_saphana.trc:
[6433]{416977}[66/-1] 2014-10-14 00:59:27.541187 e CalcEngine       ceAuthorizationCheck.cpp(02365) : AuthorizationCheckHandler::addAPsToSearchObject: Error during converting SqlAPs to Query entries
indexserver_saphana.31003.075.trc
[6433]{416977}[66/-1] 2014-10-14 00:59:27.541197 i TraceContext     TraceContext.cpp(00702) : UserName=TEST_SSO, ApplicationUserName=<<computer name >>, ApplicationName=HDBStudio, ApplicationSource=csns.modeler.datapreview.providers.ResultSetDelegationDataProvider.<init>(ResultSetDelegationDataProvider.java:118);csns.modeler.actions.DataPreviewDelegationAction.getDataProvider(DataPreviewDelegationAction.java:278);csns.modeler.actions.DataPreviewDelegationAction.run(DataPreviewDelegationAction.java:242);csns.modeler.actions.DataPreviewDelegationAction.run(DataPreviewDelegationAction.java:127);csns.modeler.command.handlers.DataPreviewHandler.execute(DataPreviewHandler.java:53);org.eclipse.core.commands
[6433]{416977}[66/-1] 2014-10-14 00:59:27.541187 e CalcEngine       ceAuthorizationCheck.cpp(02365) : AuthorizationCheckHandler::addAPsToSearchObject: Error during converting SqlAPs to Query entries
Do you know what this "Error during converting SqlAPs to Query entries" actually means"? How can we resolve this issue? The authorization is working properly for our user ids. But we need to provide restricted access for business users so trying to create test user and custom role.
Thanks
Nitesh Gupta

Hi Pinaki and Prabhith,
Yes, my issue was resolved. Sorry, missed to updated here.
I was just a beginer for BW on HANA Security at that time and didn't know many small things. The solution was pretty simple.
Whenever you assign analysis authorizations to a user in BW, you also need to generate corresponding HANA authorization. This is done through tcode RS2HANA_CHECK tcode. This tcode converts  BW analysis authorizations into HANA analysis authorizations and assign to the HANA user. You can see generated HANA authorization table RS2HANA_AUTH_STR in both BW and HANA.
Once the HANA authorizations are successfully generated for a user, he should be able to see data from Views.
Let me know if this solves issues. Then I will close this thread.
Thanks

Similar Messages

  • Getting error for Analytic Views data preview on HANA Studio

    Hello
    I have multiple Analytic Views and when trying for data preview, those all are throwing error as "Object Not active or broken" (attached below). I have activated these objects 5-6 times and got successful message but unable to data preview.
    Other persons in team and from different machine using my user id can run data preview successfully, so something problem with my PC. Already I have uninstalled - restart PC and reinstall 3 times for HANA Studio and HANA Client software but problem not solved. During re-installation, I found its getting my previous settings like system details etc. already populated. Even I installed in different folders, however problem not solved and system details automatically received on next start.
    Please guide me to solve this problem
    Below error coming while trying for data preview.
    Thanks
    Suman

    Hi Suman,
    Can you change your system workspace and also the secure storage.
    It can be done via a parameter in the shortcut of studio in the Target field after the exe write
    -data "<WorkspaceLocation>" -eclipse.keyring "<AnyLocation>"
    While usually this is a server error, it should be studio specific.
    Nevertheless, do the above settings and let me know your results.
    Regards,
    Anjali.

  • Not able to view Data Preview of Attribute View,AV and CV

    HI,
    I have created tables and then created the required attribute view, analytic view and calculation view for parent child hierarchy.
    I'm facing two problems
    1. I'm not able to see the "Data Preview" of any of the views.
    2. When i'm trying to import data from HANA from MS-EXCEL 2010 with data connection wizard, then connection is established successfully but after that instead of showing cubs its giving the following error
    Regards,
    Ch3tan

    Hi Seshadri Sreenivas R,
    I executed following queries
    Statement 'SELECT * FROM "_SYS_BI"."BIMC_ALL_CUBES"' successfully executed in 158 ms 518 µs  (server processing time: not supported by server)
    Fetched 0 row(s) in 0 ms 0 µs
    Statement 'SELECT * FROM "_SYS_BI"."BIMC_CUBES"' successfully executed in 195 ms 12 µs  (server processing time: not supported by server)
    Fetched 0 row(s) in 0 ms 0 µs
    I got 0 rows .
    I redeployed and reactivated successfully, then clicking on data preview i'm getting the same error
    Waiting for your suggestion.
    Regards
    Ch3tan

  • Authorization issue while using business content objects

    Hi all,
    I am getting an authorization error while loading from DSO to Cube (for standard business content objects only). Even i am not able access the data in Bex reports from Standard cubes or DSO.
    The user is assigned to SAP_ALL .
    But there is no such issue while accessing user defined DSO or cubes.
    any solutions will be helpful.
    Regards,
    Varma

    Hi,
    Have you seen the error thru the SU53 t-code ? There you should see what is the missing authorization with the user.
    Regards, Federico

  • Authorization issue while executing a Web Template in SAP BI

    Hello All,
    I am facing an issue while executing a webtemplate .
    I have a webtemplate which is being executed by end user, upon execution user must be able to fill in the value for data and submit. The query uses a characteristic KPI identifier ,SBU,BU,product, Region,Affiliate etc . All the mentioned charcaterisitics in Analysis authorization have * value except  KPI identifier and SBU. And Activity 02,03 is provided for the infoprovider.
    When a single value (Ex:KPI01) is provided in KPI identifier the webtemplate works fine in change mode. But when additonal value (Ex KPI02) is being added to the characterstic KPI identifier the webtemplate opens only in display mode. There is no authorization failure as well in the RSEC trace.
    Actually we created two separate roles for each KPI identifier earlier but when two roles provided to a user in combination it was behaving the way i mentioned above. So we tried to create a single role with two values of KPI Identifier in single analysis authorization and it is still the same.
    Please suggest what might be the reason for this behavior. Thank you
    Regards,
    Mohammed Ghouse

    Hi Brian,
    Thanks for your reply
    RSECADMIN does not show any missing authorizations when checked , but what is observed is that the check happens only on display
    These are the characteristics being checked by the query
    Characteristic      Content in SQL format
    OTCACTVT         GRI_IC005 IN ('KPI054','KPI055')
    GRI_IC005          AND GRI_IC007 = 'MFE'
                                AND 0TCAACTVT = '02'
    GRI_IC007
    Comparison with Following Authorized Set
    Characteristic      Content in SQL format
    0TCAACTVT      I CP *
    GRI_IC005        I EQ KPI054
                               I EQ KPI055
    GRI_IC007          I EQ MFE
    And it says its authorized. But still the screen is in display mode. What might be the reason for this behavior.

  • Typical issue while approving workitems from SBWP.

    Hello All,
    I have an issue while approving workitems massivley from SBWP. I think we can approve bunch of workitems which corresponds to a single task at once.
    But for me iam not able to approve all the related workitems at once. When i select and try approve , it asks me to approve one at a time ( i get screen by screen) . Where some are able to approve at once, i verified my user settings with them and every thing seems to be normal ( Parametes of SU01D).
    What could be the reason, please suggest.Its very important for me.
    Regards
    Mahesh.

    Hi,
    Sometimes mass approvals are needed. At my client there is a rule that ALL refunds need to be approved by a person - they cannot go out automatically.
    So we allow multiple (small-value) refunds to be selected by one user and approved en-masse. It works quite well in SBWP.
    As for the problem being discussed, if it works for one user, it should work for all. Are there differences in authorizations between the users?
    cheers
    Paul

  • Duplicate date datas (rows) from the view

    Hi friends,
    My purpose is to get the duplicate date datas from the view.
    The following select (1) works well (according to the employee_id). But, the select (2) doesn't work when want to get the duplicate date datas from the view and it gives me an error such as: ORA-00979: not a GROUP BY expression.
    Can you please help... Thanks in advance!
    --- 1 ---
    SELECT   id,
               state,
               insert_timestamp,
               update_timestamp,
               update_status,
               staff_including_date,
               company_name,
               position,
               position_name,
               release_date,
               notes,
               update_user_id,
               employee_id,
               fk_org_structure_id,
               fk_staff_position_id,
               fk_document_id,
               document_date,
               document_number,
               d_order_date,
               fk_activity_operation_type,
               activity_operation_name,
               fk_military_type,
               military_type_name,
               fk_activity_type,
               activity_type_name
        FROM   fhn_staff.v_fs_labor_activity
       WHERE   employee_id = :p_employee_id AND state = 1
    ORDER BY   fk_activity_type, staff_including_date, id;--- 2 ---
    SELECT id,
             state,
             insert_timestamp,
             update_timestamp,
             update_status,
             staff_including_date, COUNT (staff_including_date),
             company_name,
             position,
             position_name,
             release_date,
             notes,
             update_user_id,
             employee_id,
             fk_org_structure_id,
             fk_staff_position_id,
             fk_document_id,
             document_date,
             document_number,
             d_order_date,
             fk_activity_operation_type,
             activity_operation_name,
             fk_military_type,
             military_type_name,
             fk_activity_type,
             activity_type_name
        FROM fhn_staff.v_fs_labor_activity
       WHERE state = 1
    GROUP BY staff_including_date
      HAVING COUNT (staff_including_date) > 1
    ORDER BY fk_activity_type, staff_including_date, id;

    The first four columns? What about the other ones as well.
    If you to fetch a different set of columns than you want to group on, then you should look at an analytic function, i.e
    COUNT(*) OVER (PARTITION BY... )Assuming that you do only want to group by the date (seems a bit odd but I know nothing about what you're trying to do with your data), then it sould be something like this:
    SELECT *
    FROM (
    SELECT id,
             state,
             insert_timestamp,
             update_timestamp,
             update_status,
             staff_including_date, COUNT (*) OVER (PARTITION BY staff_including_date) cnt,
             company_name,
             position,
             position_name,
             release_date,
             notes,
             update_user_id,
             employee_id,
             fk_org_structure_id,
             fk_staff_position_id,
             fk_document_id,
             document_date,
             document_number,
             d_order_date,
             fk_activity_operation_type,
             activity_operation_name,
             fk_military_type,
             military_type_name,
             fk_activity_type,
             activity_type_name
        FROM fhn_staff.v_fs_labor_activity
       WHERE state = 1)
    WHERE cnt  > 1
    ORDER BY fk_activity_type, staff_including_date, id;

  • Issue with Data Extraction from OAGIS 9 User Area Tags ...

    We are working on displaying the data coming from OAGIS9 into Excel sheet. We created a custom Schema for the Excel sheet and are able to display all the data in OAGIS9 except for the ones in UserArea. We are facing issue in extracting data from tags present in UserArea of OAGIS 9 schema and transforming it into our Custom built schema.
    Can you please suggest us some way in which we extract data from userArea?
    Thanks in advance ~

    Here is the example with instructions, we have just done it and working
    1.You need to have the custom schema that is coming with in the <UserArea>/<any>
    For example this custom schema is like this one shown below and you are using this CutomerPartyMaster of OAGIS
    <?xml version="1.0" encoding="utf-8"?>
    <xs:schema xmlns="http://www.userarea.com/mdm/oagisextensions" elementFormDefault="qualified" targetNamespace="http://www.userarea.com/mdm/oagisextensions" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="Customer" type="CustomerType" />
    <xs:complexType name="CustomerType">
    <xs:sequence>
    <xs:element minOccurs="0" name="Gender" type="xs:string" />
    <xs:element minOccurs="0" name="DOB" type="xs:date" />
    <xs:element minOccurs="0" name="SSN" type="xs:string" />
    <xs:element minOccurs="0" name="PAN" type="xs:string" />
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    and the Input data snippet will be like this inside CustomerPartyMaster
    <tnsa:UserArea>
         <tnso:Customer>
              <tnso:Gender>string</tnso:Gender>
              <tnso:DOB>1980-10-13</tnso:DOB>
              <tnso:SSN>string</tnso:SSN>
              <tnso:PAN>string</tnso:PAN>
         </tnso:Customer>
    </tnsa:UserArea>
    where xmlns:tnsa="http://www.openapplications.org/oagis/9" and xmlns:tnso="http://www.userarea.com/mdm/oagisextensions"
    Lets assume your Target Schema is like this where only DOB is coming from userarea
    <CreateRequest>
    <record>
    <firstname></firstname>
    <lastname></lastname>
    <dob></dob>
    </record>
    </CreateRequest>
    2.declare the name space of incoming userarea custom schema in your xsl file like this
    xmlns:nsext="http://www.userarea.com/mdm/oagisextensions"
    3.here is xsl code that copies element from CustomerPartyMaster/UserArea
    <xsl:template match="/">
    <imp1:CreateRequest>
    <xsl:for-each select="/inp1:ESBProcessCustomerRequest/body/ns4:ProcessCustomerPartyMaster/ns4:DataArea/ns4:CustomerPartyMaster">
         <imp1:record>
    <xsl:for-each select="ns4:UserArea/nsext:Customer/nsext:DOB">
              <imp1:dob>
              <xsl:value-of select="."/>
              </imp1:dob>
         <imp1:record>
    </xsl:for-each>     
    where imp1 is target schema namespace
         ns4 is OAGIS standard namespace.
    *****************

  • Error while deleting UIElements from existing view of webdynpro project

    hiiii everybody,
    I have an existing project which i need to modify.so when i am trying to delete some UIElements from existing view and saving the metadata, itz showing error as for example:
    1)Group Group2 header is missing
    2)wdThis cannot be resolved.
    please do help out.
    Thanks and regards,
    Parama.

    Hi,
    First error comes when you deleted Group header but Group UI is there.
    For Second one, check the names of UI elements different or not.
    Regards
    LakshmiNarayana

  • Date issue while transfering pics from macbook to external drive

    Hello
    I am transferring pictures from my Macbook to an external hard drive and my issue is that the date of the picture (date of creation/modified) is being replaced by the date of the transfer… So let say that all my 2013 pictures have now the date of today – 19th June 2014. I tried to drag the pics as well as to export them but I am getting the same issue. I am doing transfers regularly and it is the first time I encounter this issue. Funnily enough it works when I drag one picture at a time but not for more than 3 pictures – very weird.  Your help will be very appreciated !

    There are two kinds of metadata involved when you consider jpeg or other image file.
    One is the file data. This is what the Finder shows. This tells you nothing about the contents of the file, just the File itself.
    The problem with File metadata is that it can easily change as the file is moved from place to place or exported, e-mailed, uploaded etc.
    Photographs have also got both Exif and IPTC metadata. The date and time that your camera snapped the Photograph is recorded in the Exif metadata. Regardless if what the file date says, this is the actual time recorded by the camera.
    Photo applications like iPhoto, Aperture, Lightroom, Picasa, Photoshop etc get their date and time from the Exif metadata.
    When you export from iPhoto to the Finder new file is created containing your Photo (and its Exif). The File date is - quite accurately - reported as the date of Export.
    However, the Photo Date doesn't change.
    The problem is that the Finder doesn't work with Exif.
    So, your photo has the correct date, and so does the file, but they are different things. To sort on the Photo date you'll need to use a photo app.

  • Issues while manually exporting from Data Manager

    Hi Guru's,
    When we try to export dat in Excel Or Text OR Access and select/tick Qualifiers for exporting then "Split qualified lookup fields into multiple rows" gets ticked automatically and greys it out,so cant even untick it......
    This causes issues as we want the whole data of record to come in single row  and not in multiple row..
    Any idea/setting which can fix this..
    Regards
    Vikrant M kelkar

    Hi Vikrant,
    This is the default behaviour. You can check the same from the below link
    http://help.sap.com/saphelp_mdm550/helpdata/en/43/e0677c82b40a2ee10000000a11466f/frameset.htm
    Exporting Records -> Exporting Table Records -> Qualifier and Qualified lookup field export
    Regards,
    Jitesh Talreja

  • Handling Characters Like # in Data, when exposing HANA views via oData services?

    We've some special characters in the fields (like '#' ), and because of this the client side ODataModel /JSON parsing is breaking when ever the data has these characters.
    Is there anyway to encode this at the HANA server level while exposing the views?

    Hi Latha,
    I've tried numerous combinations but I can't seem to create a view to return the data that I need.
    For example, I thought I would need to create an Attribute view based on the M_TIME_DIMENSION_WEEK table BUT then noticed that I can't join this to my table as I only have a date column, i.e. at DAY granularity.
    Therefore I created an attribute view based on the M_TIME_DIMENSION table to match the  granularity of the Date column in my table and joined this to my foundation table using the SAPDATE column..
    The M_TIME_DIMENSION table also has a WEEK column and I thought I would be able to use that as a basis for the aggregation (SUM) of my Amount column but I haven't been able to make that work.
    So basically I have a table like this:
    MANDT
    NVARCHAR
    COMPANYCODE
    NVARCHAR
    BUSINESSPARTNER
    NVARCHAR
    AMOUNT
    DECIMAL
    CURRENCY
    NVARCHAR
    POSTINGDATE
    NVARCHAR
    And I want to return sums of the amount field based on the WEEK number of the POSTINGDATE field
    The annoying thing is that I can write a simple SQL statement like this to produce what I want:
    select  week(postingdate), sum(amount)
    from myDbTable
    where year(postingdate) = 2014
    and companycode = '123'
    and currency = 'EUR'
    and mandt = '090'
    group by week(postingdate)
    The problem is reproducing the 'week' function in an analytic/calculation/attribute view.
    Of course 'companycode', 'currency' etc would need to be dimensions but I'm sure you understand what I mean.
    Any tips/ideas would be very welcome.
    Kind regards,
    Keith

  • Authorization issue while executing F110 tcode

    Dear All,
    User is facing the proble while executing the tcode F110, user wants to change some payments, but does'nt have change option(pencil mark button is not appearing).
    according to su53 screen shot analysis, fdkuser tcode is missing. this fdkuser is asssociated with all critical obects.
    Kindly do the neeful.
    Thanks & Regards,
    Ganesh.

    >
    Jurjen Heeck wrote:
    > > Recommendation is to do it in dev as it slows down the system performance.
    >
    > If you have production data in your DEV system, which is hardly ever the case, you can do that. I'd do it either in an up to date testsytem or in production. Running a trace on one user and only for authorization checks will not be too big a performance issue as long as you remember to stop the trace after the analysis is finished.
    I agree.  If a trace causes perceptible system performance degradation then it is undersized and likely to come to a standstill during financial closing etc.

  • Authorization issue while opening the query in Bex Analyzer

    Hi All,
    I get the below error mesage while executing a report.I have executed the same query in RSRT and i get the below message.
    I have created some roles and added to a test user for testing purpose and when i log in as a tets user i get the below meesage.
    I am not sure what i am missing in the roles.When i tried executing the query in my id then no issues.
    No authority for the node from characteristic 0EMPLOYEE__0MAST_CCTR, hier
    Your user master record is not sufficiently maintained for object Authori
    Kindly let me how to overcome this.
    Thanks in advance.
    Regards,
    Kumar

    Hi Harish,
    Just check this query by this way:
    Use Tcode RSECADMIN -> Analysis ->Execution as -> In Execute as user: Put your Test user Id also tick With log and select RSRT. Now use Start Transaction.
    Might be the chance to get more details about this issue for resolution.
    Also ensure, Have you did the User Comparison while assigning test user id in role?
    Regards,
    Abdullah

  • Issue while sending SMS from JavaMail in languages like Russian & Japanese

    Hi,
    We have a requirement to send multi lingual SMS to users mobile number.
    We are using JavaMail API for this. The only changes we have done to send SMS (instead of EMAIL) using a standard JavaMail code are –
    1)     Use the suffix @sms after the mobile number. For eg: 919923456789@sms.<domain>.com.
    2)     Use “text/plain” instead of “text/html” while setting the content type.
    The SMS is sent fine for English and French but we get junk characters for languages like Japanese and Russian even on phones which support these languages.
    Could anyone please advice on the below points –
    1)     Is this a limitation with respect to JavaMail? If yes, is there any other api that can be used?
    2)     Does some setting needs to be done in the SMS gateway to enable sending SMS in Japanese and Russian?
    3)     Does some setting needs to be done in the mobile phone to receive SMS in Japanese and Russian?
    Any help on this issue will be appreciated.
    Thanks and Regards,
    Jacob

    Thanks for your replies...... Please find below the code snippet where I am setting the encoding.....Could you please confirm if this is the correct way?
    String subject = "\u0421\u0442\u0430\u0442\u0443\u0441 \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u0433\u043E \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F";
    String body = "\u0421\u0442\u0430\u0442\u0443\u0441 \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u0433\u043E \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F";
    *//Both 'body' and 'subject' are set as the russian translation of 'Status last updated'.*
    MimeMessage msg = new MimeMessage(mailSession);
    msg.setHeader("Content-Type", "text/plain; charset=UTF-16");
    msg.setSubject(subject, "UTF-16");
    msg.setText(body, "UTF-16");
    I tried this but still not getting correct text. If I try with "UTF-16BE"/"UTF-16LE", then I do not get an SMS at all. I have tried with UTF-8 as well.
    Does it matter if I change the phone language before/after I receive the message in a language different from the currently set phone language?
    I am based out of India and am trying to send these messages to some of my colleagues who are all using Indian service providers. I have tried this on phones which have Russian as a language option.
    Regards,
    Jacob

Maybe you are looking for

  • Creating Deliverables of OBIEE projects

    Hi All, I am facing a requirement to create a war like deliverable that can be handed over to clients that has the entire feature like creating new reports in future etc. As we create a dashboard and other reports using analytics, the OBI creates a W

  • Transferring Bal sheet balances online to PCA

    Hi All What is the procedure to transfer opening balances for Bal Sheet to PCA if the online transfer indicator is already on and postings have already beeen made before the additional balance sheet accounts were specified in customising (t-code 3KEH

  • Set default 3 empty rows on edit (in the table view)

    Hi i need to add 3 empty rows, currently only 1 rows gets added by default on edit.. i tried using the add method of collection wrapper.. i did not find any differrence.. its adding only one row. has anyone worked on similar requirement or any help o

  • SSO does not work with DNS change

    Hi all, I have an ITS service which works fine on intranet but do not work on internet.  But the same service when put on internet (ofcourse with a different DNS i.e. abc.mycompany.co.uk) and it breaks down.  When clicking on a webgui service or webr

  • Flash 11.3.300.268 crashing browsers

    hey seen a few people with varied issues to this, i have firefox 14 and flash player 11.3.300.268 is terrorising my system, i have reinstalled it to no avail i believe its crashing with internet explorer too. when it goes sometimes it takes my whole