cancel
Showing results for 
Search instead for 
Did you mean: 

deploy sapui5 application with odata service in portal entreprise java

ouarrachi
Discoverer
0 Kudos

Hello everyone, I have a problem when deploying a sapui5 application in EP (portal entreprise java) that I develop in web IDE, this application uses ODATA as a service, I put all the necessary steps (upload web resources repository, create iview, create role), but the odata problem persists. odata is not loaded.

ressource repository:

Index.html

manifest

iview property:

error 1

error 2 when i click on application ($metadata)

AlexNecula
Active Contributor

Hi, I don't have experience with enterprise portal so it's just a guess here...are you sure /sap/opu/odata/sap/ZFORMATION_SRV is the correct path for you? It is normally the correct path for an ECC/S4 system but in your case it could be different.

I am saying this because the path to your app seems to be /com.sap.porta.resourcerepository/repo/fioriApplication/crud_demo while on ECC/S4 it is /sap/bc/ui5_ui5/sap/crud_demo.

I don't know how the odata service is defined in your environemnt, but you should check how you can access it directly in browser first, then modify the UI5 app to use the correct URI. As to how to find the correct path for the odata service...maybe someone with more experience than me in enterprise portal can help

gregorw
Active Contributor
0 Kudos

Why do you implement in 2023 anything on the Portal? It's end of life and will go out of standard support in 2027.

Accepted Solutions (0)

Answers (0)