SAP ABAP Class CL_WSTN_STYLE (Encapsulate the information on the generic material)
Hierarchy
EA-RETAIL (Software Component) SAP Enterprise Extension Retail
   LO-MD-MM (Application Component) Material Master
     WSTRN (Package) Prepack Allocation Planning Dialog
Properties
Class CL_WSTN_STYLE  
Short Description Encapsulate the information on the generic material    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class WSTRN    
Program status P  SAP Standard Production Program 
Category 0   
Package WSTRN   Prepack Allocation Planning Dialog 
Created 20011016   SAP 
Last change 20020503   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_WSTN_STYLE has no forward declaration.
Interfaces
Class CL_WSTN_STYLE has no interface implemented.
Friends
Class CL_WSTN_STYLE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_ATTYP_LOT Constant Public Type reference (TYPE) ATTYP '11' Prepack article 20011017
2 CO_ATTYP_SAMM Constant Public Type reference (TYPE) ATTYP '01' Generic article 20011017
3 CO_ATTYP_VAR Constant Public Type reference (TYPE) ATTYP '02' Variant article 20011017
4 CO_RELEV_VAR Constant Public Type reference (TYPE) RELEVANZKZ '2' Variant-Creating 20011017
5 G_COLCHAR Instance attribute Public Type reference (TYPE) ATINN Column characteristic 20020424
6 G_COLCHAR_NAME Instance attribute Public Type reference (TYPE) ATNAM Column characteristic name 20020424
7 G_MSGID Instance attribute Private Type reference (TYPE) SYMSGID Messages, Message Class 20020429
8 G_MSGNO Instance attribute Private Type reference (TYPE) SYMSGNO Messages, Message Number 20020429
9 G_MSGTXT Instance attribute Private Type reference (TYPE) NATXT Message text 20020429
10 G_NBRE_CHAR Instance attribute Public Type reference (TYPE) I Numbe of characteristic used (or axle) 20011031
11 G_NBRE_VALUE_COLCHAR Instance attribute Public Type reference (TYPE) I Nombre of characteristic value for the column characteristic 20020424
12 G_O_EXIT_STYLE Static Attribute Private Object reference (TYPE REF TO) IF_EX_WSTRN_STYLE Business add-in interface IF_EX_WSTRN_STYLE 20020419
13 G_ROWCHAR Instance attribute Public Type reference (TYPE) ATINN Row characteristic 20020424
14 G_ROWCHAR_NAME Instance attribute Public Type reference (TYPE) ATNAM Row characteristic name 20020424
15 G_S_MAKT Instance attribute Public Type reference (TYPE) MAKT Material Descriptions 20011017
16 G_S_MARA Instance attribute Public Type reference (TYPE) MARA General data about the generic article 20011016
17 G_S_MAW1 Instance attribute Public Type reference (TYPE) MAW1 Material Master: Default Fields and Special MMS Fields 20011112
18 G_T_AUSP Instance attribute Public Type reference (TYPE) WSTN_AUSP_TAB Char. values associated to each variant 20011016
19 G_T_CHAR Instance attribute Public Type reference (TYPE) WSTN_CHAR_TAB Characteristics table 20011016
20 G_T_CHAR_SEQ Instance attribute Public Type reference (TYPE) WSTN_CHAR_ORDER_TAB Characteristic sequence 20011018
21 G_T_FCAT Instance attribute Public Type reference (TYPE) LVC_T_FCAT Field catalog to dynamically generate the ALV grid table 20011016
22 G_T_LFA1 Instance attribute Public Type reference (TYPE) WSTN_LFA1_TAB Vendor(s) information 20020116
23 G_T_VALU Instance attribute Public Type reference (TYPE) WSTN_VALI_TAB Characteristic values table 20011016
24 G_T_VAR Instance attribute Public Type reference (TYPE) WSTN_VAR_TAB Variants table 20011016
25 G_T_VARIDX_CV Instance attribute Public Type reference (TYPE) WSTN_VAR_IDX_BY_CV_TAB Variants indexed by characteristic values 20020103
26 G_T_VARIDX_RV Instance attribute Public Type reference (TYPE) WSTN_VAR_IDX_BY_RV_TAB Variants indexed by real char. values (Reference matching) 20020208
27 G_T_VARIDX_VN Instance attribute Public Type reference (TYPE) WSTN_VAR_IDX_BY_VN_TAB Variants indexed by variant number 20020103
28 G_T_WLK1 Instance attribute Public Type reference (TYPE) WSTN_WLK1_TAB Listing conditions SAP Retail Assortments 20020201
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_FIELD_CATALOG Instance method Private Method Build subset of field catalog to generate ALV grid table 20011018
2 BUILD_VARIANTS_INDEX Instance method Private Method Build index to access variants by char. value or var. number 20020628
3 CLASS_CONSTRUCTOR Static method Public Constructor Get the instance for the BAdI 20020419
4 CONSTRUCTOR Instance method Public Constructor Gathers information concerning the generic material 20011016
5 DETERMINE_AXLE Instance method Private Method Determine the column and row characteristic 20011017
6 DISPLAY_VARIANTS Instance method Public Method Display the variants of a generic material in a grid 20011018
7 FREE Instance method Public Method Reset the generic material instance 20011023
8 GET_AUSP Instance method Private Method Get the characteristic values associated to each variant 20011017
9 GET_LISTING_CONDITIONS Instance method Private Method Return all listing conditions for the generic material 20011113
10 GET_VENDORS_INFORMATION Instance method Private Method Get the list of all vendors defined for the generic material 20020116
11 REMOVE_UNUSED_CHAR_VALUES Instance method Private Method Remove char. values (color) that are not used by any variant 20020628
12 SETUP_CHAR_VALUE_COUNTER Instance method Private Method Setup the characteristic value counter field (ATZHL) 20020111
Events
Class CL_WSTN_STYLE has no event.
Types
Class CL_WSTN_STYLE has no local type.
Method Signatures

