SAP XCO_CHARS OO Class - Characteristics and Values
XCO_CHARS 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 XCO_CHARS including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Method list of XCO_CHARS 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 |
CHAR_HAS_ATTRIBUTES | Attibutes for Characteristics | Public |
CALL METHOD xco_chars=>CHAR_HAS_ATTRIBUTES...more details | ||
CHAR_HAS_VALS | Read all Values of a Characteristic | Public |
CALL METHOD xco_chars=>CHAR_HAS_VALS...more details | ||
CONSTRUCTOR | CONSTRUCTOR | Public |
CALL METHOD xco_chars=>CONSTRUCTOR...more details | ||
GET_CHAR_GROUP_USED | Use Characteristics Groups? | Public |
CALL METHOD xco_chars=>GET_CHAR_GROUP_USED...more details | ||
GET_CLASS_INFO | Class Information (Class Name and Description) | Public |
CALL METHOD xco_chars=>GET_CLASS_INFO...more details | ||
HAS_CHARS | Read all Characteristics | Public |
CALL METHOD xco_chars=>HAS_CHARS...more details | ||
| ||
MASTERDATA_LOAD | Load Master Data | Public |
CALL METHOD xco_chars=>MASTERDATA_LOAD...more details | ||
NON_UNIQUE_VALUE | Check whether value is not unique | Public |
CALL METHOD xco_chars=>NON_UNIQUE_VALUE...more details | ||
REFRESH | Reset Characteristics and Values | Public |
CALL METHOD xco_chars=>REFRESH...more details | ||
UPDATE_VARIANZ | Change Variance Scheme | Public |
CALL METHOD xco_chars=>UPDATE_VARIANZ...more details |
XCO_CHARS 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 |
C_ATFOR_CHAR | Constant | ATFOR: CHAR | 'CHAR' | LIKE CO003_ATFOR | Private |
GR_CLASS_INST | Instance Attribute | BAdI Interface IF_EX_IPPE_CLASS | LIKE IF_EX_IPPE_CLASS | Private | |
GR_EX_OM_EDITOR | Instance Attribute | BAdI Interface IF_EX_OM_EDITOR | LIKE IF_EX_OM_EDITOR | Private | |
G_CHARS | Instance Attribute | iTab: Characteristics & Values | LIKE CO003_CHARS | Public | |
G_CHARS_HIER | Instance Attribute | iTab: Characteristics & Values for Hierarchy Classes | LIKE CO003_CHARS_HIER | Public | |
G_COMMON | Instance Attribute | Common | LIKE CO000_COMMON | Private | |
G_IPARENT | Instance Attribute | Instance: Parent | LIKE COCOM_INSTS | Private | |
G_IPPE | Instance Attribute | iPPE | LIKE CO000_IPPE | Private | |
G_ISELF | Instance Attribute | Instance: Current | LIKE COCOM_INSTS | Private | |
G_KLAH | Instance Attribute | iTab: Classes | LIKE COCLS_KLAH | Private | |
G_LOADED | Instance Attribute | Indicator: Master Data Loaded | LIKE CO003_FLG_LOADED | Private | |
G_NEXT_INSTANCE | Instance Attribute | Instance Counter | LIKE COCOM_INSTS | Private | |
G_NON_UNIQUE_VALS | Instance Attribute | iTab: Non-Unique Values | LIKE CO003_VALS1 | Public | |
G_PROFILE | Instance Attribute | ORef: Profile | LIKE XCO_PROFILE | Private | |
G_STRUCTURE_ITEM | Instance Attribute | Structure: Item | LIKE CO001_STRUCTURE_ITEM | Private | |
G_SWOR | Instance Attribute | iTab: Descriptions of Classes | LIKE COCLS_SWOR | Private |
Links to Related Class(s)
XCO_CHAR...Full list of available SAP object classes
Search for further information about these or an SAP related objects