Skip to Content
0

SAP Web IDE full Stack Deployment into Abap repository issue

Sep 30, 2017 at 12:01 AM

69

avatar image
Former Member

Guys,

Hi, I developed SAP UI5 using web IDE Full Stack and it works fine and i deployed to HANA cloud platform and i observe it works fine there too. However when i deploy to ABAP repository it is getting deployed successfully. But when i configure it via Fiori tile and execute from launchpad i see some strange behavior that Entity type is not getting populated after i define oModel. I have attached screenshot from debugging where you can see entity type is having value if i execute from webIDE and the other one does not have.

After Deployment into ABAP Repository:

WebIDE screen below during run time

This is the code

var serviceuri = "/S4H-COIL/sap/opu/odata/SAP/ZCOIL_PROCESS_SRV_01";

var oModel = new sap.ui.model.odata.ODataModel(serviceuri, true, "****", "*****")

Do any one of you come across this situation?

Thanks Chandru.R

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

avatar image
Former Member Oct 01, 2017 at 04:44 PM
0

I Just see /S4H-COIL (System name) while defining serviceuri. Does back end Abap system recognize this S4H? Since Destination name S4H-COIL is configured at HCP which Web IDE catch that. How about back end ABAP system.? does it know that? Having said that i tried even passing (http://******/sap******), but still it is not retrieving Entity type that means it is not under standing service uri. I Changed all the UI5 version from 1.38 to 1.44 , but no luck.Anybody has any suggestion?

Thanks

Share
10 |10000 characters needed characters left characters exceeded
Jamie Cawley
Oct 03, 2017 at 12:49 PM
0

To run in an ABAP system your serviceuri should be

"/sap/opu/odata/SAP/ZCOIL_PROCESS_SRV_01"

The route destination in your neo-app should be defined as

    {
      "path": "/sap/opu/odata",
      "target": {
        "type": "destination",
        "name": "<DESTINATION NAME>",
        "entryPath": "/sap/opu/odata"
      },
      "description": "<DESTINATION DESCRIP>"
    }

Regards,

Jamie

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Jamie Cawley,

I tried changing now, but it is not working in web IDE . It is not pulling entity types. Pls check below. It is showing syntax error when i try to add entityPath in neoapp.

Anything wrong in path below?

 {
      "path": "/sap/opu/odata",
      "target": {
        "type": "destination",
        "name": "S4H-COIL"
       },
      "description": "S4H-COIL"
    }

Thanks

0

The entryPath is required. Maybe you forgot the comma after "S4H-COIL"?

Regards,

Jamie

0