SAP ABAP Class CL_WRF_APC_CLASSIFICATION (Operational APC - Classification)
Hierarchy
EA-RETAIL (Software Component) SAP Enterprise Extension Retail
   LO-MD-RA (Application Component) Assortment
     WRF_APC (Package) Operational Assortment Planning and Control
Properties
Class CL_WRF_APC_CLASSIFICATION  
Short Description Operational APC - Classification    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class WRF_APC    
Program status P  SAP Standard Production Program 
Category 0   
Package WRF_APC   Operational Assortment Planning and Control 
Created 20031114   SAP 
Last change 20070912   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_WRF_APC_CLASSIFICATION has no forward declaration.
Interfaces
Class CL_WRF_APC_CLASSIFICATION has no interface implemented.
Friends
Class CL_WRF_APC_CLASSIFICATION has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_CHARFMT_CHAR Constant Public Type reference (TYPE) ATFOR 'CHAR' Characteristic format : Character 20031223
2 CO_CHARFMT_CURR Constant Public Type reference (TYPE) ATFOR 'CURR' Characteristic format: Currency 20031223
3 CO_CHARFMT_DATE Constant Public Type reference (TYPE) ATFOR 'DATE' Characteristic format: Data 20031223
4 CO_CHARFMT_LONG Constant Public Type reference (TYPE) ATFOR 'LONG' Characteristic format: Long 20031223
5 CO_CHARFMT_NUM Constant Public Type reference (TYPE) ATFOR 'NUM ' Characteristic format: Numeric 20031223
6 CO_CHARFMT_TIME Constant Public Type reference (TYPE) ATFOR 'TIME' Characteristic format: Time 20031223
7 CO_CHARTYP_COLOR Constant Public Type reference (TYPE) WRF_CHARTYP '0' Characteristic of type color 20031119
8 CO_CHARTYP_SIZE1 Constant Public Type reference (TYPE) WRF_CHARTYP '1' Characteristic of type size 1 20031119
9 CO_CHARTYP_SIZE2 Constant Public Type reference (TYPE) WRF_CHARTYP '2' Characteristic of type size 2 20031119
10 CO_CHARTYP_UNKNOWN Constant Public Type reference (TYPE) WRF_CHARTYP '3' Unknown characteristic type 20040323
11 CO_CHAR_HAS_VALUE_GROUPING Constant Public Type reference (TYPE) ATPRF 'WRF_CHECK_CHAR_VAL' Identify which characteristic has value grouping 20040728
12 CO_CLASS_TYPE_026 Constant Public Type reference (TYPE) KLASSENART '026' Class Type '026' 20031118
13 CO_OBJECT_TYPE_KLAH Constant Public Type reference (TYPE) TABELLE 'KLAH' Object type 'KLAH' 20031118
14 CO_RELEV_LOGISTIC Constant Public Type reference (TYPE) RELEVANZKZ '3' Logistic relevant 20031121
15 CO_RELEV_VAR Constant Public Type reference (TYPE) RELEVANZKZ '2' Variant-Creating 20031118
16 MTO_CHAR Instance attribute Public Type reference (TYPE) WRF_APC_CHAR_TTY Characteristics 20031117
17 MTO_CHAR_TYPE Instance attribute Public Type reference (TYPE) WRF_APC_CHARTYPE_TTY Characteristic type 20031201
18 MTO_CHAR_VALU Instance attribute Public Type reference (TYPE) WRF_APC_CHARVALU_TTY Characteristic values 20031117
19 MTO_COLLECTION Static Attribute Private Type reference (TYPE) WRF_APC_CLASS_COL_TTY Classifications collection 20031117
20 MTO_QS_DIST Instance attribute Public Type reference (TYPE) WRF_APC_QS_DIST_TTY Quota scales: Distribution (Size Curve) 20040503
21 MTO_QS_HDR Instance attribute Public Type reference (TYPE) WRF_APC_QS_HEADER_TTY Quota scales: Header Data 20040503
22 MTO_QS_TEXT Instance attribute Public Type reference (TYPE) WRF_APC_QS_TEXT_TTY Quota scales: Descriptions 20040503
23 MT_API_CHAR Instance attribute Private See coding Internal characteristic table 20031121
24 M_CHAR1 Instance attribute Public Type reference (TYPE) ATINN Characteristic ID no. 1 20031124
25 M_CHAR2 Instance attribute Public Type reference (TYPE) ATINN Characteristic ID no. 2 20031124
26 M_CHAR3 Instance attribute Public Type reference (TYPE) ATINN Characterisitc ID no. 3 20031124
27 M_CHAR_CNT_RELEV Instance attribute Public Type reference (TYPE) I Number of characteristics relevant for variants 20031118
28 M_CHAR_COLOR Instance attribute Public Type reference (TYPE) WRF_APC_CHAR_COLOR Characteristic ID which represents the color 20031119
29 M_CHAR_COUNT Instance attribute Public Type reference (TYPE) I Number of characteristics 20031114
30 M_CHAR_PROF Instance attribute Public Type reference (TYPE) WRF_CHARPROF Characteristic profile 20031114
31 M_CHAR_SIZE1 Instance attribute Public Type reference (TYPE) WRF_APC_CHAR_SIZE1 Characteristic ID which represents the size 1 20031119
32 M_CHAR_SIZE2 Instance attribute Public Type reference (TYPE) WRF_APC_CHAR_SIZE2 Characteristic ID which represents the size 2 20031119
33 M_MATKL Instance attribute Public Type reference (TYPE) MATKL Material Group 20031114
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_CHAR_VALUE_SYNTAX Instance method Public Method Validate the characteristic value syntax 20040218
2 CHECK_MATERIAL_GROUP Static method Public Method Check if the material group exists 20060427
3 CHECK_PROFILE_ASSIGNMENT Static method Public Method Check if the char. profile is assigned to material group 20040818
4 CLASS_CONSTRUCTOR Static method Public Constructor Initialize the classification collection 20031117
5 CONSTRUCTOR Instance method Public Constructor Initialize an instance of the classification class 20031117
6 GET_CHARVALU_EXPORT Static method Private Method Map the characteristic values to the export table 20070209
7 GET_CHAR_EXPORT Static method Private Method Map the characteristics to the export table 20070209
8 GET_CLASSIFICATION Static method Public Method Get the classification instance 20031118
9 GET_KSML_FOR_CHAR Static method Private Method Get the 'right' entry in KSML climbing up the hierarchy 20070209
10 GET_NUM_VALUE Static method Private Method Get external representation of a numeric value 20070209
11 IS_QS_DEFINED Instance method Public Method Check if some quota scale has been defined for a char. 20040503
12 READ_ADDITIONAL_CLASSIF Instance method Private Method Read value grouping, quota scales, set attributes 20070131
13 READ_CABN Static method Private Method Read internal data for characteristic 20070209
14 READ_CHARACTERISTICS Instance method Private Method Get the characteristics and their properties 20031118
15 READ_CHAR_TYPE Instance method Private Method Get the characteristics type and sequence 20031201
16 READ_CHAR_VALUES Instance method Private Method Get the characteristics values 20031118
17 READ_CHAR_VAR_RELEV Instance method Private Method Identify the characteristics that are variant relevant 20031126
18 READ_CLASSIFICATION Static method Private Method Read characteristics, values, type, ... 20070131
19 READ_CLASS_CHARS Static method Private Method Read characteristics and values assigned to a class 20070209
20 READ_HIERARCHY Static method Private Method Read material group hierarchy 20070209
21 READ_KLAH_KSML Static method Private Method Read internal class / char. assignment information 20070209
22 READ_QUOTA_SCALE Instance method Private Method Get the quota scale 20040503
23 READ_R3_CLASSIFICATION Instance method Private Method Get the classification data (Char, Values, Type, Etc) 20031117
24 READ_VALUE_GROUPING Instance method Private Method Read chararacteristic values for 'value grouping' 20070131
Events
Class CL_WRF_APC_CLASSIFICATION has no event.
Types
Class CL_WRF_APC_CLASSIFICATION has no local type.
Method Signatures

