SAP ABAP Class CL_WER_ITEM_FIELD_META_DATA (Structure of a defined item)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
LO-MD-MM (Application Component) Material Master
⤷
WER_BUSINESS (Package) Business Layer
⤷
⤷
Properties
| Class | CL_WER_ITEM_FIELD_META_DATA | |
| Short Description | Structure of a defined item | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | WER_BUSINESS | Business Layer |
| Created | 20060705 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_WER_ITEM_FIELD_META_DATA has no interface implemented.
Friends
Class CL_WER_ITEM_FIELD_META_DATA has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | WER_ITEM_FIELD_META_DATA_TTY | Item field meta data object and field name | 20060705 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | WER_BOOL | CL_WER_CONST=>C_FALSE | Boolean: true = X and false = SPACE | 20070723 | ||
| 3 | Instance attribute | Private | Type reference (TYPE) | COMPTYPE | Component Type | 20060705 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | DATATYPE_D | Data Type in ABAP Dictionary | 20070618 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | DECIMALS | Number of Decimal Places | 20070618 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | DOMNAME | Domain name | 20060914 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | WER_ITEM_FIELD_ID | Unique Item field identifier (GUID) | 20060705 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | DDLENG | Length (No. of Characters) | 20070618 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | FIELDNAME | Field Name | 20060705 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | DOFFSET | Offset of a field | 20060808 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | WER_ITEM_FIELD_ID | Unique Item field identifier (GUID) | 20060705 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | TABFDPOS | Position of the field in the table | 20060808 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | WER_ITEM_ID | Unique work item identifier (GUID) | 20060705 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | WER_STRING | Field type | 20060705 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | WER_XPATH | Field name including the parent structure names | 20060705 | |||
| 16 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_WER_CONST | Constants | 20070723 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | 20070723 | ||
| 2 | Instance method | Public | Constructor | 20060705 | ||
| 3 | Instance method | Private | Method | Creates the child field instances | 20060706 | |
| 4 | Instance method | Public | Method | Returns the meta data of all child items | 20060705 | |
| 5 | Instance method | Public | Method | Returns the component type: table, structure or data | 20060705 | |
| 6 | Instance method | Public | Method | Returns field domain name | 20060914 | |
| 7 | Instance method | Public | Method | Returns the id | 20060705 | |
| 8 | Instance method | Public | Method | Returns the name | 20060705 | |
| 9 | Instance method | Public | Method | Returns field offset in its structure | 20060808 | |
| 10 | Instance method | Public | Method | Returns the parent | 20060705 | |
| 11 | Instance method | Public | Method | Returns field position in its structure | 20060808 | |
| 12 | Instance method | Public | Method | Returns the predefined type | 20070618 | |
| 13 | Instance method | Public | Method | Returns the main item structure (root) | 20060705 | |
| 14 | Instance method | Public | Method | Returns the type | 20060705 | |
| 15 | Instance method | Public | Method | Returns the path from the root to the item field | 20060705 | |
| 16 | Instance method | Public | Method | Returns true if the field is currently flagged as active | 20070723 | |
| 17 | Instance method | Public | Method | Sets the active state of the field and all child fields | 20070723 |
Events
Class CL_WER_ITEM_FIELD_META_DATA has no event.
Types
Class CL_WER_ITEM_FIELD_META_DATA has no local type.
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_WER_ITEM_FIELD_META_DATA has no parameter.
Method CLASS_CONSTRUCTOR on class CL_WER_ITEM_FIELD_META_DATA has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ITEM_FIELDS | Call by reference | Type reference (TYPE) | WER_ITEM_FIELDS_TTY | All fields of the root structure | 20060706 | |||
| 2 | I_COMPONENT_TYPE | Call by reference | Type reference (TYPE) | COMPTYPE | DD: Component Type | 20060705 | |||
| 3 | I_DATA_TYPE | Call by reference | Type reference (TYPE) | DATATYPE_D | Data Type in ABAP Dictionary | 20070618 | |||
| 4 | I_DECIMAL | Call by reference | Type reference (TYPE) | DECIMALS | Number of Decimal Places | 20070618 | |||
| 5 | I_ID | Call by reference | Type reference (TYPE) | WER_ITEM_FIELD_ID | Unique Item field identifier (GUID) | 20060705 | |||
| 6 | I_LENGTH | Call by reference | Type reference (TYPE) | DDLENG | Length (No. of Characters) | 20070618 | |||
| 7 | I_NAME | Call by reference | Type reference (TYPE) | FIELDNAME | Field Name | 20060705 | |||
| 8 | I_OFFSET | Call by reference | Type reference (TYPE) | DOFFSET | Offset of a field | 20060808 | |||
| 9 | I_PARENT | Call by reference | Type reference (TYPE) | WER_ITEM_FIELD_ID | Unique Item field identifier (GUID) | 20060705 | |||
| 10 | I_POSITION | Call by reference | Type reference (TYPE) | TABFDPOS | Position of the field in the table | 20060808 | |||
| 11 | I_ROOT_ITEM | Call by reference | Type reference (TYPE) | WER_ITEM_ID | Unique work item identifier (GUID) | 20060705 | |||
| 12 | I_TYPE | Call by reference | Type reference (TYPE) | FIELD_TYPE | Field type | 20060705 | |||
| 13 | I_XPATH | Call by reference | Type reference (TYPE) | WER_XPATH | Field name including the parent structure names | 20060705 |
Method CONSTRUCTOR on class CL_WER_ITEM_FIELD_META_DATA has no exception.
Method CREATE_CHILD_ITEM_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ITEM_FIELDS | Call by reference | Type reference (TYPE) | WER_ITEM_FIELDS_TTY | All fields of the structure - source for child extraction | 20060706 |
Method CREATE_CHILD_ITEM_FIELDS on class CL_WER_ITEM_FIELD_META_DATA has no exception.
Method GET_CHILD_ITEM_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ACTIVE_ONLY | Call by reference | Type reference (TYPE) | WER_BOOL | CL_WER_CONST=>C_FALSE | Boolean: true = X and false = SPACE | 20070723 | ||
| 2 | RR_CHILD_ITEM_FIELDS | Value transfer | Object reference (TYPE REF TO) | WER_ITEM_FIELD_META_DATA_TTY | Item field meta data objects and fields names | 20060815 |
Method GET_CHILD_ITEM_FIELDS on class CL_WER_ITEM_FIELD_META_DATA has no exception.
Method GET_COMPONENT_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_COMPONENT_TYPE | Value transfer | Type reference (TYPE) | COMPTYPE | DD: Component Type | 20060705 |
Method GET_COMPONENT_TYPE on class CL_WER_ITEM_FIELD_META_DATA has no exception.
Method GET_DOMNAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_DOMNAME | Value transfer | Type reference (TYPE) | DOMNAME | Domain name | 20060914 |
Method GET_DOMNAME on class CL_WER_ITEM_FIELD_META_DATA has no exception.
Method GET_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_ID | Value transfer | Type reference (TYPE) | WER_ITEM_FIELD_ID | Unique Item field identifier (GUID) | 20060705 |
Method GET_ID on class CL_WER_ITEM_FIELD_META_DATA 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) | FIELDNAME | Field Name | 20060705 |
Method GET_NAME on class CL_WER_ITEM_FIELD_META_DATA has no exception.
Method GET_OFFSET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_OFFSET | Value transfer | Type reference (TYPE) | DOFFSET | Offset of a field | 20060808 |
Method GET_OFFSET on class CL_WER_ITEM_FIELD_META_DATA has no exception.
Method GET_PARENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_PARENT | Value transfer | Type reference (TYPE) | WER_ITEM_FIELD_ID | Unique Item field identifier (GUID) | 20060705 |
Method GET_PARENT on class CL_WER_ITEM_FIELD_META_DATA has no exception.
Method GET_POSITION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_POSITION | Value transfer | Type reference (TYPE) | TABFDPOS | Position of the field in the table | 20060808 |
Method GET_POSITION on class CL_WER_ITEM_FIELD_META_DATA has no exception.
Method GET_PREDEF_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DATA_TYPE | Call by reference | Type reference (TYPE) | DATATYPE_D | Data Type in ABAP Dictionary | 20070618 | |||
| 2 | E_DECIMAL | Call by reference | Type reference (TYPE) | DECIMALS | Number of Decimal Places | 20070618 | |||
| 3 | E_LENGTH | Call by reference | Type reference (TYPE) | DDLENG | Length (No. of Characters) | 20070618 |
Method GET_PREDEF_TYPE on class CL_WER_ITEM_FIELD_META_DATA has no exception.
Method GET_ROOT_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_ROOT_ITEM | Value transfer | Type reference (TYPE) | WER_ITEM_ID | Unique work item identifier (GUID) | 20060705 |
Method GET_ROOT_ITEM on class CL_WER_ITEM_FIELD_META_DATA has no exception.
Method GET_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_TYPE | Value transfer | Type reference (TYPE) | FIELD_TYPE | Field type | 20060705 |
Method GET_TYPE on class CL_WER_ITEM_FIELD_META_DATA has no exception.
Method GET_XPATH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_XPATH | Value transfer | Type reference (TYPE) | STRING | Path from the root to the field | 20060705 |
Method GET_XPATH on class CL_WER_ITEM_FIELD_META_DATA has no exception.
Method IS_ACTIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_IS_ACTIVE | Value transfer | Type reference (TYPE) | WER_BOOL | Boolean: true = X and false = SPACE | 20070723 |
Method IS_ACTIVE on class CL_WER_ITEM_FIELD_META_DATA has no exception.
Method SET_ACTIVE_STATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ACTIVE_FIELDS | Call by reference | Type reference (TYPE) | WER_ITEM_FIELD_ID_TTY | Table of item field identifiers | 20070723 |
Method SET_ACTIVE_STATE on class CL_WER_ITEM_FIELD_META_DATA has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 700 |