SAP ABAP Class CL_MASTER_CONDITION_SRV (Mater condition interface for services)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM-SRV (Application Component) External Services
     MM_P2P_BSI_SERVPROC (Package) Service Procurement
Properties
Class CL_MASTER_CONDITION_SRV  
Short Description Mater condition interface for services    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package MM_P2P_BSI_SERVPROC   Service Procurement 
Created 20080221   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_COND_TAB_SEL Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_MASTER_CONDITION_SRV has no interface implemented.
Friends
Class CL_MASTER_CONDITION_SRV has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_CHANGE Constant Public Type reference (TYPE) STRING 'CHANGE' Mode Create 20080227
2 C_COND_ACT_CHANGE Constant Public Type reference (TYPE) COND_MNT_ACTIVITY 'V' Conditions: Maintenance Activity 20101124
3 C_COND_ACT_CREATE Constant Public Type reference (TYPE) COND_MNT_ACTIVITY 'H' Conditions: Maintenance Activity 20101126
4 C_COND_ACT_DISPLAY Constant Public Type reference (TYPE) COND_MNT_ACTIVITY 'A' Conditions: Maintenance Activity 20101126
5 C_CREATE Constant Public Type reference (TYPE) STRING 'CREATE' Mode Create 20080222
6 C_DEFAULT_KALSM Constant Public Type reference (TYPE) KALSM_D 'MS0001' Deafault calculation scheme for services 20080225
7 C_KOPOS Constant Public Type reference (TYPE) NUMC2 '01' Two digit number 20080721
8 C_KSCHL Constant Public Type reference (TYPE) STRING 'PRS' Total Price 20080520
9 C_SCALES_B Constant Public Type reference (TYPE) CHAR1 'B' Value Scale Indicator 20080520
10 C_SCALES_C Constant Public Type reference (TYPE) CHAR1 'C' Quantity Scale Indicator 20080520
11 C_SCALE_INC_3 Constant Public Type reference (TYPE) KLFN1 '0003' Current number of the line scale 20101125
12 C_SCALE_START Constant Public Type reference (TYPE) KLFN1 '0001' Current number of the line scale 20101125
13 C_TABLE_NO_PLANT Constant Public Type reference (TYPE) KOTABNR '082' Condition table for central contracts 20080225
14 C_TABLE_PLANT Constant Public Type reference (TYPE) KOTABNR '081' Condition table for SRV plant conditions 20080225
15 INSTANCE Static Attribute Public Object reference (TYPE REF TO) CL_MASTER_CONDITION_SRV Mater condition interface for services 20080221
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_SELTAB Instance method Protected Method Build selection table to read conditions from DB 20101125
2 CHANGE_SINGLE Instance method Protected Method Change one single validity period 20101124
3 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20080221
4 CREATE_SINGLE Instance method Protected Method Create one single validity period 20080221
5 DELETE_SINGLE Instance method Protected Method Delete one single validity period 20101125
6 GET_COND_TYPE Instance method Protected Method Get condition type (KSCHL) from customizing 20101126
7 MAINTAIN Instance method Protected Method Maintain conditions per condition table 20110303
8 PROCESS Instance method Public Method Process a complex condition package 20080221
9 READ Instance method Public Method Read current condition record 20080225
10 SAVE Instance method Protected Method Save all validity periods and close the maintenance session 20110131
11 START Instance method Protected Method Start the condition maintenance session for all val. periods 20110131
Events
Class CL_MASTER_CONDITION_SRV has no event.
Types
Class CL_MASTER_CONDITION_SRV has no local type.
Method Signatures

Method BUILD_SELTAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SELTAB Call by reference Type reference (TYPE) CL_COND_TAB_SEL=>COND_RNGS_T Tabelle mit Ranges für Konditionsschlüsselfelder 20101125
2 Importing IV_END_DATE Call by reference Type reference (TYPE) DATBI Valid To Date 20101125
3 Importing IV_INTROW Call by reference Type reference (TYPE) NUMZEILE Line Number 20101125
4 Importing IV_KOTABNR Call by reference Type reference (TYPE) KOTABNR Condition table 20101125
5 Importing IV_PACKNO Call by reference Type reference (TYPE) PACKNO Package number 20101125
6 Importing IV_START_DATE Call by reference Type reference (TYPE) DATAB Valid-From Date 20101125

Method BUILD_SELTAB on class CL_MASTER_CONDITION_SRV has no exception.

Method CHANGE_SINGLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_COMSRV Call by reference Type reference (TYPE) COMSRV Interface: MM External Services Management 20101124
2 Importing IS_ESLL Call by reference Type reference (TYPE) ESLL Lines of Service Package 20101124
3 Importing IS_SRV_COND Call by reference Type reference (TYPE) SRV_COND 20101125
4 Importing IS_SRV_COND_DB Call by reference Type reference (TYPE) SRV_COND 20101125
5 Importing IV_HANDLE Call by reference Type reference (TYPE) COND_MNT_HANDLE Handle for Maintenance Session 20110127
6 Importing IV_KOTABNR Call by reference Type reference (TYPE) KOTABNR Condition table 20101125
7 Importing IV_KSCHL Call by reference Type reference (TYPE) KSCHA Condition type 20101124
8 Importing IV_RECORD_ID Call by reference Type reference (TYPE) COND_REC_ID ID for a Condition Record 20110127
# Exception Resumable Description Created on
1 CX_MASTER_CONDITION_SRV Error during master condition maintenance 20101124

Method CLASS_CONSTRUCTOR Signature

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

