cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

sap ui2 libraries

Former Member
0 Likes
882

Hello everyone,

I've recently downloaded some FIORI apps that were installed on a SAP NWG server.

I'm trying to run those apps on my computer, on the localhost, but it seems that I don't have the sap ui2 libraries, for example I get this error:

Uncaught Error: failed to load 'sap/ui2/srvc/error.js' from /sap/public/bc/ui2/services/sap/ui2/srvc/error.js: 404 - Not Found


I've created a new project using Eclipse Kepler + latest SAPUI5 plugins, so the libraries should be up to date. In this PDF http://help.sap.com/saphelp_fiori/fiori10_install_en.pdf (page 😎 you can find this info:


SAP_UI is the successor of the UI2* and UISAPUI5 software components.

but I don't understand if it is something relevant... Any Idea? Where can I find that ui2 lib? what am I missing?


Thank you in advance, regards



Tommaso


Accepted Solutions (1)

Accepted Solutions (1)

SandipAgarwalla
Active Contributor
0 Likes

Go to SICF where Fiori is installed, and chek if the services are activated or not

/sap/public/bc/ui2/services/sap/ui2


All services under Ui2 node should be active.

Former Member
0 Likes

Hi Sandip,

thanks for the reply. Actually I have that error locally on my computer, not server side (on the server Fiori works great with all those apps).

I'm trying to run a single app on the localhost but it throws that error...

Thanks again

SandipAgarwalla
Active Contributor
0 Likes

For locally, how have you configured your Ui5 bootstrap?

for the UI2, give the full location including the server - that will help (be aware of the CORS)

Former Member
0 Likes

Hi,

Did you manage to resolve this - I am stuck at the same point.

I can't see any UI2 libraries in the source structure, do we need to add these manually? And if so from where do I get these?

Regards,

Dev.

abhijeetbhagat3
Explorer
0 Likes

hi Sandip,

I do not have the branch in SICF  "/services/sap/ui2" after /sap/public/bc/ui2/services/sap/ui2

Could you please point me to a note which would help me get this installed on?

Regards,

Abhijeet Bhagat

Answers (0)