15. Through an actual Fiori Elements extension development requirements, introduce what is SAP Fiori Extension API

The previous article of this tutorial introduced how to create a custom Action in the Table area of ​​the SAP Fiori Elements List Report application, and use JavaScript code to print out the currently selected table row item in the click event handler of the button corresponding to the Action business data.

Results as shown below:

The solution in the previous tutorial, according to the input pressparameters of the button's event click handler function oEvent, oSourcegets the Button instance where the click event occurred from its field, and then calls getParentthe method twice in a row to get the instance of the List Report form.

This article introduces another development method to meet the same requirement through Extension API.

Extension API is the connection between the extension development by SAP Fiori Elements application developers and the standard functions provided by the SAP Fiori Elements framework 官方接口.

Only when developers use this set correctly 官方接口, can SAP ensure that the extensions implemented by secondary developers form an organic whole with the standard functions of SAP Fiori Elements, ensuring the correctness and compatibility of system behavior and functions.

Below we extend the example through List Report

Guess you like

Origin blog.csdn.net/i042416/article/details/132395205