Getting Started
1. Installation with abapGit
Install this project with abapGit.
ABAP Cloud
2. Create HTTP Handler
Create a new package with and define a new HTTP handler class:
abap
CLASS zcl_my_abap2UI5_http_handler DEFINITION PUBLIC CREATE PUBLIC.
PUBLIC SECTION.
INTERFACES if_http_extension.
ENDCLASS.
CLASS zcl_my_abap2UI5_http_handler IMPLEMENTATION.
METHOD if_http_extension~handle_request.
z2ui5_cl_http_handler=>run( server ).
ENDMETHOD.
ENDCLASS.
abap
CLASS zcl_my_abap2UI5_http_handler DEFINITION PUBLIC CREATE PUBLIC.
PUBLIC SECTION.
INTERFACES if_http_service_extension.
ENDCLASS.
CLASS zcl_my_abap2UI5_http_handler IMPLEMENTATION.
METHOD if_http_service_extension~handle_request.
z2ui5_cl_http_handler=>run( req = request res = response ).
ENDMETHOD.
ENDCLASS.
3. Create HTTP Service
Use the transaction SICF to create a new HTTP service with the handler above:
ABAP Cloud
For ABAP Cloud environments, follow this guide.
4. Initial Launch
Now access the HTTP endpoint from a web browser: Press "Check" and launch the test app. That’s it! Now you can create a new class and start developing your own abap2UI5 apps.
Security
This project communicates solely with the HTTP service you define, giving you complete control over accessibility, authentication, and other security aspects.