Skip to content

Getting Started

1. Installation with abapGit

Install this project with abapGit.

alt text

ABAP Cloud

alt text

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:

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

ABAP Cloud

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

4. Initial Launch

Now access the HTTP endpoint from a web browser: image 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.