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 | Constant | Public | Type reference (TYPE) | ATTYP | '11' | Prepack article | 20011017 | ||
| 2 | Constant | Public | Type reference (TYPE) | ATTYP | '01' | Generic article | 20011017 | ||
| 3 | Constant | Public | Type reference (TYPE) | ATTYP | '02' | Variant article | 20011017 | ||
| 4 | Constant | Public | Type reference (TYPE) | RELEVANZKZ | '2' | Variant-Creating | 20011017 | ||
| 5 | Instance attribute | Public | Type reference (TYPE) | ATINN | Column characteristic | 20020424 | |||
| 6 | Instance attribute | Public | Type reference (TYPE) | ATNAM | Column characteristic name | 20020424 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | SYMSGID | Messages, Message Class | 20020429 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | SYMSGNO | Messages, Message Number | 20020429 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | NATXT | Message text | 20020429 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | I | Numbe of characteristic used (or axle) | 20011031 | |||
| 11 | Instance attribute | Public | Type reference (TYPE) | I | Nombre of characteristic value for the column characteristic | 20020424 | |||
| 12 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_EX_WSTRN_STYLE | Business add-in interface IF_EX_WSTRN_STYLE | 20020419 | |||
| 13 | Instance attribute | Public | Type reference (TYPE) | ATINN | Row characteristic | 20020424 | |||
| 14 | Instance attribute | Public | Type reference (TYPE) | ATNAM | Row characteristic name | 20020424 | |||
| 15 | Instance attribute | Public | Type reference (TYPE) | MAKT | Material Descriptions | 20011017 | |||
| 16 | Instance attribute | Public | Type reference (TYPE) | MARA | General data about the generic article | 20011016 | |||
| 17 | Instance attribute | Public | Type reference (TYPE) | MAW1 | Material Master: Default Fields and Special MMS Fields | 20011112 | |||
| 18 | Instance attribute | Public | Type reference (TYPE) | WSTN_AUSP_TAB | Char. values associated to each variant | 20011016 | |||
| 19 | Instance attribute | Public | Type reference (TYPE) | WSTN_CHAR_TAB | Characteristics table | 20011016 | |||
| 20 | Instance attribute | Public | Type reference (TYPE) | WSTN_CHAR_ORDER_TAB | Characteristic sequence | 20011018 | |||
| 21 | Instance attribute | Public | Type reference (TYPE) | LVC_T_FCAT | Field catalog to dynamically generate the ALV grid table | 20011016 | |||
| 22 | Instance attribute | Public | Type reference (TYPE) | WSTN_LFA1_TAB | Vendor(s) information | 20020116 | |||
| 23 | Instance attribute | Public | Type reference (TYPE) | WSTN_VALI_TAB | Characteristic values table | 20011016 | |||
| 24 | Instance attribute | Public | Type reference (TYPE) | WSTN_VAR_TAB | Variants table | 20011016 | |||
| 25 | Instance attribute | Public | Type reference (TYPE) | WSTN_VAR_IDX_BY_CV_TAB | Variants indexed by characteristic values | 20020103 | |||
| 26 | Instance attribute | Public | Type reference (TYPE) | WSTN_VAR_IDX_BY_RV_TAB | Variants indexed by real char. values (Reference matching) | 20020208 | |||
| 27 | Instance attribute | Public | Type reference (TYPE) | WSTN_VAR_IDX_BY_VN_TAB | Variants indexed by variant number | 20020103 | |||
| 28 | 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 | Instance method | Private | Method | Build subset of field catalog to generate ALV grid table | 20011018 | |
| 2 | Instance method | Private | Method | Build index to access variants by char. value or var. number | 20020628 | |
| 3 | Static method | Public | Constructor | Get the instance for the BAdI | 20020419 | |
| 4 | Instance method | Public | Constructor | Gathers information concerning the generic material | 20011016 | |
| 5 | Instance method | Private | Method | Determine the column and row characteristic | 20011017 | |
| 6 | Instance method | Public | Method | Display the variants of a generic material in a grid | 20011018 | |
| 7 | Instance method | Public | Method | Reset the generic material instance | 20011023 | |
| 8 | Instance method | Private | Method | Get the characteristic values associated to each variant | 20011017 | |
| 9 | Instance method | Private | Method | Return all listing conditions for the generic material | 20011113 | |
| 10 | Instance method | Private | Method | Get the list of all vendors defined for the generic material | 20020116 | |
| 11 | Instance method | Private | Method | Remove char. values (color) that are not used by any variant | 20020628 | |
| 12 | 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 | IM_GET_LISTING_COND | Call by reference | Type reference (TYPE) | XFELD | 'X' | Gibt an, ob die Funktion die Listungskondition holen soll | 20020208 | ||
| 2 | IM_GET_VENDOR | Call by reference | Type reference (TYPE) | XFELD | 'X' | Gibt an, ob die Funktion die Lieferantendaten holen soll | 20020208 | ||
| 3 | IM_LOCK_TYPE | Call by reference | Type reference (TYPE) | SPERA | Art der Sperre (Shared, Exclusiv ) | 20011228 | |||
| 4 | IM_STYLNR | Call by reference | Type reference (TYPE) | MATNR | Materialnummer | 20011016 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Die Klassifizierungsdaten sind inkonsistent | 20011017 | ||
| 2 | Das Material existiert nicht oder ist gesperrt | 20011228 | ||
| 3 | Das Mat. kann für Retail nicht verwendet werden (MAW1 fehlt) | 20011112 | ||
| 4 | Das Material ist kein Sammelmaterial | 20011017 | ||
| 5 | Das Sammelmaterial hat keine Varianten | 20020506 | ||
| 6 | 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 | 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 | 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 |