Create Copy of Standard Fiori Applications
SAP Fiori is a cutting-edge technology, which is a collection of applications (SAP standard and bespoke) with a simple and enhanced user experience (UX). It applies modern design principles for UX design. SAP Fiori UX represents a personalized, responsive and simple user experience across devices and deployment options.
Running through discussions on SAP SDN you will figure out that beginners always try to create a copy or Z of standard Fiori applications. However, it is not recommended to copy standard Fiori apps, but it is possible if you keep some pointers in mind and follow:
Step 1: Download the code from NW portal by executing report /UI5/UI5_REPOSITORY_LOAD in SE38.
You can find the steps in various extension guides/blogs etc. Or follow this link Extending a Fiori App - Simple Use case - Part 2
Step 2: Create an application project in Eclipse (You should have already setup your development environment before this).
Step 3:Copy your downloaded code to web content folder of your application project. Your folder structure should look like this.
Step 4:Change the namespace of Standard Application. This is the major change which is required. We do the change in namespace to remove the conflict with the standard applications. This changed namespace would be treated as a separate custom application. To change namespace follow:
Open Component.js file and locate namespace -- hcm.mgr.approve.timesheet -- for this application
Change this namespace to zhcm.mgr.approve.timesheet.cust
Repeat Step 4 for all the files in your project.
Step 5: That's it. You are done! You can check the application locally first and then transfer to NW. Refer this link Extending a Fiori App - Simple Use case - Part 3. Make sure you use below parameter value SAPUI5.Component=zhcm.mgr.approve.timesheet.cust
Disclaimer: The links pointed in the document are external links to SDN Community. These links refer to the work of other authors and is included to reduce the redundancy otherwise occur.
Parth Jhalani is a SAP Fiori Consultant/SAPUI5 developer at Syntel. With around 3 years of experience he has won many awards and is recognized as SAP mobility expert in Syntel