|
1 | 1 | # build standalone |
2 | | -All abap2UI5 artifacts are combined into a single HTTP handler implementation. This approach makes your app completely independent of the rest of the system. |
| 2 | +All abap2UI5 artifacts are combined into a single HTTP handler implementation. This approach makes your app completely independent of the rest of the system or any other abap2UI5 installation. |
3 | 3 |
|
4 | | -#### Start |
| 4 | +#### Installation |
5 | 5 |
|
6 | | -App: `z2ui5_cl_my_standalone_app` |
| 6 | +1. Create a new HTTP handler in your system. |
| 7 | +2. Copy & paste the handler class from this repository. |
| 8 | +3. Add your abap2UI5 app as a local class and start it via your new HTTP endpoint. |
| 9 | +4. Alternatively, pull this repository using abapGit. |
7 | 10 |
|
8 | | -API: `/sap/bc/z2ui5standalone?sap-client=001&app_start=z2ui5_cl_my_standalone_app` |
| 11 | +#### Persistence |
| 12 | +To avoid any side effects with other abap2UI5 installations, this version uses the table z2ui5_t_99 for persistence. You can either pull this repository or manually create the following table in your system: |
| 13 | +```cds |
| 14 | +@EndUserText.label : 'abap2ui5 standalone' |
| 15 | +@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE |
| 16 | +@AbapCatalog.tableCategory : #TRANSPARENT |
| 17 | +@AbapCatalog.deliveryClass : #A |
| 18 | +@AbapCatalog.dataMaintenance : #RESTRICTED |
| 19 | +define table z2ui5_t_99 { |
| 20 | + key mandt : mandt not null; |
| 21 | + key id : abap.char(32) not null; |
| 22 | + id_prev : abap.char(32); |
| 23 | + id_prev_app : abap.char(32); |
| 24 | + id_prev_app_stack : abap.char(32); |
| 25 | + timestampl : timestampl; |
| 26 | + uname : abap.char(20); |
| 27 | + data : abap.string(0); |
9 | 28 |
|
| 29 | +} |
| 30 | +``` |
10 | 31 |
|
11 | | -#### Credits |
12 | | -* [abapmerge](https://github.com/larshp/abapmerge) |
| 32 | +#### Info |
| 33 | +* HTTP API: `/sap/bc/z2ui5standalone?sap-client=001&app_start=z2ui5_cl_my_standalone_app` |
| 34 | +* Credits: Created with and powered by the fantastic tool [abapmerge](https://github.com/larshp/abapmerge) |
0 commit comments