SAP ABAP Class CL_WSTN_VARIANTS_SUMMARY (Encapsulate the variants summary functionality)
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_VARIANTS_SUMMARY | |
| Short Description | Encapsulate the variants summary functionality | |
| 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 | 20020103 | SAP |
| Last change | 20020503 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_WSTN_VARIANTS_SUMMARY has no interface implemented.
Friends
Class CL_WSTN_VARIANTS_SUMMARY has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | SYUCOMM | 'RFSH_VAR_SUM' | FCode to refresh the variant summary ALV Grid | 20020103 | ||
| 2 | Instance attribute | Private | Type reference (TYPE) | XFELD | Indicates if some allocation line have been changed | 20020103 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | I | Column position of field ACTUAL_NB_VAR in the VAR grid | 20020104 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | I | First column position of field CPQTY (F0001) in the VAR grid | 20020103 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | I | Column position of field PLAN_NB_VAR in the VAR grid | 20020104 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | I | Column position of field SCHAR in the VAR grid | 20020103 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | SCRFNAME | Name of a Screen Element | 20020103 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | SYMSGID | Messages, Message Class | 20020429 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | SYMSGNO | Messages, Message Number | 20020429 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | NATXT | Message text | 20020429 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | XFELD | Indicates if it contains data that have never been displayed | 20020103 | |||
| 12 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_WSTN_PP_ALLOC_PLANNING | Allocation planning data | 20020103 | |||
| 13 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GUI_CUSTOM_CONTAINER | Custom cont. that make the link between the class and dialog | 20020103 | |||
| 14 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GUI_ALV_GRID | Variant summary ALV grid | 20020103 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | XFELD | Indicates if some prepack components have been changed | 20020103 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | XFELD | Indicates if the put-away plan has been changed | 20020103 | |||
| 17 | Instance attribute | Private | Type reference (TYPE) | WSTN_MAP_STYLE_PLAN | MAP plan at the style level | 20020118 | |||
| 18 | Instance attribute | Private | Type reference (TYPE) | LVC_S_LAYO | Layout definition of the variant summary ALV grid | 20020103 | |||
| 19 | Instance attribute | Private | Type reference (TYPE) | WSTN_MAP_COLOR_PLAN_TAB | MAP plan at the characteristic (color) level | 20020118 | |||
| 20 | Instance attribute | Public | Type reference (TYPE) | WSTN_AL_VARIANT_SUM_TAB | Variant summary | 20020103 | |||
| 21 | Instance attribute | Private | Type reference (TYPE) | LVC_T_FCAT | Field catalog for the variant summary ALV grid | 20020103 | |||
| 22 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | Pointer to the variant summary ALV grid table | 20020103 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Build the f. cat. and lay. for the variant summary ALV grid | 20020103 | |
| 2 | Instance method | Private | Method | Calculate the summary by variant | 20020103 | |
| 3 | Instance method | Public | Constructor | Initialize an instance of the variants summary class | 20020103 | |
| 4 | Instance method | Public | Method | Destroy the variant summary dialog object | 20020103 | |
| 5 | Instance method | Private | Event handling method | Handle the event ALLOCATION_PLAN_CHANGED from the Alloc Obj. | 20020103 | |
| 6 | Instance method | Private | Event handling method | Handle the event PREPACKS_CHANGED from the Prepack Defn. obj | 20020103 | |
| 7 | Instance method | Private | Event handling method | Handle the event PUTAWAY_PLAN_CHANGED from the Alloc Obj. | 20020103 | |
| 8 | Instance method | Private | Event handling method | Setup the variant summary ALV grid toolbar | 20020104 | |
| 9 | Instance method | Private | Event handling method | Dispatch to the method that will take the appropriate action | 20020103 | |
| 10 | Instance method | Public | Method | Load MAP plan and allocation plan into the dialog object | 20020103 | |
| 11 | Instance method | Private | Method | Load the variant summary into the ALV grid | 20020103 | |
| 12 | Instance method | Public | Method | Formatted output data are sent to controls | 20020103 | |
| 13 | Instance method | Public | Method | Reset the variant summary dialog object | 20020103 |
Events
Class CL_WSTN_VARIANTS_SUMMARY has no event.
Types
Class CL_WSTN_VARIANTS_SUMMARY has no local type.
Method Signatures
Method BUILD_VAR_FCAT Signature
Method BUILD_VAR_FCAT on class CL_WSTN_VARIANTS_SUMMARY has no parameter.
Method BUILD_VAR_FCAT on class CL_WSTN_VARIANTS_SUMMARY has no exception.
Method CALCULATE_VARIANT_SUMMARY Signature
Method CALCULATE_VARIANT_SUMMARY on class CL_WSTN_VARIANTS_SUMMARY has no parameter.
Method CALCULATE_VARIANT_SUMMARY on class CL_WSTN_VARIANTS_SUMMARY has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_CONTAINER_NAME | Call by reference | Type reference (TYPE) | C | Dynpro-Custom-Control, dem Container zugeordnet werden soll | 20020103 |
Method CONSTRUCTOR on class CL_WSTN_VARIANTS_SUMMARY has no exception.
Method FREE Signature
Method FREE on class CL_WSTN_VARIANTS_SUMMARY has no parameter.
Method FREE on class CL_WSTN_VARIANTS_SUMMARY has no exception.
Method HANDLE_ALLOCATION_PLAN_CHANGED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_PLANNR | Call by reference | Attribute reference (LIKE) | 20020103 | |||||
| 2 | IM_PONUM | Call by reference | Attribute reference (LIKE) | 20020103 | |||||
| 3 | IM_UPDOPER | Call by reference | Attribute reference (LIKE) | 20020103 |
Method HANDLE_ALLOCATION_PLAN_CHANGED on class CL_WSTN_VARIANTS_SUMMARY has no exception.
Method HANDLE_PREPACKS_CHANGED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_NEW_MENGE | Call by reference | Attribute reference (LIKE) | 20020103 | |||||
| 2 | IM_OLD_MENGE | Call by reference | Attribute reference (LIKE) | 20020103 | |||||
| 3 | IM_PPNR | Call by reference | Attribute reference (LIKE) | 20020103 | |||||
| 4 | IM_UPDOPER | Call by reference | Attribute reference (LIKE) | 20020103 | |||||
| 5 | IM_VARNR | Call by reference | Attribute reference (LIKE) | 20020103 |
Method HANDLE_PREPACKS_CHANGED on class CL_WSTN_VARIANTS_SUMMARY has no exception.
Method HANDLE_PUTAWAY_PLAN_CHANGED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_PLANNR | Call by reference | Attribute reference (LIKE) | 20020103 | |||||
| 2 | IM_PONUM | Call by reference | Attribute reference (LIKE) | 20020103 | |||||
| 3 | IM_UPDOPER | Call by reference | Attribute reference (LIKE) | 20020103 |
Method HANDLE_PUTAWAY_PLAN_CHANGED on class CL_WSTN_VARIANTS_SUMMARY has no exception.
Method HANDLE_TOOLBAR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_INTERACTIVE | Call by reference | Attribute reference (LIKE) | 20020104 | |||||
| 2 | E_OBJECT | Call by reference | Attribute reference (LIKE) | 20020104 |
Method HANDLE_TOOLBAR on class CL_WSTN_VARIANTS_SUMMARY has no exception.
Method HANDLE_USER_COMMAND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_UCOMM | Call by reference | Attribute reference (LIKE) | 20020103 |
Method HANDLE_USER_COMMAND on class CL_WSTN_VARIANTS_SUMMARY has no exception.
Method LOAD_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_O_ALLOC_PLANNING | Call by reference | Object reference (TYPE REF TO) | CL_WSTN_PP_ALLOC_PLANNING | Aufteilungsplanungsdaten | 20020103 | |||
| 2 | IM_S_STYLE_PLAN | Call by reference | Type reference (TYPE) | WSTN_MAP_STYLE_PLAN | MAP-Plan auf Materialebene (Sammelmaterial) | 20020118 | |||
| 3 | IM_T_COLOR_PLAN | Call by reference | Type reference (TYPE) | WSTN_MAP_COLOR_PLAN_TAB | MAP-Plan auf Merkmalsebene (Farbe) | 20020118 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Es wurde kein Aufteilungsobjekt angegeben | 20020103 |
Method LOAD_VARIANT_SUMMARY Signature
Method LOAD_VARIANT_SUMMARY on class CL_WSTN_VARIANTS_SUMMARY has no parameter.
Method LOAD_VARIANT_SUMMARY on class CL_WSTN_VARIANTS_SUMMARY has no exception.
Method PREPARE_DISPLAY Signature
Method PREPARE_DISPLAY on class CL_WSTN_VARIANTS_SUMMARY has no parameter.
Method PREPARE_DISPLAY on class CL_WSTN_VARIANTS_SUMMARY has no exception.
Method RESET Signature
Method RESET on class CL_WSTN_VARIANTS_SUMMARY has no parameter.
Method RESET on class CL_WSTN_VARIANTS_SUMMARY has no exception.
History
| Last changed by/on | SAP | 20020503 |
| SAP Release Created in | 110 |