Problems generating Hana analytic privileges based on BW info provider

Hi Experts
We generate Hana views based on BW Info Providers. We follow the guide “SAP First Guidance – SAP NetWeaver BW 7.40 on HANA View Generation”. . The views appear perfectly in Hana Studio but we are not able to generate the authorizations in Hana.
On the BW side we have a authorizations relevant info object in the DSO that generate the View in Hana. The info object is linked to an authorization object that again is linked to a role. The role is the assigned to a user. We have synced all our users from BW to Hana using the standard concept (same username in BW and Hana).
When the view is generated we can see that view in Hana and we can see that a role is also create in Hana. But there are no analytical privilege created and there are no entries added in the table RS2HANA_AUTH_STR. The user also do not get the role assigned to him.
Are there any other steps that need to be done to be able to generate the authorizations in Hana based on BW authorizations?
We use BW 7.4 and the generate function (not the import function into Hana).
Kind regards
Erik

Hi Erik,
Please check if below characteristics are included in the analysis authorization assigned to the user:
0TCAIPROV = Info provider id
0TCAACTVT = 03
0TCAVALID = *
0TCAKYFNM = *
<authorization relevant characteristic of your info provider> = Required value.
If you are assigning these authorizations now, run RS2HANA_CHECK tcode for this user. This should generate analytic privilege and user should get the role in HANA.
Thanks