Method CHECK_CHAR_VALUE_SYNTAX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_VALUE_CHECK Call by reference Type reference (TYPE) STRG Structure for Unformatted Syntax Check 20040218
2 Importing I_ATINN Call by reference Type reference (TYPE) ATINN Internes Merkmal 20040218
3 Importing I_ATWRT Call by reference Type reference (TYPE) ATWRT Merkmalswert 20040218
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS Operational APC - Article Exceptions 20040218
2 CX_WRF_APC_ROOT_EXCEPTIONS Operational APC - Global common exceptions 20040218

Method CHECK_MATERIAL_GROUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_WWGDA Call by reference Type reference (TYPE) T023-WWGDA Material group reference material 20060427
2 Importing I_MATKL Call by reference Type reference (TYPE) T023-MATKL Material Group 20060427
# Exception Resumable Description Created on
1 CX_WRF_APC_ROOT_EXCEPTIONS 20060427

Method CHECK_PROFILE_ASSIGNMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHPROF Call by reference Type reference (TYPE) WRF_CHARPROF Merkmalsprofil 20040818
2 Importing I_MATKL Call by reference Type reference (TYPE) MATKL Warengruppe 20040818
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS 20040818
2 CX_WRF_APC_ROOT_EXCEPTIONS 20040818

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_WRF_APC_CLASSIFICATION has no parameter.
Method CLASS_CONSTRUCTOR on class CL_WRF_APC_CLASSIFICATION has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHPROF Call by reference Type reference (TYPE) WRF_CHARPROF Merkmalsprofil 20031117
2 Importing I_MATKL Call by reference Type reference (TYPE) MATKL Materialgruppe 20031117
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS Operational APC - Article Exceptions 20031126
2 CX_WRF_APC_ROOT_EXCEPTIONS Operational APC - Global common exceptions 20031120

