Monday, September 5, 2016

Very first steps in UI5

Precondition:

You have your Eclipse with UI5 extensions installed.
 

Create new UI5 project

  1. File - New - Other - SAP UI5 Application Development - Application Project
  2. Next
  3. Enter project's name
  4. choose sap.m library (sap.ui.commons is obsolete)
  5. Next
  6. Enter name of Initial view in "Name"
  7. choose XML as "Development Paradigm"
  8. Finish

Start application

  1. right click on project
  2. Run as - Web App preview
  3. Application starts in new tab in Eclipse
  4. Copy the link and start the app in Chrome
 

 Debugging

  • Use Chrome's Debugger, pressing F12
  • Add the Parameter ?sap-ui-debug=true to the URL

No comments:

Post a Comment

SAP ABAP: Determine Timezone for Plant

    DATA:       lt_tzone TYPE STANDARD TABLE OF tznzone WITH DEFAULT KEY,       l_tzone  TYPE tznzone.     " get time zone for plant   ...