SAP ABAP Class /IWBEP/CL_MGW_REQUEST_UNITTST (Unit test enabling Request Context)
Hierarchy
☛
SAP_GWFND (Software Component) SAP Gateway Foundation
⤷ OPU-BSE-SDE (Application Component) Gateway SAP Data Enablement
⤷ /IWBEP/MGW_GSR_CORE (Package) OData Channel - Service Interface - Core
⤷ OPU-BSE-SDE (Application Component) Gateway SAP Data Enablement
⤷ /IWBEP/MGW_GSR_CORE (Package) OData Channel - Service Interface - Core
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | /IWBEP/CL_MGW_REQUEST | OData Channel Request | 20131008 |
Properties
Class | /IWBEP/CL_MGW_REQUEST_UNITTST | |
Short Description | Unit test enabling Request Context | |
Super Class | /IWBEP/CL_MGW_REQUEST | OData Channel Request |
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | /IWBEP/MGW_GSR_CORE | OData Channel - Service Interface - Core |
Created | 20131008 | SAP |
Last change | 20141120 | |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class /IWBEP/CL_MGW_REQUEST_UNITTST has no forward declaration.
Interfaces
Class /IWBEP/CL_MGW_REQUEST_UNITTST has no interface implemented.
Friends
Class /IWBEP/CL_MGW_REQUEST_UNITTST has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | MS_CONVERTED_KEYS | Instance attribute | Public | Object reference (TYPE REF TO) | DATA | 20131009 | |||
2 | MS_CONVERTED_PARAMETERS | Instance attribute | Public | Object reference (TYPE REF TO) | DATA | 20131009 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CONSTRUCTOR | Instance method | Public | Constructor | CONSTRUCTOR | 20131009 |
2 | GET_CONVERTED_KEYS | Instance method | Private | Method | Retrieves the converted keys | 20131009 |
3 | GET_CONVERTED_PARAMETERS | Instance method | Private | Method | Retrieves the converted action parameters | 20131009 |
4 | SET_CONVERTED_KEYS | Instance method | Public | Method | Set the converted keys | 20131009 |
5 | SET_CONVERTED_PARAMETERS | Instance method | Public | Method | Set the converted action parameters | 20131009 |
6 | SET_FILTER | Instance method | Public | Method | Set the filter object | 20131009 |
7 | SET_REQUEST_CONTEXT | Instance method | Public | Method | Set the request context values | 20131008 |
Events
Class /IWBEP/CL_MGW_REQUEST_UNITTST has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TECHNICAL_REQUEST_S | Public | See coding | 20131008 | BEGIN OF technical_request_s,
source_entity_type TYPE /iwbep/mgw_tech_name, " name of the entity from the first segment
target_entity_type TYPE /iwbep/mgw_tech_name, " name of the entity from the last segment
source_entity_set TYPE /iwbep/mgw_tech_name, " name of the entity set from the first segment
target_entity_set TYPE /iwbep/mgw_tech_name, " name of the entity set from the last segment
key TYPE string, " key for the first segment
key_tab TYPE /IWBEP/T_MGW_NAME_VALUE_PAIR, " key fields for the first segment
converted_keys type ref to data,
navigation_path TYPE /IWBEP/T_MGW_NAVIGATION_PATH, " navigation_path (navprop, key table)
filter_select_options TYPE /iwbep/t_mgw_select_option, " filter as select options; empty if not available
filter_string TYPE string, " filter string
order TYPE /IWBEP/T_MGW_SORTING_ORDER, " orderby=firstName [asc],lastName desc
select TYPE /iwbep/t_mgw_tech_field_names, " select
totals TYPE /iwbep/t_mgw_tech_field_names, " totals
expand TYPE string, " expand
components TYPE string_table, " list of components for PATCH -> partial update every line represents a property path
action_name TYPE /iwbep/mgw_tech_name, " name of the action (function import)
action_parameters TYPE /iwbep/t_mgw_name_value_pair, " parameters of the action (function import)
conv_action_parameters TYPE REF TO data,
action_return_type TYPE /iwbep/mgw_tech_name, " return type of the action (function import)
parameters TYPE /iwbep/t_mgw_name_value_pair, " http header, request parameters, $select parameters, ...
key_converter TYPE REF TO object, " converter for URI keys
filter_expressions TYPE tt_expressions, " $filter Expression in Tree Representation
filter_functions TYPE tt_functions, " Functions in $filter Expression
filter_object type REF TO /IWBEP/IF_MGW_REQ_FILTER,
request_header TYPE tihttpnvp, " HTTP request header from OData consumer
END OF technical_request_s
|
||
2 | TT_EXPRESSIONS | Public | See coding | 20131009 | tt_expressions TYPE STANDARD TABLE OF ty_expression WITH DEFAULT KEY
|
||
3 | TT_FUNCTIONS | Public | See coding | 20131009 | tt_functions TYPE STANDARD TABLE OF ty_function WITH DEFAULT KEY
|
||
4 | TT_PARAMETERS | Public | See coding | 20131009 | tt_parameters TYPE STANDARD TABLE OF ty_parameter WITH DEFAULT KEY
|
||
5 | TY_EXPRESSION | Public | See coding | 20131009 | BEGIN OF ty_expression,
expression_id TYPE sysuuid_c,
l_operand TYPE string,
l_oprnd_int TYPE string,
lop_id TYPE sysuuid_c,
lop_type TYPE char1,
operator TYPE string,
r_operand TYPE string,
r_oprnd_int TYPE string,
literal_type TYPE string,
rop_id TYPE sysuuid_c,
rop_type TYPE char1,
END OF ty_expression
|
||
6 | TY_FUNCTION | Public | See coding | 20131009 | BEGIN OF ty_function,
function_id TYPE sysuuid_c,
function TYPE string,
param_tab TYPE tt_parameters,
END OF ty_function
|
||
7 | TY_PARAMETER | Public | See coding | 20131009 | BEGIN OF ty_parameter,
param_id TYPE sysuuid_c,
param_type TYPE char1,
param_value TYPE string,
param_int TYPE string,
literal_type TYPE string,
function_id TYPE sysuuid_c,
END OF ty_parameter
|
||
8 | TY_S_DEFI_ALIAS_INFO | Public | See coding | 20131009 | BEGIN OF ty_s_defi_alias_info,
system_alias TYPE char16,
rfc_dest TYPE char32,
ws_provider_syst TYPE char120,
software_version TYPE char16,
hana_db_connection TYPE char30,
END OF ty_s_defi_alias_info
|
||
9 | TY_S_MGW_PAGING | Public | See coding | 20131009 | BEGIN OF ty_s_mgw_paging,
top TYPE string,
skip TYPE string,
END OF ty_s_mgw_paging
|
||
10 | TY_S_MGW_REQUEST_CONTEXT_UNIT | Public | See coding | 20131008 | BEGIN OF ty_s_mgw_request_context_unit,
* service_doc_name TYPE string,
* namespace TYPE string,
* version TYPE /iwbep/med_mdl_version,
* cache_timestamp TYPE tzntstmps,
* base_url TYPE string,
* http_method TYPE string, " POST, PUT, DELETE, GET, ...
* icf_root_node TYPE icfname,
* system_alias_info TYPE ty_s_defi_alias_info,
* context_params TYPE /iwbep/t_mgw_name_value_pair,
* format TYPE string, " atom, xml, json, etc.
* type TYPE string, " feed, entry, attribute, command
* operation TYPE string, " create, read, update, delete, count, value, ..
paging TYPE ty_s_mgw_paging,
parameters TYPE /iwbep/t_mgw_name_value_pair,
technical_request TYPE technical_request_s ,
END OF ty_s_mgw_request_context_unit
|
Method Signatures
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IO_MODEL | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_MGW_ODATA_FW_MODEL | OData Model FPI | 20131009 | ||
2 | Importing | IT_HEADERS | Call by reference | Type reference (TYPE) | TIHTTPNVP | 20131009 |
Method CONSTRUCTOR on class /IWBEP/CL_MGW_REQUEST_UNITTST has no exception.
Method GET_CONVERTED_KEYS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RS_CONVERTED_KEYS | Value transfer | Object reference (TYPE REF TO) | DATA | 20131009 |
Method GET_CONVERTED_KEYS on class /IWBEP/CL_MGW_REQUEST_UNITTST has no exception.
Method GET_CONVERTED_PARAMETERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RS_CONVERTED_PARAMETERS | Value transfer | Object reference (TYPE REF TO) | DATA | 20131009 |
Method GET_CONVERTED_PARAMETERS on class /IWBEP/CL_MGW_REQUEST_UNITTST has no exception.
Method SET_CONVERTED_KEYS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IS_CONVERTED_KEYS | Call by reference | Object reference (TYPE REF TO) | DATA | 20131009 |
Method SET_CONVERTED_KEYS on class /IWBEP/CL_MGW_REQUEST_UNITTST has no exception.
Method SET_CONVERTED_PARAMETERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IS_CONVERTED_PARAMETERS | Call by reference | Object reference (TYPE REF TO) | DATA | 20131009 |
Method SET_CONVERTED_PARAMETERS on class /IWBEP/CL_MGW_REQUEST_UNITTST has no exception.
Method SET_FILTER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IO_FILTER | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_MGW_REQ_FILTER | Filter Object based on Filter System Query Option ($filter) | 20131009 |
Method SET_FILTER on class /IWBEP/CL_MGW_REQUEST_UNITTST has no exception.
Method SET_REQUEST_CONTEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IR_REQUEST_CONTEXT | Call by reference | Object reference (TYPE REF TO) | TY_S_MGW_REQUEST_CONTEXT_UNIT | 20131008 |
Method SET_REQUEST_CONTEXT on class /IWBEP/CL_MGW_REQUEST_UNITTST has no exception.
History
Last changed by/on | SAP | 20141120 |
SAP Release Created in | 200 |