SAP ABAP Class CL_WRF_APC_ITEM_COLLECTION (Operational APC - Purchasing List Item Collection Class)
Hierarchy
☛
EA-RETAIL (Software Component) SAP Enterprise Extension Retail
⤷
LO-MD-RA (Application Component) Assortment
⤷
WRF_APC (Package) Operational Assortment Planning and Control
⤷
⤷
Properties
| Class | CL_WRF_APC_ITEM_COLLECTION | |
| Short Description | Operational APC - Purchasing List Item Collection Class | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | WRF_APC | Operational Assortment Planning and Control |
| Created | 20031106 | SAP |
| Last change | 20110810 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_WRF_APC_ITEM_COLLECTION has no forward declaration.
Interfaces
Class CL_WRF_APC_ITEM_COLLECTION has no interface implemented.
Friends
Class CL_WRF_APC_ITEM_COLLECTION has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Type reference (TYPE) | WRF_APC_ITEM_COL_TTY | Operative APC: Purchasing items collection | 20031212 | |||
| 2 | Instance attribute | Public | Type reference (TYPE) | WRF_APC_ITEM_COL2_TTY | PL item collection table type - indexed by purc. list item | 20031215 | |||
| 3 | Instance attribute | Public | Type reference (TYPE) | WRF_APC_ITEM_COL3_TTY | Purchasing list items collection | 20031215 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Add an item | 20031106 | |
| 2 | Instance method | Public | Method | Check if an article is used by one of the PL items | 20031106 | |
| 3 | Instance method | Public | Constructor | CONSTRUCTOR | 20031106 | |
| 4 | Instance method | Public | Method | Delete the entire items collection | 20050224 | |
| 5 | Instance method | Public | Method | Delete an item | 20031106 | |
| 6 | Instance method | Public | Method | Remove all instances from the collection | 20060822 | |
| 7 | Instance method | Public | Method | Return a reference to an item | 20031106 | |
| 8 | Instance method | Public | Method | Return a collection of all items for a given material | 20061012 | |
| 9 | Instance method | Public | Method | Checks if the item was already added to the collection table | 20031212 | |
| 10 | Instance method | Public | Method | Lock all the items of the collection | 20050224 | |
| 11 | Instance method | Public | Method | Mass maintenance for calculation | 20040715 | |
| 12 | Instance method | Public | Method | Remove the reference to a PL item from the collection | 20040623 | |
| 13 | Instance method | Public | Method | Save the complete item collection | 20031106 | |
| 14 | Instance method | Public | Method | Return the item collection size | 20031106 | |
| 15 | Instance method | Public | Method | Update an attribute value for all items of a given material | 20061012 |
Events
Class CL_WRF_APC_ITEM_COLLECTION has no event.
Types
Class CL_WRF_APC_ITEM_COLLECTION has no local type.
Method Signatures
Method ADD_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_PLITEM | Call by reference | Object reference (TYPE REF TO) | CL_WRF_APC_ITEM | 20031212 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20031212 | |||
| 2 | 20031212 |
Method ARTICLE_IN_USE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_IN_USE | Value transfer | Type reference (TYPE) | FLAG | Allgemeines Kennzeichen | 20031215 | |||
| 2 | IMR_ARTICLE | Call by reference | Object reference (TYPE REF TO) | CL_WRF_APC_ARTICLE | 20031215 | ||||
| 3 | IM_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20100908 | |||
| 4 | IM_PLITEM | Call by reference | Type reference (TYPE) | WRF_PLITEM | Nummer der Einkaufslistenposition | 20040319 | |||
| 5 | IM_SCOPE | Call by reference | Type reference (TYPE) | CHAR1 | '2' | Single-Character Indicator | 20100908 |
Method ARTICLE_IN_USE on class CL_WRF_APC_ITEM_COLLECTION has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_WRF_APC_ITEM_COLLECTION has no parameter.
Method CONSTRUCTOR on class CL_WRF_APC_ITEM_COLLECTION has no exception.
Method DELETE_ALL_ITEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_CHECK_FLAG | Call by reference | Type reference (TYPE) | FLAG | 'X' | Allg. Kennzeichen | 20050224 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20050224 | |||
| 2 | 20050224 |
Method DELETE_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_CHECK_FLAG | Call by reference | Type reference (TYPE) | XFELD | 'X' | Check release and origin flag before allowing the change | 20040729 | ||
| 2 | IM_ITEM | Call by reference | Type reference (TYPE) | WRF_PLITEM | 20031215 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20031215 | |||
| 2 | 20031215 |
Method FREE Signature
Method FREE on class CL_WRF_APC_ITEM_COLLECTION has no parameter.
Method FREE on class CL_WRF_APC_ITEM_COLLECTION has no exception.
Method GET_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_ITEM | Call by reference | Object reference (TYPE REF TO) | CL_WRF_APC_ITEM | 20031215 | ||||
| 2 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Materialnummer | 20031215 | |||
| 3 | I_PLITEM | Call by reference | Type reference (TYPE) | WRF_PLITEM | Nummer der Einkaufslistenposition | 20031215 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20031215 | |||
| 2 | 20031215 |
Method GET_ITEMS_FOR_MATNR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_ITEMCOL_MAT | Call by reference | Object reference (TYPE REF TO) | CL_WRF_APC_ITEM_COLLECTION | Operational APC - Purchasing List Item Collection Class | 20061012 | |||
| 2 | ET_PLI_MAT | Call by reference | Type reference (TYPE) | WRF_APC_PLI_TTY | Purchasing list item data | 20061012 | |||
| 3 | I_ALL_ITEMS | Call by reference | Type reference (TYPE) | XFELD | SPACE | All types of items, even P and S | 20061012 | ||
| 4 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20061012 | |||
| 5 | I_NOT_PLITEM | Call by reference | Type reference (TYPE) | WRF_PLITEM | SPACE | Purchasing List Item ID | 20061012 | ||
| 6 | I_NO_DELETED | Call by reference | Type reference (TYPE) | XFELD | 'X' | No deleted PL items | 20061012 |
Method GET_ITEMS_FOR_MATNR on class CL_WRF_APC_ITEM_COLLECTION has no exception.
Method ITEM_REF_EXISTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_EXISTS | Value transfer | Type reference (TYPE) | FLAG | Allgemeines Kennzeichen | 20031212 | |||
| 2 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Materialnummer | 20031212 | |||
| 3 | I_PLITEM | Call by reference | Type reference (TYPE) | WRF_PLITEM | Nummer der Einkaufslistenposition | 20031212 |
Method ITEM_REF_EXISTS on class CL_WRF_APC_ITEM_COLLECTION has no exception.
Method LOCK_ALL_ITEMS Signature
Method LOCK_ALL_ITEMS on class CL_WRF_APC_ITEM_COLLECTION has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20050224 | |||
| 2 | 20050224 |
Method MASS_MAINTENANCE_CALCULATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MARKUP1 | Call by reference | Type reference (TYPE) | WRF_MARKUP | Aufschlag (Prozentwert) | 20040719 | |||
| 2 | I_MARKUP2 | Call by reference | Type reference (TYPE) | WRF_MARKUP | Aufschlag (Prozentwert) | 20040719 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Operational APC - Article Exceptions | 20040715 | ||
| 2 | 20040715 | |||
| 3 | Operational APC - Global common exceptions | 20040715 |
Method REMOVE_ITEM_REF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_PLITEM | Call by reference | Type reference (TYPE) | WRF_PLITEM | Nummer der Einkaufslistenposition | 20040623 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Operational APC - Purchasing List Exceptions | 20040623 | ||
| 2 | Operational APC - Global common exceptions | 20040623 |
Method SAVE_PL_ITEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_ROLLBACK | Call by reference | Type reference (TYPE) | FLAG | SPACE | Allg. Kennzeichen | 20050204 | ||
| 2 | IM_UPDTASK | Call by reference | Type reference (TYPE) | FLAG | 'X' | 20040419 | |||
| 3 | IR_SAVEAREA | Call by reference | Object reference (TYPE REF TO) | CL_WRF_APC_ITEMS_SAVEAREA | Operational APC - Items save area | 20040419 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Operational APC - Purchasing List Exceptions | 20040630 | ||
| 2 | Operational APC - Global common exceptions | 20040630 |
Method SIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_SIZE | Value transfer | Type reference (TYPE) | I | 20031215 |
Method SIZE on class CL_WRF_APC_ITEM_COLLECTION has no exception.
Method UPDATE_ITEMS_FOR_MATNR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ALL_ITEMS | Call by reference | Type reference (TYPE) | XFELD | SPACE | All types of items, even P and S | 20061012 | ||
| 2 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20061012 | |||
| 3 | I_NEW_MARKET_NO | Call by reference | Type reference (TYPE) | WRF_MARKETNO | Number for Market Buying | 20061012 | |||
| 4 | I_NOT_PLITEM | Call by reference | Type reference (TYPE) | WRF_PLITEM | SPACE | Purchasing List Item ID | 20061012 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20061012 |
History
| Last changed by/on | SAP | 20110810 |
| SAP Release Created in | 111 |