Similar Messages

  • How to create analytic privileges from sql command line in hana studio?

    I want to create a bunch of analytic privileges, activate them and assign it a roles. I was wondering if there is a method where I can create these analytical privileges directly from sql?

    Hi Krishna,
    Thanks for the reply.
    The use case is to create a bulk analytical privileges on the pre-existing analytical or calculation views and I'm failing to create it using the simple CREATE STRUCTURED PRIVILEGE.
    The security guide shows below mentioned as the syntax but I'm failing to create it through that:
    CREATE STRUCTURED PRIVILEGE AP_SALES_1 FOR SELECT ON TABLEOWNER.VIEW_SALES WHERE REGION IN ('DE','UK') OR PRODUCT = 'CAR';
    It gives me this error -
    SAP DBTech JDBC: [257] (at 44): sql syntax error: incorrect syntax near "FOR": line 1 col 44 (at pos 44)

  • Generating a Popup window based on BPM Form outcome

    Hi All,
    I'm currently working with a BPM workflow which is going through 6 levels.
    Each level having there own forms and each form having different customized buttons to flow the task to different paths. e.g; ASSIGN, CANCEL, RECHECK etc.
    These buttons are the outcomes of the Human Task. (I did not add 'Button' from components)
    I have a requirement to generate a popup window based on some of the button actions.
    This popup will have only two options.
    e.g -
    Popup window will ask 'Are you sure to proceed ?' then there should be two buttons to select Yes or No.
    'Yes' will send the instance to next stage and 'No' will remain the instance in the same user inbox.
    How do I do this ???
    Thanks,
    Nir

    Hi All,
    I found the way to generate the popup.
    But now my problem is how can I navigate( Complete the task from that level) the task from the Inbox after clicking OK button.
    There are several customized buttons in the form (e.g 'APPROVE', 'RECHECK' , 'CANCEL' etc.)
    I want to make the instance navigate to next level based on the button clicked.
    e.g.
    1. User will click on the 'CANCEL' button
    2. Popup will display to confirm the action
    3. When user click OK in the popup window task should be 'CANCELLED'
    (My problem is how to catch the button action he has performed )
    Any Ideas ??
    Thanks,
    Nir

  • RoboHelp 10: Problems generating Printed Documentation

    Environment
    Windows 7 Enterprise, Service Pack 1, 64-bit operating system
    Office Professional Plus 2010 Versions 14.0.7106.5001 (64-bit)
    RoboHelp 10: 10.0.0.287
    Visual Studio 2010 Professional. I open RoboHelp from within Source Control (have been doing it for two years).
    Problem
    Sometime after moving to RoboHelp 10, and even after successfully generating Printed Documentation output, I encountered a major problem generating Printed Documentation from RoboHelp: “Internal error encountered. Failed to generated Printed Documentation”. The error occurred when I tried to generate Printed Doc using my default TOC, which looks something like this:
    Topic A
    Topic B
    Book 1
    Book 2
    Book 3
    Topic C
    Topic D
    Based on an old Peter Grainge reply to someone about a similar problem, I removed all but the first topic from the Chapter Layout pane and generated the Help. Everything was fine until I got to the topics after Book 3. At that point everything started to fail again. When I removed Topics C, D, etc. from the Chapter Layout pane, the output was built successfully.
    I tried moving Topics C, D, etc. to the top of the Chapter Layout pane, and got the same error. I tried creating a new folder and put Topics C, D, etc. into that folder. Failure after failure.
    As an experiment, I removed all the Topics C, D, etc from the Chapter Layout pane, but then added them to the Print Document Section Layout pane (not where I want them). The Printed Documentation built successfully.
    During attempts to build with Topics C, D, etc. in the Chapter Layout pane, I kept getting a Word error: Word is trying to recover your information. After that there was always a failure.
    Selecting PDF as the output did not work when the Topic C, D, etc. files were at the bottom of the Chapter Layout pane.
    I create a new TOC and a new Printed Documentation SSL. Failed to generate.
    As a matter of reference, I've been generating Printed Documentation from the same TOC for more than a year and so cannot figure out what has changed in RoboHelp or Word to cause this grief .
    Has anyone experienced anything like this?
    Carol

    Dear Peter,
    Thanks for following up. Last Friday I finished extensive testing on my own and working with RoboHelp Support. Here's what I sent to Support this morning.
    If after reading this screed, you think it worthwhile for me to get a copy from Source Control for you to look at, I will do so. Thanks for offering to look at it.
    Environment
    Windows 7 Enterprise Service Pack 1, 8.00 GB RAM, 64-bit OS
    Microsoft Office Professional Plus 2010 Version 14.0.7106.5003 64-bit--Note: We repaired my current version of Word, in case that was the problem, but did not reinstall Office--we do not think that the Word version is the problem because we generated successfully with other TOCs and when generating individual documents.
    RoboHelp 10.0.1.292. Upgraded from RoboHelp 9 in May 2013. Replaced hard drive in September 2013 and reinstalled RoboHelp.
    Visual Studio 2010 Professional 10.0.40219.1 SP1Rel (I open the project from Source Control and check files out to a folder on my desktop.)
    Issue
    Printed Documentation failed multiple times with the default Table of Contents, which contains all the topics in the project. TOC specs are as follows:
    Properties: .docx, desktop location, no conditions, embedded images, “Generate a single document”, “Retain hyperlinks”.
    330 files, 12 top-level books, 15 second-level books, 7 third-level books, 6 fourth-level books, and 8 fifth-level books
    Results
    Generation to Printed Documentation does NOT fail for other, module-specific TOCs, nor to WebHelp Pro SSLs for the same sets of topics. In addition, and perhaps more important, generation to Printed Documentation does NOT fail with “Generate Individual Documents” selected, or when there are approximately fewer than 259 files in the TOC.
    Did not fail consistently based on any particular topic.
    Did not fail consistently based on location of any particular topic in the TOC.
    Failed when I created new TOCs based on ‘working’ TOCs. For example, copied a module-specific TOC and then added topics to it from the default (superset) TOC. I did this in case the original default TOC was corrupted.
    Failed when I create a new TOC with the same folder/file structure from scratch.
    Failed when I created a new TOC with a flat file structure from scratch.
    Failed when I retrieved an older TOC from the last release of the product.
    Failed when I created new SSLs each time. I did this in case the SSLs had got corrupted.
    Failed when I did not open the project from Source Control (removed project from Source Control and worked locally).
    Began to see failure when there were more than about 258-263 files in the TOC. For example, successfully generated Printed Documentation with 262 files in the TOC. Added one topic and the generation failed. Removed that topic and added several others, one at a time. Consistently failed. To test this, I created a TOC with all the files in a flat structure, generated a report for the TOC, printed it, and counted the number of files. I then began deleting files and regenerating the Printed Document to try to identify the number of files in the TOC when the generation failed. Successfully generated up to about 258 files and then it began failing. (Occasional successes at 260 and 261, but that may be because I didn’t always consistently remove the Glossary and Index from the Chapter Layout pane.)
    Other Comments
    (I know that we should generally post non-RH issues to other forums, but in this case I wanted to include all potentially related issues in this posting.)
    The first time you generate any type of output, the “Critical error of Source Control Provider. Please restart IDE.” Message appears. This message appears behind RoboHelp. As a result, if the RoboHelp window is maximized, you think that RoboHelp is hung. Forcing a close of RoboHelp leaves the partially generated Word document in an unstable state. When you re-open RoboHelp and try to generate the output again, RoboHelp says that the output is in use. Unfortunately, there is no way to ‘free’ the Word document and you have to restart the computer. In addition, when the dialog box is hidden, even using Alt+Tab to find the dialog box is complicated because you can’t grab it and click OK until RoboHelp completes its processing. The workaround is to reduce the size of the application window so that you can see the dialog box and try to quickly grab it and click OK. That said, as soon as processing is complete you can grab the dialog box and click OK; at that point RoboHelp displays its own error message about the success or failure of the output generation. It is not clear whether the RoboHelp API or Source Control puts up this error message, but it’s definitely a problem until you happen upon the workaround.
    RoboHelp does not check SSLs even when I right-click the SSL in the Single Source Layouts pane, click Check In, select the XML and SSL files, and leave “Keep checked out” deselected. The red check mark remains next to the SSL name. In addition, even when I Check In All files before closing the project, the next time I open the project RoboHelp displays a series of Check In dialog boxes requiring me to check them in again.
    When RoboHelp hangs during a Printed Documentation failure and the Version Control setting is to check in all files when closing a project (which I’ve now deselected to avoid this problem), Ctrl+Alt+Del indicates that you cannot shut down the program because RoboHelp is waiting for a response. Yes, RoboHelp was waiting for me to check in some files (because of the Version Control setting), but hid the Check In Source Files dialog box behind the application. This usually left a Word document in limbo, forcing me to restart the computer.
    At one point RoboHelp stopped saving changes to an SSL after I made changes and clicked Save and Generate. Each time I reopened the SSL, I had to select .docx, etc. all over again.
    Carol

  • Problem displaying HANA description fields in Explorer

    We have created a number of attribute views and a analytic view based on ECC tables.  The underlying attribute views reference text tables, for example TSPA and TSPAT.
    A data preview of the Analytic view in HANA Studio shows all the text fields correctly.
    But when we display the analytic view in Explorer, certain text (description) fields fail to display, instead defaulting to the code.
    When we reactivate the analytic view, we notice some of the originally-working text fields display correctly but others are now not working properly.  Each time we reactivate the view we get different results.
    Mutliple information spaces built on the same Analytic model all behave the same way.
    We are using HANA rev 25.
    Can anyone offer some advice of help on this issue?!

    Hi Joe,
    I am not sure about the same but many times this will happen when the attribute (in your case description) is the private attribute. So, you can check if the attribute is not a private attribute then how the report look like.
    Regards,
    Neha Singla

  • Rev. 80: Error with counter and analytic privilege

    Hey guys,
    I have the following structure in my model:
    Attribute View (AT) --> Calculation View 1 (CV1) --> Calculation View 2 (CV2)
    The calculation views only contain the default aggregation. Additionally CV1 has a counter on one of the columns.
    The content is about analyzing roles from ERP.
    AT has columns RIAExtractID (its a GUID), AGR_NAME (Name of the composite role), CHILD_AGR (Name of the single role).
    CV1 has the same columns but also a counter on CHILD_AGR called "NumberofAssignedSingleRoles".
    CV2 has all columns of CV1 but not CHILD_AGR.
    Here is how it looked like in Rev72: (filtered for one AGR_NAME = AC280-RECHERCHE-REPORTS)
    AT:
    CV1:
    CV2:
    (I would not need CV2 to get this result (I could just select these 3 columns from CV1). However, in CV2 the Column NumberofAssignedSingleRoles is of type "attribute" whereas in CV1 it's a "measure", and with this "hardcoded" aggregation in CV2 I can then apply a filter on NumberofAssignedSingleRoles in an OData request giving me for example all roles which have less than 5 single roles assigned. Otherwise you can't filter on a measure.)
    However, now with Rev. 80 the result of CV2 looks like this:
    Although, AT and CV1 still look the same (and return 4 rows with each a different CHILD_AGR). No matter how many child roles have been in CV1, CV2 gives me NumberofAssignedSingleRoles = 1 for every AGR_NAME!
    Trying to track the issue down, I found that using SYSTEM user gives me correct output of NumberofAssignedSingleRoles = 4.
    Since one major difference between my user for testing and SYSTEM are analytic privileges.
    Currently there is a restriction in the analytic privilege for AT: RIAExtractID = 001CC4F....
    When I remove this restriction, the output is correct, too. (i.e. 4 rows in AT, 4 rows in CV1, Counter= 4 in CV2)
    When I add the restriction again, the output is wrong. (i.e. 4 rows in AT, 4 rows in CV1, Counter = 1 in CV2)
    I'm pretty sure this is a bug in SP8/Rev 80.
    What other options do I have to "debug" any further?
    By the way it makes no difference if I move the restriction from AT to CV1 or CV2, behavior is still the same (=wrong).
    Hope you can help me since this is a major problem for my application!
    Kind Regards,
    Fabian

    I cannot believe it. Rev. 91 and still the same Problem.
    @SAP: Do you just don't care or are you not able to reproduce? I could provide small Delivery Unit with Schema, Table, AT and CVs as well as an analytic privilege.

  • Dynamic Analytic Privilege Concept

    HI Frzz,
    Could you any one give some idea about what is Dynamic Analytic Privleges and how it works.
    Best Regards,
    Krishna.

    Hi Krishna,
    Please refer the below link
    http://scn.sap.com/community/hana-in-memory/blog/2014/02/07/dynamic-analytic-privileges-using-procedures-in-sap-hana
    Regards
    Raj

  • Provide Webservice  link not generating corresponding WSDL URL based on the service operation.

    Hi All,
    The provide webservice link is not generating corresponding WSDL URL based on Service Operation.
    E.g. Currently we have two service operations namely Create and Update. We are using Rowset based messaging. Provide Webservice link generated correct WSDL URL for the create operation but it is providing the same URL for Update operation as well. kindly share your knowledge if you guys ever faced similar problem.
    Regards
    Viswa

    Hi Hakan,
    Thanks for your reply. Actually i am trying to generate WSDL URLs for each service operation for Travel & Expense module like create expense, update expense etc.
    URL generated looks like this : http://xxx.xx.xxx.xx:8011/PSIGW/PeopleSoftServiceListeningConnector/HX_TE_EXPENSE_CLAIM.16.wsdl - this url is meant for CREATE operation. But for the UPDATE operation i am getting the same URL . Normally, Whenever i create WSDL URL for different operation the numeric part of the above URL changes like 16, 17 etc ..based on the service operation but no two operation have same URL like i am getting now. Please provide your knowledge on this issue.
    Regards
    Viswa

  • Difference between analytic privilege and package privilege

    Hello Team
                       Please suggest me on the difference between Analytic privilege and package privilege . Since both the privileges works on package only . So what is the exact difference between them .
    Regards

    Hi,
    SAP HANA have several categories of privileges such as system privileges, object privileges, analytic privileges, package privileges and application privileges.
    For analytic privileges and package privileges, they are very different.
    When you use analytic privileges, you can grant different users to see different data. For example you have an analytic view including some sales data and there is a column LOCATION. You can use analytic privilege to grant the sales in the east US to only see the sales data where LOCATION = "EAST" and grant the sales in the west US to only see the sales data where LOCATION = "WEST". This is just a simple example. In short, you use analytic privileges to grant different users to see different data.
    Regarding package privilege, when you develop on XS projects, you can grant different package privileges to different users. For example, you have a package named "services" in your XS project. You can use package privilege to grant user A to only read the content under "services" and grant user B to edit/activate or even delete the "services" packages.
    Best regards,
    Wenjun

  • Can we control the PDF file name that is generated by BI Publisher based on the content in the input PDF

    can we control the PDF file name that is generated by BI Publisher based on the content in the input PDF?

    No, there isn't. The way you're using the file is not recommended. You
    should use a review tracker to avoid getting in the way of one another.

  • Problem generating stubs for Java EJB web service deployed in OAS

    I created an EJB web service and I've successfully deployed it in my Oracle App Server. Some of the methods work fine but others produce the ff error:
    org.apache.soap.SOAPException - java.lang.IllegalArgumentException: No Serializer found to serialize [classname] using encoding style [encoding]It seems that the objects specified as parameters in the web service methods exposed are the only ones that had stubs generated for them. Other objects I use, which are usually wrapped inside a Vector, did not have generated stubs.
    Example:
         public String loginUser(UserDTO userDTO) throws RemoteException, NamingException, SQLException;
    public String addItems (Vector vecItems) throws RemoteException, NamingException, SQLException; // where vecItems is a collection of ItemDTO objects     In this scenario, stubs were generated for the UserDTO class, but not for the ItemDTO class. In effect, calling the addItems method resulted to the exception I mentioned above.
    I did a workaround wherein I declared a dummy method which accepted all the types of objects I needed as parameters so all the necessary stubs can be generated, but this fix doesn't feel like it's the proper solution to my problem.
    If anyone can help me, it would be greatly appreciated. Thanks!

    Crossposted:
    Problem generating stubs for Java EJB web service deployed in OAS

  • Generating a internal table based on the fieldcatalog

    hi,
    i want to generate an internal table based on field catalog which will be generated after the user has selected a particular layout.
    For eg. Suppose there are at present 25 fields at the ALV output and out of which user selects 10 fields using layout option and i save the layout.
    Now i want an internal table with these 10 fields in my internal table not all the 25 fields.
    any ideas?
    regards
    jignesh.

    Hi,
    Look at the sample code below.
    FIELD-SYMBOLS: <outtab> TYPE ANY TABLE,
          <l_line>  TYPE ANY,
          <l_field> TYPE ANY.
    DATA: new_table TYPE REF TO data.
    DATA: new_line  TYPE REF TO data.
    DATA: it_fieldcat TYPE lvc_t_fcat.
    DATA: wa_fieldcat TYPE lvc_s_fcat.
    DATA: BEGIN OF itab OCCURS 0,
          matnr TYPE matnr,
          aenam TYPE aenam,
          END OF itab.
    "Fill the fieldcat here
    "For example say it contains two fields MATNR AENAM
    CALL METHOD cl_alv_table_create=>create_dynamic_table
            EXPORTING
              it_fieldcatalog = it_fieldcat
            IMPORTING
              ep_table        = new_table.
    ASSIGN new_table->* TO <outtab>. "This is the required table
    CREATE DATA new_line LIKE LINE OF <outtab>.
    ASSIGN new_line->* TO <l_line> . "Work area forthe same
    SELECT matnr aenam UP TO 5 ROWS
    FROM mara
    INTO TABLE itab.
    LOOP AT itab.
      ASSIGN COMPONENT 'MATNR' OF STRUCTURE <l_line> TO <l_field>.
      <l_field> = itab-matnr.
      ASSIGN COMPONENT 'AENAM' OF STRUCTURE <l_line> TO <l_field>.
      <l_field> = itab-aenam.
      INSERT <l_line> INTO TABLE <outtab>.
    ENDLOOP.
    LOOP AT <outtab> ASSIGNING <l_line>.
      WRITE: / <l_line>.
    ENDLOOP.
    Regards,
    Manoj Kumar P

  • Generating the RM requirement based on the work order?

    Does Oracle Disceret MFG has the provision of generating the RM requirement based on the work order?

    Hi,
    If you mean RM requisition as Material indent from Stores , then Yes, Component Pick Slip is the form
    Regards
    S

  • How to generate external network number based on WBS element number

    Hi all(experts)
    I am new to PS and I have a requirment.
    <u>To derive network no. from WBS identifier.</u>
    Enhancement is CNEXOO12
    Function module is EXIT_SAPLCOKO_002(data transfer for Network number).
    I wnat to know how to use the above enhancement to generate external network number based on the WBS element  number. We have to take the Project number and extract the part of the name from it and then assign it to NETWORK and ACTIVITIY under it. The above also depends upon the project type.
    Please let me know the fields\structures\tables that are needed and available during runtime in this Function module exit. If possible with some examples.
    Thanks for your time.
    SH

    Hi Karthik
    Thanks for sending me the table relations.
    Can you please help me with the following.
    1) Can you please expand the table relations with an example because when I am doing a relation I am not able to get the AUFNR fromAUFK-->PSPEL because the there are four levels of WBS in the Project and if I plug the first level WBS from the PRPS there are no table entries found. if I put directly the WBS(fourth level X-yyyyyyy95.xxxx10.10.2) in the AUFK-PSPEL table it works and I get the AUFNR.
    2) Can I do retrieve the network number from the sales order(KDUAF).
    Please suggest.
    By enhancing this CNEX0012(EXIT_SAPLCCOKO_002) which transactions in PS are affected.
    Please reply at your earliest.
    As always thanks for your time and your help
    SH.

  • Analytic Privilege : Something went wrong

    Hi folks,
    I am trying Analytic Privilege on SP08 system(doesn't matter what the system level is, but still ).
    I created two tables in the schema "SREEHARIV" associated to the user "SREEHARIV".
    Tables are Products and Desc.
    Then I created one attribute view which joins the Products and descriptions (just like MARA and MAKT ).
    Output result set
    Now my intention is to make the user SREEHARIV to see only the data from country INDIA.
    So I am creating an Analytic privilege with Country as attribute(is it the right way ?) .
    After activating it, I added the same analytic privilege to SREEHARIV user.
    Then, to test the same , I created a XSJS service which will query the attribute view.
    var query = 'SELECT "PNAME","TEXT","COUNTRY","TURNOVER" FROM "_SYS_BIC"."Sreehari/ATR_PRODUCTS"';
    var output = [];
    try{
      var dbconn = $.db.getConnection();
      var pstmt  = dbconn.prepareStatement(query);
      var rs = pstmt.executeQuery();
      while(rs.next()){
      output.push({
      PNAME : rs.getString(1),
      TEXT : rs.getString(2),
      COUNTRY : rs.getString(3)
      $.response.setBody(JSON.stringify(output));
    catch(err){
      $.response.setBody(err.message);
    And I am getting the whole records returned .
    I believe it is a logical mistake I am doing . Please correct me if this is not the exact use of analytical privileges . Please don't pump me the Development guide URL
    Thanks in Advance ,
    Sreehari

    Hi Krishna,
    Even I suspected the same. I assigned the analytic privilege to another user which is not having _SYS_BI_CP_ALL. Still the same    . Should I suspect SP08 anyway ?
    Sreehari

Maybe you are looking for

  • Problem while MIGO

    Hi all, I am trying to receive a purchase order but it says "No goods receipt possible for this PO". The only thing was not normal, while putting the confirmation it said header data is not complete but i saved it anyways. Please let me know what sho

  • Problem installing flash player

    keep getting message to close Internet Explorer.  It is closed but message keeps popping up? 

  • Calculation in Discoverer Desktop

    I am new to this forum, and pretty new to Discoverer so please go easy on me, and I'm sorry if I ask what seems like easy/stupid questions! I am wanting to create a calculation to appear as a column against some data I have on my report. My report sh

  • Problem exporting Illustrator gradient images into Indesign.

    I created and overlapped 3 gradient images in Illustrator cs6 and saved @ an eps file.  When imported into Indesign thin white lines appear where the images overlap.  How to fix?

  • How do I permanently delete a song?

    I have songs that were purchased several years ago. I now want to delete them permanently from itunes and icloud. Eveytime I try to delete the song, it asks if I want to hide them in icloud. No option to permanently delete.