SAP ABAP Class CL_WRF_APC_PREPACK_ARTICLE (Operational APC - R3 or Planned Prepack Article 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_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 CO_ALLOWED Constant Public Type reference (TYPE) XFELD '1' Allowed 20040115
2 CO_MAINTAIN Constant Public Type reference (TYPE) WSTR_MODE 'M' Editing Mode - Maintain 20040115
3 CO_STRTP_PREPACK Constant Public Type reference (TYPE) MGW2TYP 'L ' Structured material of category prepack 20040115
4 MR_EXIT_PREPACK_ARTICLE 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 MR_GEN_ARTICLE Instance attribute Public Object reference (TYPE REF TO) CL_WRF_APC_GENERIC_ARTICLE Operational APC - R3 or Planned Generic Article Class 20031201
6 MTO_CHARVALU_SELROW Instance attribute Public Type reference (TYPE) WRF_APC_CHARVALU_SELROW_TTY Characteristic values selected for the dialog matrix rows 20040213
7 MTO_COMPONENTS Instance attribute Public Type reference (TYPE) WRF_APC_COMPONENT_TTY Prepack components with their characteristic values 20031201
8 MTO_COMPONENTS_DEL Instance attribute Protected Type reference (TYPE) WRF_APC_PPCMP_KEY_TTY Prepack components marked for the deletion 20031201
9 MT_CHGALLOWED_MSG Instance attribute Public Type reference (TYPE) TSMESG Msg that come up during check to determine PP modifiable 20040115
10 M_CHGALLOWED Instance attribute Public Type reference (TYPE) WSTN_ALLOWED Changes allowed if corresponding documents exist 20040115
11 M_CV_SELROW_ATINN_1ROW Instance attribute Public Type reference (TYPE) ATINN First row characteristic in the dialog matrix 20050225
12 M_CV_SELROW_ATINN_2ROW Instance attribute Public Type reference (TYPE) ATINN Second row characteristic in the dialog matrix 20050225
13 M_TOTAL_QTY 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 CALCULATE_PURCHASING_PRICE Instance method Public Method Calculate the purchase price of a prepack article 20040114
2 CLASS_CONSTRUCTOR Static method Public Constructor Get the instance for the BAdIs 20031211
3 CONSTRUCTOR Instance method Public Constructor Initialize an instance of a prepack article 20031201
4 COPY_COMPONENTS Instance method Public Method Copy several components based a on char. value selection 20040318
5 CUT_COMPONENTS Instance method Public Method Cut several components based a on char. value selection 20040114
6 ERASE_CHARVALU_SELECTION Instance method Public Method Erase char. values which define PP defn. display matrix 20040213
7 GET_USAGE_STATUS Instance method Public Method Return how compatible a prepack is with a PL item 20040827
8 IS_COMPONENTS_INVALID Instance method Public Method Return a Var. Nr, if the prepack contains invalid components 20060208
9 IS_COMPONENT_DEFINED Instance method Public Method Return 'X' if the prepack contains at least one component 20040114
10 IS_PREPACK_SAME Instance method Public Method Return 'X', if two prepack has the same components 20040826
11 IS_PURCH_PRICE_HAS_CALC Instance method Public Method Return 'X', if basic purchasing price is = to calculated one 20040805
12 MAP_REFARTICLE_COMPS Instance method Private Method Map components of an existing article to the new article 20040114
13 PASTE_COMPONENTS Instance method Public Method Add several components that were extracted from another pp. 20040114
14 READ_PLANNED_ARTICLE_COMPS Instance method Private Method Read components of an existing planned article from DB 20040114
15 READ_R3_ARTICLE_COMPS Instance method Private Method Read components of an existing R3 article from DB 20040114
16 REFRESH_CHARVALU_SELECTION Instance method Public Method Erase all char. values which define PP defn. display matrix 20050225
17 RELEASE_PLANNING_ONLY_PP Instance method Public Method Release a "planning-only" prepack article 20050324
18 RETAIN_CHARVALU_SELECTION Instance method Public Method Retain char. values which define PP defn. display matrix 20040213
19 SEARCHES_PREPACK_USAGE Instance method Public Method Returns a list of PL item ID which use the prepack 20040804
20 SET_COMPONENT_LOCK Instance method Public Method Lock/Unlock a prepack components 20040610
21 SET_DEFAULT_DESCRIPTION Instance method Private Method Build default descriptions for the prepack 20040213
22 SET_PLANNING_ONLY_FLAG Instance method Public Method Set the planning-only prepack flag 20050317
23 UNRELEASE_PLANNING_ONLY_PP Instance method Public Method Unrelease a "planning-only" prepack article 20050402
24 UPDATE_COMPONENT 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 Exporting ES_PAPUR Call by reference Type reference (TYPE) WRF_APC_PAPUR Einkaufsdaten und Einkaufspreise für geplante Materialien 20040317
2 Exporting ES_PLIP Call by reference Type reference (TYPE) WRF_APC_PLIP OAPC: Purchasing List Item Prepack Information 20050524
3 Importing IS_PLI Call by reference Type reference (TYPE) WRF_APC_PLI Purchasing List Items 20050524
4 Importing I_EKORG Call by reference Type reference (TYPE) EKORG Einkaufsorganisation 20040317
5 Importing I_LIFNR Call by reference Type reference (TYPE) ELIFN Kontonummer von Lieferant 20040317
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS Operational APC - Article Exceptions 20040114
2 CX_WRF_APC_ROOT_EXCEPTIONS 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 Importing 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 Importing IR_REF_ARTICLE Call by reference Object reference (TYPE REF TO) CL_WRF_APC_ARTICLE Reference article 20031201
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 20040702
4 Importing I_ATTYP Call by reference Type reference (TYPE) ATTYP Materialtyp 20031201
5 Importing I_CHPROF Call by reference Type reference (TYPE) WRF_CHARPROF Merkmalsprofil 20031201
6 Importing I_LOCK Call by reference Type reference (TYPE) SPERA SPACE Art der Sperre (Shared, Exclusiv ) 20040115
7 Importing I_MATKL Call by reference Type reference (TYPE) MATKL Materialgruppe 20031201
8 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20031201
9 Importing I_MTART Call by reference Type reference (TYPE) MTART Materialart 20031201
10 Importing I_NEW Call by reference Type reference (TYPE) XFELD SPACE Indicates if it is a new article 20031201
11 Importing I_PLAN Call by reference Type reference (TYPE) XFELD Indicates if the article is R3 or Planned 20031201
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS Operational APC - Article Exceptions 20031201
2 CX_WRF_APC_ROOT_EXCEPTIONS 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 Exporting ETO_COMPONENTS Call by reference Type reference (TYPE) WRF_APC_COMPONENT_TTY 20040318
2 Importing 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 Exporting ETO_COMPONENTS Call by reference Type reference (TYPE) WRF_APC_COMPONENT_TTY 20040318
2 Importing ITO_CVSEL Call by reference Type reference (TYPE) WRF_APC_VARCV_TTY 20040318
3 Importing I_LOCK Call by reference Type reference (TYPE) XFELD SPACE 20040614
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS Operational APC - Article Exceptions 20040114
2 CX_WRF_APC_ROOT_EXCEPTIONS 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 Importing I_ATWRT_1ROW Call by reference Type reference (TYPE) ATWRT Characteristic value of the first row characteristic 20040213
2 Importing 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 Importing IR_PL_ITEM Call by reference Object reference (TYPE REF TO) CL_WRF_APC_ITEM 20040827
2 Importing IS_FIRST_CHAR_INFO Call by reference Type reference (TYPE) WRF_APC_CHAR_DSP_INFO_STY 20040827
3 Returning 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 Returning 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 Returning 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 Importing IR_TGT_PP_ARTICLE Call by reference Object reference (TYPE REF TO) CL_WRF_APC_PREPACK_ARTICLE 20040826
2 Returning 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 Importing I_VKORG Call by reference Type reference (TYPE) VKORG Verkaufsorganisation 20050302
2 Returning R_HAS_CALC Value transfer Type reference (TYPE) XFELD 20040805
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS 20040805
2 CX_WRF_APC_ROOT_EXCEPTIONS 20040805

Method MAP_REFARTICLE_COMPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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 CX_WRF_APC_ARTICLE_EXCEPTIONS Operational APC - Article Exceptions 20040114
2 CX_WRF_APC_ROOT_EXCEPTIONS 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 Importing ITO_COMPONENTS Call by reference Type reference (TYPE) WRF_APC_COMPONENT_TTY 20040318
2 Importing ITO_CVSEL Call by reference Type reference (TYPE) WRF_APC_VARCV_TTY 20040318
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS Operational APC - Article Exceptions 20040114
2 CX_WRF_APC_ROOT_EXCEPTIONS 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 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20040114
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS Operational APC - Article Exceptions 20040114
2 CX_WRF_APC_ROOT_EXCEPTIONS 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 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20040114
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS Operational APC - Article Exceptions 20040114
2 CX_WRF_APC_ROOT_EXCEPTIONS 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 CX_WRF_APC_ARTICLE_EXCEPTIONS 20050324
2 CX_WRF_APC_ROOT_EXCEPTIONS 20050324

Method RETAIN_CHARVALU_SELECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ATINN_1ROW Call by reference Type reference (TYPE) ATINN 20050225
2 Importing I_ATINN_2ROW Call by reference Type reference (TYPE) ATINN 20050225
3 Importing I_ATWRT_1ROW Call by reference Type reference (TYPE) ATWRT Characteristic value of the first row characteristic 20040213
4 Importing 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 Exporting ETO_PLITEM_LIST Call by reference Type reference (TYPE) WRF_APC_PLITEM_TTY 20040804
2 Importing 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 Importing ITO_VARCV Call by reference Type reference (TYPE) WRF_APC_VARCV_TTY Merkmalswert (für Variantenzugriff) 20040610
2 Importing I_LOCK Call by reference Type reference (TYPE) WRF_APC_PPCMP_LOCKED 20040610
3 Importing I_VARNR Call by reference Type reference (TYPE) VATNR Variantennummer 20040610
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS 20040610
2 CX_WRF_APC_ROOT_EXCEPTIONS 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 CX_WRF_APC_ARTICLE_EXCEPTIONS Operational APC - Article Exceptions 20040213
2 CX_WRF_APC_ROOT_EXCEPTIONS 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 Importing 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 CX_WRF_APC_ARTICLE_EXCEPTIONS 20050317
2 CX_WRF_APC_ROOT_EXCEPTIONS 20050317

Method UNRELEASE_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 Operational APC - Purchasing List Item Class 20050402
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS 20050402
2 CX_WRF_APC_ROOT_EXCEPTIONS 20050402

Method UPDATE_COMPONENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITO_VARCV Call by reference Type reference (TYPE) WRF_APC_VARCV_TTY Merkmalswert (für Variantenzugriff) 20040216
2 Importing I_LOCK Call by reference Type reference (TYPE) WRF_APC_PPCMP_LOCKED 20040613
3 Importing I_ONLY_ADD Call by reference Type reference (TYPE) XFELD SPACE 20040322
4 Importing I_QUANT Call by reference Type reference (TYPE) WRF_APC_CPQTY Komponenten-(/Varianten-)Menge 20040114
5 Importing I_UNIT Call by reference Type reference (TYPE) MEINS Basis-Mengeneinheit 20040114
6 Importing I_VARNR Call by reference Type reference (TYPE) VATNR Variantennummer 20040114
# Exception Resumable Description Created on
1 CX_WRF_APC_ARTICLE_EXCEPTIONS Operational APC - Article Exceptions 20040114
2 CX_WRF_APC_ROOT_EXCEPTIONS 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