SAP ABAP Class CL_VC2OD_GENERAL_FUNCTIONS (general functions for dependency SP classes)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-VC-WUI (Application Component) Variant Configuration Web User Interface
     VC2OD_SP (Package) Object Dependency - Service Provider
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 ABAP 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 GC_MAX_NUMBER_OF_SEARCH_VALUES Constant Public Type reference (TYPE) I 10 20091001
Methods
# Method Level Visibility Method type Description Created on
1 CHANGE_FIELD_CONTENT_OF_STRUCT Static method Public Method change content of field in a structure 20090807
2 CHECK_FOR_FIELD_IN_STRUCT Static method Public Method Check whether structure contains field 20090406
3 CHECK_FOR_FIELD_IN_TABLE_STRUC Static method Public Method Check whether structure of table contains field 20090406
4 CHECK_KEY_DATE Static method Public Method Check the key date 20090326
5 CREATE_NEW_STRUCTURE Static method Public Method create a new structure 20090807
6 ENHANCE_STRUCTURE Static method Public Method enhance a structure 20090807
7 GET_DDIC_FIELD_DESCR Static method Public Method get description from data dictionary element 20091023
8 GET_DDIC_STRUCTURE_NAME Static method Public Method Get name of DDIC structure 20090424
9 GET_FIELDS_OF_STRUCTURE Static method Public Method get fields of a structure 20090807
10 GET_FIELD_CONTENT_OF_STRUCT Static method Public Method get content of a field in a structure 20090807
11 GET_FIELD_DESCRIPTION Static method Public Method Get description of a field 20081121
12 GET_STRUCT_DESCR_OF_INT_TABLE Static method Public Method Get structure description of internal table 20090406
13 GET_TEXT_FROM_DOMAIN Static method Public Method Get text from domain 20081111
14 SEARCH_IN_GENERIC_TABLE Static method Public Method search in a generic table 20090807
15 SEARCH_IN_GENERIC_TABLE_N_PARS Static method Public Method search in a generic table - general number of search pars 20091001
16 SEARCH_IN_GENERIC_TABLE_RESTR Static method Public Method search in a generic table - restricted number of search pars 20091001
17 SEARCH_IN_TABLE_WITH_2ND_KEY Static method Public Method search in a generic table - with 2nd key 20091005
18 SEARCH_IN_TABLE_WITH_TAB_KEY Static method Public Method search in a generic table - restricted number pars - key 20091002
19 SORT_GENERIC_TABLE 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 Changing CS_STRUCT Call by reference Type reference (TYPE) ANY structure to be changed 20090807
2 Importing IV_FIELD_NAME Call by reference Type reference (TYPE) FIELDNAME name of field to be changed 20090807
3 Importing 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 Exporting EV_STRUCT_CONTAINS_FIELD Call by reference Type reference (TYPE) XFELD indicator that the struct. contains the field 20090406
2 Importing IS_STRUCT Call by reference Type reference (TYPE) ANY any structure 20090406
3 Importing 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 Exporting EV_STRUCT_CONTAINS_FIELD Call by reference Type reference (TYPE) XFELD indicator that table struct. comtains field 20090406
2 Importing IT_STRUCT Call by reference Type reference (TYPE) ANY TABLE table 20090406
3 Importing 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 Changing CV_KEY_DATE Call by reference Type reference (TYPE) VC2OD_KEY_DATE Valid-From Date 20090326
2 Exporting ET_MESSAGE Call by reference Type reference (TYPE) /PLMB/T_SPI_MSG Message 20090326
3 Exporting EV_SEVERITY Call by reference Type reference (TYPE) /PLMB/SPI_MSG_SEVERITY Severity 20090326
4 Importing IV_CHANGE_NO Call by reference Type reference (TYPE) AENNR Change Number 20090326
5 Importing IV_CONSIDER_MESSAGES Call by reference Type reference (TYPE) XFELD SPACE Checkbox 20090326
6 Importing 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 Exporting ER_STRUCT_DESCRIPTION Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20090807
2 Exporting ER_TABLE_DESCRIPTION Call by reference Object reference (TYPE REF TO) CL_ABAP_TABLEDESCR Runtime Type Services 20090807
3 Importing 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 Exporting ER_STRUCT_DESCRIPTION Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20090807
2 Importing IS_STRUCT Call by reference Type reference (TYPE) ANY structure to be enhanced 20090807
3 Importing 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 Exporting EV_DESCRIPTION Call by reference Type reference (TYPE) STRING 20091023
2 Importing 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 Exporting EV_NAME Call by reference Type reference (TYPE) ABAP_ABSTYPENAME name of ddic structure 20090424
2 Importing 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 Exporting ET_COMP Call by reference Type reference (TYPE) ABAP_COMPONENT_TAB Komponentenbeschreibungstabelle 20090807
2 Importing 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 Exporting EV_VALUE Call by reference Type reference (TYPE) ANY value 20090807
2 Importing IS_STRUCT Call by reference Type reference (TYPE) ANY structure 20090807
3 Importing 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 Importing IV_FIELD Call by reference Type reference (TYPE) ANY 20081121
2 Returning 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 Exporting ER_LINE_STRUCT_DESC Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20090406
2 Exporting ER_TABLE_STRUCT_DESC Call by reference Object reference (TYPE REF TO) CL_ABAP_TABLEDESCR Runtime Type Services 20090406
3 Importing 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 Exporting EV_TEXT Call by reference Type reference (TYPE) ANY 20081111
2 Importing 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 Exporting EV_FOUND Call by reference Type reference (TYPE) XFELD indicator that a table line fits to the search parameters 20090807
2 Exporting EV_TABIX Call by reference Type reference (TYPE) SYTABIX Index found entry 20090807
3 Importing IT_CONTENT Call by reference Type reference (TYPE) INDEX TABLE generic table 20090807
4 Importing IT_SEARCH_VALUES Call by reference Type reference (TYPE) VC2OD_T_FIELD_VALUES table with search parameters 20090807
5 Importing IV_NAME_OF_2ND_KEY Call by reference Type reference (TYPE) STRING 20091005
6 Importing IV_SEARCH_WITH_2ND_KEY Call by reference Type reference (TYPE) XFELD Checkbox 20091005
7 Importing 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 Exporting EV_FOUND Call by reference Type reference (TYPE) XFELD indicator that a table line fits to the search parameters 20091001
2 Exporting EV_TABIX Call by reference Type reference (TYPE) SYTABIX Index found entry 20091001
3 Importing IT_CONTENT Call by reference Type reference (TYPE) INDEX TABLE generic table 20091001
4 Importing 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 Exporting EV_FOUND Call by reference Type reference (TYPE) XFELD indicator that a table line fits to the search parameters 20091001
2 Exporting EV_TABIX Call by reference Type reference (TYPE) SYTABIX Index found entry 20091001
3 Importing IT_CONTENT Call by reference Type reference (TYPE) INDEX TABLE generic table 20091001
4 Importing 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 Exporting EV_FOUND Call by reference Type reference (TYPE) XFELD indicator that a table line fits to the search parameters 20091005
2 Exporting EV_TABIX Call by reference Type reference (TYPE) SYTABIX Index found entry 20091005
3 Importing IT_CONTENT Call by reference Type reference (TYPE) INDEX TABLE generic table 20091005
4 Importing IT_SEARCH_VALUES Call by reference Type reference (TYPE) VC2OD_T_FIELD_VALUES table with search parameters 20091005
5 Importing 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 Exporting EV_FOUND Call by reference Type reference (TYPE) XFELD indicator that a table line fits to the search parameters 20091002
2 Exporting EV_TABIX Call by reference Type reference (TYPE) SYTABIX Index found entry 20091002
3 Importing IT_CONTENT Call by reference Type reference (TYPE) INDEX TABLE generic table 20091002
4 Importing 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 Changing CT_CONTENT Call by reference Type reference (TYPE) INDEX TABLE generic table 20091005
2 Importing 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