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
⤷ 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 | CO_STS_DESC_CHG | Constant | Public | Type reference (TYPE) | CHAR01 | '4' | Maintenance status for "Description changed" | 20011024 | |
2 | CO_STS_NEW_PREPACK | Constant | Public | Type reference (TYPE) | CHAR01 | '1' | Maintenance status for "New prepack" | 20011024 | |
3 | CO_STS_PP_DELETED | Constant | Public | Type reference (TYPE) | CHAR01 | '5' | Maintenance status for "Prepack deleted" | 20011024 | |
4 | CO_STS_PRICE_CHG | Constant | Public | Type reference (TYPE) | CHAR01 | '3' | Maintenance status for "Price changed" | 20011024 | |
5 | CO_STS_STRUC_CHG | Constant | Public | Type reference (TYPE) | CHAR01 | '2' | Maintenance status for "Structure changed" | 20011024 | |
6 | G_DATA_CHANGED | Instance attribute | Public | Type reference (TYPE) | XFELD | Indicates if some prepack data have been changed | 20020115 | ||
7 | G_MSGID | Instance attribute | Private | Type reference (TYPE) | SYMSGID | Messages, Message Class | 20020426 | ||
8 | G_MSGNO | Instance attribute | Private | Type reference (TYPE) | SYMSGNO | Messages, Message Number | 20020426 | ||
9 | G_MSGTXT | Instance attribute | Private | Type reference (TYPE) | NATXT | Message text | 20020426 | ||
10 | G_O_EXIT_PREPACK | Static Attribute | Private | Object reference (TYPE REF TO) | IF_EX_WSTRN_PREPACK | Business add-in interface IF_EX_WSTRN_PREPACK | 20020108 | ||
11 | G_O_STYLE | Instance attribute | Public | Object reference (TYPE REF TO) | CL_WSTN_STYLE | Information on the generic article related to the prepacks | 20011022 | ||
12 | G_REF_LOTNR | Instance attribute | Public | Type reference (TYPE) | WSTN_REF_LOTNR | Reference Material for New Prepacks | 20020114 | ||
13 | G_REF_LOTNR_REQ | Instance attribute | Public | Type reference (TYPE) | XFELD | Indicates if a reference article is required for new prepack | 20020416 | ||
14 | G_SOME_PP_NOT_CHANGEABLE | Instance attribute | Public | Type reference (TYPE) | XFELD | Indicates that some prepacks cannot be changed | 20020416 | ||
15 | G_T_PP_DESC | Instance attribute | Public | Type reference (TYPE) | WSTN_PP_DESC_TAB | Prepack definition - Description data | 20011019 | ||
16 | G_T_PP_DESC_DEL | Instance attribute | Private | Type reference (TYPE) | WSTN_PP_DESC_TAB | Prepack definition - Deleted description | 20020207 | ||
17 | G_T_PP_HDR | Instance attribute | Public | Type reference (TYPE) | WSTN_PP_HEADER_TAB | Prepack definition - Header data | 20011019 | ||
18 | G_T_PP_MESG | Instance attribute | Public | Type reference (TYPE) | TSMESG | Msg that come up during check to determine PP modifiable | 20020416 | ||
19 | G_T_PP_PURCH | Instance attribute | Public | Type reference (TYPE) | WSTN_PP_PURCH_TAB | Prepack definition - Purchasing price data | 20011019 | ||
20 | G_T_PP_PURCH_DEL | Instance attribute | Private | Type reference (TYPE) | WSTN_PP_PURCH_TAB | Prepack definition - Deleted purchasing price | 20020207 | ||
21 | G_T_PP_STRUC | Instance attribute | Public | Type reference (TYPE) | WSTN_PP_STRUC_TAB | Prepack definition - Components data | 20011019 | ||
22 | G_T_PP_STRUC_DEL | 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 | CHECK_COMPLETENESS | Instance method | Public | Method | Verify that all prepacks are correctly defined | 20020204 |
2 | CLASS_CONSTRUCTOR | Static method | Public | Constructor | Get the instance for the BAdIs | 20020108 |
3 | CONSTRUCTOR | Instance method | Public | Constructor | Gathers the prepacks that belong to a generic material | 20011019 |
4 | COPY_PREPACK | Instance method | Public | Method | Create a new prepack by using an existing prepack as model | 20011026 |
5 | CREATE_PREPACK | Instance method | Public | Method | Create a new prepack | 20011024 |
6 | CREATE_PREPACKS_FROM_REF | Instance method | Private | Method | Create new prepacks from the reference generic material | 20020426 |
7 | DELETE_PARTIAL_PREPACK | Instance method | Public | Method | Remove a series of components of one prepack | 20011120 |
8 | DELETE_PREPACK | Instance method | Public | Method | Delete a planned prepack | 20011026 |
9 | DETERMINE_PP_ARTICLE_NO | Instance method | Private | Method | Determine a valid prepack material number | 20011024 |
10 | FREE | Instance method | Public | Method | Reset the prepack definition instance | 20011023 |
11 | MESSAGE_ADD | Instance method | Public | Method | Add a message to the message buffer | 20030227 |
12 | SAVE_PREPACKS | Instance method | Public | Method | Save the prepack into temporary tables before posting | 20011214 |
13 | SET_DEFAULT_PREPACK_REF | Instance method | Public | Method | Set the default material used as prepack reference | 20020114 |
14 | UPDATE_COMPONENTS | Instance method | Public | Method | Update the prepack structure | 20011025 |
15 | UPDATE_DESCRIPTIONS | Instance method | Public | Method | Update the prepack descriptions | 20011211 |
16 | UPDATE_PURCHASING_PRICES | 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 | INCOMPLETE_PREPACK | Einige Lots sind unvollständig | 20020204 | |
2 | MISSING_REF_LOTNR | 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 | Importing | IM_O_REF_STYLE | Call by reference | Object reference (TYPE REF TO) | CL_WSTN_STYLE | Informationen zum Vorlage-Sammelmaterial | 20020208 | ||
2 | Importing | 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 | Importing | IM_READ_ONLY | Call by reference | Type reference (TYPE) | XFELD | ' ' | Gibt an, ob die Daten nur zum Anzeigen gelesen werden | 20020208 | |
4 | Importing | 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 | ERROR_DURING_REF_CREATION | Es kann keine Materialnummer für das Lot ermittelt werden | 20020426 | |
2 | NO_STYLE_OBJECT | Es wurde kein Sammelmaterial-Objekt angegeben | 20011213 | |
3 | PREPACK_LOCKED | 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 | Exporting | EX_PPNR | Call by reference | Type reference (TYPE) | WSTR_LOTNR | Materialnummer des angelegten Lots | 20011026 | ||
2 | Importing | IM_PPNR | Call by reference | Type reference (TYPE) | WSTR_LOTNR | Materialnummer der Lotvorlage | 20011026 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_ARTICLE_NUMBER | Es kann keine Materialnummer für das Lot ermittelt werden | 20011026 | |
2 | PREPACK_NOT_FOUND | 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 | Exporting | EX_PPNR | Call by reference | Type reference (TYPE) | WSTR_LOTNR | Materialnummer des angelegten Lots | 20011024 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_ARTICLE_NUMBER | 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 | Importing | 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 | NO_ARTICLE_NUMBER | Es kann keine Materialnummer für das Lot ermittelt werden | 20020426 | |
2 | PREPACK_LOCKED | 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 | Importing | IM_ATZHLY | Call by reference | Type reference (TYPE) | WSTN_ATZHLY | Komponenten mit diesem Merkmalswert entfernen | 20011120 | ||
2 | Importing | IM_PPNR | Call by reference | Type reference (TYPE) | WSTR_LOTNR | Materialnummer des Lotmaterials | 20011120 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CHANGE_NOT_ALLOWED | Änderungen am Lotmaterial sind nicht zulässig | 20020416 | |
2 | PREPACK_NOT_FOUND | Das Lotmaterial existiert nicht | 20011120 |
Method DELETE_PREPACK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_PPNR | Call by reference | Type reference (TYPE) | WSTR_LOTNR | Zu löschendes Lotmaterial | 20011026 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ALREADY_POSTED | Das Lotmaterial ist bereits gebucht | 20011026 | |
2 | PREPACK_NOT_FOUND | 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 | Exporting | EX_PPNR | Call by reference | Type reference (TYPE) | WSTR_LOTNR | Generierte Lotmaterialnummer | 20011024 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_FREE_NUMBER | 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 | Importing | 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 | Importing | IM_REF_LOTNR | Call by reference | Type reference (TYPE) | WSTN_REF_LOTNR | Vorschlagsmaterial für Lotvorlage | 20020114 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ARTICLE_NOT_FOUND | Das Material existiert nicht | 20020114 | |
2 | IS_NOT_A_PREPACK | 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 | Importing | IM_CUOBJ | Call by reference | Type reference (TYPE) | CUOBJ | Konfiguration (interne Objektnummer) | 20011025 | ||
2 | Importing | IM_MENGE | Call by reference | Type reference (TYPE) | WSTN_CPQTY | Menge der Komponente | 20011025 | ||
3 | Importing | IM_PPNR | Call by reference | Type reference (TYPE) | WSTR_LOTNR | Materialnummer des Lotmaterials | 20011025 | ||
4 | Importing | IM_STYLNR | Call by reference | Type reference (TYPE) | WSTR_SATNR | Materialnummer des Sammelmaterials | 20011025 | ||
5 | Importing | IM_VARNR | Call by reference | Type reference (TYPE) | VATNR | Variantennummer | 20011025 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CHANGE_NOT_ALLOWED | Änderungen am Lotmaterial sind nicht zulässig | 20020416 | |
2 | PREPACK_NOT_FOUND | Das Lotmaterial existiert nicht | 20011025 |
Method UPDATE_DESCRIPTIONS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_PPNR | Call by reference | Type reference (TYPE) | WSTR_LOTNR | Materialnummer des Lotmaterials | 20011211 | ||
2 | Importing | IM_STYLNR | Call by reference | Type reference (TYPE) | WSTR_SATNR | Materialnummer des Sammelmaterials | 20011211 | ||
3 | Importing | IM_T_PP_DESC | Call by reference | Type reference (TYPE) | WSTN_PP_DESC_TAB | Lotkurztexte | 20011211 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | PREPACK_NOT_FOUND | 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 | Importing | IM_PPNR | Call by reference | Type reference (TYPE) | WSTR_LOTNR | Materialnummer des Lotmaterials | 20011212 | ||
2 | Importing | IM_STYLNR | Call by reference | Type reference (TYPE) | WSTR_SATNR | Materialnummer des Sammelmaterials | 20011212 | ||
3 | Importing | IM_T_PP_PURCH | Call by reference | Type reference (TYPE) | WSTN_PP_PURCH_TAB | Lot-Einkaufspreise | 20011212 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | PREPACK_NOT_FOUND | 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 |