Git Product home page Git Product logo

abap2ui5clone's Introduction

abap2UI5

Development of UI5 Apps in pure ABAP. Follow this project on Twitter to keep up to date!

Features

  • easy to use – implement just one interface for a standalone UI5 application
  • pure ABAP – development using 100% ABAP (no JavaScript, DDL, EML or Customizing)
  • low system footprint – based on a plain http handler (no BSP, OData, CDS, BOPF or RAP)
  • cloud and on-premise ready – works with both language versions (ABAP for Cloud, Standard ABAP)
  • high system compatibility – runs on all ABAP releases (from NW 7.02 to ABAP 2305)
  • easy installation – abapGit project, no additional app deployment needed

Compatibility

  • BTP ABAP Environment (ABAP for Cloud)
  • S/4 Public Cloud ABAP Environment (ABAP for Cloud)
  • S/4 Private Cloud or On-Premise (ABAP for Cloud, Standard ABAP)
  • R/3 NetWeaver AS ABAP 7.50 or higher (Standard ABAP)
  • R/3 NetWeaver AS ABAP 7.02 to 7.42 - use the low syntax branch

Information (Blog Series)

  1. Introduction: Developing UI5 Apps in pure ABAP (Blog SCN - 22.02.2023)
  2. Displaying Selection Screens & Tables (Blog SCN - 23.02.2023)
  3. Popups, F4-Help, Messages & Controller Logic (Blog SCN - 30.03.2023)
  4. Advanced Functionality & Demonstrations (Blog SCN - 02.04.2023)
  5. Extensions with XML Views, HTML, JS & Custom Controls (Blog SCN - 12.04.2023)
  6. Installation, Configuration & Debugging (Blog SCN - 14.04.2023)
  7. Technical Background: Under the Hood of abap2UI5 (Blog SCN - 26.04.2023)

More

Demo

Installation

Install with abapGit, create a new HTTP service and call abap2UI5. For more information, check out this documentation.

ABAP for Cloud:
METHOD if_http_service_extension~handle_request.

   z2ui5_cl_http_handler=>client = VALUE #(
      t_header = request->get_header_fields( )
      t_param  = request->get_form_fields( )
      body     = request->get_text( ) ).

   DATA(lv_resp) = SWITCH #( request->get_method( )
      WHEN 'GET'  THEN z2ui5_cl_http_handler=>http_get( )
      WHEN 'POST' THEN z2ui5_cl_http_handler=>http_post( ) ).

   response->set_status( 200 )->set_text( lv_resp ).

ENDMETHOD.
Standard ABAP:
METHOD if_http_extension~handle_request.

   DATA lt_header TYPE tihttpnvp.
   server->request->get_header_fields( CHANGING fields = lt_header ).

   DATA lt_param TYPE tihttpnvp.
   server->request->get_form_fields( CHANGING fields = lt_param ).

   z2ui5_cl_http_handler=>client = VALUE #(
      t_header = lt_header
      t_param  = lt_param
      body     = server->request->get_cdata( ) ).

   DATA(lv_resp) = SWITCH #( server->request->get_method( )
      WHEN 'GET'  THEN z2ui5_cl_http_handler=>http_get( )
      WHEN 'POST' THEN z2ui5_cl_http_handler=>http_post( ) ).

   server->response->set_cdata( lv_resp ).
   server->response->set_status( code = 200 reason = 'success' ).

ENDMETHOD.

FAQ

  • read these instructions when you develop your first app
  • running into problems with your app? or want to configure the theme, bootstrapping, language and title? see configuration & debugging
  • as always - your comments, questions, wishes and bugs are welcome, please create an issue

abap2ui5clone's People

Contributors

christianguenter2 avatar larshp avatar mbtools avatar nomssi avatar oblomov-dev avatar sun-tassein avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.