SAP ABAP Class CL_DPR_SORT_NUMBER_FACTORY (Development Projects: Services for Sort numbers)
Hierarchy
CPRXRPM (Software Component) SAP Portfolio and Project Management 6.0
   PPM-PRO (Application Component) Project Management
     DEVELOPMENT_PROJECTS_SHARED (Package) Project Management - Shared Objects
Properties
Class CL_DPR_SORT_NUMBER_FACTORY  
Short Description Development Projects: Services for Sort numbers    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package DEVELOPMENT_PROJECTS_SHARED   Project Management - Shared Objects 
Created 20090326   SAP 
Last change 20141109    
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)
2 CL_DPR_CO Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_DPR_SORT_NUMBER_FACTORY has no interface implemented.
Friends
Class CL_DPR_SORT_NUMBER_FACTORY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MR_COLLECTION Instance attribute Private Object reference (TYPE REF TO) IF_DPR_COLLECTION Development Projects: Interface of All Collections 20090529
2 MR_PARENT_OF_COLLECTION Instance attribute Private Object reference (TYPE REF TO) IF_DPR_ENTITY Development Projects: Interface of All Entities 20090327
3 MT_GUID_SORT_NUMBER Instance attribute Private Type reference (TYPE) DPR_TT_APPL_OBJECT_W_SORT_NO Application object with sort number 20090326
4 MV_MAX_SORT_NUMBER Instance attribute Private Type reference (TYPE) DPR_TV_SORT_NUMBER Sort Number 20090326
5 MV_SORT_OVERALL Instance attribute Protected Type reference (TYPE) DPR_TV_SORT_OVERALL Sort mode: '1' sort overall coll. '0' sort coll. internal 20090403
6 MV_SUPPRESS_REASSIGN Instance attribute Private Type reference (TYPE) BOOLEAN_01 Suppress reassignment of sort numbers 20100608
7 SR_CHANGE_SORT_COLLECTION Static Attribute Private Object reference (TYPE REF TO) IF_DPR_COLLECTION Development Projects: Interface of All Collections 20090529
8 SR_SORT_OVERALL Static Attribute Protected Object reference (TYPE REF TO) DPR_TREE BADI DPR_TREE 20090326
9 ST_COLLECTIONS_OF_PARENT Static Attribute Private Type reference (TYPE) TY_PARENT_COLLECTION_TAB Parent Collection 20090526
10 SV_INIT_CHANGE_SORT_LEVEL Static Attribute Private Type reference (TYPE) BOOLEAN Initialization: Change Sort level 20090529
11 SV_SORT_OVERALL_RESULT Static Attribute Private Type reference (TYPE) DPR_TV_SORT_OVERALL Sort mode: '1' sort overall coll. '0' sort coll. internal 20090526
Methods
# Method Level Visibility Method type Description Created on
1 ADJUST_SORT_NUMBER_OF_CKREF Instance method Private Method Adjust Sort Numbers in the Checklist Ref collection 20090604
2 ADJUST_SORT_NUMBER_OF_COLL Instance method Private Method Adjust Sort Numbers in the collection after change of level 20090529
3 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20090327
4 CONSTRUCTOR Instance method Private Constructor CONSTRUCTOR 20090327
5 CREATE Static method Public Method Create Instance 20090327
6 FREE Instance method Public Method Destruktor 20090401
7 FREE_STATICS Static method Public Method Destruktor for Statics 20091023
8 GET_NEXT_SORT_NUMBER Instance method Public Method Get next Sort number 20090402
9 GET_PARENT_MAX_SORT_NUMBER Instance method Private Method Get max Sort number oeverall collections of a parent 20090402
10 GET_SORT_LEVEL Instance method Public Method Get Sort level 20090603
11 GET_SORT_NUMBERS Instance method Public Method Get Sort numbers 20090525
12 INIT_CHANGE_SORT_LEVEL Instance method Public Method Initialization: Sort level change 20090529
13 REASSIGN_SORT_NUMBERS Instance method Public Method Start new sorting of the collection 20090326
14 REASSIGN_SORT_NUMBERS_OVERALL Instance method Private Method Start new sorting of the overall collection 20090805
15 REGISTER_SORT_NUMBER Instance method Public Method Register Sort Number 20090326
16 REGISTER_SORT_NUMBER_OVERALL Instance method Private Method Register Sort Number realting to the overall collection 20090805
17 SET_SUPPRESS_REASSIGN Instance method Public Method Set suppress indicator ('1'=suppress, '0'=reassign) 20100608
18 UNREGISTER_SORT_NUMBER Instance method Public Method Deregister Sort Number 20090326
19 UNREGISTER_SORT_NUMBER_OVERALL Instance method Private Method Deregister Sort Number relating to the overall collection 20090805
20 UPDATE_SORT_NUMBER Instance method Private Method Update Sort number in project element 20090403
Events
Class CL_DPR_SORT_NUMBER_FACTORY has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_PARENT_COLLECTION Private See coding 20090327 BEGIN OF ty_parent_collection, parent TYPE REF TO if_dpr_entity, collection TYPE REF TO if_dpr_collection, reference TYPE REF TO cl_dpr_sort_number_factory, END OF ty_parent_collection
2 TY_PARENT_COLLECTION_TAB Private See coding 20090327 ty_parent_collection_tab TYPE STANDARD TABLE OF ty_parent_collection
3 TY_PARENT_MAX_SORT_NUMBER Private See coding 20090527 BEGIN OF ty_parent_max_sort_number, parent TYPE REF TO if_dpr_entity, max_sort_number TYPE dpr_tv_sort_number, END OF ty_parent_max_sort_number
4 TY_PARENT_MAX_SORT_NUMBER_TAB Private See coding 20090527 ty_parent_max_sort_number_tab TYPE SORTED TABLE OF ty_parent_max_sort_number WITH UNIQUE KEY parent
5 TY_PARENT_SORT_NUMBER Private See coding 20090527 BEGIN OF ty_parent_sort_number, parent TYPE REF TO if_dpr_entity, guid TYPE dpr_tv_guid, sort_number TYPE dpr_tv_sort_number, END OF ty_parent_sort_number
6 TY_PARENT_SORT_NUMBER_TAB Private See coding 20090527 ty_parent_sort_number_tab TYPE SORTED TABLE OF ty_parent_sort_number WITH UNIQUE KEY parent guid
Method Signatures

