Skip to content

Getting Started

1. Installation with abapGit

Install the project with abapGit.

alt text

ABAP Cloud

alt text

2. Create HTTP Handler

Create a new package and define a new class for the HTTP handler implementation:

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 and create a new HTTP service for abap2UI5:

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

For ABAP Cloud environments, follow this guide.

ABAP Cloudimage-20 BiFOuUXZ

Security

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

4. Initial Launch

After installing the abap2UI5 framework and configuring your HTTP handler, you can 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 applications.