Skip to Content

SCP Fiori Mobile Hybrid Application : Offlne oDATA documentaton ?

I'm struggling to find any clear or coherent documentation on implementing offline oData through SCP Fiori Mobile.

The best info I've came across has been to add the following to Manifest.json here :

https://blogs.sap.com/2017/03/22/make-offline-app-using-sap-cp-mobile-service-for-sap-fiori-part-1/

Is there any other documentation out there?

	"sap.mobile": {
		"_version": "1.1.0",
		"definingRequests": {},
		"stores": [
			{
				"name": "CategorySet",
				"serviceRoot": "/SAPUI5-ABAP-SFI/sap/opu/odata/sap/ZSV_SURVEY_SRV/",
				"definingRequests": {
					"CategorySet": "/CategorySet"
				}
			}
		]
	}
Add comment
10|10000 characters needed characters exceeded

  • I have searched and ask Development to see if we have more doc on this subject.
    With that said it was unclear from your post what your specific problem maybe?
    Can you please let us know
    Thank you

  • Get RSS Feed

2 Answers

  • May 04 at 08:34 AM

    The Issue is when building a packaged SAPUI5 app (HAT plugin installed on WEB IDE) with this manifest.json in SAP WEB IDE (see screen shot), The app is built and the oData offline store is provisioned fine. But second time into the app the store is provisioned again, and hangs. Also, there is no clear and consistent documentation on how to run the offline commands (flush, refresh) etc from a WEB IDE perspective.

    I've found various blog explaining various parts, but nothing that has enabled me to build a working application.

    Do I even need the Manifest.json at all? or do I just upload a configuration file in the SCP Development & Operations service?

    Lastly, the app is packaged in a way that includes the Fiori Dashboard header which isn't necessary (see screenshot), this blog manages to remove it but I can't find anything to disable it. https://blogs.sap.com/2017/03/22/make-offline-app-using-sap-cp-mobile-service-for-sap-fiori-part-1/

    I'm deploying to Android only. We don't need to deploy to iOS as all our company mobiles are on Android.

    Add comment
    10|10000 characters needed characters exceeded

  • May 03 at 07:16 PM

    I have searched and ask Development to see if we have more doc on this subject.
    With that said it was unclear from your post what your specific problem maybe?
    Can you please let us know

    Thank you

    Add comment
    10|10000 characters needed characters exceeded