SAP ABAP Class CL_WSTN_PREPACK_DEFN (Encapsulate the prepack data definition)
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_PREPACK_DEFN | |
| Short Description | Encapsulate the prepack data definition | |
| 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 | 20011019 | SAP |
| Last change | 20011119 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_WSTN_PREPACK_DEFN has no forward declaration.
Interfaces
Class CL_WSTN_PREPACK_DEFN has no interface implemented.
Friends
Class CL_WSTN_PREPACK_DEFN has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | CHAR01 | '4' | Maintenance status for "Description changed" | 20011024 | ||
| 2 | Constant | Public | Type reference (TYPE) | CHAR01 | '1' | Maintenance status for "New prepack" | 20011024 | ||
| 3 | Constant | Public | Type reference (TYPE) | CHAR01 | '5' | Maintenance status for "Prepack deleted" | 20011024 | ||
| 4 | Constant | Public | Type reference (TYPE) | CHAR01 | '3' | Maintenance status for "Price changed" | 20011024 | ||
| 5 | Constant | Public | Type reference (TYPE) | CHAR01 | '2' | Maintenance status for "Structure changed" | 20011024 | ||
| 6 | Instance attribute | Public | Type reference (TYPE) | XFELD | Indicates if some prepack data have been changed | 20020115 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | SYMSGID | Messages, Message Class | 20020426 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | SYMSGNO | Messages, Message Number | 20020426 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | NATXT | Message text | 20020426 | |||
| 10 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_EX_WSTRN_PREPACK | Business add-in interface IF_EX_WSTRN_PREPACK | 20020108 | |||
| 11 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_WSTN_STYLE | Information on the generic article related to the prepacks | 20011022 | |||
| 12 | Instance attribute | Public | Type reference (TYPE) | WSTN_REF_LOTNR | Reference Material for New Prepacks | 20020114 | |||
| 13 | Instance attribute | Public | Type reference (TYPE) | XFELD | Indicates if a reference article is required for new prepack | 20020416 | |||
| 14 | Instance attribute | Public | Type reference (TYPE) | XFELD | Indicates that some prepacks cannot be changed | 20020416 | |||
| 15 | Instance attribute | Public | Type reference (TYPE) | WSTN_PP_DESC_TAB | Prepack definition - Description data | 20011019 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | WSTN_PP_DESC_TAB | Prepack definition - Deleted description | 20020207 | |||
| 17 | Instance attribute | Public | Type reference (TYPE) | WSTN_PP_HEADER_TAB | Prepack definition - Header data | 20011019 | |||
| 18 | Instance attribute | Public | Type reference (TYPE) | TSMESG | Msg that come up during check to determine PP modifiable | 20020416 | |||
| 19 | Instance attribute | Public | Type reference (TYPE) | WSTN_PP_PURCH_TAB | Prepack definition - Purchasing price data | 20011019 | |||
| 20 | Instance attribute | Private | Type reference (TYPE) | WSTN_PP_PURCH_TAB | Prepack definition - Deleted purchasing price | 20020207 | |||
| 21 | Instance attribute | Public | Type reference (TYPE) | WSTN_PP_STRUC_TAB | Prepack definition - Components data | 20011019 | |||
| 22 | Instance attribute | Private | Type reference (TYPE) | WSTN_PP_STRUC_TAB | Prepack definition - Deleted components | 20020207 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Verify that all prepacks are correctly defined | 20020204 | |
| 2 | Static method | Public | Constructor | Get the instance for the BAdIs | 20020108 | |
| 3 | Instance method | Public | Constructor | Gathers the prepacks that belong to a generic material | 20011019 | |
| 4 | Instance method | Public | Method | Create a new prepack by using an existing prepack as model | 20011026 | |
| 5 | Instance method | Public | Method | Create a new prepack | 20011024 | |
| 6 | Instance method | Private | Method | Create new prepacks from the reference generic material | 20020426 | |
| 7 | Instance method | Public | Method | Remove a series of components of one prepack | 20011120 | |
| 8 | Instance method | Public | Method | Delete a planned prepack | 20011026 | |
| 9 | Instance method | Private | Method | Determine a valid prepack material number | 20011024 | |
| 10 | Instance method | Public | Method | Reset the prepack definition instance | 20011023 | |
| 11 | Instance method | Public | Method | Add a message to the message buffer | 20030227 | |
| 12 | Instance method | Public | Method | Save the prepack into temporary tables before posting | 20011214 | |
| 13 | Instance method | Public | Method | Set the default material used as prepack reference | 20020114 | |
| 14 | Instance method | Public | Method | Update the prepack structure | 20011025 | |
| 15 | Instance method | Public | Method | Update the prepack descriptions | 20011211 | |
| 16 | Instance method | Public | Method | Update the prepack purchasing prices | 20011212 |
Events
| # | Event | Type | Visibility | Description | Created on |
|---|---|---|---|---|---|
| 1 | PREPACKS_CHANGED | Instance Event (0) |
Public (2) |
Triggered each time a prepack has been changed | 20011213 |
Types
Class CL_WSTN_PREPACK_DEFN has no local type.
Method Signatures
Method CHECK_COMPLETENESS Signature
Method CHECK_COMPLETENESS on class CL_WSTN_PREPACK_DEFN has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Einige Lots sind unvollständig | 20020204 | ||
| 2 | Es fehlt ein Vorlagematerial für die neuen Lotmaterialien | 20020416 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_WSTN_PREPACK_DEFN has no parameter.
Method CLASS_CONSTRUCTOR on class CL_WSTN_PREPACK_DEFN has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_O_REF_STYLE | Call by reference | Object reference (TYPE REF TO) | CL_WSTN_STYLE | Informationen zum Vorlage-Sammelmaterial | 20020208 | |||
| 2 | IM_O_STYLE | Call by reference | Object reference (TYPE REF TO) | CL_WSTN_STYLE | Informationen über das zugehörige Sammelmaterial zu den Lots | 20011022 | |||
| 3 | IM_READ_ONLY | Call by reference | Type reference (TYPE) | XFELD | ' ' | Gibt an, ob die Daten nur zum Anzeigen gelesen werden | 20020208 | ||
| 4 | IM_RECOVERY_MODE | Call by reference | Type reference (TYPE) | XFELD | ' ' | Gibt an, ob Daten aus temp. Tab. neu geladen werden sollen | 20020109 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Es kann keine Materialnummer für das Lot ermittelt werden | 20020426 | ||
| 2 | Es wurde kein Sammelmaterial-Objekt angegeben | 20011213 | ||
| 3 | Das Lotmaterial ist durch einen anderen Benutzer gesperrt | 20020320 |
Method COPY_PREPACK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_PPNR | Call by reference | Type reference (TYPE) | WSTR_LOTNR | Materialnummer des angelegten Lots | 20011026 | |||
| 2 | IM_PPNR | Call by reference | Type reference (TYPE) | WSTR_LOTNR | Materialnummer der Lotvorlage | 20011026 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Es kann keine Materialnummer für das Lot ermittelt werden | 20011026 | ||
| 2 | Das zu kopierende Lotmaterial wurde nicht gefunden | 20011026 |
Method CREATE_PREPACK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_PPNR | Call by reference | Type reference (TYPE) | WSTR_LOTNR | Materialnummer des angelegten Lots | 20011024 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Es kann keine Materialnummer für das Lot ermittelt werden | 20011024 |
Method CREATE_PREPACKS_FROM_REF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_O_REF_STYLE | Call by reference | Object reference (TYPE REF TO) | CL_WSTN_STYLE | Informationen zum Vorlage-Sammelmaterial | 20020426 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Es kann keine Materialnummer für das Lot ermittelt werden | 20020426 | ||
| 2 | Das Vorlage-Lotmat. ist durch einen and. Benutzer gesperrt | 20020426 |
Method DELETE_PARTIAL_PREPACK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_ATZHLY | Call by reference | Type reference (TYPE) | WSTN_ATZHLY | Komponenten mit diesem Merkmalswert entfernen | 20011120 | |||
| 2 | IM_PPNR | Call by reference | Type reference (TYPE) | WSTR_LOTNR | Materialnummer des Lotmaterials | 20011120 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Änderungen am Lotmaterial sind nicht zulässig | 20020416 | ||
| 2 | Das Lotmaterial existiert nicht | 20011120 |
Method DELETE_PREPACK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_PPNR | Call by reference | Type reference (TYPE) | WSTR_LOTNR | Zu löschendes Lotmaterial | 20011026 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Das Lotmaterial ist bereits gebucht | 20011026 | ||
| 2 | Das Lotmaterial existiert nicht | 20011026 |
Method DETERMINE_PP_ARTICLE_NO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_PPNR | Call by reference | Type reference (TYPE) | WSTR_LOTNR | Generierte Lotmaterialnummer | 20011024 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Mehr als 100 Versuche | 20011024 |
Method FREE Signature
Method FREE on class CL_WSTN_PREPACK_DEFN has no parameter.
Method FREE on class CL_WSTN_PREPACK_DEFN has no exception.
Method MESSAGE_ADD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_SMESG | Call by reference | Type reference (TYPE) | SMESG | Nachrichtensammler | 20030227 |
Method MESSAGE_ADD on class CL_WSTN_PREPACK_DEFN has no exception.
Method SAVE_PREPACKS Signature
Method SAVE_PREPACKS on class CL_WSTN_PREPACK_DEFN has no parameter.
Method SAVE_PREPACKS on class CL_WSTN_PREPACK_DEFN has no exception.
Method SET_DEFAULT_PREPACK_REF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_REF_LOTNR | Call by reference | Type reference (TYPE) | WSTN_REF_LOTNR | Vorschlagsmaterial für Lotvorlage | 20020114 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Das Material existiert nicht | 20020114 | ||
| 2 | Das Material ist kein Lotmaterial | 20020114 |
Method UPDATE_COMPONENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_CUOBJ | Call by reference | Type reference (TYPE) | CUOBJ | Konfiguration (interne Objektnummer) | 20011025 | |||
| 2 | IM_MENGE | Call by reference | Type reference (TYPE) | WSTN_CPQTY | Menge der Komponente | 20011025 | |||
| 3 | IM_PPNR | Call by reference | Type reference (TYPE) | WSTR_LOTNR | Materialnummer des Lotmaterials | 20011025 | |||
| 4 | IM_STYLNR | Call by reference | Type reference (TYPE) | WSTR_SATNR | Materialnummer des Sammelmaterials | 20011025 | |||
| 5 | IM_VARNR | Call by reference | Type reference (TYPE) | VATNR | Variantennummer | 20011025 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Änderungen am Lotmaterial sind nicht zulässig | 20020416 | ||
| 2 | Das Lotmaterial existiert nicht | 20011025 |
Method UPDATE_DESCRIPTIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_PPNR | Call by reference | Type reference (TYPE) | WSTR_LOTNR | Materialnummer des Lotmaterials | 20011211 | |||
| 2 | IM_STYLNR | Call by reference | Type reference (TYPE) | WSTR_SATNR | Materialnummer des Sammelmaterials | 20011211 | |||
| 3 | IM_T_PP_DESC | Call by reference | Type reference (TYPE) | WSTN_PP_DESC_TAB | Lotkurztexte | 20011211 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Das Lotmaterial existiert nicht | 20011211 |
Method UPDATE_PURCHASING_PRICES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_PPNR | Call by reference | Type reference (TYPE) | WSTR_LOTNR | Materialnummer des Lotmaterials | 20011212 | |||
| 2 | IM_STYLNR | Call by reference | Type reference (TYPE) | WSTR_SATNR | Materialnummer des Sammelmaterials | 20011212 | |||
| 3 | IM_T_PP_PURCH | Call by reference | Type reference (TYPE) | WSTN_PP_PURCH_TAB | Lot-Einkaufspreise | 20011212 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Das Lotmaterial existiert nicht | 20011212 |
Event Signatures
Event PREPACKS_CHANGED Signature
| # | Parameter | Type | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_NEW_MENGE | Exporting | Value transfer | Type reference (TYPE) | WSTN_CPQTY | Neue Komponentenmenge | 20011213 | ||
| 2 | IM_OLD_MENGE | Exporting | Value transfer | Type reference (TYPE) | WSTN_CPQTY | Komponentenmenge vor Änderung | 20011213 | ||
| 3 | IM_PPNR | Exporting | Value transfer | Type reference (TYPE) | WSTR_LOTNR | Materialnummer des Lotmaterials | 20011213 | ||
| 4 | IM_UPDOPER | Exporting | Value transfer | Type reference (TYPE) | CHAR01 | Update-Operation | 20011213 | ||
| 5 | IM_VARNR | Exporting | Value transfer | Type reference (TYPE) | WSTR_LOTNR | Materialnummer des Lotmaterials | 20011213 |
History
| Last changed by/on | SAP | 20011119 |
| SAP Release Created in | 110 |