OData FW Logo
API Reference (auto-generated)

ZCL_ODATA_MAIN

Auto-generated API reference for ZCL_ODATA_MAIN

ZCL_ODATA_MAIN

Main Odata Class

Interfaces:

  • /iwbep/if_mgw_appl_srv_runtime
  • if_sadl_gw_dpc_util
  • if_sadl_gw_extension_control
  • if_sadl_gw_query_control

Public Methods

constructor

Constructor

ParameterDescription
io_dpc_objectDPC object
iv_namespaceNamespace

before_processing

Before processing

Exceptions:

  • /iwbep/cx_mgw_tech_exception — Technical exception
  • /iwbep/cx_mgw_busi_exception — Business exception

set_context

Set context

ParameterDescription
io_contextContext

Protected Methods

copy_data_to_ref

Copy data to reference

ParameterDescription
i_dataData
c_dataReference

entityset_filter_page_order

order_collection

Sort/order collection

ParameterDescription
io_tech_request_contextTech request
c_dataData

Exceptions:

  • /iwbep/cx_mgw_tech_exception — Error

get_orderby_clause

Get order by clause

ParameterDescription
io_tech_request_contextTech request
rv_orderby_clauseOrder by clause

filter_collection

Filter collection

ParameterDescription
io_tech_request_contextTech request
c_dataData

Exceptions:

  • /iwbep/cx_mgw_tech_exception — Tech error
  • /iwbep/cx_mgw_busi_exception — Business error

paginate_collection

Paginate collection

ParameterDescription
io_tech_request_contextTech request
c_dataData

get_properties

Get properties

ParameterDescription
io_tech_request_contextTech request
r_propertiesProperties

Exceptions:

  • /iwbep/cx_mgw_tech_exception — Error

raise_error

Raise error

ParameterDescription
i_errorError object

Exceptions:

  • /iwbep/cx_mgw_busi_exception — Converted error

get_request_header

Get request header

ParameterDescription
r_request_headersRequest header

Exceptions:

  • /iwbep/cx_mgw_tech_exception — Error

Private Methods

convert_dynamic_where

Convert dynamic where

ParameterDescription
io_tech_request_contextTech request
rt_dynamic_whereDynamic where table

Exceptions:

  • /iwbep/cx_mgw_busi_exception — Business error
  • /iwbep/cx_mgw_tech_exception — Technical error

Auto-generated from zcl_odata_main.clas.abap