SAP ABAP Class /IWBEP/CL_SBOD_UTIL (SB - OData - Utility)
Hierarchy
☛
SAP_GWFND (Software Component) SAP Gateway Foundation
⤷ OPU-BSE-SB (Application Component) Gateway Service Builder
⤷ /IWBEP/SB_ODATA_DM (Package) Gateway Service Builder - Domain Model Plugin
⤷ OPU-BSE-SB (Application Component) Gateway Service Builder
⤷ /IWBEP/SB_ODATA_DM (Package) Gateway Service Builder - Domain Model Plugin
Properties
Class | /IWBEP/CL_SBOD_UTIL | |
Short Description | SB - OData - Utility | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | /IWBEP/SB_ODATA_DM | Gateway Service Builder - Domain Model Plugin |
Created | 20120217 | SAP |
Last change | 20141120 | |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | /IWBEP/CL_MGW_MED_EDM_UTIL | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
2 | ABAP | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class /IWBEP/CL_SBOD_UTIL has no interface implemented.
Friends
Class /IWBEP/CL_SBOD_UTIL has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | GC_REGEX_EDM_NAME | Constant | Public | Type reference (TYPE) | STRING | '[[:alpha:]]{1}[[:word:]]{0,39}' | 20120823 | ||
2 | GO_REGEX_EDM_NAME | Static Attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_REGEX | Regular Expressions | 20120823 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CALCULATE_ABAP_TYPE | Static method | Public | Method | Calculates the ABAP type from type descriptor | 20120330 |
2 | CALCULATE_ABAP_TYPEDESCR | Static method | Public | Method | Calculates the type descriptor from ABAP type | 20120330 |
3 | CHECK_EDM_NAME | Static method | Public | Method | Validate Entity Data Model name | 20120823 |
4 | CLASS_CONSTRUCTOR | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20120823 |
5 | GET_ABAP_FIELD_KIND_INFO | Static method | Public | Method | Get field kind of one structure field | 20131114 |
6 | GET_EDM_TYPES | Static method | Private | Method | *** OBSOLETE *** | 20130612 |
7 | GET_EDM_TYPE_FROM_DDIC_TYPE | Static method | Private | Method | *** OBSOLETE *** | 20120913 |
8 | GET_PROP_FROM_ABAP_STRUCT | Static method | Public | Method | Get all properties from the abap structure | 20120911 |
9 | GET_STRUCTURE_COMPONENTS | Static method | Public | Method | Get the components of a structure | 20120911 |
10 | LOAD_TEXT | Static method | Public | Method | Loads the text from the text pool | 20120217 |
11 | TRAVERSE_STRUCTURE_COMPONENTS | Static method | Private | Method | Internal handling of the components | 20120911 |
Events
Class /IWBEP/CL_SBOD_UTIL has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TY_S_COMPONENT | Public | See coding | 20120914 | BEGIN OF ty_s_component,
name TYPE fieldname,
type TYPE REF TO cl_abap_datadescr,
description TYPE /iwbep/sbdm_description,
END OF ty_s_component
|
||
2 | TY_S_EDM_TYPE | Public | See coding | 20130612 | BEGIN OF TY_S_EDM_TYPE,
edm_type TYPE /iwbep/sbod_edm_core_type,
description TYPE /iwbep/sbdm_description,
END OF TY_S_EDM_TYPE
|
||
3 | TY_S_FIELD_KIND_INFO | Public | See coding | 20131114 | BEGIN OF ty_s_field_kind_info ,
kind TYPE /iwbep/sbod_abap_field_kind ,
ref_table TYPE reftable ,
ref_field TYPE reffield ,
END OF ty_s_field_kind_info
|
||
4 | TY_T_ABAP_STRC_NAMES | Public | See coding | 20120914 | ty_t_abap_strc_names TYPE STANDARD TABLE OF /iwbep/sbod_abap_strc_name
|
||
5 | TY_T_COMPONENTS | Public | See coding | 20120914 | ty_t_components TYPE STANDARD TABLE OF ty_s_component
|
||
6 | TY_T_EDM_TYPE | Public | See coding | 20130612 | ty_t_edm_type TYPE SORTED TABLE OF ty_s_edm_type WITH UNIQUE KEY edm_type
|
||
7 | TY_T_REF_ABAP_STRC | Public | See coding | 20120914 | ty_t_ref_abap_strc TYPE STANDARD TABLE OF REF TO cl_abap_structdescr
|
Method Signatures
Method CALCULATE_ABAP_TYPE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IO_ABAP_TYPE | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_ELEMDESCR | Runtime Type Services | 20120330 | ||
2 | Returning | RS_ABAP_TYPE | Value transfer | Type reference (TYPE) | /IWBEP/S_SBOD_ABAP_TYPE | SB: OData ABAP Type | 20120330 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /IWBEP/CX_SBCM_EXCEPTION | SB: exception | 20120823 |
Method CALCULATE_ABAP_TYPEDESCR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IS_ABAP_TYPE | Call by reference | Type reference (TYPE) | /IWBEP/S_SBOD_ABAP_TYPE | SB: OData ABAP Type | 20120330 | ||
2 | Returning | RO_ABAP_TYPE | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_ELEMDESCR | Runtime Type Services | 20120330 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /IWBEP/CX_SBCM_EXCEPTION | SB: exception | 20120823 |
Method CHECK_EDM_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_NAME | Call by reference | Type reference (TYPE) | CSEQUENCE | original value from user input (any character or string typ) | 20120823 | ||
2 | Returning | RV_VALID | Value transfer | Type reference (TYPE) | ABAP_BOOL | valid or not? | 20120823 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /IWBEP/CX_SBCM_EXCEPTION | SB: exception | 20120823 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class /IWBEP/CL_SBOD_UTIL has no parameter.
Method CLASS_CONSTRUCTOR on class /IWBEP/CL_SBOD_UTIL has no exception.
Method GET_ABAP_FIELD_KIND_INFO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_FIELD | Call by reference | Type reference (TYPE) | /IWBEP/SBOD_ABAP_FIELD_NAME | Field Name | 20131114 | ||
2 | Importing | IV_STRUCTURE | Call by reference | Type reference (TYPE) | /IWBEP/SBOD_ABAP_STRC_NAME | Structure | 20131114 | ||
3 | Returning | RS_INFO | Value transfer | Type reference (TYPE) | TY_S_FIELD_KIND_INFO | Field Kind Info | 20131114 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /IWBEP/CX_SBCM_EXCEPTION | SB: exception | 20131114 |
Method GET_EDM_TYPES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RT_EDM_TYPES | Value transfer | Type reference (TYPE) | TY_T_EDM_TYPE | 20130612 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /IWBEP/CX_SBCM_EXCEPTION | SB: exception | 20130612 |
Method GET_EDM_TYPE_FROM_DDIC_TYPE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IO_ELEMENT_DESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | Runtime Type Services | 20120913 | ||
2 | Returning | RS_EDM_TYPE | Value transfer | Type reference (TYPE) | /IWBEP/CL_MGW_MED_EDM_UTIL=>TY_GS_EDM_FIELD_DESC | 20120913 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /IWBEP/CX_SBCM_EXCEPTION | SB: exception | 20120913 |
Method GET_PROP_FROM_ABAP_STRUCT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_COMPONENTS | Call by reference | Type reference (TYPE) | TY_T_COMPONENTS | 20120911 | |||
2 | Importing | IT_EXCL_ABAP_STRC_NAMES | Call by reference | Type reference (TYPE) | TY_T_ABAP_STRC_NAMES | 20120914 | |||
3 | Importing | IV_ABAP_STRUCT_NAME | Call by reference | Type reference (TYPE) | /IWBEP/SBOD_ABAP_STRC_NAME | ABAP structure name | 20120911 |
Method GET_PROP_FROM_ABAP_STRUCT on class /IWBEP/CL_SBOD_UTIL has no exception.
Method GET_STRUCTURE_COMPONENTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CT_COMPONENTS | Call by reference | Type reference (TYPE) | ABAP_COMPONENT_TAB | 20120911 | |||
2 | Importing | IO_STRUCTURE_DESCRIPTOR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20120911 | ||
3 | Importing | IT_REF_EXCL_ABAP_STRC | Call by reference | Type reference (TYPE) | TY_T_REF_ABAP_STRC | 20120914 |
Method GET_STRUCTURE_COMPONENTS on class /IWBEP/CL_SBOD_UTIL has no exception.
Method LOAD_TEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IS_TXT_REF | Call by reference | Type reference (TYPE) | /IWBEP/S_SBOD_TXT_REF | SB: OData Text Reference | 20120217 | ||
2 | Returning | RV_TEXT | Value transfer | Type reference (TYPE) | STRING | 20120217 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /IWBEP/CX_SBCM_EXCEPTION | SB: exception | 20120823 |
Method TRAVERSE_STRUCTURE_COMPONENTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CT_COMPONENTS | Call by reference | Type reference (TYPE) | ABAP_COMPONENT_TAB | 20120911 | |||
2 | Importing | IO_STRUCTURE_DESCRIPTOR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20120911 | ||
3 | Importing | IT_REF_EXCL_ABAP_STRC | Call by reference | Type reference (TYPE) | TY_T_REF_ABAP_STRC | 20120914 | |||
4 | Importing | IV_NAME | Call by reference | Type reference (TYPE) | STRING | 20120911 | |||
5 | Importing | IV_SUFFIX | Call by reference | Type reference (TYPE) | STRING | 20120911 |
Method TRAVERSE_STRUCTURE_COMPONENTS on class /IWBEP/CL_SBOD_UTIL has no exception.
History
Last changed by/on | SAP | 20141120 |
SAP Release Created in | 200 |