cancel
Showing results for 
Search instead for 
Did you mean: 

How to use the SYSTEM user in hana cloud

Former Member
0 Kudos

Hello guys, I started with HANA cloud trial, but I havent been able to activate any projects due to an error with permissions,

Repository operation failed

Repository request failed. Cause: Repository: User is not authorized to execute specified operation;User 'DEV_7UKVVFEAC54C2E59OZZQSHXEN' has no authorization, privilege: 'REPO.EDIT_IMPORTED_OBJECTS', package: 'hello'!, code: 40,156, argument:

Now I believe the problem is obvious is that I dont have enough privileges, I went to the Users view and tried to add permissions to my user but I found out other error:

SAP DBTech JDBC: [7]: feature not supported: grantor and grantee are identical


Now I saw in several threads that if we want to add more privileges we should add them using SYSTEM user, but I just dont know how to log in with the SYSTEM user or how to switch to that user.


Any ideas or steps on how to do it?



Greetings!

Accepted Solutions (0)

Answers (3)

Answers (3)

Vlado
Advisor
Advisor
0 Kudos

Please follow this thread: Re: Hana Cloud - Unable to share project - REPO.MAINTAIN_IMPORTED_PACKAGES. We'll update it when the fix is available.

BTW, there is a space dedicated to HCP: SAP HANA Cloud Platform Developer Center

Former Member
0 Kudos

for instance when I try to apply the Step 5 I and try to share the project I get this error

Authorization 'REPO.MAINTAIN_IMPORTED_PACKAGES' missing for package 'p1940791325trial.dev.test2' or one of its parent packages.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

The error is quite specific that you don't have authorization to edit imported objects.  This means you are trying to work within a package which was imported via DU into the system.  Normally you would need extra authorization to locally change objects which originated in a foreign system. 

What package are you trying to do your work within?  Likely you just aren't using the correct package structure.

The HANA Cloud trial is a shared system. You aren't the only developer working on there. Therefore you won't have access to SYSTEM user.

Former Member
0 Kudos

Very true actually I was following the tutorial posted on my trial instance entitled "Creating an SAP HANA XS application" in the step 5 create an XS Project when I try to Share project it pops up an error saying I have not enough privileges, the package I created is p1940791325trial.dev.hello but I havent had any luck sharing the project nor activating. What would you suggest.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

I'm not familiar with this particular tutorial. Is this the package it explicitly tells you to create the project within?  We are dealing with something very specific to the HCP Trial here. But it would seem that either you are creating the project in the wrong package or there was something that went wrong with the creation of your user and you don't have the correct authorizations set.

Former Member
0 Kudos

Well I created another user but still the same, I followed now this tutorial "8 easy steps to create an xs app" () but still getting the permission issue on the repository, I will try to use the web workbench.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

I just tried performing the exact same steps as described in the tutorial and I can confirm that I get the same error. I get the same error from the Web IDE when trying to activate folders created via the sharing wizard of the Studio.

The problem would seem to be with the Studio version that is currently available from the HANA Tools update site.  When packages are created from the project explorer (either directly or through project sharing), they are marked incorrectly as foreign projects (the little blue arrow on the icon).

However if you create the packages via the Content folder of the Systems view (as I did above for the hello package) or via the Web IDE; they are created correctly. I was able to setup a project in the Studio by pre-creating the package in such a way and then creating/sharing the project into the existing package.  I still got an error on the .settings sub-folder, but I could ignore it and still activate the other objects.


Therefore I would suggest this approach or using the Web IDE.

Former Member
0 Kudos

I see in all my packages the blue arrow,  I think I will stick to the web ide, because eclipse throws a couple of permission errors , it might be due to the hana tools versions, I am using the latest for all packages.

greetings!