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 MTR_ITEM_COLLECTION Instance attribute Public Type reference (TYPE) WRF_APC_ITEM_COL_TTY Operative APC: Purchasing items collection 20031212
2 MTR_ITEM_COL_BY_ITEM Instance attribute Public Type reference (TYPE) WRF_APC_ITEM_COL2_TTY PL item collection table type - indexed by purc. list item 20031215
3 MTR_ITEM_COL_BY_MATNR 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 ADD_ITEM Instance method Public Method Add an item 20031106
2 ARTICLE_IN_USE Instance method Public Method Check if an article is used by one of the PL items 20031106
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20031106
4 DELETE_ALL_ITEMS Instance method Public Method Delete the entire items collection 20050224
5 DELETE_ITEM Instance method Public Method Delete an item 20031106
6 FREE Instance method Public Method Remove all instances from the collection 20060822
7 GET_ITEM Instance method Public Method Return a reference to an item 20031106
8 GET_ITEMS_FOR_MATNR Instance method Public Method Return a collection of all items for a given material 20061012
9 ITEM_REF_EXISTS Instance method Public Method Checks if the item was already added to the collection table 20031212
10 LOCK_ALL_ITEMS Instance method Public Method Lock all the items of the collection 20050224
11 MASS_MAINTENANCE_CALCULATION Instance method Public Method Mass maintenance for calculation 20040715
12 REMOVE_ITEM_REF Instance method Public Method Remove the reference to a PL item from the collection 20040623
13 SAVE_PL_ITEMS Instance method Public Method Save the complete item collection 20031106
14 SIZE Instance method Public Method Return the item collection size 20031106
15 UPDATE_ITEMS_FOR_MATNR 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 Importing IR_PLITEM Call by reference Object reference (TYPE REF TO) CL_WRF_APC_ITEM 20031212
# Exception Resumable Description Created on
1 CX_WRF_APC_PL_EXCEPTIONS 20031212
2 CX_WRF_APC_ROOT_EXCEPTIONS 20031212

Method ARTICLE_IN_USE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_IN_USE Value transfer Type reference (TYPE) FLAG Allgemeines Kennzeichen 20031215
2 Importing IMR_ARTICLE Call by reference Object reference (TYPE REF TO) CL_WRF_APC_ARTICLE 20031215
3 Importing IM_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20100908
4 Importing IM_PLITEM Call by reference Type reference (TYPE) WRF_PLITEM Nummer der Einkaufslistenposition 20040319
5 Importing 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 Importing IM_CHECK_FLAG Call by reference Type reference (TYPE) FLAG 'X' Allg. Kennzeichen 20050224
# Exception Resumable Description Created on
1 CX_WRF_APC_PL_EXCEPTIONS 20050224
2 CX_WRF_APC_ROOT_EXCEPTIONS 20050224

Method DELETE_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CHECK_FLAG Call by reference Type reference (TYPE) XFELD 'X' Check release and origin flag before allowing the change 20040729
2 Importing IM_ITEM Call by reference Type reference (TYPE) WRF_PLITEM 20031215
# Exception Resumable Description Created on
1 CX_WRF_APC_PL_EXCEPTIONS 20031215
2 CX_WRF_APC_ROOT_EXCEPTIONS 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 Exporting ER_ITEM Call by reference Object reference (TYPE REF TO) CL_WRF_APC_ITEM 20031215
2 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20031215
3 Importing I_PLITEM Call by reference Type reference (TYPE) WRF_PLITEM Nummer der Einkaufslistenposition 20031215
# Exception Resumable Description Created on
1 CX_WRF_APC_PL_EXCEPTIONS 20031215
2 CX_WRF_APC_ROOT_EXCEPTIONS 20031215

Method GET_ITEMS_FOR_MATNR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting 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 Exporting ET_PLI_MAT Call by reference Type reference (TYPE) WRF_APC_PLI_TTY Purchasing list item data 20061012
3 Importing I_ALL_ITEMS Call by reference Type reference (TYPE) XFELD SPACE All types of items, even P and S 20061012
4 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20061012
5 Importing I_NOT_PLITEM Call by reference Type reference (TYPE) WRF_PLITEM SPACE Purchasing List Item ID 20061012
6 Importing 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 Returning E_EXISTS Value transfer Type reference (TYPE) FLAG Allgemeines Kennzeichen 20031212
2 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20031212
3 Importing 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 CX_WRF_APC_PL_EXCEPTIONS 20050224
2 CX_WRF_APC_ROOT_EXCEPTIONS 20050224

Method MASS_MAINTENANCE_CALCULATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MARKUP1 Call by reference Type reference (TYPE) WRF_MARKUP Aufschlag (Prozentwert) 20040719
2 Importing I_MARKUP2 Call by reference Type reference (TYPE) WRF_MARKUP Aufschlag (Prozentwert) 20040719
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS Operational APC - Article Exceptions 20040715
2 CX_WRF_APC_DIALOG_EXCEPTIONS 20040715
3 CX_WRF_APC_ROOT_EXCEPTIONS 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 Importing IM_PLITEM Call by reference Type reference (TYPE) WRF_PLITEM Nummer der Einkaufslistenposition 20040623
# Exception Resumable Description Created on
1 CX_WRF_APC_PL_EXCEPTIONS Operational APC - Purchasing List Exceptions 20040623
2 CX_WRF_APC_ROOT_EXCEPTIONS 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 Importing IM_ROLLBACK Call by reference Type reference (TYPE) FLAG SPACE Allg. Kennzeichen 20050204
2 Importing IM_UPDTASK Call by reference Type reference (TYPE) FLAG 'X' 20040419
3 Changing 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 CX_WRF_APC_PL_EXCEPTIONS Operational APC - Purchasing List Exceptions 20040630
2 CX_WRF_APC_ROOT_EXCEPTIONS Operational APC - Global common exceptions 20040630

Method SIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning 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 Importing I_ALL_ITEMS Call by reference Type reference (TYPE) XFELD SPACE All types of items, even P and S 20061012
2 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20061012
3 Importing I_NEW_MARKET_NO Call by reference Type reference (TYPE) WRF_MARKETNO Number for Market Buying 20061012
4 Importing I_NOT_PLITEM Call by reference Type reference (TYPE) WRF_PLITEM SPACE Purchasing List Item ID 20061012
# Exception Resumable Description Created on
1 CX_WRF_APC_ROOT_EXCEPTIONS 20061012
History
Last changed by/on SAP  20110810 
SAP Release Created in 111