SAP ABAP Class CL_RSDR_TYPE_SRVS (Runtime Type Services)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-BEX-OT (Application Component) OLAP Technology
⤷
RSDD (Package) BW: Data basis data manager
⤷
⤷
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_RSDR_CMPLX_TYPE_SRVS | Runtime Type Services | 20060127 |
Properties
| Class | CL_RSDR_TYPE_SRVS | |
| Short Description | Runtime Type Services | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | RSDD | BW: Data basis data manager |
| Created | 20040924 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 4 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_RSDR_TYPE_SRVS has no interface implemented.
Friends
Class CL_RSDR_TYPE_SRVS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | RSFIELDNM | RRKG_C_SPECIAL_FIELDS-BEFL | OLAP Begin/End Flag | 20070131 | ||
| 2 | Constant | Public | Type reference (TYPE) | RSFIELDNM | RRKG_C_SPECIAL_FIELDS-FEMS | Field Name | 20070131 | ||
| 3 | Constant | Public | Type reference (TYPE) | RSFIELDNM | RRKG_C_SPECIAL_FIELDS-KEYEND | Field Name | 20070131 | ||
| 4 | Static Attribute | Private | Type reference (TYPE) | NUMC5 | Name Counter for unique names | 20050426 | |||
| 5 | Constant | Private | Type reference (TYPE) | CHAR9 | '&RSDR_TP_' | Unique name prefix | 20050426 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Create a data-manager compliant t_data (fieldname rsalias) | 20050426 | |
| 2 | Static method | Public | Method | Generate reference to standard table from comp descr | 20040924 | |
| 3 | Static method | Public | Method | 20081113 | ||
| 4 | Static method | Public | Method | Generate reference to structure from comp descr | 20040924 | |
| 5 | Static method | Public | Method | 20081113 | ||
| 6 | Static method | Public | Method | Derive length of a long currency key figure | 20081022 | |
| 7 | Static method | Public | Method | Generate an ABAP Type description/definition | 20041013 | |
| 8 | Static method | Public | Method | Return reference to ABAP elem-descr from COB_PRO entry | 20041026 | |
| 9 | Static method | Private | Method | Retrieve unique name | 20050426 | |
| 10 | Static method | Public | Method | Get ABAP Type Components | 20050829 | |
| 11 | Static method | Public | Method | Get ABAP type components | 20040924 |
Events
Class CL_RSDR_TYPE_SRVS has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TN_S_NAME_MAPPING | Public | See coding | 20050426 | BEGIN OF tn_s_name_mapping,
org_name TYPE string,
new_name TYPE rsalias,
END OF tn_s_name_mapping
|
||
| 2 | TN_S_TABLE_ATTRIBUTES | Public | See coding | 20050829 | BEGIN OF tn_s_table_attributes,
initial_size TYPE i,
key_defkind TYPE abap_keydefkind,
unique_key TYPE abap_bool,
table_kind TYPE abap_tablekind,
END OF tn_s_table_attributes
|
||
| 3 | TN_TH_NAME_MAPPING | Public | See coding | 20050426 | tn_th_name_mapping TYPE HASHED TABLE OF
tn_s_name_mapping WITH UNIQUE KEY org_name INITIAL SIZE 0
|
Method Signatures
Method CREATE_DM_RT_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_RT_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | renamed table | 20050426 | |||
| 2 | E_TH_NAME_MAPPING | Call by reference | Type reference (TYPE) | TN_TH_NAME_MAPPING | name mapping table | 20050426 | |||
| 3 | I_S_DATA | Call by reference | Type reference (TYPE) | ANY | sample line to check | 20050426 | |||
| 4 | I_T_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | Table to check | 20050426 |
Method CREATE_DM_RT_DATA on class CL_RSDR_TYPE_SRVS has no exception.
Method CREATE_RT_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CHARSIZE | Call by reference | Type reference (TYPE) | I | 0 | Character size of org system | 20050818 | ||
| 2 | I_S_TAB_ATTR | Call by reference | Type reference (TYPE) | TN_S_TABLE_ATTRIBUTES | Table attributes | 20050829 | |||
| 3 | I_T_COMPONENTS | Call by reference | Type reference (TYPE) | ABAP_COMPDESCR_TAB | 20040924 | ||||
| 4 | I_T_KEY | Call by reference | Type reference (TYPE) | ABAP_KEYDESCR_TAB | 20050105 | ||||
| 5 | R_RT_DATA | Value transfer | Object reference (TYPE REF TO) | DATA | Reference to t_data structure | 20050105 |
Method CREATE_RT_DATA on class CL_RSDR_TYPE_SRVS has no exception.
Method CREATE_RT_DATA_WITH_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CHARSIZE | Call by reference | Type reference (TYPE) | I | 0 | 20081113 | |||
| 2 | I_S_TAB_ATTR | Call by reference | Type reference (TYPE) | TN_S_TABLE_ATTRIBUTES | 20081113 | ||||
| 3 | I_T_COMPONENTS | Call by reference | Type reference (TYPE) | ABAP_COMPDESCR_TAB | 20081113 | ||||
| 4 | I_T_KEY | Call by reference | Type reference (TYPE) | ABAP_KEYDESCR_TAB | 20081113 | ||||
| 5 | R_RT_DATA | Value transfer | Object reference (TYPE REF TO) | DATA | 20081113 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Operation gescheitert | 20081113 |
Method CREATE_R_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_R_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | Reference to t_data line | 20040924 | |||
| 2 | E_R_SDESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Refernce to structure definition | 20040924 | |||
| 3 | I_CHARSIZE | Call by reference | Type reference (TYPE) | I | 0 | Size of org systems character | 20050818 | ||
| 4 | I_T_COMPONENTS | Call by reference | Type reference (TYPE) | ABAP_COMPDESCR_TAB | 20040924 |
Method CREATE_R_DATA on class CL_RSDR_TYPE_SRVS has no exception.
Method CREATE_R_DATA_WITH_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_R_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20081113 | ||||
| 2 | E_R_SDESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Run Time Type Services | 20081113 | |||
| 3 | I_CHARSIZE | Call by reference | Type reference (TYPE) | I | 20081113 | ||||
| 4 | I_T_COMPONENTS | Call by reference | Type reference (TYPE) | ABAP_COMPDESCR_TAB | 20081113 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Operation gescheitert | 20081113 |
Method DERIVE_LONG_CURR_KYF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_BYTELEN | Call by reference | Type reference (TYPE) | I | length in bytes | 20081022 | |||
| 2 | E_DECIMALS | Call by reference | Type reference (TYPE) | I | length in decimals | 20081022 | |||
| 3 | E_LENGTH | Call by reference | Type reference (TYPE) | I | length in digits | 20081022 | |||
| 4 | E_OUTLEN | Call by reference | Type reference (TYPE) | I | Fascade output length | 20081023 | |||
| 5 | I_DECIMALS | Call by reference | Type reference (TYPE) | RSD_S_COB_PRO-DECIMALS | Anzahl Dezimalstellen | 20081023 | |||
| 6 | I_KYFTP | Call by reference | Type reference (TYPE) | RSD_S_DTA_PRO-KYFTP | Typ einer Kennzahl | 20081023 | |||
| 7 | I_LENGTH | Call by reference | Type reference (TYPE) | RSD_S_COB_PRO-DIGITS | length in digits | 20081022 | |||
| 8 | I_LONG_KYFS | Value transfer | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | Use long key figure lengths | 20081023 |
Method DERIVE_LONG_CURR_KYF on class CL_RSDR_TYPE_SRVS has no exception.
Method GEN_TYPE_DESC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_CODE | Call by reference | Type reference (TYPE) | RSDRS_T_ABAPSOURCE | Generated type description | 20041013 | |||
| 2 | E_T_KEY | Call by reference | Type reference (TYPE) | RSDRC_T_ALIAS | 20041112 | ||||
| 3 | I_STRUCTNM | Call by reference | Type reference (TYPE) | RS_CHAR30 | Structure Name | 20041013 | |||
| 4 | I_S_DATA | Call by reference | Type reference (TYPE) | ANY | Sample line | 20041013 | |||
| 5 | I_T_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | Sample table | 20041013 | |||
| 6 | I_USE_TABLE | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | Use the Table ? | 20041013 |
Method GEN_TYPE_DESC on class CL_RSDR_TYPE_SRVS has no exception.
Method GET_COB_PRO_ELEMDESCR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_LONG_KYFS | Value transfer | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | Extend currency kyfs to survive int/ext conversion | 20081022 | ||
| 2 | I_S_COB_PRO | Call by reference | Type reference (TYPE) | RSD_S_COB_PRO | Eigenschaften InfoObject (im Kontext InfoCube / ODS Objekt) | 20041026 | |||
| 3 | R_ELEM_DESCR | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_ELEMDESCR | Run Time Type Services | 20041026 |
Method GET_COB_PRO_ELEMDESCR on class CL_RSDR_TYPE_SRVS has no exception.
Method GET_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_NAME | Value transfer | Type reference (TYPE) | RSALIAS | BW-DM Feldalias (darf nicht länger als 18 werden ! ) | 20050426 |
Method GET_NAME on class CL_RSDR_TYPE_SRVS has no exception.
Method GET_TABLE_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_S_TAB_ATTR | Call by reference | Type reference (TYPE) | TN_S_TABLE_ATTRIBUTES | Table attributes | 20050829 | |||
| 2 | E_T_KEY | Call by reference | Type reference (TYPE) | ABAP_KEYDESCR_TAB | Type description | 20050829 | |||
| 3 | I_T_DATA | Call by reference | Type reference (TYPE) | ANY TABLE | Data to describe | 20050829 |
Method GET_TABLE_KEY on class CL_RSDR_TYPE_SRVS has no exception.
Method GET_TYPE_COMPONENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_COMPONENTS | Call by reference | Type reference (TYPE) | ABAP_COMPDESCR_TAB | Type description | 20040924 | |||
| 2 | I_S_DATA | Call by reference | Type reference (TYPE) | ANY | Data to describe | 20040924 | |||
| 3 | I_TA_DATA | Call by reference | Type reference (TYPE) | ANY TABLE | Datatable to describe | 20090709 |
Method GET_TYPE_COMPONENTS on class CL_RSDR_TYPE_SRVS has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 700 |