When using the RAP Generator it is necessary to use the latest version of the SAPUI5 libraries.
Please note:
If you don’t have the latest version of the SAPUI5 libraries installed you will get no dialogue asking you for the name of the root entity and for the name of the package when pressing the New Project button in the RAP Generator.
While this is automatically ensured when using a SAP ABAP BTP Environement system (aka Steampunk) in on premise systems the classes that are called when using the Fiori Elements preview will use the locally installed SAPUI5 version instead. Since I am testing my RAP Generator in various test systems where the latest SAPUI5 version was not deployed I thought about a workaround.
The workaround is using an implicit enhancement in the method get_sapui5core_resources_url( ) in the class cl_adt_odatav2_feap.
Please note:
This workaround is only required if (for whatever reason) it is not possible to install the latest SAPUI5 libraries locally on your ABAP on premise system.
◉ Start transaction SE24 and open the class CL_ADT_ODATAV2_FEAP and double-click on the method get_sapui5core_resources_url.
No comments:
Post a Comment