Method CREATE_SINGLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_COMSRV Call by reference Type reference (TYPE) COMSRV Interface: MM External Services Management 20080221
2 Importing IS_ESLL Call by reference Type reference (TYPE) ESLL Lines of Service Package 20080221
3 Importing IS_RECORD Call by reference Type reference (TYPE) SRV_COND Conditions 20080227
4 Importing IV_HANDLE Call by reference Type reference (TYPE) COND_MNT_HANDLE Handle for Maintenance Session 20110127
5 Importing IV_KOTABNR Call by reference Type reference (TYPE) KOTABNR Condition table 20110127
6 Importing IV_KSCHL Call by reference Type reference (TYPE) KSCHA Condition type 20110127
# Exception Resumable Description Created on
1 CX_MASTER_CONDITION_SRV Error during master condition maintenance 20080222

Method DELETE_SINGLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_HANDLE Call by reference Type reference (TYPE) COND_MNT_HANDLE Handle for Maintenance Session 20110127
2 Importing IV_RECORD_ID Call by reference Type reference (TYPE) COND_REC_ID ID for a Condition Record 20110127
# Exception Resumable Description Created on
1 CX_MASTER_CONDITION_SRV Error during master condition maintenance 20101125

Method GET_COND_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_KSCHL Call by reference Type reference (TYPE) KSCHA Condition type 20101126
2 Importing IV_BSART Call by reference Type reference (TYPE) ESART Purchasing Document Type 20101126
3 Importing IV_BSTYP Call by reference Type reference (TYPE) EBSTYP Purchasing Document Category 20101126
4 Importing IV_KOTABNR Call by reference Type reference (TYPE) KOTABNR Condition table 20101126
5 Importing IV_WERKS Call by reference Type reference (TYPE) EWERK Plant 20101126

Method GET_COND_TYPE on class CL_MASTER_CONDITION_SRV has no exception.

Method MAINTAIN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_COMSRV Call by reference Type reference (TYPE) COMSRV Interface: MM External Services Management 20110303
2 Importing IS_ESLL Call by reference Type reference (TYPE) ESLL Lines of Service Package 20110303
3 Importing IS_SRV_COND_COMPLETE Call by reference Type reference (TYPE) SRV_COND_COMPLETE KONH with KONP and Scales for Service Package 20110303
4 Importing IS_SRV_COND_COMPLETE_DB Call by reference Type reference (TYPE) SRV_COND_COMPLETE KONH with KONP and Scales for Service Package 20110303
5 Importing IV_KOTABNR Call by reference Type reference (TYPE) KOTABNR Condition table 20110303
# Exception Resumable Description Created on
1 CX_MASTER_CONDITION_SRV Error during master condition maintenance 20110303

Method PROCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_COMSRV Call by reference Type reference (TYPE) COMSRV Interface: MM External Services Management 20080221
2 Importing IS_ESLL Call by reference Type reference (TYPE) ESLL Lines of Service Package 20080221
3 Importing IV_REF_INTROW Call by reference Type reference (TYPE) INTROW Internal line number for limits 20080222
4 Importing IV_REF_PACKNO Call by reference Type reference (TYPE) PACKNO Package number 20080222
# Exception Resumable Description Created on
1 CX_MASTER_CONDITION_SRV Error during master condition maintenance 20080222

Method READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_SRV_COND_COMPLETE Call by reference Type reference (TYPE) SRV_COND_COMPLETE Conditions 20101124
2 Importing IV_BSART Call by reference Type reference (TYPE) ESART Purchasing Document Type 20080225
3 Importing IV_BSTYP Call by reference Type reference (TYPE) EBSTYP Purchasing Document Category 20101124
4 Importing IV_END_DATE Call by reference Type reference (TYPE) DATBI Valid To Date 20101125
5 Importing IV_INTROW Call by reference Type reference (TYPE) INTROW Internal line number for limits 20080225
6 Importing IV_PACKNO Call by reference Type reference (TYPE) PACKNO 20080225
7 Importing IV_START_DATE Call by reference Type reference (TYPE) DATAB Valid-From Date 20101125
8 Importing IV_WERKS Call by reference Type reference (TYPE) EWERK Plant 20080225
# Exception Resumable Description Created on
1 CX_MASTER_CONDITION_SRV Error during master condition maintenance 20080225

Method SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_HANDLE Call by reference Type reference (TYPE) COND_MNT_HANDLE Handle for Maintenance Session 20110131
# Exception Resumable Description Created on
1 CX_MASTER_CONDITION_SRV Error during master condition maintenance 20110131

Method START Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_COND_KEYS_DB Call by reference Type reference (TYPE) COND_MNT_RECORD_KEY_T Table with IDs and Keys of Condition Records 20110131
2 Exporting EV_HANDLE Call by reference Type reference (TYPE) COND_MNT_HANDLE Handle for Maintenance Session 20110131
3 Exporting EV_KSCHL Call by reference Type reference (TYPE) KSCHA Condition type 20110131
4 Exporting EV_VAKEY Call by reference Type reference (TYPE) VAKEY Variable key 100 bytes 20110131
5 Importing IS_COMSRV Call by reference Type reference (TYPE) COMSRV Interface: MM External Services Management 20110131
6 Importing IS_ESLL Call by reference Type reference (TYPE) ESLL Lines of Service Package 20110131
7 Importing IV_KOTABNR Call by reference Type reference (TYPE) KOTABNR Condition table 20110131
# Exception Resumable Description Created on
1 CX_MASTER_CONDITION_SRV Error during master condition maintenance 20110131
History
Last changed by/on SAP  20110908 
SAP Release Created in 604