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 | 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 | Constant | Public | Type reference (TYPE) | STRING | 'CHANGE' | Mode Create | 20080227 | ||
| 2 | Constant | Public | Type reference (TYPE) | COND_MNT_ACTIVITY | 'V' | Conditions: Maintenance Activity | 20101124 | ||
| 3 | Constant | Public | Type reference (TYPE) | COND_MNT_ACTIVITY | 'H' | Conditions: Maintenance Activity | 20101126 | ||
| 4 | Constant | Public | Type reference (TYPE) | COND_MNT_ACTIVITY | 'A' | Conditions: Maintenance Activity | 20101126 | ||
| 5 | Constant | Public | Type reference (TYPE) | STRING | 'CREATE' | Mode Create | 20080222 | ||
| 6 | Constant | Public | Type reference (TYPE) | KALSM_D | 'MS0001' | Deafault calculation scheme for services | 20080225 | ||
| 7 | Constant | Public | Type reference (TYPE) | NUMC2 | '01' | Two digit number | 20080721 | ||
| 8 | Constant | Public | Type reference (TYPE) | STRING | 'PRS' | Total Price | 20080520 | ||
| 9 | Constant | Public | Type reference (TYPE) | CHAR1 | 'B' | Value Scale Indicator | 20080520 | ||
| 10 | Constant | Public | Type reference (TYPE) | CHAR1 | 'C' | Quantity Scale Indicator | 20080520 | ||
| 11 | Constant | Public | Type reference (TYPE) | KLFN1 | '0003' | Current number of the line scale | 20101125 | ||
| 12 | Constant | Public | Type reference (TYPE) | KLFN1 | '0001' | Current number of the line scale | 20101125 | ||
| 13 | Constant | Public | Type reference (TYPE) | KOTABNR | '082' | Condition table for central contracts | 20080225 | ||
| 14 | Constant | Public | Type reference (TYPE) | KOTABNR | '081' | Condition table for SRV plant conditions | 20080225 | ||
| 15 | 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 | Instance method | Protected | Method | Build selection table to read conditions from DB | 20101125 | |
| 2 | Instance method | Protected | Method | Change one single validity period | 20101124 | |
| 3 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20080221 | |
| 4 | Instance method | Protected | Method | Create one single validity period | 20080221 | |
| 5 | Instance method | Protected | Method | Delete one single validity period | 20101125 | |
| 6 | Instance method | Protected | Method | Get condition type (KSCHL) from customizing | 20101126 | |
| 7 | Instance method | Protected | Method | Maintain conditions per condition table | 20110303 | |
| 8 | Instance method | Public | Method | Process a complex condition package | 20080221 | |
| 9 | Instance method | Public | Method | Read current condition record | 20080225 | |
| 10 | Instance method | Protected | Method | Save all validity periods and close the maintenance session | 20110131 | |
| 11 | 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 | ET_SELTAB | Call by reference | Type reference (TYPE) | CL_COND_TAB_SEL=>COND_RNGS_T | Tabelle mit Ranges für Konditionsschlüsselfelder | 20101125 | |||
| 2 | IV_END_DATE | Call by reference | Type reference (TYPE) | DATBI | Valid To Date | 20101125 | |||
| 3 | IV_INTROW | Call by reference | Type reference (TYPE) | NUMZEILE | Line Number | 20101125 | |||
| 4 | IV_KOTABNR | Call by reference | Type reference (TYPE) | KOTABNR | Condition table | 20101125 | |||
| 5 | IV_PACKNO | Call by reference | Type reference (TYPE) | PACKNO | Package number | 20101125 | |||
| 6 | 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 | IS_COMSRV | Call by reference | Type reference (TYPE) | COMSRV | Interface: MM External Services Management | 20101124 | |||
| 2 | IS_ESLL | Call by reference | Type reference (TYPE) | ESLL | Lines of Service Package | 20101124 | |||
| 3 | IS_SRV_COND | Call by reference | Type reference (TYPE) | SRV_COND | 20101125 | ||||
| 4 | IS_SRV_COND_DB | Call by reference | Type reference (TYPE) | SRV_COND | 20101125 | ||||
| 5 | IV_HANDLE | Call by reference | Type reference (TYPE) | COND_MNT_HANDLE | Handle for Maintenance Session | 20110127 | |||
| 6 | IV_KOTABNR | Call by reference | Type reference (TYPE) | KOTABNR | Condition table | 20101125 | |||
| 7 | IV_KSCHL | Call by reference | Type reference (TYPE) | KSCHA | Condition type | 20101124 | |||
| 8 | IV_RECORD_ID | Call by reference | Type reference (TYPE) | COND_REC_ID | ID for a Condition Record | 20110127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IS_COMSRV | Call by reference | Type reference (TYPE) | COMSRV | Interface: MM External Services Management | 20080221 | |||
| 2 | IS_ESLL | Call by reference | Type reference (TYPE) | ESLL | Lines of Service Package | 20080221 | |||
| 3 | IS_RECORD | Call by reference | Type reference (TYPE) | SRV_COND | Conditions | 20080227 | |||
| 4 | IV_HANDLE | Call by reference | Type reference (TYPE) | COND_MNT_HANDLE | Handle for Maintenance Session | 20110127 | |||
| 5 | IV_KOTABNR | Call by reference | Type reference (TYPE) | KOTABNR | Condition table | 20110127 | |||
| 6 | IV_KSCHL | Call by reference | Type reference (TYPE) | KSCHA | Condition type | 20110127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IV_HANDLE | Call by reference | Type reference (TYPE) | COND_MNT_HANDLE | Handle for Maintenance Session | 20110127 | |||
| 2 | IV_RECORD_ID | Call by reference | Type reference (TYPE) | COND_REC_ID | ID for a Condition Record | 20110127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | EV_KSCHL | Call by reference | Type reference (TYPE) | KSCHA | Condition type | 20101126 | |||
| 2 | IV_BSART | Call by reference | Type reference (TYPE) | ESART | Purchasing Document Type | 20101126 | |||
| 3 | IV_BSTYP | Call by reference | Type reference (TYPE) | EBSTYP | Purchasing Document Category | 20101126 | |||
| 4 | IV_KOTABNR | Call by reference | Type reference (TYPE) | KOTABNR | Condition table | 20101126 | |||
| 5 | 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 | IS_COMSRV | Call by reference | Type reference (TYPE) | COMSRV | Interface: MM External Services Management | 20110303 | |||
| 2 | IS_ESLL | Call by reference | Type reference (TYPE) | ESLL | Lines of Service Package | 20110303 | |||
| 3 | IS_SRV_COND_COMPLETE | Call by reference | Type reference (TYPE) | SRV_COND_COMPLETE | KONH with KONP and Scales for Service Package | 20110303 | |||
| 4 | IS_SRV_COND_COMPLETE_DB | Call by reference | Type reference (TYPE) | SRV_COND_COMPLETE | KONH with KONP and Scales for Service Package | 20110303 | |||
| 5 | IV_KOTABNR | Call by reference | Type reference (TYPE) | KOTABNR | Condition table | 20110303 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error during master condition maintenance | 20110303 |
Method PROCESS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_COMSRV | Call by reference | Type reference (TYPE) | COMSRV | Interface: MM External Services Management | 20080221 | |||
| 2 | IS_ESLL | Call by reference | Type reference (TYPE) | ESLL | Lines of Service Package | 20080221 | |||
| 3 | IV_REF_INTROW | Call by reference | Type reference (TYPE) | INTROW | Internal line number for limits | 20080222 | |||
| 4 | IV_REF_PACKNO | Call by reference | Type reference (TYPE) | PACKNO | Package number | 20080222 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error during master condition maintenance | 20080222 |
Method READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_SRV_COND_COMPLETE | Call by reference | Type reference (TYPE) | SRV_COND_COMPLETE | Conditions | 20101124 | |||
| 2 | IV_BSART | Call by reference | Type reference (TYPE) | ESART | Purchasing Document Type | 20080225 | |||
| 3 | IV_BSTYP | Call by reference | Type reference (TYPE) | EBSTYP | Purchasing Document Category | 20101124 | |||
| 4 | IV_END_DATE | Call by reference | Type reference (TYPE) | DATBI | Valid To Date | 20101125 | |||
| 5 | IV_INTROW | Call by reference | Type reference (TYPE) | INTROW | Internal line number for limits | 20080225 | |||
| 6 | IV_PACKNO | Call by reference | Type reference (TYPE) | PACKNO | 20080225 | ||||
| 7 | IV_START_DATE | Call by reference | Type reference (TYPE) | DATAB | Valid-From Date | 20101125 | |||
| 8 | IV_WERKS | Call by reference | Type reference (TYPE) | EWERK | Plant | 20080225 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error during master condition maintenance | 20080225 |
Method SAVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_HANDLE | Call by reference | Type reference (TYPE) | COND_MNT_HANDLE | Handle for Maintenance Session | 20110131 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error during master condition maintenance | 20110131 |
Method START Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | EV_HANDLE | Call by reference | Type reference (TYPE) | COND_MNT_HANDLE | Handle for Maintenance Session | 20110131 | |||
| 3 | EV_KSCHL | Call by reference | Type reference (TYPE) | KSCHA | Condition type | 20110131 | |||
| 4 | EV_VAKEY | Call by reference | Type reference (TYPE) | VAKEY | Variable key 100 bytes | 20110131 | |||
| 5 | IS_COMSRV | Call by reference | Type reference (TYPE) | COMSRV | Interface: MM External Services Management | 20110131 | |||
| 6 | IS_ESLL | Call by reference | Type reference (TYPE) | ESLL | Lines of Service Package | 20110131 | |||
| 7 | IV_KOTABNR | Call by reference | Type reference (TYPE) | KOTABNR | Condition table | 20110131 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error during master condition maintenance | 20110131 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 604 |