Hierarchy
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_WRF_APC_ARTICLE | 20031201 |
Properties
| Class | CL_WRF_APC_PREPACK_ARTICLE | |
| Short Description | Operational APC - R3 or Planned Prepack Article Class | |
| Super Class | CL_WRF_APC_ARTICLE | |
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | WRF_APC | |
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | WRF_APC | Operational Assortment Planning and Control |
| Created | 20031201 | SAP |
| Last change | 20050615 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_WRF_APC_PREPACK_ARTICLE has no forward declaration.
Interfaces
Class CL_WRF_APC_PREPACK_ARTICLE has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_WRF_APC_ARTICLE | 20031201 |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | XFELD | '1' | Allowed | 20040115 | ||
| 2 | Constant | Public | Type reference (TYPE) | WSTR_MODE | 'M' | Editing Mode - Maintain | 20040115 | ||
| 3 | Constant | Public | Type reference (TYPE) | MGW2TYP | 'L ' | Structured material of category prepack | 20040115 | ||
| 4 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_EX_WRF_APC_X_PREPACK_E | Business add-in interface IF_EX_WRF_APC_X_PREPACK_E | 20031211 | |||
| 5 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_WRF_APC_GENERIC_ARTICLE | Operational APC - R3 or Planned Generic Article Class | 20031201 | |||
| 6 | Instance attribute | Public | Type reference (TYPE) | WRF_APC_CHARVALU_SELROW_TTY | Characteristic values selected for the dialog matrix rows | 20040213 | |||
| 7 | Instance attribute | Public | Type reference (TYPE) | WRF_APC_COMPONENT_TTY | Prepack components with their characteristic values | 20031201 | |||
| 8 | Instance attribute | Protected | Type reference (TYPE) | WRF_APC_PPCMP_KEY_TTY | Prepack components marked for the deletion | 20031201 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | TSMESG | Msg that come up during check to determine PP modifiable | 20040115 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | WSTN_ALLOWED | Changes allowed if corresponding documents exist | 20040115 | |||
| 11 | Instance attribute | Public | Type reference (TYPE) | ATINN | First row characteristic in the dialog matrix | 20050225 | |||
| 12 | Instance attribute | Public | Type reference (TYPE) | ATINN | Second row characteristic in the dialog matrix | 20050225 | |||
| 13 | Instance attribute | Public | Type reference (TYPE) | WRF_APC_SUQTY | Total Prepack Components Entered So Far | 20040115 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Calculate the purchase price of a prepack article | 20040114 | |
| 2 | Static method | Public | Constructor | Get the instance for the BAdIs | 20031211 | |
| 3 | Instance method | Public | Constructor | Initialize an instance of a prepack article | 20031201 | |
| 4 | Instance method | Public | Method | Copy several components based a on char. value selection | 20040318 | |
| 5 | Instance method | Public | Method | Cut several components based a on char. value selection | 20040114 | |
| 6 | Instance method | Public | Method | Erase char. values which define PP defn. display matrix | 20040213 | |
| 7 | Instance method | Public | Method | Return how compatible a prepack is with a PL item | 20040827 | |
| 8 | Instance method | Public | Method | Return a Var. Nr, if the prepack contains invalid components | 20060208 | |
| 9 | Instance method | Public | Method | Return 'X' if the prepack contains at least one component | 20040114 | |
| 10 | Instance method | Public | Method | Return 'X', if two prepack has the same components | 20040826 | |
| 11 | Instance method | Public | Method | Return 'X', if basic purchasing price is = to calculated one | 20040805 | |
| 12 | Instance method | Private | Method | Map components of an existing article to the new article | 20040114 | |
| 13 | Instance method | Public | Method | Add several components that were extracted from another pp. | 20040114 | |
| 14 | Instance method | Private | Method | Read components of an existing planned article from DB | 20040114 | |
| 15 | Instance method | Private | Method | Read components of an existing R3 article from DB | 20040114 | |
| 16 | Instance method | Public | Method | Erase all char. values which define PP defn. display matrix | 20050225 | |
| 17 | Instance method | Public | Method | Release a "planning-only" prepack article | 20050324 | |
| 18 | Instance method | Public | Method | Retain char. values which define PP defn. display matrix | 20040213 | |
| 19 | Instance method | Public | Method | Returns a list of PL item ID which use the prepack | 20040804 | |
| 20 | Instance method | Public | Method | Lock/Unlock a prepack components | 20040610 | |
| 21 | Instance method | Private | Method | Build default descriptions for the prepack | 20040213 | |
| 22 | Instance method | Public | Method | Set the planning-only prepack flag | 20050317 | |
| 23 | Instance method | Public | Method | Unrelease a "planning-only" prepack article | 20050402 | |
| 24 | Instance method | Public | Method | Add, Modify or Remove a component to the prepack | 20040114 |
Events
| # | Event | Type | Visibility | Description | Created on |
|---|---|---|---|---|---|
| 1 | COMPONENT_CHANGED | Instance Event (0) |
Public (2) |
A prepack component has been changed | 20040114 |
Types
Class CL_WRF_APC_PREPACK_ARTICLE has no local type.
Method Signatures
Method CALCULATE_PURCHASING_PRICE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_PAPUR | Call by reference | Type reference (TYPE) | WRF_APC_PAPUR | Einkaufsdaten und Einkaufspreise für geplante Materialien | 20040317 | |||
| 2 | ES_PLIP | Call by reference | Type reference (TYPE) | WRF_APC_PLIP | OAPC: Purchasing List Item Prepack Information | 20050524 | |||
| 3 | IS_PLI | Call by reference | Type reference (TYPE) | WRF_APC_PLI | Purchasing List Items | 20050524 | |||
| 4 | I_EKORG | Call by reference | Type reference (TYPE) | EKORG | Einkaufsorganisation | 20040317 | |||
| 5 | I_LIFNR | Call by reference | Type reference (TYPE) | ELIFN | Kontonummer von Lieferant | 20040317 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Operational APC - Article Exceptions | 20040114 | ||
| 2 | Operational APC - Global common exceptions | 20040114 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_WRF_APC_PREPACK_ARTICLE has no parameter.
Method CLASS_CONSTRUCTOR on class CL_WRF_APC_PREPACK_ARTICLE has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_GEN_ARTICLE | Call by reference | Object reference (TYPE REF TO) | CL_WRF_APC_GENERIC_ARTICLE | Generic article to which belongs the prepack article | 20031201 | |||
| 2 | IR_REF_ARTICLE | Call by reference | Object reference (TYPE REF TO) | CL_WRF_APC_ARTICLE | Reference article | 20031201 | |||
| 3 | IS_ORG_LEVEL_SEL | Call by reference | Type reference (TYPE) | WRF_APC_PLH_ATTRIB_STY | Attribute (keine Schlüsselfelder) von Tabelle WRF_APC_PLH | 20040702 | |||
| 4 | I_ATTYP | Call by reference | Type reference (TYPE) | ATTYP | Materialtyp | 20031201 | |||
| 5 | I_CHPROF | Call by reference | Type reference (TYPE) | WRF_CHARPROF | Merkmalsprofil | 20031201 | |||
| 6 | I_LOCK | Call by reference | Type reference (TYPE) | SPERA | SPACE | Art der Sperre (Shared, Exclusiv ) | 20040115 | ||
| 7 | I_MATKL | Call by reference | Type reference (TYPE) | MATKL | Materialgruppe | 20031201 | |||
| 8 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Materialnummer | 20031201 | |||
| 9 | I_MTART | Call by reference | Type reference (TYPE) | MTART | Materialart | 20031201 | |||
| 10 | I_NEW | Call by reference | Type reference (TYPE) | XFELD | SPACE | Indicates if it is a new article | 20031201 | ||
| 11 | I_PLAN | Call by reference | Type reference (TYPE) | XFELD | Indicates if the article is R3 or Planned | 20031201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Operational APC - Article Exceptions | 20031201 | ||
| 2 | Operational APC - Global common exceptions | 20031201 |
Method COPY_COMPONENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ETO_COMPONENTS | Call by reference | Type reference (TYPE) | WRF_APC_COMPONENT_TTY | 20040318 | ||||
| 2 | ITO_CVSEL | Call by reference | Type reference (TYPE) | WRF_APC_VARCV_TTY | 20040318 |
Method COPY_COMPONENTS on class CL_WRF_APC_PREPACK_ARTICLE has no exception.
Method CUT_COMPONENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ETO_COMPONENTS | Call by reference | Type reference (TYPE) | WRF_APC_COMPONENT_TTY | 20040318 | ||||
| 2 | ITO_CVSEL | Call by reference | Type reference (TYPE) | WRF_APC_VARCV_TTY | 20040318 | ||||
| 3 | I_LOCK | Call by reference | Type reference (TYPE) | XFELD | SPACE | 20040614 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Operational APC - Article Exceptions | 20040114 | ||
| 2 | Operational APC - Global common exceptions | 20040114 |
Method ERASE_CHARVALU_SELECTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ATWRT_1ROW | Call by reference | Type reference (TYPE) | ATWRT | Characteristic value of the first row characteristic | 20040213 | |||
| 2 | I_ATWRT_2ROW | Call by reference | Type reference (TYPE) | ATWRT | SPACE | Characteristic value of the second row characteristic | 20040213 |
Method ERASE_CHARVALU_SELECTION on class CL_WRF_APC_PREPACK_ARTICLE has no exception.
Method GET_USAGE_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_PL_ITEM | Call by reference | Object reference (TYPE REF TO) | CL_WRF_APC_ITEM | 20040827 | ||||
| 2 | IS_FIRST_CHAR_INFO | Call by reference | Type reference (TYPE) | WRF_APC_CHAR_DSP_INFO_STY | 20040827 | ||||
| 3 | R_STATUS_ICON | Value transfer | Type reference (TYPE) | WRF_APC_ICON_TEXT | 20040827 |
Method GET_USAGE_STATUS on class CL_WRF_APC_PREPACK_ARTICLE has no exception.
Method IS_COMPONENTS_INVALID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_COMPONENTS_INVALID | Value transfer | Type reference (TYPE) | VATNR | Return the Var. Nr. of the first invalid component | 20060208 |
Method IS_COMPONENTS_INVALID on class CL_WRF_APC_PREPACK_ARTICLE has no exception.
Method IS_COMPONENT_DEFINED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_COMPONENT_DEFINED | Value transfer | Type reference (TYPE) | XFELD | Return 'X' if the prepack contains at least one component | 20040114 |
Method IS_COMPONENT_DEFINED on class CL_WRF_APC_PREPACK_ARTICLE has no exception.
Method IS_PREPACK_SAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_TGT_PP_ARTICLE | Call by reference | Object reference (TYPE REF TO) | CL_WRF_APC_PREPACK_ARTICLE | 20040826 | ||||
| 2 | R_PREPACK_SAME | Value transfer | Type reference (TYPE) | XFELD | 20040826 |
Method IS_PREPACK_SAME on class CL_WRF_APC_PREPACK_ARTICLE has no exception.
Method IS_PURCH_PRICE_HAS_CALC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_VKORG | Call by reference | Type reference (TYPE) | VKORG | Verkaufsorganisation | 20050302 | |||
| 2 | R_HAS_CALC | Value transfer | Type reference (TYPE) | XFELD | 20040805 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20040805 | |||
| 2 | 20040805 |
Method MAP_REFARTICLE_COMPS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_REF_PP_ARTICLE | Call by reference | Object reference (TYPE REF TO) | CL_WRF_APC_PREPACK_ARTICLE | Operational APC - R3 or Planned Prepack Article Class | 20040114 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Operational APC - Article Exceptions | 20040114 | ||
| 2 | Operational APC - Global common exceptions | 20040114 |
Method PASTE_COMPONENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ITO_COMPONENTS | Call by reference | Type reference (TYPE) | WRF_APC_COMPONENT_TTY | 20040318 | ||||
| 2 | ITO_CVSEL | Call by reference | Type reference (TYPE) | WRF_APC_VARCV_TTY | 20040318 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Operational APC - Article Exceptions | 20040114 | ||
| 2 | Operational APC - Global common exceptions | 20040114 |
Method READ_PLANNED_ARTICLE_COMPS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Materialnummer | 20040114 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Operational APC - Article Exceptions | 20040114 | ||
| 2 | Operational APC - Global common exceptions | 20040114 |
Method READ_R3_ARTICLE_COMPS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Materialnummer | 20040114 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Operational APC - Article Exceptions | 20040114 | ||
| 2 | Operational APC - Global common exceptions | 20040114 |
Method REFRESH_CHARVALU_SELECTION Signature
Method REFRESH_CHARVALU_SELECTION on class CL_WRF_APC_PREPACK_ARTICLE has no parameter.
Method REFRESH_CHARVALU_SELECTION on class CL_WRF_APC_PREPACK_ARTICLE has no exception.
Method RELEASE_PLANNING_ONLY_PP Signature
Method RELEASE_PLANNING_ONLY_PP on class CL_WRF_APC_PREPACK_ARTICLE has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20050324 | |||
| 2 | 20050324 |
Method RETAIN_CHARVALU_SELECTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ATINN_1ROW | Call by reference | Type reference (TYPE) | ATINN | 20050225 | ||||
| 2 | I_ATINN_2ROW | Call by reference | Type reference (TYPE) | ATINN | 20050225 | ||||
| 3 | I_ATWRT_1ROW | Call by reference | Type reference (TYPE) | ATWRT | Characteristic value of the first row characteristic | 20040213 | |||
| 4 | I_ATWRT_2ROW | Call by reference | Type reference (TYPE) | ATWRT | SPACE | Characteristic value of the second row characteristic | 20040213 |
Method RETAIN_CHARVALU_SELECTION on class CL_WRF_APC_PREPACK_ARTICLE has no exception.
Method SEARCHES_PREPACK_USAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ETO_PLITEM_LIST | Call by reference | Type reference (TYPE) | WRF_APC_PLITEM_TTY | 20040804 | ||||
| 2 | IR_PL_DEF | Call by reference | Object reference (TYPE REF TO) | CL_WRF_APC_PURC_LIST_DEF | 20040804 |
Method SEARCHES_PREPACK_USAGE on class CL_WRF_APC_PREPACK_ARTICLE has no exception.
Method SET_COMPONENT_LOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ITO_VARCV | Call by reference | Type reference (TYPE) | WRF_APC_VARCV_TTY | Merkmalswert (für Variantenzugriff) | 20040610 | |||
| 2 | I_LOCK | Call by reference | Type reference (TYPE) | WRF_APC_PPCMP_LOCKED | 20040610 | ||||
| 3 | I_VARNR | Call by reference | Type reference (TYPE) | VATNR | Variantennummer | 20040610 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20040610 | |||
| 2 | 20040610 |
Method SET_DEFAULT_DESCRIPTION Signature
Method SET_DEFAULT_DESCRIPTION on class CL_WRF_APC_PREPACK_ARTICLE has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Operational APC - Article Exceptions | 20040213 | ||
| 2 | Operational APC - Global common exceptions | 20040213 |
Method SET_PLANNING_ONLY_FLAG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_PLANONLY_PP | Call by reference | Type reference (TYPE) | WRF_APC_PLANONLY_PP | Identify prepacks that have been created for planning only | 20050317 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20050317 | |||
| 2 | 20050317 |
Method UNRELEASE_PLANNING_ONLY_PP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_PL_ITEM | Call by reference | Object reference (TYPE REF TO) | CL_WRF_APC_ITEM | Operational APC - Purchasing List Item Class | 20050402 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20050402 | |||
| 2 | 20050402 |
Method UPDATE_COMPONENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ITO_VARCV | Call by reference | Type reference (TYPE) | WRF_APC_VARCV_TTY | Merkmalswert (für Variantenzugriff) | 20040216 | |||
| 2 | I_LOCK | Call by reference | Type reference (TYPE) | WRF_APC_PPCMP_LOCKED | 20040613 | ||||
| 3 | I_ONLY_ADD | Call by reference | Type reference (TYPE) | XFELD | SPACE | 20040322 | |||
| 4 | I_QUANT | Call by reference | Type reference (TYPE) | WRF_APC_CPQTY | Komponenten-(/Varianten-)Menge | 20040114 | |||
| 5 | I_UNIT | Call by reference | Type reference (TYPE) | MEINS | Basis-Mengeneinheit | 20040114 | |||
| 6 | I_VARNR | Call by reference | Type reference (TYPE) | VATNR | Variantennummer | 20040114 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Operational APC - Article Exceptions | 20040114 | ||
| 2 | Operational APC - Global common exceptions | 20040114 |
Event Signatures
Event COMPONENT_CHANGED Signature
| # | Parameter | Type | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_PP_ARTICLE | Exporting | Value transfer | Object reference (TYPE REF TO) | CL_WRF_APC_PREPACK_ARTICLE | Operational APC - R3 or Planned Prepack Article Class | 20040114 | ||
| 2 | E_LOCKED | Exporting | Value transfer | Type reference (TYPE) | WRF_APC_PPCMP_LOCKED | 20040610 | |||
| 3 | E_NEW_QUANT | Exporting | Value transfer | Type reference (TYPE) | WRF_APC_CPQTY | New Component (Variant) Quantity | 20040114 | ||
| 4 | E_NEW_UNIT | Exporting | Value transfer | Type reference (TYPE) | MEINS | New Base Unit of Measure | 20040114 | ||
| 5 | E_OLD_QUANT | Exporting | Value transfer | Type reference (TYPE) | WRF_APC_CPQTY | Previous Component (Variant) Quantity | 20040114 | ||
| 6 | E_OLD_UNIT | Exporting | Value transfer | Type reference (TYPE) | MEINS | Previous Base Unit of Measure | 20040114 | ||
| 7 | E_VARNR | Exporting | Value transfer | Type reference (TYPE) | VATNR | Variantennummer | 20040114 |
History
| Last changed by/on | SAP | 20050615 |
| SAP Release Created in | 111 |