Method GET_CHARVALU_EXPORT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_CHAR_VALU Value transfer Type reference (TYPE) WRF_APC_CHARVALU_TTY Characteristic values 20070209
2 Importing IT_BAPICHARVAL Call by reference Type reference (TYPE) TT_BAPI_CHAR_VALUES Table Type for BAPI_CHAR_VALUES 20070209
3 Importing IT_CAWN Call by reference Type reference (TYPE) TT_CAWN Table Type for CAWN 20070209
4 Importing IT_CHAR Call by reference Type reference (TYPE) WRF_APC_CHAR_TTY Characteristics 20070209

Method GET_CHARVALU_EXPORT on class CL_WRF_APC_CLASSIFICATION has no exception.

Method GET_CHAR_EXPORT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_BAPICHARVAL Call by reference Type reference (TYPE) TT_BAPI_CHAR_VALUES Table Type for BAPI_CHAR_VALUES 20070209
2 Exporting ET_CAWN Call by reference Type reference (TYPE) TT_CAWN Table Type for CAWN 20070209
3 Exporting ET_CHAR Call by reference Type reference (TYPE) WRF_APC_CHAR_TTY Characteristics 20070209
4 Importing IT_BAPICHAR Call by reference Type reference (TYPE) TT_BAPI_CHAR Table Type for BAPI_CHAR 20070209
5 Importing IT_CLTREE Call by reference Type reference (TYPE) TT_BAPI1003_TREE Table Type for BAPI1003_TREE 20070209
6 Importing I_PREPARE_CHECK Call by reference Type reference (TYPE) XFELD Checkbox 20070209

Method GET_CHAR_EXPORT on class CL_WRF_APC_CLASSIFICATION has no exception.