Method ADJUST_SORT_NUMBER_OF_CKREF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RESORTED_COMPONENTS Call by reference Type reference (TYPE) DPR_TT_APPL_OBJECT_W_SORT_NO 20090604

Method ADJUST_SORT_NUMBER_OF_CKREF on class CL_DPR_SORT_NUMBER_FACTORY has no exception.

Method ADJUST_SORT_NUMBER_OF_COLL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_SORT_NUMBER Call by reference Type reference (TYPE) DPR_TV_SORT_NUMBER Sort Number 20090529

Method ADJUST_SORT_NUMBER_OF_COLL on class CL_DPR_SORT_NUMBER_FACTORY has no exception.

Method CLASS_CONSTRUCTOR Signature

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

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_COLLECTION Call by reference Object reference (TYPE REF TO) IF_DPR_COLLECTION Development Projects: Interface of All Collections 20090327
2 Importing IR_PARENT Call by reference Object reference (TYPE REF TO) IF_DPR_ENTITY Development Projects: Interface of All Entities 20090327
3 Importing IV_SORT_OVERALL Call by reference Type reference (TYPE) DPR_TV_SORT_OVERALL Sort mode: '1' sort overall coll. '0' sort coll. internal 20090526

Method CONSTRUCTOR on class CL_DPR_SORT_NUMBER_FACTORY has no exception.

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_COLLECTION Call by reference Object reference (TYPE REF TO) IF_DPR_COLLECTION Development Projects: Interface of All Collections 20090327
2 Importing IR_PARENT Call by reference Object reference (TYPE REF TO) IF_DPR_ENTITY Superior Application Object 20090327
3 Returning RR_INSTANCE Value transfer Object reference (TYPE REF TO) CL_DPR_SORT_NUMBER_FACTORY 20090327

Method CREATE on class CL_DPR_SORT_NUMBER_FACTORY has no exception.

Method FREE Signature

Method FREE on class CL_DPR_SORT_NUMBER_FACTORY has no parameter.
Method FREE on class CL_DPR_SORT_NUMBER_FACTORY has no exception.

Method FREE_STATICS Signature

Method FREE_STATICS on class CL_DPR_SORT_NUMBER_FACTORY has no parameter.
Method FREE_STATICS on class CL_DPR_SORT_NUMBER_FACTORY has no exception.

Method GET_NEXT_SORT_NUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_INCREMENT Call by reference Type reference (TYPE) DPR_TV_SORT_NUMBER '10' Sort Number 20090402
2 Returning RV_SORT_NUMBER Value transfer Type reference (TYPE) DPR_TV_SORT_NUMBER Sort Number 20090402

Method GET_NEXT_SORT_NUMBER on class CL_DPR_SORT_NUMBER_FACTORY has no exception.

Method GET_PARENT_MAX_SORT_NUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_PARENT Call by reference Object reference (TYPE REF TO) IF_DPR_ENTITY Development Projects: Interface of All Entities 20090402
2 Importing IV_MAX_SORT_NUMBER Call by reference Type reference (TYPE) DPR_TV_SORT_NUMBER Sort Number 20090602

