Hierarchy
⤷
⤷
Properties
| Class | CL_VC2OD_GENERAL_FUNCTIONS | |
| Short Description | general functions for dependency SP classes | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | VC2OD_SP | Object Dependency - Service Provider |
| Created | 20081111 | SAP |
| Last change | 20100310 | 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) |
Interfaces
Class CL_VC2OD_GENERAL_FUNCTIONS has no interface implemented.
Friends
Class CL_VC2OD_GENERAL_FUNCTIONS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | I | 10 | 20091001 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | change content of field in a structure | 20090807 | |
| 2 | Static method | Public | Method | Check whether structure contains field | 20090406 | |
| 3 | Static method | Public | Method | Check whether structure of table contains field | 20090406 | |
| 4 | Static method | Public | Method | Check the key date | 20090326 | |
| 5 | Static method | Public | Method | create a new structure | 20090807 | |
| 6 | Static method | Public | Method | enhance a structure | 20090807 | |
| 7 | Static method | Public | Method | get description from data dictionary element | 20091023 | |
| 8 | Static method | Public | Method | Get name of DDIC structure | 20090424 | |
| 9 | Static method | Public | Method | get fields of a structure | 20090807 | |
| 10 | Static method | Public | Method | get content of a field in a structure | 20090807 | |
| 11 | Static method | Public | Method | Get description of a field | 20081121 | |
| 12 | Static method | Public | Method | Get structure description of internal table | 20090406 | |
| 13 | Static method | Public | Method | Get text from domain | 20081111 | |
| 14 | Static method | Public | Method | search in a generic table | 20090807 | |
| 15 | Static method | Public | Method | search in a generic table - general number of search pars | 20091001 | |
| 16 | Static method | Public | Method | search in a generic table - restricted number of search pars | 20091001 | |
| 17 | Static method | Public | Method | search in a generic table - with 2nd key | 20091005 | |
| 18 | Static method | Public | Method | search in a generic table - restricted number pars - key | 20091002 | |
| 19 | Static method | Public | Method | sort a generic table | 20091005 |
Events
Class CL_VC2OD_GENERAL_FUNCTIONS has no event.
Types
Class CL_VC2OD_GENERAL_FUNCTIONS has no local type.
Method Signatures
Method CHANGE_FIELD_CONTENT_OF_STRUCT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_STRUCT | Call by reference | Type reference (TYPE) | ANY | structure to be changed | 20090807 | |||
| 2 | IV_FIELD_NAME | Call by reference | Type reference (TYPE) | FIELDNAME | name of field to be changed | 20090807 | |||
| 3 | IV_VALUE | Call by reference | Type reference (TYPE) | ANY | value | 20090807 |
Method CHANGE_FIELD_CONTENT_OF_STRUCT on class CL_VC2OD_GENERAL_FUNCTIONS has no exception.
Method CHECK_FOR_FIELD_IN_STRUCT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_STRUCT_CONTAINS_FIELD | Call by reference | Type reference (TYPE) | XFELD | indicator that the struct. contains the field | 20090406 | |||
| 2 | IS_STRUCT | Call by reference | Type reference (TYPE) | ANY | any structure | 20090406 | |||
| 3 | IV_FIELD_NAME | Call by reference | Type reference (TYPE) | STRING | field name | 20090406 |
Method CHECK_FOR_FIELD_IN_STRUCT on class CL_VC2OD_GENERAL_FUNCTIONS has no exception.
Method CHECK_FOR_FIELD_IN_TABLE_STRUC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_STRUCT_CONTAINS_FIELD | Call by reference | Type reference (TYPE) | XFELD | indicator that table struct. comtains field | 20090406 | |||
| 2 | IT_STRUCT | Call by reference | Type reference (TYPE) | ANY TABLE | table | 20090406 | |||
| 3 | IV_FIELD_NAME | Call by reference | Type reference (TYPE) | STRING | fieldname | 20090406 |
Method CHECK_FOR_FIELD_IN_TABLE_STRUC on class CL_VC2OD_GENERAL_FUNCTIONS has no exception.
Method CHECK_KEY_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_KEY_DATE | Call by reference | Type reference (TYPE) | VC2OD_KEY_DATE | Valid-From Date | 20090326 | |||
| 2 | ET_MESSAGE | Call by reference | Type reference (TYPE) | /PLMB/T_SPI_MSG | Message | 20090326 | |||
| 3 | EV_SEVERITY | Call by reference | Type reference (TYPE) | /PLMB/SPI_MSG_SEVERITY | Severity | 20090326 | |||
| 4 | IV_CHANGE_NO | Call by reference | Type reference (TYPE) | AENNR | Change Number | 20090326 | |||
| 5 | IV_CONSIDER_MESSAGES | Call by reference | Type reference (TYPE) | XFELD | SPACE | Checkbox | 20090326 | ||
| 6 | IV_IS_CHANGE_NO_REF | Call by reference | Type reference (TYPE) | XFELD | SPACE | Checkbox | 20090326 |
Method CHECK_KEY_DATE on class CL_VC2OD_GENERAL_FUNCTIONS has no exception.
Method CREATE_NEW_STRUCTURE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_STRUCT_DESCRIPTION | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20090807 | |||
| 2 | ER_TABLE_DESCRIPTION | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_TABLEDESCR | Runtime Type Services | 20090807 | |||
| 3 | IT_FIELDS | Call by reference | Type reference (TYPE) | VC2OD_T_FIELD_DESCRIPTION | fields of new structure | 20090807 |
Method CREATE_NEW_STRUCTURE on class CL_VC2OD_GENERAL_FUNCTIONS has no exception.
Method ENHANCE_STRUCTURE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_STRUCT_DESCRIPTION | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20090807 | |||
| 2 | IS_STRUCT | Call by reference | Type reference (TYPE) | ANY | structure to be enhanced | 20090807 | |||
| 3 | IT_NEW_FIELDS | Call by reference | Type reference (TYPE) | VC2OD_T_FIELD_DESCRIPTION | fields to be added | 20090807 |
Method ENHANCE_STRUCTURE on class CL_VC2OD_GENERAL_FUNCTIONS has no exception.
Method GET_DDIC_FIELD_DESCR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DESCRIPTION | Call by reference | Type reference (TYPE) | STRING | 20091023 | ||||
| 2 | IV_NAME_OF_ELEMENT | Call by reference | Type reference (TYPE) | FIELDNAME | Field Name | 20091023 |
Method GET_DDIC_FIELD_DESCR on class CL_VC2OD_GENERAL_FUNCTIONS has no exception.
Method GET_DDIC_STRUCTURE_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_NAME | Call by reference | Type reference (TYPE) | ABAP_ABSTYPENAME | name of ddic structure | 20090424 | |||
| 2 | IS_STRUC | Call by reference | Type reference (TYPE) | ANY | any structure | 20090424 |
Method GET_DDIC_STRUCTURE_NAME on class CL_VC2OD_GENERAL_FUNCTIONS has no exception.
Method GET_FIELDS_OF_STRUCTURE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_COMP | Call by reference | Type reference (TYPE) | ABAP_COMPONENT_TAB | Komponentenbeschreibungstabelle | 20090807 | |||
| 2 | IS_STRUCT | Call by reference | Type reference (TYPE) | ANY | 20090807 |
Method GET_FIELDS_OF_STRUCTURE on class CL_VC2OD_GENERAL_FUNCTIONS has no exception.
Method GET_FIELD_CONTENT_OF_STRUCT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_VALUE | Call by reference | Type reference (TYPE) | ANY | value | 20090807 | |||
| 2 | IS_STRUCT | Call by reference | Type reference (TYPE) | ANY | structure | 20090807 | |||
| 3 | IV_FIELD_NAME | Call by reference | Type reference (TYPE) | FIELDNAME | Field Name | 20090807 |
Method GET_FIELD_CONTENT_OF_STRUCT on class CL_VC2OD_GENERAL_FUNCTIONS has no exception.
Method GET_FIELD_DESCRIPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FIELD | Call by reference | Type reference (TYPE) | ANY | 20081121 | ||||
| 2 | RV_DESCRIPTION | Value transfer | Type reference (TYPE) | STRING | 20081125 |
Method GET_FIELD_DESCRIPTION on class CL_VC2OD_GENERAL_FUNCTIONS has no exception.
Method GET_STRUCT_DESCR_OF_INT_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_LINE_STRUCT_DESC | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20090406 | |||
| 2 | ER_TABLE_STRUCT_DESC | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_TABLEDESCR | Runtime Type Services | 20090406 | |||
| 3 | IT_STRUCT | Call by reference | Type reference (TYPE) | ANY TABLE | table of structures | 20090406 |
Method GET_STRUCT_DESCR_OF_INT_TABLE on class CL_VC2OD_GENERAL_FUNCTIONS has no exception.
Method GET_TEXT_FROM_DOMAIN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_TEXT | Call by reference | Type reference (TYPE) | ANY | 20081111 | ||||
| 2 | IV_DATA | Call by reference | Type reference (TYPE) | ANY | 20081111 |
Method GET_TEXT_FROM_DOMAIN on class CL_VC2OD_GENERAL_FUNCTIONS has no exception.
Method SEARCH_IN_GENERIC_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_FOUND | Call by reference | Type reference (TYPE) | XFELD | indicator that a table line fits to the search parameters | 20090807 | |||
| 2 | EV_TABIX | Call by reference | Type reference (TYPE) | SYTABIX | Index found entry | 20090807 | |||
| 3 | IT_CONTENT | Call by reference | Type reference (TYPE) | INDEX TABLE | generic table | 20090807 | |||
| 4 | IT_SEARCH_VALUES | Call by reference | Type reference (TYPE) | VC2OD_T_FIELD_VALUES | table with search parameters | 20090807 | |||
| 5 | IV_NAME_OF_2ND_KEY | Call by reference | Type reference (TYPE) | STRING | 20091005 | ||||
| 6 | IV_SEARCH_WITH_2ND_KEY | Call by reference | Type reference (TYPE) | XFELD | Checkbox | 20091005 | |||
| 7 | IV_SEARCH_WITH_TAB_KEY | Call by reference | Type reference (TYPE) | XFELD | Checkbox | 20091002 |
Method SEARCH_IN_GENERIC_TABLE on class CL_VC2OD_GENERAL_FUNCTIONS has no exception.
Method SEARCH_IN_GENERIC_TABLE_N_PARS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_FOUND | Call by reference | Type reference (TYPE) | XFELD | indicator that a table line fits to the search parameters | 20091001 | |||
| 2 | EV_TABIX | Call by reference | Type reference (TYPE) | SYTABIX | Index found entry | 20091001 | |||
| 3 | IT_CONTENT | Call by reference | Type reference (TYPE) | INDEX TABLE | generic table | 20091001 | |||
| 4 | IT_SEARCH_VALUES | Call by reference | Type reference (TYPE) | VC2OD_T_FIELD_VALUES | table with search parameters | 20091001 |
Method SEARCH_IN_GENERIC_TABLE_N_PARS on class CL_VC2OD_GENERAL_FUNCTIONS has no exception.
Method SEARCH_IN_GENERIC_TABLE_RESTR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_FOUND | Call by reference | Type reference (TYPE) | XFELD | indicator that a table line fits to the search parameters | 20091001 | |||
| 2 | EV_TABIX | Call by reference | Type reference (TYPE) | SYTABIX | Index found entry | 20091001 | |||
| 3 | IT_CONTENT | Call by reference | Type reference (TYPE) | INDEX TABLE | generic table | 20091001 | |||
| 4 | IT_SEARCH_VALUES | Call by reference | Type reference (TYPE) | VC2OD_T_FIELD_VALUES | table with search parameters | 20091001 |
Method SEARCH_IN_GENERIC_TABLE_RESTR on class CL_VC2OD_GENERAL_FUNCTIONS has no exception.
Method SEARCH_IN_TABLE_WITH_2ND_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_FOUND | Call by reference | Type reference (TYPE) | XFELD | indicator that a table line fits to the search parameters | 20091005 | |||
| 2 | EV_TABIX | Call by reference | Type reference (TYPE) | SYTABIX | Index found entry | 20091005 | |||
| 3 | IT_CONTENT | Call by reference | Type reference (TYPE) | INDEX TABLE | generic table | 20091005 | |||
| 4 | IT_SEARCH_VALUES | Call by reference | Type reference (TYPE) | VC2OD_T_FIELD_VALUES | table with search parameters | 20091005 | |||
| 5 | IV_NAME_OF_2ND_KEY | Call by reference | Type reference (TYPE) | STRING | 20091005 |
Method SEARCH_IN_TABLE_WITH_2ND_KEY on class CL_VC2OD_GENERAL_FUNCTIONS has no exception.
Method SEARCH_IN_TABLE_WITH_TAB_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_FOUND | Call by reference | Type reference (TYPE) | XFELD | indicator that a table line fits to the search parameters | 20091002 | |||
| 2 | EV_TABIX | Call by reference | Type reference (TYPE) | SYTABIX | Index found entry | 20091002 | |||
| 3 | IT_CONTENT | Call by reference | Type reference (TYPE) | INDEX TABLE | generic table | 20091002 | |||
| 4 | IT_SEARCH_VALUES | Call by reference | Type reference (TYPE) | VC2OD_T_FIELD_VALUES | table with search parameters | 20091002 |
Method SEARCH_IN_TABLE_WITH_TAB_KEY on class CL_VC2OD_GENERAL_FUNCTIONS has no exception.
Method SORT_GENERIC_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_CONTENT | Call by reference | Type reference (TYPE) | INDEX TABLE | generic table | 20091005 | |||
| 2 | IT_SORT_FIELDS | Call by reference | Type reference (TYPE) | VC2OD_T_FIELDNAME | table with search parameters | 20091005 |
Method SORT_GENERIC_TABLE on class CL_VC2OD_GENERAL_FUNCTIONS has no exception.
History
| Last changed by/on | SAP | 20100310 |
| SAP Release Created in | 605 |