SAP ABAP Class CL_PPE_ITEM_FACTORY (Factory for PPE items)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-AB-TC (Application Component) Trading Contract
     PPE (Package) Pricing and Payment Events: Core objects
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_PPE_ITEM_FACTORY PPE item factory 20100902
Properties
Class CL_PPE_ITEM_FACTORY  
Short Description Factory for PPE items    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PPE   Pricing and Payment Events: Core objects 
Created 20100902   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_PPE_ITEM_FACTORY PPE item factory 20100902
Friends
# Friend Modeled only Created on Description
1 CL_PPE_PRICING_REL_CHANGES 20110221 Stores pricing relevant changes
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_MEMORY_ID Constant Private Type reference (TYPE) CHAR30 'CL_PPE_ITEM_FACTORY' memory ID 20101210
2 MO_ITEM_LIST Instance attribute Private Object reference (TYPE REF TO) CL_PPE_ITEM_LIST List of PPE items 20100902
3 MTH_LOCKED_DOC Instance attribute Private Type reference (TYPE) PPE_TH_DOC_KEY locked docs 20100902
4 MTH_NEW_DOC Instance attribute Private Type reference (TYPE) PPE_TH_DOC_KEY created docs 20100903
5 MTH_READ_AFTER_LOCK Instance attribute Private Type reference (TYPE) PPE_TH_DOC_KEY PPE document key 20100902
6 MTH_READ_WITHOUT_LOCK Instance attribute Private Type reference (TYPE) PPE_TH_DOC_KEY PPE document key 20100902
7 MTH_TEMP_TO_FINAL Instance attribute Private Type reference (TYPE) PPE_TH_KEY_MAP mapping from temporary to final number 20100908
8 MTS_ROOT_ITEM Instance attribute Private Type reference (TYPE) MTY_TS_ROOT_ITEM root item 20100908
9 MV_ARCHIVE_HANDLE Instance attribute Private Type reference (TYPE) SYTABIX Index of Internal Tables 20110216
10 MV_ARCHIVE_MODE Instance attribute Private Type reference (TYPE) ABAP_BOOL called from archive 20110216
11 SO_FACTORY Static Attribute Private Object reference (TYPE REF TO) CL_PPE_ITEM_FACTORY Factory for PPE items 20100902
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20100902
2 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20100902
3 GET_ARCHIVE_HANDLE Instance method Public Method return archive handle 20110216
4 GET_FACTORY Static method Public Method return factory 20100902
5 GET_FACTORY_FOR_FRIENDS Static method Private Method return factory 20110221
6 GET_ITEM_LIST Instance method Public Method 20100902
7 GET_ROOT_REFERENCE Instance method Public Method 20100908
8 IS_DOC_LOCKED Instance method Public Method 20100902
9 IS_IN_ARCHIVE_MODE Instance method Public Method archive mode active 20110216
10 IS_READ_AFTER_LOCK Instance method Public Method 20101015
11 PREPARE_FOR_CREATE_ITEM Instance method Public Method create a new item 20100906
12 READ_FROM_DB Instance method Private Method read data from DB 20100902
13 READ_IF_NECESSARY Instance method Private Method read data from DB if not already read 20100902
14 REFRESH Instance method Public Method 20100908
15 SET_DATA_FROM_ARCHIVE Instance method Public Method 20110216
16 SET_DOC_IS_LOCKED Instance method Public Method 20100902
17 SET_DOC_IS_UNLOCKED Instance method Public Method 20100902
18 SET_FINAL_NUMBER Instance method Public Method 20101015
19 SET_NEW_DOC_NUM Instance method Public Method 20100908
20 SET_ROOT_REFERENCE Instance method Public Method 20100908
21 UPDATE Instance method Public Method 20100908
Events
Class CL_PPE_ITEM_FACTORY has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 MTY_S_ROOT_ITEM Private See coding root item 20100908 BEGIN OF mty_s_root_item, doc_type TYPE ppe_doc_type, doc_no TYPE ppe_doc_no, doc_item_no TYPE ppe_doc_item_no, root_doc_type TYPE ppe_root_doc_type, root_doc_no TYPE ppe_doc_no, root_doc_item_no TYPE ppe_doc_item_no, group_code TYPE ppe_group, END OF mty_s_root_item
2 MTY_TS_ROOT_ITEM Private See coding root item 20100908 mty_ts_root_item TYPE SORTED TABLE OF mty_s_root_item WITH UNIQUE KEY doc_type doc_no doc_item_no WITH NON-UNIQUE SORTED KEY root_key COMPONENTS root_doc_type root_doc_no root_doc_item_no
Method Signatures

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_PPE_ITEM_FACTORY has no parameter.
Method CLASS_CONSTRUCTOR on class CL_PPE_ITEM_FACTORY has no exception.

Method CONSTRUCTOR Signature

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

Method GET_ARCHIVE_HANDLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_HANDLE Value transfer Type reference (TYPE) SYTABIX Index of Internal Tables 20110216

