SAP ABAP Class CL_WRF_APC_ARTICLES_COL (Operational APC - Articles 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
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_WRF_APC_PREPACKS_COL Operational APC - Prepack Articles Collection Class 20031125
Properties
Class CL_WRF_APC_ARTICLES_COL  
Short Description Operational APC - Articles Collection Class    
Super Class    
Instantiability of a Class 2  Public 
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 20031125   SAP 
Last change 20060208   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CO Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_WRF_APC_ARTICLES_COL has no interface implemented.
Friends
Class CL_WRF_APC_ARTICLES_COL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_SCOPE_COL Constant Public Type reference (TYPE) WRF_APC_SCOPE '0' Check only the collection 20031211
2 CO_SCOPE_COL_DB Constant Public Type reference (TYPE) WRF_APC_SCOPE '1' Check the collection and database 20031211
3 MR_SAVEAREA Instance attribute Protected Object reference (TYPE REF TO) CL_WRF_APC_ARTICLES_SAVEAREA Operational APC - Articles Save Area Class 20031125
4 MTO_COLLECTION Instance attribute Public Type reference (TYPE) WRF_APC_ARTICLE_COL_TTY Articles collection 20031125
5 MTO_COLLECTION_DEL Instance attribute Protected Type reference (TYPE) WRF_APC_ARTICLE_COL_TTY All the articles that have been deleted from the collection 20031125
Methods
# Method Level Visibility Method type Description Created on
1 ADD_ARTICLE_REF Instance method Public Method Add an article object into the collection 20031201
2 CONSTRUCTOR Instance method Public Constructor Initializes the articles collection 20031201
3 COPY_ARTICLE Instance method Public Method Create a new planned article by copying an existing one 20031216
4 CREATE_PLANNED_ARTICLE Instance method Public Method Create a new planned article 20031201
5 DELETE_ARTICLE Instance method Public Method Delete an article from the collection 20031216
6 GET_ARTICLE Instance method Public Method Get a article from the collection or database 20031201
7 IS_ARTICLE_REF_EXIST Instance method Public Method Verifies whether an article is part or not of the collection 20031211
8 REFRESH Instance method Public Method Remove all the article instance from the collection 20031216
9 RELEASE_ARTICLE Instance method Public Method Mark an article of the collection for the releasing process 20031216
10 REMOVE_ARTICLE_REF Instance method Public Method Remove an article object from the collection 20031216
11 SAVE_ARTICLES Instance method Public Method Save all the articles of the collection into database 20031216
12 UNRELEASE_ARTICLE Instance method Public Method Unmark an article of the col. for the releasing process 20031216
Events
# Event Type Visibility Description Created on
1 ARTICLE_ADDED Instance Event
(0)
Public
(2)
An article has been added into the collection 20031201
2 ARTICLE_REMOVED Instance Event
(0)
Public
(2)
An article has been removed from the collection 20041222
Types
Class CL_WRF_APC_ARTICLES_COL has no local type.
Method Signatures

Method ADD_ARTICLE_REF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_ARTICLE Call by reference Object reference (TYPE REF TO) CL_WRF_APC_ARTICLE 20031201
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS 20031201
2 CX_WRF_APC_ROOT_EXCEPTIONS 20031201

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_WRF_APC_ARTICLES_COL has no parameter.
Method CONSTRUCTOR on class CL_WRF_APC_ARTICLES_COL has no exception.

Method COPY_ARTICLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_NEWARTICLE Call by reference Object reference (TYPE REF TO) CL_WRF_APC_ARTICLE 20031216
2 Importing IS_ORG_LEVEL_SEL Call by reference Type reference (TYPE) WRF_APC_PLH_ATTRIB_STY Attribute (keine Schlüsselfelder) von Tabelle WRF_APC_PLH 20040708
3 Importing I_COPYFROM Call by reference Type reference (TYPE) MATNR 20031216
4 Importing I_COPYTO Call by reference Type reference (TYPE) MATNR SPACE 20031216
5 Importing I_NEW_ATTYP Call by reference Type reference (TYPE) ATTYP SPACE Materialtyp 20040727
6 Importing I_NEW_CHPROF Call by reference Type reference (TYPE) WRF_CHARPROF SPACE Merkmalsprofil 20040727
7 Importing I_NEW_MATKL Call by reference Type reference (TYPE) MATKL SPACE Warengruppe 20040727
8 Importing I_NEW_MTART Call by reference Type reference (TYPE) MTART SPACE Materialart 20040727
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS 20031216
2 CX_WRF_APC_ROOT_EXCEPTIONS 20031216

Method CREATE_PLANNED_ARTICLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_ARTICLE Call by reference Object reference (TYPE REF TO) CL_WRF_APC_ARTICLE 20031201
2 Importing IR_GEN_ARTICLE Call by reference Object reference (TYPE REF TO) CL_WRF_APC_GENERIC_ARTICLE 20031201
3 Importing IR_REF_ARTICLE Call by reference Object reference (TYPE REF TO) CL_WRF_APC_ARTICLE 20031201
4 Importing IR_REF_PRICAT Call by reference Object reference (TYPE REF TO) CL_WRF_APC_PRICAT 20031201
5 Importing IS_ORG_LEVEL_SEL Call by reference Type reference (TYPE) WRF_APC_PLH_ATTRIB_STY Attribute (keine Schlüsselfelder) von Tabelle WRF_APC_PLH 20040708
6 Importing I_ATTYP Call by reference Type reference (TYPE) ATTYP Materialtyp 20031201
7 Importing I_CHPROF Call by reference Type reference (TYPE) WRF_CHARPROF Merkmalsprofil 20031201
8 Importing I_MATKL Call by reference Type reference (TYPE) MATKL Materialgruppe 20031201
9 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20031201
10 Importing I_MTART Call by reference Type reference (TYPE) MTART Materialart 20031201
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS 20031201
2 CX_WRF_APC_ROOT_EXCEPTIONS 20031201

Method DELETE_ARTICLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHECK_RLS_FLAG Call by reference Type reference (TYPE) XFELD 'X' If 'X', Deletion of released planned article is forbidden 20040505
2 Importing I_DEL_DEP_ARTICLES Call by reference Type reference (TYPE) XFELD 'X' If 'X', Delete the dependant articles (eg. Prepack) 20040505
3 Importing I_MATNR Value transfer Type reference (TYPE) MATNR Materialnummer 20031216
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS 20031216
2 CX_WRF_APC_ROOT_EXCEPTIONS 20031216

Method GET_ARTICLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_ARTICLE Call by reference Object reference (TYPE REF TO) CL_WRF_APC_ARTICLE 20031211
2 Importing IR_GEN_ARTICLE Call by reference Object reference (TYPE REF TO) CL_WRF_APC_GENERIC_ARTICLE 20031211
3 Importing IS_ORG_LEVEL_SEL Call by reference Type reference (TYPE) WRF_APC_PLH_ATTRIB_STY Attribute (keine Schlüsselfelder) von Tabelle WRF_APC_PLH 20050406
4 Importing I_LOCK Call by reference Type reference (TYPE) SPERA SPACE Art der Sperre (Shared, Exclusiv ) 20031211
5 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20031201
6 Importing I_PLAN Call by reference Type reference (TYPE) XFELD SPACE 20031211
7 Importing I_SCOPE Call by reference Type reference (TYPE) WRF_APC_SCOPE CO_SCOPE_COL_DB 20031201
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS 20031201
2 CX_WRF_APC_ROOT_EXCEPTIONS 20031201

Method IS_ARTICLE_REF_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20031211
2 Returning R_EXISTS Value transfer Type reference (TYPE) XFELD 20031211

Method IS_ARTICLE_REF_EXIST on class CL_WRF_APC_ARTICLES_COL has no exception.

Method REFRESH Signature

Method REFRESH on class CL_WRF_APC_ARTICLES_COL has no parameter.
Method REFRESH on class CL_WRF_APC_ARTICLES_COL has no exception.

Method RELEASE_ARTICLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_PL_ITEM Call by reference Object reference (TYPE REF TO) CL_WRF_APC_ITEM Operational APC - Purchasing List Item Class 20040616
2 Importing I_DISPLAY_WARN Call by reference Type reference (TYPE) XFELD SPACE Display the warning message, don't generate exception 20040909
3 Importing I_IMMEDIATELY Call by reference Type reference (TYPE) XFELD 20031216
4 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20031216
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS 20031216
2 CX_WRF_APC_ROOT_EXCEPTIONS 20031216

Method REMOVE_ARTICLE_REF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20031216
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS 20031216
2 CX_WRF_APC_ROOT_EXCEPTIONS 20031216

Method SAVE_ARTICLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_SAVEAREA Call by reference Object reference (TYPE REF TO) CL_WRF_APC_ARTICLES_SAVEAREA 20031216
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS 20031216
2 CX_WRF_APC_ROOT_EXCEPTIONS 20031216

Method UNRELEASE_ARTICLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20031216
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS 20031216
2 CX_WRF_APC_ROOT_EXCEPTIONS 20031216
Event Signatures

Event ARTICLE_ADDED Signature
# Parameter Type Pass Value Optional Typing Method Associated Type Default value Description Created on
1 ER_ARTICLE Exporting Value transfer Object reference (TYPE REF TO) CL_WRF_APC_ARTICLE 20031201

Event ARTICLE_REMOVED Signature
# Parameter Type Pass Value Optional Typing Method Associated Type Default value Description Created on
1 E_MATNR Exporting Value transfer Type reference (TYPE) MATNR 20041222
History
Last changed by/on SAP  20060208 
SAP Release Created in 111