1.3 KiB
Every help and PR extending abap2UI5 with additional UI5 controls is welcome!
If you create a view and you miss a specific UI5 control, you can extend the class z2ui5_cl_xml_view. It is an ABAP copy of the UI5 API. Just add a new method named by the control and add its attributes as importing parameters. Do the following:
(0) Analyse the UI5 API for the Control you want to add:
Read the following issue to understand the UI5 API.
(1) Check the name, properties and events of the new control:
(for example sap.m.Button)
(2) Create a new method in the class z2ui5_cl_xml_view named by the control and add all properties you need:
(use always optional and type clike)
(3) Add the implementation:
(wrap boolean properties with the utility class)
(7) Contribute your change by opening a PR.
Thank you for your help!