cancel
Showing results for 
Search instead for 
Did you mean: 

Hana Cloud - Unable to share project - REPO.MAINTAIN_IMPORTED_PACKAGES

Former Member
0 Kudos

Dear experts,

I'm trying to create a XS Application project into to my Hana Cloud trial account, but every time I try to share the project in the workspace I get the error below:

Authorization 'REPO.MAINTAIN_IMPORTED_PACKAGES' missing for package '<user account>.<package name>' or one of its parent packages.

I have followed all the steps described on the link

https://help.hana.ondemand.com/help/frameset.htm?3762b229a4074fc59ac6a9ee7404f8c9.html

I also checked the proposed solutions from the previous discussion below, but it didn't solved the problem.

I reinstalled Eclipe Kepler and all its plugins to be sure I used the most updated version...

Does anyone know how to fix this or have a workaround for that?

Regards,

Gustavo

Accepted Solutions (1)

Accepted Solutions (1)

Vlado
Advisor
Advisor
0 Kudos

Hi all,

Currently there is an issue with HANA tools that results in the above error. We are working on it and hope to provide a fix on the update site early next week. We'll keep you posted.

Sorry for the inconvenience.

--Vlado

Former Member
0 Kudos

Has it been solved?

alexander_silgidjian
Active Participant
0 Kudos

Hi All,

The issue is solved.

Please update your tools in order to receive the fix.

You will have to delete the erroneous HANA Systems from your IDE and add them again.

Sorry for the disturbance.

Kind Regards,

Alex

Former Member
0 Kudos

Hi.

As recommended I updated the Software Tools, added HANA System and repository. I defined the XS Project and shared it.

It works!

Thanks for the fix.

Regards

Michael

Answers (7)

Answers (7)

ErickT
Explorer
0 Kudos

Hi,

I just came across this same issue. I can see that the issue has a resolution but its not very clear to me how to apply the fix. What software tools exactly do I need to update? Note that I;m using a fresh installation of eclipse following the instructions from Developer Center and using the latest SAP developments tools.

- https://tools.hana.ondemand.com/#cloud

-https://tools.hana.ondemand.com/#hanatools

Appreciate your help. Thanks

Cheers

Erick

ErickT
Explorer
0 Kudos

Hi,

I found the solution as described by Yashu Liang. Thanks

Cheers

Erick

0 Kudos

Finally it worked for me, but the documentation should really be improved so every reader of the documentation can understand:

SAP HANA Cloud Platform

5. Create an XS Project

4. Browse to select the path C:\HANAXSws\myhanaxs\i12345trial\myhanaxs\hello.

Note that this path must match that specified in the previous section.


Here it is not possible for me to "select" the path!!!


And first you must deselect "share project in SAP repository"!!!


Could someone change the documentation?


Thank you.


Regards, Yashu

0 Kudos

Jamies's sample is really right, yesterday I also find the same workaround with Jamie's, When I want to share with you, I find Jamie already shread his sample.

Regards,

Eric

Former Member
0 Kudos

OK. I checked the discussion mentioned before: Failed to create a "hello world" ANA XS Application.

The workaround works as following:

1) Just create the XS Project without sharing it with the SAP Hana repository

2) Create the different files: .xsaccess, .xsapp, .xsprivileges, model_access.hdbr, hello.xsjs

3) Start the SAP Hana cockpit and login to your account

4) Select Hana Instance, open SAP HANA Web-based Development Workbench

5) Drag and drop the 5 files which were generated in 2) and save all

6) Now the Hana Instance should show theapplication

7) Select Hana XS application and double click on the URL

😎 Hopefully you see this result:


Hello, P1234567890trial

This is the response from my SQL. The current user is: P1234567890trial

Mission accomplished!

Regards

Michael

Former Member
0 Kudos

I went through the complete procedure again:

1) Install a new Eclipse with necessary SAP Tools

2) Delete trial instance and create a new one

3) Add the new cloud system

4) Add a new package

5) Create a repository

6) Create project

7) But when I try to share the project, the fault message still comes up:

Authorization 'REPO.MAINTAIN_IMPORTED_PACKAGES' missing for package 'p0123456789trial.myhanaxs.hello' or one of its parent packages.

Any ideas how to do solve this problem?

Regards

Michael

sandeep_joseph
Explorer
0 Kudos

I face the same problem too...

0 Kudos

Hi Sandeep,

Check this out .

Regards, Yashu

JWiseman
Active Contributor
0 Kudos

here's what worked for me using studio...let me know if it works for you as well.

-jamie

0 Kudos

I also meet the same problem, I asked other India colleague who also meet this problem, now he is sloved, becuase he used a productive user instance, but for trial account,  it still can't work.

Former Member
0 Kudos

Hi Gustavo,

I faced the same problem. And I also maked sure that I follow all advices I found in the community. I even tried two different Operating Systems (Windows 7 and Mac OS). But in the end the authorization kept missing.

I hope anybody comes up with a solution for this problem.

Regards

Michael

Former Member
0 Kudos

Hi Gustavo and Mike,

Have you got this problem solved? If so, can you please let me know how you solved?

Does anyone have any comment on this issue? I am also facing the sale issue.

Regards,

Karthick C

Former Member
0 Kudos

I didn't find a solution yet and neither a workaround for this problem.