Skip to content

Easy access to gateway requests

Notifications You must be signed in to change notification settings

whothefluff/abap-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

abap-gateway

The gateway library hides information unnecessarily and in a weird convoluted way that makes it harder to use for some incomprehensible reason.

Some uses

data(request) = new zcl_gw_request( io_tech_request_context ).
  1. Generate SQL WHERE condition string (basically for $filter operation, although it also supports a search with the full ID):

    data(sql_where_string) = request->sql_where( ).
  2. Generate SQL fields string (handles $select query option for you, for free):

    data(sql_fields_string) = request->sql_fields( ).
  3. Get the OData model (why shouldn't you able to in the first place smh):

    data(odata_model) = request->model( ).
  4. Access the full original request (tis but a wrapper, this object of mine):

    data(full_request) = request->original( ).

dependencies:

About

Easy access to gateway requests

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages