SAP HANA SHINE HCP_GRANT_ROLE_TO_USER Issue

Hi,
I have imported the SAP HANA SHINE 8 content in  my SAP HANA Cloud trial instance using my Eclipse (Luna) environment.
I am now trying to execute the following but get errors below:
call "HCP"."HCP_GRANT_ROLE_TO_USER" ('s0007081080trial.kallidusdev.shinesp8.roles::Admin','s0007081080')
Could not execute 'call "HCP"."HCP_GRANT_ROLE_TO_USER" ...' in 1:21.996 minutes .
SAP DBTech JDBC: [10001]: user-defined error:  [10001] "HCP"."HCP_GRANT_ROLE_TO_USER": line 17 col 12 (at pos 1164): [10001] (range 3) user-defined error exception: s0007081080trial.kallidusdev.shinesp8.roles::Admin role is not created, active or part of package described in view HCP.HCP_DEV_METADATA.
Can anyone explain what is wrong and how I can fix this so the statemt executes successfully?
Thanks,
Chris

Hello,
1st please check if all your content is getting activated or not .. it should be like this after you import successfully
2) As you can see its Just user Role so you need to call
CALL "HCP"."HCP_GRANT_ROLE_TO_USER"('<your_package>.roles::User', '<SCN user name>')
Example:
CALL "HCP"."HCP_GRANT_ROLE_TO_USER"('XXXtrial.newhana.shinesp8.roles::User', 'XXX')
xxx will be your user.
else run call "HCP"."HCP_SYNCHRONIZE_ROLES" and again try .
check out other calls
SAP HANA Cloud Platform
Regards
Arun

