How to create Component-preload.js files for Fiori Applications
1 Creating Component-preload.js file 1.1 Use of Component-preload.js: Component-preload.js is a minified , obfuscated and uglified file that gathers all the sources of an application to minimize server requests and drastically reduce the application size. Once the development of an application is finished, the resources should be compressed into that file and deployed on the server. Creating the file: The steps required to create the file could be found on http://scn.sap.com/community/mobile/blog/2014/12/10/building-fiori-like-app-in-component-preloadjs . Below is a summary of the steps, plus an additional step which I found necessary to make things work. 1- Download and install Node.js http://nodejs.org/download/ . Once the installation is complete you can check it by running the following command in the command prompt: npm –v 2- I...
Comments
we are making an applcation using SUP 2.0, and this application makes an user to get leave history using a Mobile System from SUP.
I've created the MBO as Attributes using the BAPI: BAPI_LEAVE_HISTORY.
This BAPI has some parameters IN and OUT.
Input parameters are Employee Id and date.
The parameter OUT is a List that retreives the employee leave history.
How to retrieve and show the output
on screen.
I need any tips or blogs/Documents that can help us?