SAP CL_ABAP_TABLEDESCR OO Class - Runtime Type Services
CL_ABAP_TABLEDESCR is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class CL_ABAP_TABLEDESCR including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Inheritance
This OO class has a superclass assigned to it, which means it will inherit its objects and methods. The superclass for CL_ABAP_TABLEDESCR is CL_ABAP_COMPLEXDESCRMethod list of CL_ABAP_TABLEDESCR SAP class
A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD.
Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...
Method Name | Description | Visability |
CLASS_CONSTRUCTOR | - | Public |
CALL METHOD cl_abap_tabledescr=>CLASS_CONSTRUCTOR...more details | ||
CREATE | Factory Method for Table Type Creation Without Reuse | Public |
CALL METHOD cl_abap_tabledescr=>CREATE...more details | ||
CREATE_TABLEDESCR_OBJECT | - | Protected |
CALL METHOD cl_abap_tabledescr=>CREATE_TABLEDESCR_OBJECT...more details | ||
CREATE_WITH_KEYS | Obsolete (use GET_WITH_KEYS) | Public |
CALL METHOD cl_abap_tabledescr=>CREATE_WITH_KEYS...more details | ||
CREATE_XTYP_FROM_ITAB_DESC | Create XTYP for an Internal Table Description | Private |
CALL METHOD cl_abap_tabledescr=>CREATE_XTYP_FROM_ITAB_DESC...more details | ||
GET | Factory Method for Table Type Creation With Reuse | Public |
CALL METHOD cl_abap_tabledescr=>GET...more details | ||
| ||
GET_KEYS | Returns All Primary and Secondary Keys of the Table | Public |
CALL METHOD cl_abap_tabledescr=>GET_KEYS...more details | ||
GET_KEYS_TAB | Returns All Primary and Secondary Keys of the Table | Private |
CALL METHOD cl_abap_tabledescr=>GET_KEYS_TAB...more details | ||
GET_TABLE_LINE_TYPE | Navigation Method, Table Type -> Row Type | Public |
CALL METHOD cl_abap_tabledescr=>GET_TABLE_LINE_TYPE...more details | ||
GET_WITH_KEYS | Table Type Creation with Secondary Keys and Reuse | Public |
CALL METHOD cl_abap_tabledescr=>GET_WITH_KEYS...more details | ||
GET_XTYP_FROM_ITAB_DESC | Return XTYP for an Internal Table Description | Private |
CALL METHOD cl_abap_tabledescr=>GET_XTYP_FROM_ITAB_DESC...more details | ||
GET_XTYP_FROM_ITAB_W_KEY_DESC | Return XTYP for Internal Table Description with Key Table | Private |
CALL METHOD cl_abap_tabledescr=>GET_XTYP_FROM_ITAB_W_KEY_DESC...more details | ||
LOAD_CLASS | - | Public |
CALL METHOD cl_abap_tabledescr=>LOAD_CLASS...more details |
CL_ABAP_TABLEDESCR attributes
List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.
Name | Level | Description | Initial Value | Type | Visability |
FURTHER_SCND_KEYS_NO | Constant | Further Secondary Keys Not Permitted | 26453703 | LIKE I | Public |
FURTHER_SCND_KEYS_NOT_SPEC | Constant | Further Secondary Keys Permitted, if Primary type is Generic | 26453701 | LIKE I | Public |
FURTHER_SCND_KEYS_YES | Constant | Further Secondary Keys Permitted | 26453702 | LIKE I | Public |
HAS_UNIQUE_KEY | Instance Attribute | Unique key definition | LIKE ABAP_BOOL | Public | |
INITIAL_SIZE | Instance Attribute | Initial size of table | LIKE I | Public | |
KEY | Instance Attribute | Table Keys | LIKE ABAP_KEYDESCR_TAB | Public | |
KEYDEFKIND_DEFAULT | Constant | Default key | 'D' | LIKE ABAP_KEYDEFKIND | Public |
KEYDEFKIND_EMPTY | Constant | Empty key (only with kernel >= 7.40) | 'E' | LIKE ABAP_KEYDEFKIND | Public |
KEYDEFKIND_TABLELINE | Constant | Table row is the key | 'L' | LIKE ABAP_KEYDEFKIND | Public |
KEYDEFKIND_USER | Constant | User-defined key | 'U' | LIKE ABAP_KEYDEFKIND | Public |
KEY_DEFKIND | Instance Attribute | Type of table definition | LIKE ABAP_KEYDEFKIND | Public | |
LINE_TYPE_CACHE | Instance Attribute | LIKE | Private | ||
TABLEKIND_ANY | Constant | Untyped table | 'A' | LIKE ABAP_TABLEKIND | Public |
TABLEKIND_HASHED | Constant | Hashed table | 'H' | LIKE ABAP_TABLEKIND | Public |
TABLEKIND_INDEX | Constant | Indexable table | 'I' | LIKE ABAP_TABLEKIND | Public |
TABLEKIND_SORTED | Constant | Sorted table | 'O' | LIKE ABAP_TABLEKIND | Public |
TABLEKIND_STD | Constant | Standard table | 'S' | LIKE ABAP_TABLEKIND | Public |
TABLE_KIND | Instance Attribute | Table Category | LIKE ABAP_TABLEKIND | Public |
Links to Related Class(s)
CL_ABAP_...Full list of available SAP object classes
Search for further information about these or an SAP related objects