Similar Messages

  • SAP HANA Database Administration Issues

    Hello Gurus,
    I would like to know and understand the most common or frequently faced major issues by SAP HANA Administrators.
    Shirish.

    Hi Shirish,
    You should start by reading below blog from Andy:
    http://scn.sap.com/community/hana-in-memory/blog/2013/05/27/andy-silvey--sap-hana-command-line-tools-and-sql-reference-examples-for-netweaver-basis-administrators
    Regards,
    Vivek

  • SAP BW powered by SAP HANA - trial version - issues to contect

    Hi there,
    I am facing issues to get the trail Version up and running. Here my steps:
    1) The instance on AWS starts properly and the Status is shown as green.
    2) The Connection via "Remote Desktop Connection" was fine.
    3) In the SAP Management Console I can start properly following Systems (Status green):
         - A4H abapc1
         - HDB
        System A4H abapci0 is shown with yellow.
    4) When trying to start the SAP BW 7.4 via the SAP GUI following error is shown:
       "Partner xxxxx not reached
        Connection refused"
    Any hint what I need to change?
    Thanks
    Robert

    Hi Atul,
    please find below some screen shots:
    1) IP addresses
    2) Console
    3) Error Message
    Thanks,
    Robert

  • Issue Configuring Workspace in SAP HANA Studio

    i want to connect  my local SAP HANA Studio and Sap HANA Client to  HANA server on CloudShare. However, I cannot find the repository access path in the preferences to configure the HANA regi file.
    I have installed both hana studio 73 win 64 bit version and hana client 73 win 64 bit version.And the installation is done successfully and to the correct folder path.
    can any one help me regrading this issue.
    Regards,
    geeta

    Thank you Thomas !

  • SAP HANA ERP on AWS License Issue

    Hi,
    what licenses are available for the ERP version of SAP HANA for deployment on AWS? What is a MINISAP license? We tried to set up the ERP Trial from the SAP Cloud Appliance Library but can't access it via SAPGUI. Our expert says, the MINISAP license is valid for hosting on 64GB or less. Since we have chosen the smallest memory model available, it looks like we can't run it on AWS, which cannot be true. The system comes up, AWS charges money, but we can't access it. What did we do wrong? Seems like a few people here in this community use it already. I'd appreciate someone telling us how to fix this issue. We do not have problems with our BW instance which works well.
    Best regards,
    Chris

    Hello Christian,
    Trial systems in CAL come with a 30 day temporary license, already included. There is no need to install any other license into the system.
    So your problem is, that you started an instance of the ERP Foundation Extension Trial System in CAL using your AWS account and you used the default settings in CAL (no changes to firewall or instance types. After 30 minutes or so the traffic light in the CAL UI under "INSTANCES" shows a green light - but you are still not able to connect with SAPGUI.
    Is this correct? If so, there are two possible root causes:
    1) your client machine is not in the same network as the ERP system. Could it be the case that your client machine is in a corporate network (behind a firewall) and the ERP system has been started on the internet?
    2) the ERP on HANA system did not start automatically (which is very strange as everyone is using the same appliance). It could be the case that the AWS account has limits which prevent the instances to start up - but then CAL should give you an error message and it should NOT show green traffic lights in CAL.
    Can you please check if you are affected by root cause 1).
    If you can rule out 1) we need to investigate why 2) is happening. Can you please ssh into the HANA instance and fetch the dev_disp file from /usr/sap/<SID>/DVEBMGS00/work.
    Regards,
      Hannes

  • SAP HANA CEI RDS - UI5 issue

    Dear All,
    I am working with SAP HANA CEI RDS
    Ttrying to implement ADT solution. Struck with SAPUI5.  I have followed the instalation giude and verified the istallation.
    The issue is ,I am getting a blank screen in UI5 layer . I am able to see the CSS and other icons but not the actual content from SAP CEI Hana DB.
    Can any one suggest where exactly the problem lies and it would be more apprecialble if you can send a document explaning the installation steps in detail for SP04
    Thanks in advance,
    Santhosini K

    Hi Santhosini,
    I am sorry, I do not have the solution for that and I think you can help me.
    Can you share with me (us) the inllation guide to access the URL fo SAP CEI.
    Best Regards,
    Yoro

  • SAP HANA Cloud Connector Login Issue

    Hi Everyone,
    Until recently my SAP HANA Cloud Connector Login was working fine. Now, when I try to login, I get the below error:
    Please let me know what could be the issue here.
    Regards,
    Lipsa

    Hi,
    I recommend to place this question under SAP HANA Cloud Platform Developer Center
    Regards,
    Ifat.

  • Issue with SQL converter: Query Migration Tool for Microsoft SQL Server to SAP HANA

    Hello,
    I found the following blog : http://scn.sap.com/community/business-one/blog/2013/04/10/how-to-convert-sql-from-ms-sql-server-to-sap-hana
    I am trying out this migration tool for converting my MS SQL queries to HANA.
    I am running into issue while converting certain queries.
    The issue is specific to "set" commands which set local variables inside "create procedure" commands.
    e.g.
    a standalone set command:
    SET @var = (SELECT TOP 1 name FROM mytable ORDER BY name)
    is converted well:
    SELECT (SELECT TOP 1 "name" FROM "mytable" ORDER BY "name") INTO var FROM DUMMY;
    But when the same is part of create procedure:
    CREATE PROCEDURE [dbx].[XXXXX_YYYY_ZZZZ]
    AS
    SET @var = (SELECT TOP 1 name FROM mytable ORDER BY name)
    it fails in converting the same:
    --Statements in the input file contain errors; conversion was canceled
    I would like to understand who can help me here.
    Thanks...

    Hi Mayur,
    that tool cannot convert stored procedures. it is still being developed. For these you have to do it manually.

  • Issues while creating new user in SAP HANA

    Hello Team
                       When i am trying to create a new user in SAP HANA studio i can see that there has been a new field added of DATA validity where there are two options  a) Valid From and b)Valid Unitl . No matter whatever dates i give in this i got this error which creating the user . Status :- inactive
    Reason :- outside validity period . PFA screen shot attached below . Please suggest what dates should be given in  this field with some sample example .
    Regards

    Prag,
    Try this. Execute the following in a SQL window started by a userid that has been granted the USER ADMIN system privilege:
    ALTER USER BODS1 VALID FROM NOW    UNTIL FOREVER;
    You can use a date instead of FOREVER --- '2016-12-31 23:59'.
    Good luck,
    Robert

  • Issues in installing SAP HANA cloud platform tools

    Hello Experts,
    I am new to AiE/HANA tools.
    I am trying to install SAP HANA cloud platform tools, but adding the URL Eclipse Kepler (4.3), URL: https://tools.hana.ondemand.com/kepler in the Eclipse menu.
    However, I get the 'This repository is currently not available' message.
    Am I doing something wrong here?
    Any tips appreciated.
    Best Regards
    Dev

    Please check your proxy settings, the address is correct and the repository is there and waiting :-)
    Sometime the eclipse need to be restarted when network settings are changed.
    Enjoy,
    Dobri

  • Login Issues to SAP HANA from Design Studio

    Hello All ,
    I am pretty newbie here so the question might seem a bit elementary .We are trying to connect to our SAP HANA environment from Design studio .When we are pinging the XSEngine URL it is responding properly .But when we are  trying to connect from Design Studio the following error occurs .
    Here is the landscape we have designed so far :
    HANA Server is installed .
    BOXI 4.1 SP 5 server is installed .
    HANA and BO servers are communicating through SSL .
    Design Studio Add-on is installed on BO server .
    When we tried to explore the path using HANA explorer we found the path mentioned in the error screen does not exist .
    What we need to do to overcome this error ?
    Regards,
    Sourav Roy

    Hi Sourav,
    As mentioned by Karol, you have to deploy the DS-HANA Addon on your HANA System.
    How to Document : Getting Started on SAP Design Studio 1.3 powered by BW on HANA – Part 2
    Overview and Permissions : Design Studio 1.3 on HANA Platform
    Thanks,
    Poovin.

  • SAP HANA security issue: SAP DBTech JDBC: [258]

    Hello experts,
    I am trying SAP HANA security features by playing out with a test user (MYTESTUSER) I've previously created. This is the permissions detail I've granted to the mentioned user:
    Granted Roles:
    PUBLIC
    Object Privileges:
    _SYS_BIC : SELECT
    _SYS_REPO : EXECUTE, SELECT
    REPOSITORY_REST (SYS): EXECUTE
    MYSCHEMA : SELECT (Contains source tables for views)
    Package Privileges:
    TEST.MYTEST (Package containing my views)
    Analytic Privileges:
    AP_MYTEST : Contains all my views and a couple restrictions over an attribute.
    What do I expect?: when logging on as MYTESTUSER it should be able to deploy the different folders in SAP HANA Studio, dive into "Content" folder, and even more: reach the package TEST.MYTEST, once there by selecting "Calculation Views" folder then being able to open CV_MYTEST calc view (which was already added into AP_MYTEST shown above).
    What happens as is?: Running as MYTESTUSER I am able to reach the calc view, when opened it is able for view only (its design). When pushing over the button "Open in Data Preview Editor" it trhows me the error:
    Cannot get the data provider outline
    SAP DBTech JDBC: [258]: insufficient privilege: insufficient privilege: Not authorized at ptime/query/checker/query_check.cc:2418
    What is expected?: Running as MYTESTUSER "Open in Data Preview Editor" feature must return and show adequate data from calculated view.
    In consequence:
    What does this error ("Not authorized at ptime/query/checker/query_check.cc:2418") specifically means and how to start addressing it?
    I'm unable to determine what is crashing or in what point it doesn't work. Any clues?
    I've also realized that there's no way out to perform some kind of trace (at least in an easy-known-fashion). Could you also advice? it would be quite important to be able to detect what are specifically the missing authorizations for a performed action. (kinda SU53 in SAP)
    Any clues or advices are welcome. Thanks a lot in advance,
    Bernardo

    Hi Bernardo,
    Can you check whether _SYS_REPO has SELECT access on your schema. Open _SYS_REPO user and check whether your schema is listed under objects privileges or not. If not run the below query.
    GRANT SELECT ON SCHEMA <schema_name> TO _SYS_REPO WITH GRANT OPTION.
    if it doesn't work try to give SELECT and EXECUTE access on both _SYS_BI and _SYS_BIC to your schema and check. And also but default your should have all the privileges on your schema.
    Regards,
    Venkat N.

  • Issues with CAL Free Solution - SAP BPM and Operational Process Intelligence on SAP HANA [developer edition]

    Hi,
    When I want to suscribe to the CAL Free Solution - SAP BPM and Operational Process Intelligence on SAP HANA, on the Terms and conditions page, even if I scroll down, the button "I accept" is not available.
    Do you have any tips ?

    I am trying to download the SAP BPM and Operational Process Intelligence on SAP HANA [trial edition] - AWS version and get a security error.
    Any ideas where we can get a 90 demo version of SAP PO/PI that will work with AWS?  I am trying to refresh myself on PI7.4?

  • Can not access data generator in HANA SHINE Content

    Hi Expert,
      After import Delivey Unit of SHINE Content, then i was told by the Guide Book that i could use data generator to generate demo data by access URL
    http://<myServer>:<XS Port>/sap/hana/democontent/epm/admin/ui/WebContent/admin.html
    STEP1:I used SYSTEM on the HANA login page
    STEP2:Error 404 refelect
    Does anyone else have encountered this problem?
    Message was edited by: Tom Flanagan

    You might check the repository browser, but I don't believe that URL is correct.  There is no ui or WebContent folder in the path in my system.  Its just /sap/hana/democontent/epm/admin/
    But I suggest checking the folder structure in the Repositories view in your own system to make sure. My system is a new version and could be different than what you are seeing. However this would explain why you are getting the 404. 
    Also make sure that SYSTEM has the necessary SHINE admin role added.

  • Open HUB ( SAP BW ) to SAP HANA through DB Connection data loading , Delete data from table option is not working Please help any one from this forum

    Issue:
    I have SAP BW system and SAP HANA System
    SAP BW to SAP HANA connecting through a DB Connection (named HANA)
    Whenever I created any Open Hub as Destination like DB Table with the help of DB Connection, table will be created at HANA Schema level ( L_F50800_D )
    Executed the Open Hub service without checking DELETING Data from table option
    Data loaded with 16 Records from BW to HANA same
    Second time again executed from BW to HANA now 32 records came ( it is going to append )
    Executed the Open Hub service with checking DELETING Data from table option
    Now am getting short Dump DBIF_RSQL_TABLE_KNOWN getting
    If checking in SAP BW system tio SAP BW system it is working fine ..
    will this option supports through DB Connection or not ?
    Please follow the attachemnet along with this discussion and help me to resolve how ?
    From
    Santhosh Kumar

    Hi Ramanjaneyulu ,
    First of all thanks for the reply ,
    Here the issue is At OH level ( Definition Level - DESTINATION TAB and FIELD DEFINITION )
    in that there is check box i have selected already that is what my issue even though selected also
    not performing the deletion from target level .
    SAP BW - to SAP HANA via DBC connection
    1. first time from BW suppose 16 records - Dtp Executed -loaded up to HANA - 16 same
    2. second time again executed from BW - now hana side appaended means 16+16 = 32
    3. so that i used to select the check box at OH level like Deleting data from table
    4. Now excuted the DTP it throws an Short Dump - DBIF_RSQL_TABLE_KNOWN
    Now please tell me how to resolve this ? will this option is applicable for HANA mean to say like , deleting data from table option ...
    Thanks
    Santhosh Kumar

