Skip to Content
avatar image
Former Member

SAP Web IDE full Stack Deployment into Abap repository issue

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

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

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 03, 2017 at 12:49 PM

    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

    Add comment
    10|10000 characters needed characters exceeded