Skip to Content

Go to Part 1


5. Create a Project in Web IDE

           Start from creating a new project File > New > Project from Template

          /wp-content/uploads/2016/03/22_915540.jpg

    • Choose  Smart Template Application from Template Selection and click Next

          /wp-content/uploads/2016/03/23_915541.jpg

    • Provide Basic Information

          /wp-content/uploads/2016/03/24_915542.jpg

    • In Data Connection; select the system and OData service, then click Next

          /wp-content/uploads/2016/03/25_915543.jpg


    • Annotation Selection

          /wp-content/uploads/2016/03/26_915544.jpg

         

With that we are done and our project got created.



6. Edit Project in Web IDE

          /wp-content/uploads/2016/03/27_915545.jpg

Note: i18n is used for internationalization purpose. Hence all the text will be maintained here.

  • You can manually update annotation.xml. Annotation file can be edited in two different ways.
    1. Code Editor
    2. Annotation Modeler

                    /wp-content/uploads/2016/03/28_915546.jpg

Using Code Editor you will have to manually edit the code.

7. Edit using Annotation Modeler

               /wp-content/uploads/2016/03/28_915546.jpg

            /wp-content/uploads/2016/03/30_915548.jpg  

    • Now Add LineItem as Data Field

          /wp-content/uploads/2016/03/31_915549.jpg

          /wp-content/uploads/2016/03/32_915550.jpg

          Click Apply.



6. Run the Application

          /wp-content/uploads/2016/03/33_915554.jpg

          /wp-content/uploads/2016/03/34_915555.jpg

              The Application Preview is started, the application is loading and data is fetched from the OData Service.




7. Deploy the application to UI5 ABAP Repository

     Now we deploy this Fiori Application to our on premise Fiori Launchpad

    • Right click on the project->Deploy->Deploy to SAPUI5 ABAP Repository

          /wp-content/uploads/2016/03/35_915556.jpg

    • Deploy a new application or update an existing application

          /wp-content/uploads/2016/03/36_915557.jpg

    • Click Next,

                    Now select the project from the existing list and Confirm.

                    Now go to ABAP system and check BSP application created for the project.

               /wp-content/uploads/2016/03/37_915558.jpg


8. Deploy the app to an on Premise Fiori Launchpad

          Create Launchpad Role; tcode LPD_CUST -> click on New Launchpad

          /wp-content/uploads/2016/03/38_915559.jpg

          Role: HelloWorld

          Instance: Transactional

          /wp-content/uploads/2016/03/39_915560.jpg

          – Provide URL: /sap/bc/ui5_ui5/sap/* (your project name)

          – Additional Information: SAPUI5.Component=HelloWorld (You can find Component from Compoent.js in Web IDE)

          /wp-content/uploads/2016/03/40_915562.jpg

  • We need a corresponding Semantic Object: tcode-> /UI2/SEMOBJ

          /wp-content/uploads/2016/03/47_915563.jpg

  • Now go to Fiori Designer to create Catalog, tile and group.

https://<host>:<port>/sap/bc/ui5_ui5/sap/arsrvc_upb_admn/main.html?sap-client=200&sap-language=EN

        Enter User and Password

          /wp-content/uploads/2016/03/41_915564.jpg

– Create a Tile

/wp-content/uploads/2016/03/42_915565.jpg

– Create Target Mapping

/wp-content/uploads/2016/03/43_915566.jpg

– Create role for SAP Fiori Tile Catalog

/wp-content/uploads/2016/03/44_915567.jpg

– Add the role into your user

               /wp-content/uploads/2016/03/45_915568.jpg

– Finally run the application

https://<host>:<port>/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-client=200&sap-ui-language=EN&sap-ui-appcache=false#helloworld-display

               /wp-content/uploads/2016/03/46_915569.jpg

To report this post you need to login first.

1 Comment

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

Leave a Reply