SAP ABAP Class CL_CNV_MBT_PROCESS_PEM_UTILS (PEM Utilities class)
Hierarchy
DMIS (Software Component) DMIS 2011_1
   CA-EUR (Application Component) European Monetary Union: Euro
     CNV_MBT_PCL_CL (Package) PCL Class Layer
Properties
Class CL_CNV_MBT_PROCESS_PEM_UTILS  
Short Description PEM Utilities class    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CNV_MBT_PCL_CL   PCL Class Layer 
Created 20111216   SAP 
Last change 20141030    
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
Class CL_CNV_MBT_PROCESS_PEM_UTILS has no interface implemented.
Friends
Class CL_CNV_MBT_PROCESS_PEM_UTILS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 PT_NEW_IMG Static Attribute Private Type reference (TYPE) CNVMBTIMG_T New IMG 20120619
2 PT_OLD_IMG Static Attribute Private Type reference (TYPE) CNVMBTIMG_T Old IMG 20120619
3 PT_STATE Static Attribute Private See coding Extract form cnvmbtstate 20120619
Methods
# Method Level Visibility Method type Description Created on
1 BRING_INDEP_ACT_TO_FORWARD Static method Private Method Move all activities without predecessor to the first block 20120720
2 CALCULATE_PEP_CONTENT Static method Private Method Determine the sequence to create PEM plan 20120619
3 CATEGORIZE_ACTIVITIES Static method Private Method Categorize activities in new, update, old 20120619
4 CLEAN_UP_EMPTY_BLOCKS Static method Private Method Cleanup empty blocks from PEP 20120619
5 COMPARE_IMGS Static method Public Method Compares the current img with a previous img 20120206
6 CREATE_PEM_PLAN Static method Public Method Creates a PEM Execution plan if none is existent in database 20111216
7 DELETE_PEM_PLAN Static method Public Method Deletes the whole PEM plan for a given package 20111216
8 FILL_BLOCKS_AND_GROUPS Static method Private Method Create blocks for plan 20111216
9 GET_PROCESS_TREE Static method Private Method Returns the process Tree 20111216
10 INSERT_NEW_ACTIVITIES Static method Private Method Insert new Activities in PEP 20120619
11 MERGE_SAME_TYPE_BLOCKS Static method Private Method Merge Same Type Neighbor blocks 20120720
12 MODIFY_PLAN_ENTRIES Static method Private Method Make Database Modification 20111216
13 OPTIMIZE_PHASE_CONTENT Static method Private Method Optimize number of blocks and groups per phase in the plan 20120720
14 REMOVE_OLD_ACTIVITIES Static method Private Method Remove old activities from PEP 20120619
15 RUNTIME_INFORMATION Static method Public Method Get runtime information from activities and plan 20120608
16 STORE_IMG_COPY Static method Private Method Store IMG copy for comparence 20120619
17 UPDATE_GROUP_CONTENT Static method Private Method Update group content from new block sequence 20120720
18 UPDATE_GROUP_SEQUENCE_NUMBERS Static method Private Method Update the sequence numbers on groups that must be appended 20120619
19 UPDATE_PEM_PLAN Static method Public Method Update the PEM plan in case when the IMGS structure changes 20120619
20 UPDATE_STAYING_ACTIVITIES Static method Private Method Update statying activities in PEP 20120619
Events
Class CL_CNV_MBT_PROCESS_PEM_UTILS has no event.
Types
Class CL_CNV_MBT_PROCESS_PEM_UTILS has no local type.
Method Signatures

Method BRING_INDEP_ACT_TO_FORWARD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing XT_BLOCK_SEQUENCE Call by reference Type reference (TYPE) CNVMBTPEM_T Sequence of blocks of same type 20120720
2 Changing XT_PEM_CONTENT Call by reference Type reference (TYPE) CNVMBTPEMCONTENT_T PEM content 20120720

Method BRING_INDEP_ACT_TO_FORWARD on class CL_CNV_MBT_PROCESS_PEM_UTILS has no exception.