Method GET_CLASSIFICATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_CLASS Call by reference Object reference (TYPE REF TO) CL_WRF_APC_CLASSIFICATION Operational APC - Classification 20031118
2 Importing I_CHPROF Call by reference Type reference (TYPE) WRF_CHARPROF Merkmalsprofil 20031118
3 Importing I_MATKL Call by reference Type reference (TYPE) MATKL Materialgruppe 20031118
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS Operational APC - Article Exceptions 20031126
2 CX_WRF_APC_ROOT_EXCEPTIONS Operational APC - Global common exceptions 20031120

Method GET_KSML_FOR_CHAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ES_KSML Value transfer Type reference (TYPE) KSML Characteristics of a Class 20070209
2 Importing IT_CLTREE Call by reference Type reference (TYPE) TT_BAPI1003_TREE Table Type for BAPI1003_TREE 20070209
3 Importing IT_KLAH Call by reference Type reference (TYPE) TT_KLAH Table Type for KLAH 20070209
4 Importing IT_KSML Call by reference Type reference (TYPE) TT_KSML Table Type for KSML 20070209
5 Importing I_ATINN Call by reference Type reference (TYPE) CABN-ATINN Internal characteristic 20070209

Method GET_KSML_FOR_CHAR on class CL_WRF_APC_CLASSIFICATION has no exception.

Method GET_NUM_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_ATWRT Value transfer Type reference (TYPE) CAWN-ATWRT Characteristic Value 20070209
2 Importing IS_CABN Call by reference Type reference (TYPE) CABN Characteristic 20070209
3 Importing I_ATCOD Call by reference Type reference (TYPE) CAWN-ATCOD Code for value dependency 20070209
4 Importing I_ATFLB Call by reference Type reference (TYPE) CAWN-ATFLB Internal floating point value to 20070209
5 Importing I_ATFLV Call by reference Type reference (TYPE) CAWN-ATFLV Internal floating point from 20070209

Method GET_NUM_VALUE on class CL_WRF_APC_CLASSIFICATION has no exception.

Method IS_QS_DEFINED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ATINN Call by reference Type reference (TYPE) ATINN Internes Merkmal 20040503
2 Returning R_DEFINED Value transfer Type reference (TYPE) XFELD 20040504

Method IS_QS_DEFINED on class CL_WRF_APC_CLASSIFICATION has no exception.

Method READ_ADDITIONAL_CLASSIF Signature

Method READ_ADDITIONAL_CLASSIF on class CL_WRF_APC_CLASSIFICATION has no parameter.
# Exception Resumable Description Created on
1 CX_WRF_APC_ROOT_EXCEPTIONS Operational APC - Global common exceptions 20070131

Method READ_CABN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ES_CABN Value transfer Type reference (TYPE) CABN Characteristic 20070209
2 Importing I_ATNAM Call by reference Type reference (TYPE) CABN-ATNAM Characteristic Name 20070209

Method READ_CABN on class CL_WRF_APC_CLASSIFICATION has no exception.

Method READ_CHARACTERISTICS Signature

Method READ_CHARACTERISTICS on class CL_WRF_APC_CLASSIFICATION has no parameter.
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS Operational APC - Article Exceptions 20031126
2 CX_WRF_APC_ROOT_EXCEPTIONS Operational APC - Global common exceptions 20031120

Method READ_CHAR_TYPE Signature

Method READ_CHAR_TYPE on class CL_WRF_APC_CLASSIFICATION has no parameter.
# Exception Resumable Description Created on
1 CX_WRF_APC_ROOT_EXCEPTIONS 20060427

Method READ_CHAR_VALUES Signature

Method READ_CHAR_VALUES on class CL_WRF_APC_CLASSIFICATION has no parameter.
Method READ_CHAR_VALUES on class CL_WRF_APC_CLASSIFICATION has no exception.

Method READ_CHAR_VAR_RELEV Signature

