Skip to content

Installation

1. Installation with abapGit

Install abap2UI5 with abapGit:

alt text

ABAP Cloud

alt text

2. Create HTTP Handler

Create a new package and define a new HTTP handler class:

abap
CLASS zcl_my_abap2UI5_http_handler DEFINITION 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.
  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:

395892553-dd699c28-1b4e-4751-a049-0f01962a70ae
alt text

ABAP Cloud

For ABAP Cloud environments, follow this guide.image-20 BiFOuUXZ

4. Initial Launch

Now open the HTTP endpoint in your web browser: image Press check and launch the test app. That's it! You're ready to create your own abap2UI5 apps – just create a new class and start coding.

Security

This project communicates solely with the HTTP service you define, giving you complete control over accessibility, authentication, and other security aspects.