Method CALCULATE_PEP_CONTENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PEM_BLOCK Call by reference Type reference (TYPE) CNVMBTPEM_T Table Type for Table cnvmbtpem 20120619
2 Exporting ET_PEM_CONTENT Call by reference Type reference (TYPE) CNVMBTPEMCONTENT_T PEM content 20120619
3 Exporting ET_PEM_GROUP Call by reference Type reference (TYPE) CNVMBTPEM_T Table Type for Table cnvmbtpem 20120619
4 Importing IT_PROCESS_TREE Call by reference Type reference (TYPE) CNVMBTIMG_T Table type for table cnvmbtimg 20120619
5 Importing IV_PACK_ID Call by reference Type reference (TYPE) CNV_MBT_PACKID Package Number of Transformation / Analysis Package 20120619
6 Changing XS_PEM_PLAN Call by reference Type reference (TYPE) CNVMBTPEM Plan header line 20120619
7 Changing XT_PLAYGROUND Call by reference Type reference (TYPE) CNVMBTIMG_T Steps that shall be feeded into PEP 20120619
# Exception Resumable Description Created on
1 CX_CNV_MBT_PROCESS_PEM PEM Exceptions 20120619

Method CATEGORIZE_ACTIVITIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_NEW_ACTIVITY Call by reference Type reference (TYPE) CNVMBTIMG_T Table type for table cnvmbtimg 20120619
2 Exporting ET_OLD_ACTIVITY Call by reference Type reference (TYPE) CNVMBTIMG_T Table type for table cnvmbtimg 20120619
3 Exporting ET_UPDATE_ACTIVITY Call by reference Type reference (TYPE) CNVMBTIMG_T Table type for table cnvmbtimg 20120619

Method CATEGORIZE_ACTIVITIES on class CL_CNV_MBT_PROCESS_PEM_UTILS has no exception.

Method CLEAN_UP_EMPTY_BLOCKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PACK_ID Call by reference Type reference (TYPE) CNV_MBT_PACKID Package Number of Transformation / Analysis Package 20120619

Method CLEAN_UP_EMPTY_BLOCKS on class CL_CNV_MBT_PROCESS_PEM_UTILS has no exception.

Method COMPARE_IMGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning IP_CHANGED Value transfer Type reference (TYPE) CNV_MBT_FLAG Flag (X = yes, initial = no) 20120206
2 Importing IP_PACKID Call by reference Type reference (TYPE) CNV_MBT_PACKID Package Number of Transformation / Analysis Package 20120206

Method COMPARE_IMGS on class CL_CNV_MBT_PROCESS_PEM_UTILS has no exception.

Method CREATE_PEM_PLAN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PACK_ID Call by reference Type reference (TYPE) CNV_MBT_PACKID Package where plan shall be created 20111216
2 Importing IV_RECREATE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Must plan be recreated 20111216
3 Returning RV_PLAN_GUID Value transfer Type reference (TYPE) CNV_MBT_PEM_OBJECT_GUID Process Execution Object GUID 20111216
# Exception Resumable Description Created on
1 CX_CNV_MBT_PROCESS_CONTROL Issues related to State Management 20111216
2 CX_CNV_MBT_PROCESS_PEM PEM Exceptions 20111216

Method DELETE_PEM_PLAN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PACK_ID Call by reference Type reference (TYPE) CNV_MBT_PACKID Package Number of Transformation / Analysis Package 20111216

Method DELETE_PEM_PLAN on class CL_CNV_MBT_PROCESS_PEM_UTILS has no exception.

