SAP ABAP Class CL_WRF_APC_PREPACKS_COL (Operational APC - Prepack 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 - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_WRF_APC_ARTICLES_COL Operational APC - Articles Collection Class 20031125
Properties
Class CL_WRF_APC_PREPACKS_COL  
Short Description Operational APC - Prepack Articles Collection Class    
Super Class CL_WRF_APC_ARTICLES_COL Operational APC - Articles Collection 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 20050705   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_WRF_APC_PREPACKS_COL has no forward declaration.
Interfaces
Class CL_WRF_APC_PREPACKS_COL has no interface implemented.
Friends
Class CL_WRF_APC_PREPACKS_COL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MR_GEN_ARTICLE Instance attribute Public Object reference (TYPE REF TO) CL_WRF_APC_GENERIC_ARTICLE Generic article that is the parent of the prepack collection 20031211
2 M_LOCK Instance attribute Public Type reference (TYPE) SPERA Type of block (shared, exclusive) 20040622
3 M_PLAN_ONLY Instance attribute Public Type reference (TYPE) XFELD Only the planned prepack articles are loaded 20050406
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor Initializes the prepack articles collection 20031211
2 COPY_ALL_PREPACKS Instance method Public Method Copy all prepacks of the collection into another collection 20040113
3 DELETE_ALL_PREPACKS Instance method Public Method Mark for deletion all prepack articles of the collection 20040113
4 FIND_CORRESPONDING_PREPACK Instance method Public Method Find a corresponding prepack into a target PP collection 20040826
5 IS_ALL_PREPACKS_RELEASED Instance method Public Method Verify if all prepack articles of the col. are released 20040113
6 IS_VARIANT_USED Instance method Public Method Verify if a variant is used by any prepack of the collection 20040106
7 LOAD_PREPACKS Instance method Public Method Load all non-planned prepacks into collection 20050406
8 LOAD_PREPACKS_COLLECTION Instance method Private Method Load all prepacks that belong to the generic into collection 20031211
9 LOCK_ALL_PREPACKS Instance method Public Method Lock all the planned prepack articles 20040427
10 RELEASE_ALL_PLANNING_ONLY_PP Instance method Public Method Release all the "Planning-only" prepack articles 20050402
11 RELEASE_ALL_PREPACKS Instance method Public Method Mark all prepack articles ready for the release process 20040113
12 UNLOCK_ALL_PREPACKS Instance method Public Method Unlock all the planned prepack articles 20040427
13 UNRELEASE_ALL_PLANNING_ONLY_PP Instance method Public Method Unrelease all the "Planning-only" prepack articles 20050404
14 UNRELEASE_ALL_PREPACKS Instance method Public Method Unmark all prepack articles ready for the release process 20040113
Events
Class CL_WRF_APC_PREPACKS_COL has no event.
Types
Class CL_WRF_APC_PREPACKS_COL has no local type.
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_GEN_ARTICLE Call by reference Object reference (TYPE REF TO) CL_WRF_APC_GENERIC_ARTICLE 20031211
2 Importing IS_ORG_LEVEL_SEL Call by reference Type reference (TYPE) WRF_APC_PLH_ATTRIB_STY Organization level used to read the article data 20050623
3 Importing I_LOCK Call by reference Type reference (TYPE) SPERA SPACE Art der Sperre (Shared, Exclusiv ) 20031211
4 Importing I_PLAN_ONLY Call by reference Type reference (TYPE) XFELD SPACE 20050406
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS 20031211
2 CX_WRF_APC_ROOT_EXCEPTIONS 20031211

Method COPY_ALL_PREPACKS Signature

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

Method DELETE_ALL_PREPACKS 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
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS 20040113
2 CX_WRF_APC_ROOT_EXCEPTIONS 20040113

Method FIND_CORRESPONDING_PREPACK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_TARGET_PP_COL Call by reference Object reference (TYPE REF TO) CL_WRF_APC_PREPACKS_COL Operational APC - Prepack Articles Collection Class 20040826
2 Importing I_PPNR Call by reference Type reference (TYPE) WSTR_LOTNR Materialnummer des Lotmaterials 20040826
3 Returning R_CORRESPONDING_PPNR Value transfer Type reference (TYPE) WSTR_LOTNR Corresponding Prepack Material 20040826
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS 20040826
2 CX_WRF_APC_ROOT_EXCEPTIONS 20040826

Method IS_ALL_PREPACKS_RELEASED 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 20040807
2 Importing I_ONLY_ASSIGNED Call by reference Type reference (TYPE) XFELD SPACE Check only the prepacks that are assigned to PL item 20040807
3 Returning R_RLS_STATUS Value transfer Type reference (TYPE) XFELD 20040113

Method IS_ALL_PREPACKS_RELEASED on class CL_WRF_APC_PREPACKS_COL has no exception.

Method IS_VARIANT_USED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_VARNR Call by reference Type reference (TYPE) VATNR Variantennummer 20040106
2 Returning R_PPNR Value transfer Type reference (TYPE) WSTR_LOTNR 20040107

Method IS_VARIANT_USED on class CL_WRF_APC_PREPACKS_COL has no exception.

Method LOAD_PREPACKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ORG_LEVEL_SEL Call by reference Type reference (TYPE) WRF_APC_PLH_ATTRIB_STY Organization level used to read the article data 20050623
2 Importing I_LOCK Call by reference Type reference (TYPE) SPERA SPACE Art der Sperre (Shared, Exclusiv ) 20050406
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS 20050406
2 CX_WRF_APC_ROOT_EXCEPTIONS 20050406

Method LOAD_PREPACKS_COLLECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ORG_LEVEL_SEL Call by reference Type reference (TYPE) WRF_APC_PLH_ATTRIB_STY Organization level used to read the article data 20050623
2 Importing I_LOCK Call by reference Type reference (TYPE) SPERA SPACE Art der Sperre (Shared, Exclusiv ) 20031211
3 Importing I_PLAN_ONLY Call by reference Type reference (TYPE) XFELD SPACE 20050406
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS 20031211
2 CX_WRF_APC_ROOT_EXCEPTIONS 20031211

Method LOCK_ALL_PREPACKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LOCK Call by reference Type reference (TYPE) SPERA 'S' Art der Sperre (Shared, Exclusiv ) 20040427
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS Operational APC - Article Exceptions 20040427
2 CX_WRF_APC_ROOT_EXCEPTIONS Operational APC - Global common exceptions 20040427

Method RELEASE_ALL_PLANNING_ONLY_PP 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 20050402
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS 20050402
2 CX_WRF_APC_ROOT_EXCEPTIONS 20050402

Method RELEASE_ALL_PREPACKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_INFO_MSG Call by reference Type reference (TYPE) WRF_APC_BAPIRET2_TTY Information messages concerning the release process 20050520
2 Importing IR_PL_ITEM Call by reference Object reference (TYPE REF TO) CL_WRF_APC_ITEM Operational APC - Purchasing List Item Class 20040616
3 Importing I_DISPLAY_WARN Call by reference Type reference (TYPE) XFELD SPACE Display warning message, don't generate exception 20040909
4 Importing I_IMMEDIATELY Call by reference Type reference (TYPE) XFELD SPACE 20040113
5 Importing I_ONLY_ASSIGNED Call by reference Type reference (TYPE) XFELD 'X' Release only the prepacks that are assigned to PL item 20040806
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS 20040113
2 CX_WRF_APC_ROOT_EXCEPTIONS 20040113

Method UNLOCK_ALL_PREPACKS Signature

Method UNLOCK_ALL_PREPACKS on class CL_WRF_APC_PREPACKS_COL has no parameter.
Method UNLOCK_ALL_PREPACKS on class CL_WRF_APC_PREPACKS_COL has no exception.

Method UNRELEASE_ALL_PLANNING_ONLY_PP 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 20050404
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS 20050404
2 CX_WRF_APC_ROOT_EXCEPTIONS 20050404

Method UNRELEASE_ALL_PREPACKS Signature

Method UNRELEASE_ALL_PREPACKS on class CL_WRF_APC_PREPACKS_COL has no parameter.
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS 20040113
2 CX_WRF_APC_ROOT_EXCEPTIONS 20040113
History
Last changed by/on SAP  20050705 
SAP Release Created in 111