SAP ABAP Class CL_MDG_BS_MAT_TEXT (Texts)
Hierarchy
☛
MDG_APPL (Software Component) MDG Applications
⤷ CA-MDG-APP-MM (Application Component) MDG Material
⤷ MDG_BS_MAT_TOOLS (Package) MDG: Material Tools
⤷ CA-MDG-APP-MM (Application Component) MDG Material
⤷ MDG_BS_MAT_TOOLS (Package) MDG: Material Tools
Properties
Class | CL_MDG_BS_MAT_TEXT | |
Short Description | Texts | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | MDG_BS_MAT_TOOLS | MDG: Material Tools |
Created | 20100716 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_MDG_BS_MAT_TEXT has no forward declaration.
Interfaces
Class CL_MDG_BS_MAT_TEXT has no interface implemented.
Friends
Class CL_MDG_BS_MAT_TEXT has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | GO_TEXT | Static Attribute | Private | Object reference (TYPE REF TO) | CL_MDG_BS_MAT_TEXT | Texts | 20100719 | ||
2 | GT_TEXT_TABLE | Instance attribute | Private | Type reference (TYPE) | TYT_TEXT_TABLE | Text tables for data elements | 20110406 | ||
3 | MT_DATA | Instance attribute | Private | Type reference (TYPE) | TYT_DATA | Data of text fields | 20100719 | ||
4 | MT_MAPPING | Instance attribute | Private | Type reference (TYPE) | TYT_MAPPING | Mapping for text fields | 20100719 | ||
5 | MV_APPL | Instance attribute | Private | Type reference (TYPE) | MDG_BS_MAT_BUFFER_APPL | Buffer application ID | 20101004 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CLEAN_UP | Instance method | Public | Method | Clean up | 20100719 |
2 | CONSTRUCTOR | Instance method | Private | Constructor | Constructor | 20100719 |
3 | GET_FIELD | Instance method | Public | Method | Get field for given text field | 20100824 |
4 | GET_FIELD_ID | Instance method | Public | Method | Get field ID for given text field | 20100826 |
5 | GET_INSTANCE | Static method | Public | Method | Get instance of this class | 20100719 |
6 | GET_TEXT_FIELD | Instance method | Public | Method | Get text field | 20100823 |
7 | GET_TEXT_FIELD_ID | Instance method | Public | Method | Get internal ID of a text field | 20100716 |
8 | GET_TEXT_FIELD_ID_NEXT | Instance method | Private | Method | Get next free text field ID | 20100716 |
9 | GET_TEXT_FIELD_TEXT_TABLE | Instance method | Private | Method | Get text table of a text field | 20100716 |
10 | GET_TEXT_FIELD_TYPE | Instance method | Private | Method | Get type of a text field | 20100716 |
11 | GET_TEXT_FIELD_VALUE | Instance method | Public | Method | Get value of a text field | 20100716 |
12 | IS_TEXT_FIELD | Instance method | Public | Method | Is the given field a text field? | 20100824 |
13 | UPDATE_BUFFER | Instance method | Private | Method | Update mapping data buffer | 20101004 |
Events
Class CL_MDG_BS_MAT_TEXT has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TYS_DATA | Private | See coding | 20100719 | BEGIN OF tys_data,
text_field_id TYPE typename, "Generated ID of the text field
language TYPE sylangu, "Language
value_string TYPE string,
field_value TYPE REF TO data, "Data
text_value TYPE REF TO data,
END OF tys_data
|
||
2 | TYS_MAPPING | Private | See coding | 20100719 | BEGIN OF tys_mapping,
field TYPE typename, "Field (data element) for which description(s) shall be determined (e.g. MATNR)
field_id TYPE typename, "ID of the field (e.g. component name in structure) (e.g. MATERIAL)
text_field_id TYPE typename, "Generated ID of the text field (e.g. MATERIAL__TXT)
text_field TYPE typename, "Text field (data element / rollname) of the description text (e.g. MAKTX)
type TYPE mdg_bs_mat_text_field_type, "Type of the text field (e.g. 'Domain', 'Table', ...)
text_table TYPE tabname, "Name of related text table, only relevant for fields of type 'Table'
END OF tys_mapping
|
||
3 | TYS_TEXT_TABLE | Private | See coding | 20110406 | BEGIN OF tys_text_table,
field TYPE typename,
tabname TYPE tabname,
END OF tys_text_table
|
||
4 | TYT_DATA | Private | See coding | 20100719 | tyt_data TYPE SORTED TABLE OF tys_data WITH UNIQUE KEY text_field_id language value_string
|
||
5 | TYT_MAPPING | Private | See coding | 20100719 | tyt_mapping TYPE SORTED TABLE OF tys_mapping
WITH NON-UNIQUE KEY text_field_id
WITH NON-UNIQUE SORTED KEY sec_key COMPONENTS field
|
||
6 | TYT_TEXT_TABLE | Private | See coding | 20110406 | tyt_text_table TYPE SORTED TABLE OF tys_text_table WITH UNIQUE KEY field
|
Method Signatures
Method CLEAN_UP Signature
Method CLEAN_UP on class CL_MDG_BS_MAT_TEXT has no parameter.
Method CLEAN_UP on class CL_MDG_BS_MAT_TEXT has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_APPL | Call by reference | Type reference (TYPE) | MDG_BS_MAT_BUFFER_APPL | Buffer application ID | 20101004 |
Method CONSTRUCTOR on class CL_MDG_BS_MAT_TEXT has no exception.
Method GET_FIELD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_TEXT_FIELD_ID | Call by reference | Type reference (TYPE) | TYPENAME | Name of Dictionary Type | 20100824 | ||
2 | Returning | RV_FIELD | Value transfer | Type reference (TYPE) | TYPENAME | Name of Dictionary Type | 20100824 |
Method GET_FIELD on class CL_MDG_BS_MAT_TEXT has no exception.
Method GET_FIELD_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_TEXT_FIELD_ID | Call by reference | Type reference (TYPE) | TYPENAME | Name of Dictionary Type | 20100826 | ||
2 | Returning | RV_FIELD_ID | Value transfer | Type reference (TYPE) | TYPENAME | Name of Dictionary Type | 20100826 |
Method GET_FIELD_ID on class CL_MDG_BS_MAT_TEXT has no exception.
Method GET_INSTANCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_APPL | Call by reference | Type reference (TYPE) | MDG_BS_MAT_BUFFER_APPL | Buffer application ID | 20101004 | ||
2 | Returning | RO_TEXT | Value transfer | Object reference (TYPE REF TO) | CL_MDG_BS_MAT_TEXT | Texts | 20100719 |
Method GET_INSTANCE on class CL_MDG_BS_MAT_TEXT has no exception.
Method GET_TEXT_FIELD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_TEXT_FIELD_ID | Call by reference | Type reference (TYPE) | TYPENAME | Name of Dictionary Type | 20100823 | ||
2 | Returning | RV_TEXT_FIELD | Value transfer | Type reference (TYPE) | TYPENAME | Name of Dictionary Type | 20100823 |
Method GET_TEXT_FIELD on class CL_MDG_BS_MAT_TEXT has no exception.
Method GET_TEXT_FIELD_ID 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) | TYPENAME | 20100719 | |||
2 | Importing | IV_FIELD_ID | Call by reference | Type reference (TYPE) | TYPENAME | Name of Dictionary Type | 20100825 | ||
3 | Returning | RT_TEXT_FIELD_ID | Value transfer | Type reference (TYPE) | MDG_BS_MAT_T_TYPENAME | 20100716 |
Method GET_TEXT_FIELD_ID on class CL_MDG_BS_MAT_TEXT has no exception.
Method GET_TEXT_FIELD_ID_NEXT 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) | TYPENAME | 20100719 | |||
2 | Importing | IV_TEXT_CNTR | Call by reference | Type reference (TYPE) | N | 20100716 | |||
3 | Returning | RV_TEXT_FIELD_ID | Value transfer | Type reference (TYPE) | TYPENAME | 20100716 |
Method GET_TEXT_FIELD_ID_NEXT on class CL_MDG_BS_MAT_TEXT has no exception.
Method GET_TEXT_FIELD_TEXT_TABLE 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) | TYPENAME | 20100719 | |||
2 | Returning | RV_TABNAME | Value transfer | Type reference (TYPE) | TABNAME | 20100716 |
Method GET_TEXT_FIELD_TEXT_TABLE on class CL_MDG_BS_MAT_TEXT has no exception.
Method GET_TEXT_FIELD_TYPE 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) | TYPENAME | 20100719 | |||
2 | Returning | RV_TYPE | Value transfer | Type reference (TYPE) | MDG_BS_MAT_TEXT_FIELD_TYPE | 20100716 |
Method GET_TEXT_FIELD_TYPE on class CL_MDG_BS_MAT_TEXT has no exception.
Method GET_TEXT_FIELD_VALUE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EV_TEXT_FIELD_VALUE | Value transfer | Type reference (TYPE) | ANY | 20100716 | |||
2 | Importing | IS_FIELD_VALUE | Call by reference | Type reference (TYPE) | ANY | 20120302 | |||
3 | Importing | IV_LANGUAGE | Call by reference | Type reference (TYPE) | SYLANGU | SY-LANGU | Language Key of Current Text Environment | 20100719 | |
4 | Importing | IV_TEXT_FIELD_ID | Call by reference | Type reference (TYPE) | TYPENAME | 20100716 |
Method GET_TEXT_FIELD_VALUE on class CL_MDG_BS_MAT_TEXT has no exception.
Method IS_TEXT_FIELD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_TEXT_FIELD_ID | Call by reference | Type reference (TYPE) | TYPENAME | Name of Dictionary Type | 20100824 | ||
2 | Returning | RV_SUCCESS | Value transfer | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20100824 |
Method IS_TEXT_FIELD on class CL_MDG_BS_MAT_TEXT has no exception.
Method UPDATE_BUFFER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_TEXT_FIELD_ID | Call by reference | Type reference (TYPE) | MDG_BS_MAT_T_TYPENAME | Typename | 20101004 | ||
2 | Importing | IV_FIELD | Call by reference | Type reference (TYPE) | TYPENAME | Name of Dictionary Type | 20101004 | ||
3 | Importing | IV_FIELD_ID | Call by reference | Type reference (TYPE) | TYPENAME | Name of Dictionary Type | 20101004 |
Method UPDATE_BUFFER on class CL_MDG_BS_MAT_TEXT has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 606 |