Method FILL_BLOCKS_AND_GROUPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PEM_BLOCK Call by reference Type reference (TYPE) CNVMBTPEM_T Blocks for Plan 20111216
2 Exporting ET_PEM_CONTENT Call by reference Type reference (TYPE) CNVMBTPEMCONTENT_T Content of blocks 20111222
3 Exporting ET_PEM_GROUP Call by reference Type reference (TYPE) CNVMBTPEM_T Groups for Plan 20111216
4 Exporting EV_GROUP_SEQ Call by reference Type reference (TYPE) CNV_MBT_SEQNUM Sequence Number 20111229
5 Importing IS_PEM_PLAN Call by reference Type reference (TYPE) CNVMBTPEM Process Execution Plan 20111216
6 Importing IS_PHASE Call by reference Type reference (TYPE) CNVMBTIMG Execution phase 20111216
7 Importing IT_SEQUENCE Call by reference Type reference (TYPE) CNV_MBT_T_ACTIVITY_SEQUENCE Global Table Type for activity sequences 20111216
8 Importing IV_GROUP_SEQ Value transfer Type reference (TYPE) CNV_MBT_SEQNUM Sequence Number 20111229
9 Importing IV_PACK_ID Call by reference Type reference (TYPE) CNV_MBT_PACKID Package Number of Transformation / Analysis Package 20111216

Method FILL_BLOCKS_AND_GROUPS on class CL_CNV_MBT_PROCESS_PEM_UTILS has no exception.

Method GET_PROCESS_TREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PACK_ID Call by reference Type reference (TYPE) CNV_MBT_PACKID Package Number of Transformation / Analysis Package 20111216
2 Returning RT_PROCESS_TREE Value transfer Type reference (TYPE) CNVMBTIMG_T Table type for table cnvmbtimg 20111216
# Exception Resumable Description Created on
1 CX_CNV_MBT_PROCESS_CONTROL Issues related to State Management 20111216
2 CX_CNV_MBT_PROCESS_PEM PEM Exceptions 20111216

Method INSERT_NEW_ACTIVITIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_NEW_ACTIVITY Call by reference Type reference (TYPE) CNVMBTIMG_T Table type for table cnvmbtimg 20120619
2 Importing IV_PACK_ID Call by reference Type reference (TYPE) CNV_MBT_PACKID Package Number of Transformation / Analysis Package 20120619
# Exception Resumable Description Created on
1 CX_CNV_MBT_PROCESS_CONTROL Issues related to State Management 20120619
2 CX_CNV_MBT_PROCESS_PEM PEM Exceptions 20120619

Method MERGE_SAME_TYPE_BLOCKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing XT_PEM_BLOCK Call by reference Type reference (TYPE) CNVMBTPEM_T Table Type for Table cnvmbtpem 20120720
2 Changing XT_PEM_CONTENT Call by reference Type reference (TYPE) CNVMBTPEMCONTENT_T PEM content 20120720

Method MERGE_SAME_TYPE_BLOCKS on class CL_CNV_MBT_PROCESS_PEM_UTILS has no exception.

Method MODIFY_PLAN_ENTRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_PEM_PLAN Call by reference Type reference (TYPE) CNVMBTPEM Process Execution Plan / Groups / Blocks 20111216
2 Importing IT_PEM Call by reference Type reference (TYPE) CNVMBTPEM_T Collection of PEM Elements 20111216
3 Importing IT_PEM_BLOCK Call by reference Type reference (TYPE) CNVMBTPEM_T Blocks of plan 20111216
4 Importing IT_PEM_CONTENT Call by reference Type reference (TYPE) CNVMBTPEMCONTENT_T Block Content 20111222
5 Importing IT_PEM_GROUP Call by reference Type reference (TYPE) CNVMBTPEM_T Groups of plan 20111216
6 Importing IV_DELETION_FLAG Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 'X' data is deleted '' data is only modifed 20111216

Method MODIFY_PLAN_ENTRIES on class CL_CNV_MBT_PROCESS_PEM_UTILS has no exception.

Method OPTIMIZE_PHASE_CONTENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_PEM_PLAN Call by reference Type reference (TYPE) CNVMBTPEM Process Execution Plan / Groups / Blocks 20120720
2 Importing IV_START_GROUP_SEQ_NO Call by reference Type reference (TYPE) CNV_MBT_SEQNUM Start sequence number of inserted block 20120720
3 Changing XT_PEM_BLOCK Call by reference Type reference (TYPE) CNVMBTPEM_T Table Type for Table cnvmbtpem 20120720
4 Changing XT_PEM_CONTENT Call by reference Type reference (TYPE) CNVMBTPEMCONTENT_T Table Type for Table cnvmbtpem 20120720
5 Changing XT_PEM_GROUP Call by reference Type reference (TYPE) CNVMBTPEM_T Table Type for Table cnvmbtpem 20120720
6 Changing XV_STOP_GROUP_SEQ_NO Call by reference Type reference (TYPE) CNV_MBT_SEQNUM Last sequence number of inserted block 20120720