Method GET_ARCHIVE_HANDLE on class CL_PPE_ITEM_FACTORY has no exception.

Method GET_FACTORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_FACTORY Value transfer Object reference (TYPE REF TO) IF_PPE_ITEM_FACTORY PPE item factory 20100902

Method GET_FACTORY on class CL_PPE_ITEM_FACTORY has no exception.

Method GET_FACTORY_FOR_FRIENDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_FACTORY Value transfer Object reference (TYPE REF TO) CL_PPE_ITEM_FACTORY PPE item factory 20110221

Method GET_FACTORY_FOR_FRIENDS on class CL_PPE_ITEM_FACTORY has no exception.

Method GET_ITEM_LIST Signature

Method GET_ITEM_LIST on class CL_PPE_ITEM_FACTORY has no parameter.
Method GET_ITEM_LIST on class CL_PPE_ITEM_FACTORY has no exception.

Method GET_ROOT_REFERENCE Signature

Method GET_ROOT_REFERENCE on class CL_PPE_ITEM_FACTORY has no parameter.
Method GET_ROOT_REFERENCE on class CL_PPE_ITEM_FACTORY has no exception.

Method IS_DOC_LOCKED Signature

Method IS_DOC_LOCKED on class CL_PPE_ITEM_FACTORY has no parameter.
Method IS_DOC_LOCKED on class CL_PPE_ITEM_FACTORY has no exception.

Method IS_IN_ARCHIVE_MODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_ARCHIVE_MODE Value transfer Type reference (TYPE) ABAP_BOOL 20110216

Method IS_IN_ARCHIVE_MODE on class CL_PPE_ITEM_FACTORY has no exception.

Method IS_READ_AFTER_LOCK Signature

Method IS_READ_AFTER_LOCK on class CL_PPE_ITEM_FACTORY has no parameter.
Method IS_READ_AFTER_LOCK on class CL_PPE_ITEM_FACTORY has no exception.

Method PREPARE_FOR_CREATE_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_KEY Call by reference Type reference (TYPE) PPE_S_ITEM_LIST_KEY Key of PPE table 20100906
# Exception Resumable Description Created on
1 CX_PPE_MAINTAIN_ERROR Error during maintenance 20100906
2 CX_PPE_NOT_CHANGEABLE Change not possible 20100906

Method READ_FROM_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ETS_ITEM Call by reference Type reference (TYPE) PPE_TS_ITEM_LIST_COM communication structure for DB table PPE_D_ITEM_LIST 20100902
2 Importing ITH_DOC_KEY Call by reference Type reference (TYPE) PPE_TH_DOC_KEY PPE document key 20100902

Method READ_FROM_DB on class CL_PPE_ITEM_FACTORY has no exception.

Method READ_IF_NECESSARY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DOC_KEY Call by reference Type reference (TYPE) PPE_S_DOC_KEY PPE document key 20100902
2 Importing ITH_DOC_KEY Value transfer Type reference (TYPE) PPE_TH_DOC_KEY PPE document key 20100902

Method READ_IF_NECESSARY on class CL_PPE_ITEM_FACTORY has no exception.

Method REFRESH Signature

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

Method SET_DATA_FROM_ARCHIVE Signature

Method SET_DATA_FROM_ARCHIVE on class CL_PPE_ITEM_FACTORY has no parameter.
Method SET_DATA_FROM_ARCHIVE on class CL_PPE_ITEM_FACTORY has no exception.

Method SET_DOC_IS_LOCKED Signature

Method SET_DOC_IS_LOCKED on class CL_PPE_ITEM_FACTORY has no parameter.
Method SET_DOC_IS_LOCKED on class CL_PPE_ITEM_FACTORY has no exception.

Method SET_DOC_IS_UNLOCKED Signature

Method SET_DOC_IS_UNLOCKED on class CL_PPE_ITEM_FACTORY has no parameter.
Method SET_DOC_IS_UNLOCKED on class CL_PPE_ITEM_FACTORY has no exception.

Method SET_FINAL_NUMBER Signature

Method SET_FINAL_NUMBER on class CL_PPE_ITEM_FACTORY has no parameter.
Method SET_FINAL_NUMBER on class CL_PPE_ITEM_FACTORY has no exception.

Method SET_NEW_DOC_NUM Signature

Method SET_NEW_DOC_NUM on class CL_PPE_ITEM_FACTORY has no parameter.
Method SET_NEW_DOC_NUM on class CL_PPE_ITEM_FACTORY has no exception.

Method SET_ROOT_REFERENCE Signature

Method SET_ROOT_REFERENCE on class CL_PPE_ITEM_FACTORY has no parameter.
Method SET_ROOT_REFERENCE on class CL_PPE_ITEM_FACTORY has no exception.

Method UPDATE Signature

Method UPDATE on class CL_PPE_ITEM_FACTORY has no parameter.
Method UPDATE on class CL_PPE_ITEM_FACTORY has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 606