Skip to content

Downporting

abap2UI5 works out of the box with ABAP version 750. If you are on a lower release, you can install the downported repositories.

All downported versions of abap2UI5 and its addons can be found here:
abap2UI5-downported

For more information on this concept, check out this blog post:
Running abap2UI5 on older releases

The HTTP handler implemenation for lower releases looks like this:

abap
CLASS z2ui5_cl_launchpad_handler DEFINITION PUBLIC FINAL CREATE PUBLIC .

  PUBLIC SECTION.
    INTERFACES if_http_extension.

  PROTECTED SECTION.
  PRIVATE SECTION.
ENDCLASS.

CLASS z2ui5_cl_launchpad_handler IMPLEMENTATION.

  METHOD if_http_extension~handle_request.

    DATA lo_handler type ref to z2ui5_cl_http_handler.
    lo_handler = z2ui5_cl_http_handler=>factory( server ).
    lo_handler->main( ).

  ENDMETHOD.

ENDCLASS.

Adjust the sql syntax in the following class z2ui5_cl_core_srv_draft:
https://github.com/abap2UI5-downported/abap2UI5/blob/main/src/01/01/z2ui5_cl_core_srv_draft.clas.abap