Maybe you are looking for

  • SOAP Receiver Communication Channel error

    Hi, In my scenario, I am calling webservice using soap adapter. I have been encountered with the error SOAP: call failed: java.net.SocketException: Connection reset .. in the communication channel monitoring. Please could you let me know why is this

  • Form field info not showing up, unless field is clicked?

    Hello, I have been receiving PDF files with form fields that contain text. In the past, all the text is visible and if more text is in the box than visible, you get the scroll bar. The last document I received, the text doesn't show up, until I actua

  • Changing Apple ID - Currently sharing one, but need to split into two

    My wife and I currently share the same Apple ID;  however, she has her iPhone synced with the iTunes on her laptop and I have my iPhone synced with my iTunes on my separate laptop.  The problem, of course, is that if we both use the cloud, all our in

  • DW CC 2014 Issues

    I decided to "Upgrade" DW to CC 2014. First problem. This is NOT AN UPGRADE! This is a new installation. The button in Creative Cloud should say 'Install' and not 'Upgrade'. This is extremely irritating! Please give your customers credit for having a

  • Please Post Battery Life Here! Good or Bad

    No comments, just usage, standby time and battery % left. Want to get an idea of the average out there, and not just hear speculation or the worst case scenarios. Me: Standby 7 hours Usage 2 min Battery 77%