Method OPTIMIZE_PHASE_CONTENT on class CL_CNV_MBT_PROCESS_PEM_UTILS has no exception.

Method REMOVE_OLD_ACTIVITIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_OLD_ACTIVITY Call by reference Type reference (TYPE) CNVMBTIMG_T Actitivites that has to be removed from PEM 20120619
2 Importing IV_PACK_ID Call by reference Type reference (TYPE) CNV_MBT_PACKID Package Number of Transformation / Analysis Package 20120619

Method REMOVE_OLD_ACTIVITIES on class CL_CNV_MBT_PROCESS_PEM_UTILS has no exception.

Method RUNTIME_INFORMATION Signature

Method RUNTIME_INFORMATION on class CL_CNV_MBT_PROCESS_PEM_UTILS has no parameter.
Method RUNTIME_INFORMATION on class CL_CNV_MBT_PROCESS_PEM_UTILS has no exception.

Method STORE_IMG_COPY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PACK_ID Call by reference Type reference (TYPE) CNV_MBT_PACKID Package Number of Transformation / Analysis Package 20120619

Method STORE_IMG_COPY on class CL_CNV_MBT_PROCESS_PEM_UTILS has no exception.

Method UPDATE_GROUP_CONTENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_PEM_BLOCK Call by reference Type reference (TYPE) CNVMBTPEM_T Table Type for Table cnvmbtpem 20120720
2 Importing IV_PLAN_GUID Call by reference Type reference (TYPE) CNV_MBT_PEM_OBJECT_GUID Process Execution Object GUID 20120720
3 Importing IV_START_GROUP_SEQ_NO Call by reference Type reference (TYPE) CNV_MBT_SEQNUM Sequence Number 20120720
4 Changing XT_PEM_CONTENT Call by reference Type reference (TYPE) CNVMBTPEMCONTENT_T PEM content 20120720
5 Changing XT_PEM_GROUP Call by reference Type reference (TYPE) CNVMBTPEM_T Table Type for Table cnvmbtpem 20120720
6 Changing XV_STOP_GROUP_SEQ_NO Call by reference Type reference (TYPE) CNV_MBT_SEQNUM Sequence Number 20120720

Method UPDATE_GROUP_CONTENT on class CL_CNV_MBT_PROCESS_PEM_UTILS has no exception.

Method UPDATE_GROUP_SEQUENCE_NUMBERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PLAN_GUID Call by reference Type reference (TYPE) CNV_MBT_PEM_OBJECT_GUID Plan Guid 20120619
2 Changing XT_APPENDING_CONTENT Call by reference Type reference (TYPE) CNVMBTPEMCONTENT_T PEM content 20120619

Method UPDATE_GROUP_SEQUENCE_NUMBERS on class CL_CNV_MBT_PROCESS_PEM_UTILS has no exception.

Method UPDATE_PEM_PLAN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PACK_ID Call by reference Type reference (TYPE) CNV_MBT_PACKID Package Number of Transformation / Analysis Package 20120619
# Exception Resumable Description Created on
1 CX_CNV_MBT_PROCESS_CONTROL Issues related to State Management 20120619
2 CX_CNV_MBT_PROCESS_PEM PEM Exceptions 20120619

Method UPDATE_STAYING_ACTIVITIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ACTIVITY Call by reference Type reference (TYPE) CNVMBTIMG_T Table type for table cnvmbtimg 20120619
2 Importing IV_PACK_ID Call by reference Type reference (TYPE) CNV_MBT_PACKID Package Number of Transformation / Analysis Package 20120619

Method UPDATE_STAYING_ACTIVITIES on class CL_CNV_MBT_PROCESS_PEM_UTILS has no exception.
History
Last changed by/on SAP  20141030 
SAP Release Created in 2010_1_620