Skip to Content

I have been running through most of the discussions on SDN. And figured out that beginners always try to create a copy or Z of standard Fiori applications.

It is not recommended of you to copy standard fiori apps,but its certainly feasible.

Let me take you to a step by step guide on how to do it.

Step1: 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

Step2: Create a application project in Eclipse.(You should have already setup your development environment before this).

               blog_project.PNG

blog_project_2.PNG

Step3: Copy your downloaded code to webcontent folder of your application project. Your folder structure should look like this.

               blog_folder_struct.PNG

Step4: Change the namespace of Standard Application.

               Open Component.js file. You will see that the namespace which SAP follows for this application is hcm.mgr.approve.timesheet .

                    blog_nmspc_1.PNG

                I am changing this to zhcm.mgr.approve.timesheet.cust . Do it for all the files.

               blog_nmspc_2.PNG

Step5: That’s it. You are done!. You can check the application locally first and than 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

Thanks,

Parth Jhalani

To report this post you need to login first.

4 Comments

You must be Logged on to comment or reply to a post.

  1. Anand Patil

    Hello Parth,

    Thank you for this document. I am trying to copy a standard fiori appliaction “sales order create”. As per the documents i have changed the applcaiton “cus.sd.salesorder.create” to “zcus.sd.salesorder.create”.

    but i dont understand what to change in LPD_CUST.

    I have below doubt:

    1. What is the role of the application namespace ? for example we SO create SAP use- jQuery.sap.declare(“cus.sd.salesorder.create.Configuration”);

    2. In LPD_CUST – i have created zrole and assigned my new z application to it then given URL. and Application Alias. what is the role of Additional Information field.

    3. What is the role of Semantic Object and Action. Do we have fixed action assigned to each semantic object ? in the application namespace declaration like “cus.sd.salesorder.create.Configuration“. this namespace is combination of semantic object and action ? like in this case salesorder is semantic object and create is action. because when i checked standard application these object and action is maintained.

    4. My requirement is i want to copy standard application into z and change the code as per the given requirement.

    Thank you in advance to answer my query.

    Regards

    Anand

    (0) 

Leave a Reply