Method BUILD_FIELD_CATALOG Signature

Method BUILD_FIELD_CATALOG on class CL_WSTN_STYLE has no parameter.
Method BUILD_FIELD_CATALOG on class CL_WSTN_STYLE has no exception.

Method BUILD_VARIANTS_INDEX Signature

Method BUILD_VARIANTS_INDEX on class CL_WSTN_STYLE has no parameter.
Method BUILD_VARIANTS_INDEX on class CL_WSTN_STYLE has no exception.

Method CLASS_CONSTRUCTOR Signature

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

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_GET_LISTING_COND Call by reference Type reference (TYPE) XFELD 'X' Gibt an, ob die Funktion die Listungskondition holen soll 20020208
2 Importing IM_GET_VENDOR Call by reference Type reference (TYPE) XFELD 'X' Gibt an, ob die Funktion die Lieferantendaten holen soll 20020208
3 Importing IM_LOCK_TYPE Call by reference Type reference (TYPE) SPERA Art der Sperre (Shared, Exclusiv ) 20011228
4 Importing IM_STYLNR Call by reference Type reference (TYPE) MATNR Materialnummer 20011016
# Exception Resumable Description Created on
1 CLASS_INCONSISTENT Die Klassifizierungsdaten sind inkonsistent 20011017
2 MARA_NOT_FOUND_OR_LOCK Das Material existiert nicht oder ist gesperrt 20011228
3 MAW1_MISSING Das Mat. kann für Retail nicht verwendet werden (MAW1 fehlt) 20011112
4 NOT_GENERIC Das Material ist kein Sammelmaterial 20011017
5 NO_VARIANTS Das Sammelmaterial hat keine Varianten 20020506
6 TOO_CHARACTERISTICS Das Sammelmaterial hat mehr als zwei Merkmale 20011017

Method DETERMINE_AXLE Signature

Method DETERMINE_AXLE on class CL_WSTN_STYLE has no parameter.
Method DETERMINE_AXLE on class CL_WSTN_STYLE has no exception.

Method DISPLAY_VARIANTS Signature

Method DISPLAY_VARIANTS on class CL_WSTN_STYLE has no parameter.
# Exception Resumable Description Created on
1 NO_MATRIX Fehler bei Matrixdarstellung 20011129

Method FREE Signature

Method FREE on class CL_WSTN_STYLE has no parameter.
Method FREE on class CL_WSTN_STYLE has no exception.

Method GET_AUSP Signature

Method GET_AUSP on class CL_WSTN_STYLE has no parameter.
Method GET_AUSP on class CL_WSTN_STYLE has no exception.

Method GET_LISTING_CONDITIONS Signature

Method GET_LISTING_CONDITIONS on class CL_WSTN_STYLE has no parameter.
# Exception Resumable Description Created on
1 NO_LISTING_COND Für das Sammelmaterial wurde keine Listungskond. gefunden 20011113

Method GET_VENDORS_INFORMATION Signature

Method GET_VENDORS_INFORMATION on class CL_WSTN_STYLE has no parameter.
Method GET_VENDORS_INFORMATION on class CL_WSTN_STYLE has no exception.

Method REMOVE_UNUSED_CHAR_VALUES Signature

Method REMOVE_UNUSED_CHAR_VALUES on class CL_WSTN_STYLE has no parameter.
Method REMOVE_UNUSED_CHAR_VALUES on class CL_WSTN_STYLE has no exception.

Method SETUP_CHAR_VALUE_COUNTER Signature

Method SETUP_CHAR_VALUE_COUNTER on class CL_WSTN_STYLE has no parameter.
Method SETUP_CHAR_VALUE_COUNTER on class CL_WSTN_STYLE has no exception.
History
Last changed by/on SAP  20020503 
SAP Release Created in 110