Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3668

Replace service works in Web IDE not when deployed

$
0
0

Hello Everyone,

 

I have created an enhancement project for the default Create Travel Request Fiori app.  In doing so I also redefined the existing odata service SRA004_SRV to include additional entities and called this extended service ZRA004_SRV.  I was able to successfully utilize this new service in my app when developing in the hosted Web IDE.  The changes to the app manifest.json are as such:

 

 

"dataSources": {

          "SRA004_SRV": {

                  "uri": "/sap/opu/odata/sap/ZRA004_SRV/",

                         "settings": {

                                "localUri": "./localService/metadata.xml"

                           }

                   }

            },

            "sourceTemplate": {

                     "id": "fioriexttemplate.replaceservicecomponent",

                              "version": "1.4.0"

                       }

 

 

When I deploy my app to the Abap repository - creating my new catalog, semantic object, etc.. along the way I am able to run my new app HOWEVER it is NOT calling the newly defined service and is instead calling the original oData service... does anyone know why the extended service is not called and the old one is???

 

All help is appreciated!

 

regards,

 

Kevin


Viewing all articles
Browse latest Browse all 3668

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>