Method GET_PARENT_MAX_SORT_NUMBER on class CL_DPR_SORT_NUMBER_FACTORY has no exception.

Method GET_SORT_LEVEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_SORT_LEVEL Value transfer Type reference (TYPE) DPR_TV_SORT_OVERALL Sort mode: '1' sort overall coll. '0' sort coll. internal 20090603

Method GET_SORT_LEVEL on class CL_DPR_SORT_NUMBER_FACTORY has no exception.

Method GET_SORT_NUMBERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SORT_NUMBERS Call by reference Type reference (TYPE) DPR_TT_GUID_SORT_NUMBER 20090525

Method GET_SORT_NUMBERS on class CL_DPR_SORT_NUMBER_FACTORY has no exception.

Method INIT_CHANGE_SORT_LEVEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_SORT_OVERALL_CHG Call by reference Type reference (TYPE) ABAP_BOOL Single-Character Flag 20090529

Method INIT_CHANGE_SORT_LEVEL on class CL_DPR_SORT_NUMBER_FACTORY has no exception.

Method REASSIGN_SORT_NUMBERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_RESORTED_COMPONENTS Call by reference Type reference (TYPE) DPR_TT_APPL_OBJECT_W_SORT_NO 20090327

Method REASSIGN_SORT_NUMBERS on class CL_DPR_SORT_NUMBER_FACTORY has no exception.

Method REASSIGN_SORT_NUMBERS_OVERALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_RESORTED_COMPONENTS Call by reference Type reference (TYPE) DPR_TT_APPL_OBJECT_W_SORT_NO 20090805

Method REASSIGN_SORT_NUMBERS_OVERALL on class CL_DPR_SORT_NUMBER_FACTORY has no exception.

Method REGISTER_SORT_NUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RESORTED_COMPONENTS Call by reference Type reference (TYPE) DPR_TT_APPL_OBJECT_W_SORT_NO Application object with sort number 20090602
2 Importing IV_GUID Call by reference Type reference (TYPE) DPR_TV_GUID Application Object GUID 20090326
3 Importing IV_OBJECT_STATE Call by reference Type reference (TYPE) DPR_TV_OBJECT_STATE Technical State of Application Object 20090602
4 Importing IV_SORT_NUMBER Call by reference Type reference (TYPE) DPR_TV_SORT_NUMBER Sort Number 20090326

Method REGISTER_SORT_NUMBER on class CL_DPR_SORT_NUMBER_FACTORY has no exception.

Method REGISTER_SORT_NUMBER_OVERALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RESORTED_COMPONENTS Call by reference Type reference (TYPE) DPR_TT_APPL_OBJECT_W_SORT_NO Application object with sort number 20090805
2 Importing IS_GUID_SORT_NUMBER Call by reference Type reference (TYPE) DPR_TS_APPL_OBJECT_W_SORT_NO Application object with sort number 20090805
3 Importing IV_GUID Call by reference Type reference (TYPE) DPR_TV_GUID Application Object GUID 20090805
4 Importing IV_OBJECT_STATE Call by reference Type reference (TYPE) DPR_TV_OBJECT_STATE Technical State of Application Object 20090805

Method REGISTER_SORT_NUMBER_OVERALL on class CL_DPR_SORT_NUMBER_FACTORY has no exception.

Method SET_SUPPRESS_REASSIGN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SUPPRESS Call by reference Type reference (TYPE) BOOLEAN_01 CL_DPR_CO=>SC_ON Boolean Variable ('1'=suppress,'0'=reassign) 20100608

Method SET_SUPPRESS_REASSIGN on class CL_DPR_SORT_NUMBER_FACTORY has no exception.

Method UNREGISTER_SORT_NUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_GUID Call by reference Type reference (TYPE) DPR_TV_GUID Application Object GUID 20090326

Method UNREGISTER_SORT_NUMBER on class CL_DPR_SORT_NUMBER_FACTORY has no exception.

Method UNREGISTER_SORT_NUMBER_OVERALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_GUID Call by reference Type reference (TYPE) DPR_TV_GUID Application Object GUID 20090805

Method UNREGISTER_SORT_NUMBER_OVERALL on class CL_DPR_SORT_NUMBER_FACTORY has no exception.

Method UPDATE_SORT_NUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_RESORTED_COMPONENTS Call by reference Type reference (TYPE) DPR_TT_APPL_OBJECT_W_SORT_NO Application object with sort number 20090403
2 Importing IS_GUID_SORT_NUMBER Call by reference Type reference (TYPE) DPR_TS_APPL_OBJECT_W_SORT_NO Application object with sort number 20090403

Method UPDATE_SORT_NUMBER on class CL_DPR_SORT_NUMBER_FACTORY has no exception.
History
Last changed by/on SAP  20141109 
SAP Release Created in 500_702