SAP ABAP Class /IWBEP/CL_MGW_DATA_HELPER (OData Channel data conversion routines)
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
⤷
⤷
Properties
| Class | /IWBEP/CL_MGW_DATA_HELPER | |
| Short Description | OData Channel data conversion routines | |
| Super Class | ||
| 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 | 20120902 | SAP |
| Last change | 20141120 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 3 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 4 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 5 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class /IWBEP/CL_MGW_DATA_HELPER has no interface implemented.
Friends
Class /IWBEP/CL_MGW_DATA_HELPER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | See coding | 20140131 | |||||
| 2 | Constant | Public | See coding | 20140131 | |||||
| 3 | Static Attribute | Private | Type reference (TYPE) | TY_T_COMPLEX_INFO | 20120902 | ||||
| 4 | Static Attribute | Private | Type reference (TYPE) | TY_T_NODE_INFO | 20120902 |
Methods
Events
Class /IWBEP/CL_MGW_DATA_HELPER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_S_COMPLEX_INFO | Private | See coding | 20120902 | BEGIN OF ty_s_complex_info,
current_object TYPE REF TO /iwbep/if_mgw_odata_fw_cplxtyp,
property_infos TYPE ty_t_property_info,
END OF ty_s_complex_info
|
||
| 2 | TY_S_CURRENCY_CODE | Private | See coding | 20120902 | BEGIN OF ty_s_currency_code,
external_name TYPE string,
value_sap TYPE waers_curc,
value_iso TYPE isocd,
END OF ty_s_currency_code
|
||
| 3 | TY_S_NODE_INFO | Private | See coding | 20120902 | BEGIN OF ty_s_node_info,
current_object TYPE REF TO /iwbep/cl_mgw_expand_node,
property_infos TYPE ty_t_property_info,
END OF ty_s_node_info
|
||
| 4 | TY_S_PROPERTY_INFO | Private | See coding | 20120902 | BEGIN OF ty_s_property_info,
external_name TYPE string,
abap_name TYPE fieldname,
property_type TYPE char1, "E/C/S: simple/complex/subnode
property_subtype TYPE char1, "C/U: currency/unit
unit_name TYPE string,
simple_type TYPE REF TO /iwbep/if_mgw_odata_fw_prop,
complex_type TYPE REF TO /iwbep/if_mgw_odata_fw_cplxtyp,
multiplicity TYPE /iwbep/if_mgw_med_odata_types=>ty_e_med_cardinality,
child_node TYPE REF TO /iwbep/cl_mgw_expand_node,
END OF ty_s_property_info
|
||
| 5 | TY_S_UNIT_CODE | Private | See coding | 20140127 | BEGIN OF ty_s_unit_code,
external_name TYPE string,
value_sap TYPE msehi,
value_iso TYPE isocd_unit,
t006_andec TYPE t006-andec, " Round position
t006_decan TYPE t006-decan, " No. of decimal places to display
END OF ty_s_unit_code
|
||
| 6 | TY_T_COMPLEX_INFO | Private | See coding | 20120902 | ty_t_complex_info TYPE STANDARD TABLE OF ty_s_complex_info WITH DEFAULT KEY
|
||
| 7 | TY_T_CURRENCY_CODE | Private | See coding | 20120902 | ty_t_currency_code TYPE SORTED TABLE OF ty_s_currency_code WITH UNIQUE KEY external_name
|
||
| 8 | TY_T_NODE_INFO | Private | See coding | 20120902 | ty_t_node_info TYPE STANDARD TABLE OF ty_s_node_info WITH DEFAULT KEY
|
||
| 9 | TY_T_PROPERTY_INFO | Private | See coding | 20120902 | ty_t_property_info TYPE STANDARD TABLE OF ty_s_property_info WITH DEFAULT KEY
|
||
| 10 | TY_T_UNIT_CODE | Private | See coding | 20140127 | ty_t_unit_code TYPE SORTED TABLE OF ty_s_unit_code WITH UNIQUE KEY external_name
|
Method Signatures
Method CONVERT_COMPLEX_PROPERTY_OUTB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_TARGET_STRUCTURE | Call by reference | Type reference (TYPE) | ANY | 20120903 | ||||
| 2 | IO_COMPLEX_TYPE | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_MGW_ODATA_FW_CPLXTYP | OData Complex Type Read Interface | 20120903 | |||
| 3 | IS_SOURCE_STRUCTURE | Call by reference | Type reference (TYPE) | ANY | 20120903 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Meta data exception | 20140130 | ||
| 2 | Technical Exception | 20140130 |
Method CONVERT_ENTITYSET_OUTB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_TARGET_TABLE | Call by reference | Type reference (TYPE) | ANY TABLE | 20120903 | ||||
| 2 | IO_EXPAND_NODE | Call by reference | Object reference (TYPE REF TO) | /IWBEP/CL_MGW_EXPAND_NODE | 20120903 | ||||
| 3 | IT_SOURCE_TABLE | Call by reference | Type reference (TYPE) | ANY TABLE | 20120903 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Meta data exception | 20140130 | ||
| 2 | Technical Exception | 20140130 |
Method CONVERT_ENTITY_OUTB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_TARGET_STRUCTURE | Call by reference | Type reference (TYPE) | ANY | 20120903 | ||||
| 2 | IO_EXPAND_NODE | Call by reference | Object reference (TYPE REF TO) | /IWBEP/CL_MGW_EXPAND_NODE | OData Channel Expand Node | 20120903 | |||
| 3 | IS_SOURCE_STRUCTURE | Call by reference | Type reference (TYPE) | ANY | 20120903 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Meta data exception | 20140130 | ||
| 2 | Technical Exception | 20140130 |
Method CONVERT_PROPERTY_OUTB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_TARGET_PROPERTY | Call by reference | Type reference (TYPE) | ANY | 20120903 | ||||
| 2 | IO_PROPERTY | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_MGW_ODATA_FW_PROP | OData Property FPI | 20120903 | |||
| 3 | IS_PROPERTY_INFO | Call by reference | Type reference (TYPE) | TY_S_PROPERTY_INFO | 20140130 | ||||
| 4 | IT_CURRENCY_CODE | Call by reference | Type reference (TYPE) | TY_T_CURRENCY_CODE | 20120903 | ||||
| 5 | IT_UNIT_CODE | Call by reference | Type reference (TYPE) | TY_T_UNIT_CODE | 20140127 | ||||
| 6 | IV_SOURCE_PROPERTY | Call by reference | Type reference (TYPE) | ANY | 20120903 |
Method CONVERT_PROPERTY_OUTB on class /IWBEP/CL_MGW_DATA_HELPER has no exception.
Method FORMAT_UNIT_AMOUNT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_OUTPUT | Call by reference | Type reference (TYPE) | ANY | Output | 20140131 | |||
| 2 | IV_INPUT | Call by reference | Type reference (TYPE) | ANY | Input | 20140131 | |||
| 3 | IV_T006_ANDEC | Call by reference | Type reference (TYPE) | T006-ANDEC | No. of decimal places to which rounding should be performed | 20140131 | |||
| 4 | IV_T006_DECAN | Call by reference | Type reference (TYPE) | T006-DECAN | Number of decimal places for number display | 20140131 |
Method FORMAT_UNIT_AMOUNT on class /IWBEP/CL_MGW_DATA_HELPER has no exception.
Method GET_CONVERSION_INFO_COMPLEX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_COMPLEX_INFO | Call by reference | Type reference (TYPE) | TY_S_COMPLEX_INFO | Conversion infor for complex property | 20120902 | |||
| 2 | IO_COMPLEX_TYPE | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_MGW_ODATA_FW_CPLXTYP | OData Complex Type FPI | 20120902 | |||
| 3 | IS_SOURCE_STRUCTURE | Call by reference | Type reference (TYPE) | ANY | Source strucure | 20120902 | |||
| 4 | IS_TARGET_STRUCTURE | Call by reference | Type reference (TYPE) | ANY | Target structure | 20120902 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Meta data exception | 20140130 | ||
| 2 | Technical Exception | 20140130 |
Method GET_CONVERSION_INFO_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_NODE_INFO | Call by reference | Type reference (TYPE) | TY_S_NODE_INFO | Conversion info for node | 20120902 | |||
| 2 | IO_EXPAND_NODE | Call by reference | Object reference (TYPE REF TO) | /IWBEP/CL_MGW_EXPAND_NODE | OData Channel Expand Node | 20120902 | |||
| 3 | IS_SOURCE_STRUCTURE | Call by reference | Type reference (TYPE) | ANY | Source strucure | 20120902 | |||
| 4 | IS_TARGET_STRUCTURE | Call by reference | Type reference (TYPE) | ANY | Target structure | 20120902 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Meta data exception | 20140130 | ||
| 2 | Technical Exception | 20140130 |
Method GET_CURRENCY_CODES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_STRUCTURE | Call by reference | Type reference (TYPE) | ANY | 20140129 | ||||
| 2 | IT_PROPERTY_INFO | Call by reference | Type reference (TYPE) | TY_T_PROPERTY_INFO | 20140129 | ||||
| 3 | RT_CURRENCY_CODE | Value transfer | Type reference (TYPE) | TY_T_CURRENCY_CODE | 20140129 |
Method GET_CURRENCY_CODES on class /IWBEP/CL_MGW_DATA_HELPER has no exception.
Method GET_CURRENCY_UNIT_CODES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CURRENCY_CODE | Call by reference | Type reference (TYPE) | TY_T_CURRENCY_CODE | 20140127 | ||||
| 2 | ET_UNIT_CODE | Call by reference | Type reference (TYPE) | TY_T_UNIT_CODE | 20140127 | ||||
| 3 | IS_STRUCTURE | Call by reference | Type reference (TYPE) | ANY | 20140127 | ||||
| 4 | IT_PROPERTY_INFO | Call by reference | Type reference (TYPE) | TY_T_PROPERTY_INFO | 20140127 |
Method GET_CURRENCY_UNIT_CODES on class /IWBEP/CL_MGW_DATA_HELPER has no exception.
Method INTERNAL_COMPLEX_PROPERTY_OUTB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_TARGET_STRUCTURE | Call by reference | Type reference (TYPE) | ANY | 20130418 | ||||
| 2 | IO_COMPLEX_TYPE | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_MGW_ODATA_FW_CPLXTYP | OData Complex Type Read Interface | 20130418 | |||
| 3 | IS_SOURCE_STRUCTURE | Call by reference | Type reference (TYPE) | ANY | 20130418 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Meta data exception | 20140130 | ||
| 2 | Technical Exception | 20140130 |
Method INTERNAL_ENTITYSET_OUTB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_TARGET_TABLE | Call by reference | Type reference (TYPE) | ANY TABLE | 20130418 | ||||
| 2 | IO_EXPAND_NODE | Call by reference | Object reference (TYPE REF TO) | /IWBEP/CL_MGW_EXPAND_NODE | 20130418 | ||||
| 3 | IT_SOURCE_TABLE | Call by reference | Type reference (TYPE) | ANY TABLE | 20130418 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Meta data exception | 20140130 | ||
| 2 | Technical Exception | 20140130 |
Method INTERNAL_ENTITY_OUTB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_TARGET_STRUCTURE | Call by reference | Type reference (TYPE) | ANY | 20130418 | ||||
| 2 | IO_EXPAND_NODE | Call by reference | Object reference (TYPE REF TO) | /IWBEP/CL_MGW_EXPAND_NODE | OData Channel Expand Node | 20130418 | |||
| 3 | IS_SOURCE_STRUCTURE | Call by reference | Type reference (TYPE) | ANY | 20130418 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Meta data exception | 20140130 | ||
| 2 | Technical Exception | 20140130 |
Method MOVE_CORRESPONDING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_TARGET_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | Target Data | 20120903 | |||
| 2 | IR_SOURCE_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | Source Data | 20120902 |
Method MOVE_CORRESPONDING on class /IWBEP/CL_MGW_DATA_HELPER has no exception.
Method RAISE_FRAMEWORK_EXCEPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_ROOT | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Abstract Superclass for All Global Exceptions | 20140130 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Technical Exception | 20140130 |
Method RESET_GLOBAL_VALUES Signature
Method RESET_GLOBAL_VALUES on class /IWBEP/CL_MGW_DATA_HELPER has no parameter.
Method RESET_GLOBAL_VALUES on class /IWBEP/CL_MGW_DATA_HELPER has no exception.
History
| Last changed by/on | SAP | 20141120 |
| SAP Release Created in | 200 |