cancel
Showing results for 
Search instead for 
Did you mean: 

HANA UI Integration Services - Empty Widget List

GopalNair
Participant
0 Kudos

Hi Experts,

  I am trying my hands on with UI Integration services on SAP HANA Release 56, running on AWS, Specifically, I am following open SAP course Video : Week 6, Unit 2.

I was able to activate a Specification File and a "Hello World" widget, and proceeded to create the application which consumes the widget.

However, when I get to application configuration, I get an empty widget list, even though I created and activated one already (Please see below screen shot).

Here are list of solutions I tried:

1) Installed UI Integration Services Delivery Unit

2) Re-Installed SAP UI5 on server

2) Restarted HANA server.

What am I doing wrong here?

Best Regards,

Gopal Nair.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi,

Does your user has the role sap.hana.uis.db::SITE_DESIGNER?

If not, grant this role to your user.

I guess you have created a xswidget, right? If not, this how you should do it:

1 . Right click on your project -> New -> Other

2. Choose the 'Widget' wizard

3. During the wizard, you will be asked to select the Specification file.

In addition (not related to this specific problem), don't forget to add a .xsapp file and .xsaccess file to your project in order to expose your Specification for Web access.

.xsapp is simply an empty with.

.xsaccess file content should be something like:

{

    "exposed": true,

    "auth_required": true

}

I hope this helps.

regards,

Zohar

GopalNair
Participant
0 Kudos

Thank you! The role was the issue. Once I assigned the role "sap.hana.uis.db::SITE_DESIGNER", everything is working as expected.

A follow up question though... how did you find out which role is required?

And how would you find out which role is missing, given an issue?

Best Regards,

Gopal Nair.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

The role requirement is documented in section 9.3 of the HANA Developers' Guide:
http://help.sap.com/hana/SAP_HANA_Developer_Guide_en.pdf

GopalNair
Participant
0 Kudos

Thanks Thomas. It indeed is documented in the latest version of developer guide (I was looking at the penultimate version).

That solves this problem, but my clarification still stands, for the following scenario:

Lets say, in a project, things are not working as expected for a developer/end user, and we want to rule out role/authorization issues. In Netweaver AS, its a matter of running transaction SU53, to get a good idea of missing authorizations.

Are there any comparable ways to find missing authorizations in HANA? Is it in any trace files?

Best Regards,

Gopal Nair.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

There are many trace capabilities in HANA. From the Administrative tool choose the Trace configuration tab.  You can perform User-Specific Trace.  That's generally what I would use to track down a suspected authorization problem for a particular user.

0 Kudos

Hi,

Great! I am happy the problem was solved.

This specific error can be found in the diagnosis files (xsengine_alert<host>.trc).

The diagnosis files can be found in the HANA studio (SAP HANA SYSTEMS view -> Diagnosis files tab)

Regards,

Zohar

Answers (0)