cancel
Showing results for 
Search instead for 
Did you mean: 

AWS HANA Developer Ed. Access to SAPUI5 Toolkit

stephen_kringas
Active Participant
0 Kudos

Hi,

I've signed up to a Dev instance of HANA on AWS following the signup guide (http://scn.sap.com/docs/DOC-28294)

However when I try and access the SAPUI5 toolkit I get an error saying the link is broken. Below is the URL I try and access the demokit with-

http://<hana_server>:8000/sap/ui5/1/sdk/index.html

I can successfully access the XS status page using

http://<hana_server>:8000

so don't think its a port access issue

Thanks in advance,

Stephen

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Stephen,

Try to redeploy and activate the package. Go to the studio, switch to Modeler perspective. Under content folder, expand the SAP package to find the UI5 package. Right click to bring the context menu and click on redeploy.

After redeploying the package activate it. I hope that helps solve the issue.

Rocky

stephen_kringas
Active Participant
0 Kudos

Hi Rocky,

When I go into the Modeler perspective I actually don't have sub-packages under the sap package like in your screenshot.

Attached is an image that show the packages I can see using the my Dev user and the SYSTEM user.

Is there some additional roles that I need to assign my the users so I can see this package?

Thanks,

Stephen

iwan_santoso4
Participant
0 Kudos

Stephen,

I have on-premises system and it has the package for SAPUI5. In SAP HANA Studio, I have to install UI add on to even be able to create SAPUI5 project. Have you done that? Maybe, i'm just guessing here, that will in turn create the package for you. I doubt it since this install should be only at the client side.

As for as security, I got the following roles:

CONTENT_ADMIN

MODELING

PUBLIC

and does not have anything on Package Privileges.

In System Privileges, I did not see anything related to package. Do you have REPO* authorization in System Privileges?

Rocky,

is yours system on AWS?

Anyone else who has AWS SAP HANA developer edition, can someone verify if you have ui5 package? I was about to get me an account, but if they don't have ui5 package, I might have to reconsider.

- Iwan

Former Member
0 Kudos

@Stephen: you must still be on the older revision, is that correct? Try to upgrade first. Go to EC2 console > Snapshots > Change the viewing to Private Snapshots. You should see an EBS snapshot with "SAP HANA One Dev Edition Rev 48 update" in the description. Click "Create" button. Afterwards, please follow this blog and start from Step 2 directly to proceed with the upgrade.

@Iwan: see above . Yes, only the latest revision has all the UI5 package preinstalled.

Best,

Rocky

stephen_kringas
Active Participant
0 Kudos

Hi Rocky,

It looks like I have the correct version on AWS (screenshot attached). I signed up to the AWS Hana Dev on 9th of Feb so it should be the right version.

Also I couldn't fin the snapshots you mentioned but thought they may not be available cause I'm already on Rev. 48

Cheers,

Stephen

Former Member
0 Kudos

Hmm… you are actually correct, it doesn't seem to get installed when creating a new instance. I'll take this issue to the team and will update you soon. Sorry for the inconvenience.

Former Member
0 Kudos

Hmm… you are actually correct, it doesn't seem to get installed when creating a new instance. I'll take this issue to the team and will update you soon. Sorry for the inconvenience.

Former Member
0 Kudos

Indeed, the SAPUI5 package (and all other standard packages) did not get deployed into the Revision 48 images on AWS. Here is what you can do to get sapui5 running:

  • open the studio (rev 48!) and choose File > Import...
  • choose SAP HANA Content > Delivery Unit and click the "Next" button
  • select your HANA Developer Edition on AWS instance and click the "Next" button
  • select the "Server" radio button and pick /usr/sap/HDB/SYS/global/hdb/auto_content/SAPUI5_1.tgz from "File" dropdown (see screen shot below)
  • Click the "Finish" button

After successful deployment of the delivery unit, you should see the sapui5 packages in the content tree

Follow the same steps for other missing packages you want to use.

Sorry for the inconvenience - we will correct this in future AMIs

--juergen

stephen_kringas
Active Participant
0 Kudos

Thanks Juergen and Rocky for your help. SAPUI5 is up and running.

Cheers.

Former Member
0 Kudos

Release the mac version of the studio!

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi all,

I experience the same problem, however the instructions have no effect. I use Hana on AWS, 1.00.48.372797. There were no UI5 entries in the New wizard, so I've used Import Delivery unit SAPUI5_1.tgz, it went through ok, but still when I try to follow some video and open New/Other, there is no entry mentioning SAPUI5 and I cannot create any UI5 project or whatever. Connecting to http://hana:8000/sap/ui5/1/sdk/index.html works, though.

-- Micha

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

These instructions are only for installing the SAPUI5 framework into the server side.  Since the SDK is accessible, this has been successful on your system. However if you want the SAPUI5 tools in HANA Studio, that is a separate installation step since that would be on your client side.  Note, its not required to have the SAPUI5 tools. You can create the html and js files manually in general Eclipse project; you only lose the code completion.  The HANA Developer Guide has some instructions on installing the SAPUI5 tools into Eclipse/HANA Studio.

Former Member
0 Kudos

Interesting, this would definitely deserve a note in the docs :-). Still, the delivery unit import is made in the client, so the package should appear there, shouldn't it? However, the SDK is not completely functional, when I try out this 20 seconds' UI5, I get the error

[22:49:16.381] Error: failed to load 'sap.ui.core.library' from http://50.16.140.110:8000/sap/ui5/1/resources/sap/ui/core/library.js: 0 - [Exception... "Failure"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: http://50.16.140.110:8000/sap/ui5/1/resources/sap-ui-core.js :: <TOP_LEVEL> :: line 25"  data: no] @ http://50.16.140.110:8000/sap/ui5/1/resources/sap-ui-core.js:41

Note it does not say it didn't find the script file sap-ui-core.js, so the path is not completely wrong... Any ideas?

Cheers,

-- Micha