头图

A set of step-by-step learning tutorials for SAP UI5 beginners

About the Author

Jerry Wang, joined the SAP Chengdu Research Institute after graduating from the University of Electronic Science and Technology of China with a master's degree in computer science in 2007. Jerry is a SAP Community Mentor and a SAP China Technology Ambassador. In his 15-year career in SAP standard product development, Jerry has participated in the research and development of standard products such as SAP Business ByDesign, SAP CRM, SAP Cloud for Customer, SAP S/4HANA, and SAP Commerce Cloud (e-commerce cloud).

Jerry uses ABAP, Java, JavaScript and TypeScript for development, and has in-depth research on various SAP self-developed frameworks including SAP UI5.

Tutorial Directory

illustrate

Jerry has been in contact with SAP UI5 since joining the CRM Fiori development team of SAP Chengdu Research Institute in 2014. He has published many articles on the working principle and source code analysis of SAP UI5 in the SAP community and the WeChat public account "Wang Zixi".

In Jerry's article , a novice who knows nothing about SAP UI5, which materials are better to start with? As I mentioned, Jerry has also come all the way from a SAP UI5 rookie. He knows that it is not easy for developers with only ABAP development background to transform into the SAP UI5 development field, so I designed this learning tutorial for SAP UI5 beginners in my spare time. , Divide the process of developing a complete SAP UI5 application into several steps, and strive to cover all the knowledge points involved in each step. These knowledge points may not be as in-depth as my UI5 source code analysis series articles, but strive to be easy to understand and easy for SAP UI5 beginners to understand.

The source code of each step of this tutorial is stored on my Github , identified by folders 01, 02, 03, etc. For example, the source code of step 1 is here .

Each step builds on the previous step with several new features added. It is recommended that beginners with zero foundation or little knowledge of SAP UI5 learn step by step from the first step in order, download these codes to the local, cooperate with the text explanation of the tutorial, and do it yourself to deepen the understanding.

If you have any questions about each step of the tutorial, you are welcome to comment and leave a message in the article corresponding to the steps of the tutorial.

In the previous articles of this tutorial, we have introduced some usage methods and implementation principles of SAP UI5 Mock Server:

In step 86, we read all 5 Meetup data in the JSON array from the local Meetups.json data file, load it into the Mock Server, and then display it in the list control.

5 pieces of data:

In this article, we add a button to the table control. After clicking, only the first three pieces of data provided by the OData service are read:

In order to let the local Mock Server only return the first three pieces of data in the Meetup.json file, the detailed implementation steps are as follows .

Summarize

The usage scenario of this method introduced in this step is: when the OData service has some server-side specific implementations, such as the ones introduced in this article that are not supported by the OData standard protocol $skip and $top parameters, but to adopt custom url parameters to achieve the requirements. At this time, the Mock Server out of the box of SAP UI5 does not support these custom parameters. You need to follow the steps described in this article to make the Mock Server support these like the standard OData protocol. Special custom parameters.


注销
1k 声望1.6k 粉丝

invalid