Method READ_CHAR_VAR_RELEV on class CL_WRF_APC_CLASSIFICATION has no parameter.
Method READ_CHAR_VAR_RELEV on class CL_WRF_APC_CLASSIFICATION has no exception.

Method READ_CLASSIFICATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CHAR Call by reference Type reference (TYPE) WRF_APC_CHAR_TTY Characteristics 20070131
2 Exporting ET_CHAR_VALU Call by reference Type reference (TYPE) WRF_APC_CHARVALU_TTY Characteristic values 20070131
3 Importing I_CHPROF Call by reference Type reference (TYPE) WRF_CHARPROF Characteristic Profile 20070131
4 Importing I_MATKL Call by reference Type reference (TYPE) MARA-MATKL Material Group 20070131
5 Importing I_PREPARE_CHECK Call by reference Type reference (TYPE) XFELD 'X' Checkbox 20070131
# Exception Resumable Description Created on
1 CX_WRF_APC_ROOT_EXCEPTIONS Operational APC - Global common exceptions 20070131

Method READ_CLASS_CHARS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BAPICHAR Call by reference Type reference (TYPE) TT_BAPI_CHAR Table Type for BAPI_CHAR 20070209
2 Exporting ET_BAPICHARVAL Call by reference Type reference (TYPE) TT_BAPI_CHAR_VALUES Table Type for BAPI_CHAR_VALUES 20070209
3 Importing I_CHPROF Call by reference Type reference (TYPE) WRF_CHARPROF Characteristic Profile 20070209
4 Importing I_MATKL Call by reference Type reference (TYPE) MARA-MATKL Material Group 20070209
5 Importing I_SORT_VALUES Call by reference Type reference (TYPE) XFELD 'X' Checkbox 20070209
# Exception Resumable Description Created on
1 CX_WRF_APC_ROOT_EXCEPTIONS Operational APC - Global common exceptions 20070209

Method READ_HIERARCHY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_CLTREE Value transfer Type reference (TYPE) TT_BAPI1003_TREE Table Type for BAPI1003_TREE 20070209
2 Importing I_CHPROF Call by reference Type reference (TYPE) WRF_CHARPROF Characteristic Profile 20070209
3 Importing I_MATKL Call by reference Type reference (TYPE) MARA-MATKL Material Group 20070209
4 Importing I_SORT_DESC Call by reference Type reference (TYPE) XFELD 'X' Checkbox 20070209
# Exception Resumable Description Created on
1 CX_WRF_APC_ROOT_EXCEPTIONS Operational APC - Global common exceptions 20070209

Method READ_KLAH_KSML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_KLAH Call by reference Type reference (TYPE) TT_KLAH Table Type for KLAH 20070209
2 Exporting ET_KSML Call by reference Type reference (TYPE) TT_KSML Table Type for KSML 20070209
3 Importing IT_CLTREE Call by reference Type reference (TYPE) TT_BAPI1003_TREE Table Type for BAPI1003_TREE 20070209

Method READ_KLAH_KSML on class CL_WRF_APC_CLASSIFICATION has no exception.

Method READ_QUOTA_SCALE Signature

Method READ_QUOTA_SCALE on class CL_WRF_APC_CLASSIFICATION has no parameter.
Method READ_QUOTA_SCALE on class CL_WRF_APC_CLASSIFICATION has no exception.

Method READ_R3_CLASSIFICATION Signature

Method READ_R3_CLASSIFICATION on class CL_WRF_APC_CLASSIFICATION has no parameter.
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS Operational APC - Article Exceptions 20031126
2 CX_WRF_APC_ROOT_EXCEPTIONS Operational APC - Global common exceptions 20031120

Method READ_VALUE_GROUPING Signature

Method READ_VALUE_GROUPING on class CL_WRF_APC_CLASSIFICATION has no parameter.
Method READ_VALUE_GROUPING on class CL_WRF_APC_CLASSIFICATION has no exception.
History
Last changed by/on SAP  20070912 
SAP Release Created in 111