SAP ABAP Class CL_PRICING_MMSRV (Class for pricing)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷ MM-SRV (Application Component) External Services
⤷ MMSRV_SP_PRICING (Package) Pricing: External Service Management
⤷ MM-SRV (Application Component) External Services
⤷ MMSRV_SP_PRICING (Package) Pricing: External Service Management
Properties
Class | CL_PRICING_MMSRV | |
Short Description | Class for pricing | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | MMSRV_SP_PRICING | Pricing: External Service Management |
Created | 20060419 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_PRICING_MMSRV has no forward declaration.
Interfaces
Class CL_PRICING_MMSRV has no interface implemented.
Friends
Class CL_PRICING_MMSRV has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | MY_EXT_HEADER | Instance attribute | Private | Type reference (TYPE) | SRV_EXT_HEADER | Service External Header Data | 20060419 | ||
2 | MY_EXT_HEADERX | Instance attribute | Private | Type reference (TYPE) | SRV_EXT_HEADERX | Service External Header Datax BAPI Update | 20060419 | ||
3 | MY_KOMG | Instance attribute | Private | Type reference (TYPE) | KOMG | Allowed Fields for Condition Structures | 20060419 | ||
4 | MY_KOMK | Instance attribute | Private | Type reference (TYPE) | KOMK | Communication Header for Pricing | 20060419 | ||
5 | MY_KOMP | Instance attribute | Private | Type reference (TYPE) | KOMP | Pricing Communication Item | 20060419 | ||
6 | MY_MSG_KEY | Instance attribute | Private | Type reference (TYPE) | SRV_KEY | Stores key of a service package | 20060502 | ||
7 | MY_SP_HEADER | Instance attribute | Private | Type reference (TYPE) | SRV_SP_HEADER | SP Header | 20060419 | ||
8 | MY_T_KOMV | Instance attribute | Private | Type reference (TYPE) | KOMV_TTY | Pricing Communications-Condition Record | 20060419 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CALCULATE_TAX | Instance method | Private | Method | Calculates tax amount and non-deductible input tax | 20091020 |
2 | CHECK_PRICE | Instance method | Private | Method | Reading customization data and checking validations | 20060419 |
3 | CONSTRUCTOR | Instance method | Public | Constructor | Constructor for Pricing Class | 20060419 |
4 | FILL | Instance method | Private | Method | Responsible for filling communication structures | 20060419 |
5 | FILL_TAX_INDICATORS | Instance method | Private | Method | Fill and check tax indicators in new line | 20091020 |
6 | GET_KOMK | Instance method | Public | Method | Method used to get Communication Header Structure | 20060419 |
7 | GET_KOMP | Instance method | Public | Method | Method used to get Communication Item Structure | 20060419 |
8 | GET_TKOMV | Instance method | Public | Method | Method used to get condition determined using pricing schema | 20060419 |
9 | POST | Instance method | Public | Method | Method used to update the conditions | 20060419 |
10 | PRICE_DETERMINATION | Instance method | Private | Method | Responsible for calculating the net price | 20060419 |
11 | PRICE_MANUAL_CALC | Instance method | Private | Method | Handle net price calculation if price entered manually | 20060419 |
12 | PROCESS | Instance method | Public | Method | Method for validation and calculating price for the service | 20060419 |
13 | REFRESH_PRICING | Instance method | Public | Method | Refresh Pricing Object | 20071008 |
14 | SET_EXT_HEADER | Instance method | Public | Method | Method sets the header attribute | 20060419 |
Events
Class CL_PRICING_MMSRV has no event.
Types
Class CL_PRICING_MMSRV has no local type.
Method Signatures
Method CALCULATE_TAX Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CH_SERVICE_LINE | Call by reference | Type reference (TYPE) | SRV_SERVICE_LINE | Service line Data | 20091020 | ||
2 | Importing | IM_CALCT | Call by reference | Type reference (TYPE) | C | 20091020 |
Method CALCULATE_TAX on class CL_PRICING_MMSRV has no exception.
Method CHECK_PRICE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_PROC | Call by reference | Type reference (TYPE) | KOMK-KALSM | Procedure (Pricing, Output Control, Acct. Det., Costing,...) | 20060419 | ||
2 | Importing | IM_SERVICE_LINE | Call by reference | Type reference (TYPE) | SRV_SERVICE_LINE | Model structure for service line | 20060419 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ERROR_BASE_CURR_MISSING | Base currency missing | 20060502 | |
2 | ERROR_NEGATIVE_QTY_PRICE | Negative quantity and negative price not allowed | 20060502 | |
3 | ERROR_PRICE_WITHOUT_SERVICE | Price can not exist without service | 20060502 | |
4 | ERROR_READING_SCHEMA | Error while reading Pricing Procedure | 20060509 |
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_SP_HEADER | Call by reference | Type reference (TYPE) | SRV_SP_HEADER | SP Header | 20060419 |
Method CONSTRUCTOR on class CL_PRICING_MMSRV has no exception.
Method FILL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_COND_NO | Call by reference | Type reference (TYPE) | KOMK-KNUMV | Number of the document condition | 20060419 | ||
2 | Importing | IM_CUST_COND_UPDATE | Call by reference | Type reference (TYPE) | T165-PR_KUPDATE | Condition Update (Purchase Requisition) | 20060419 | ||
3 | Importing | IM_PRICE_PROC | Call by reference | Type reference (TYPE) | KOMK-KALSM | Procedure (Pricing, Output Control, Acct. Det., Costing,...) | 20060419 | ||
4 | Importing | IM_SERVICE_LINE | Call by reference | Type reference (TYPE) | SRV_SERVICE_LINE | Model structure for service line | 20060419 |
Method FILL on class CL_PRICING_MMSRV has no exception.
Method FILL_TAX_INDICATORS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CH_SERVICE_LINE | Call by reference | Type reference (TYPE) | SRV_SERVICE_LINE | Service line Data | 20091020 | ||
2 | Importing | IM_CALCT | Call by reference | Type reference (TYPE) | C | 20091020 |
Method FILL_TAX_INDICATORS on class CL_PRICING_MMSRV has no exception.
Method GET_KOMK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_KOMK | Call by reference | Type reference (TYPE) | KOMK | Communication Header for Pricing | 20060419 |
Method GET_KOMK on class CL_PRICING_MMSRV has no exception.
Method GET_KOMP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_KOMP | Call by reference | Type reference (TYPE) | KOMP | Pricing Communication Item | 20060419 |
Method GET_KOMP on class CL_PRICING_MMSRV has no exception.
Method GET_TKOMV Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EXT_KOMV | Call by reference | Type reference (TYPE) | KOMV_TTY | Table Type: contains all the conditions | 20060419 |
Method GET_TKOMV on class CL_PRICING_MMSRV has no exception.
Method POST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_DEL_FLAG | Call by reference | Type reference (TYPE) | C | 20060526 |
Method POST on class CL_PRICING_MMSRV has no exception.
Method PRICE_DETERMINATION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CH_SERVICE_LINE | Call by reference | Type reference (TYPE) | SRV_SERVICE_LINE | Model structure for service line | 20060419 | ||
2 | Importing | IM_CALCT | Call by reference | Type reference (TYPE) | C | Calculation type | 20060419 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ERROR_MAX_PRICE_EXCEEDED | Maximum allowed price exceeded | 20060502 |
Method PRICE_MANUAL_CALC Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CH_SERVICE_LINE | Call by reference | Type reference (TYPE) | SRV_SERVICE_LINE | Model structure for service line | 20060419 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ERROR_MANUAL_PRICE_CALCULATION | Error while caculating price manually | 20060509 |
Method PROCESS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CH_SERVICE_LINE | Call by reference | Type reference (TYPE) | SRV_SERVICE_LINE | Model structure for service line | 20060419 | ||
2 | Importing | IM_COND_NO | Call by reference | Type reference (TYPE) | KOMK-KNUMV | Number of the document condition | 20060419 | ||
3 | Importing | IM_CUST_COND_UPDATE | Call by reference | Type reference (TYPE) | T165-PR_KUPDATE | Condition Update (Purchase Requisition) | 20060419 | ||
4 | Importing | IM_OLD_SERVICE_LINE | Call by reference | Type reference (TYPE) | SRV_SERVICE_LINE | Model structure for service line | 20060419 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ERROR_PRICING_PROCESS | Error while processing price | 20060509 |
Method REFRESH_PRICING Signature
Method REFRESH_PRICING on class CL_PRICING_MMSRV has no parameter.
Method REFRESH_PRICING on class CL_PRICING_MMSRV has no exception.
Method SET_EXT_HEADER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_EXT_HEADER | Call by reference | Type reference (TYPE) | SRV_EXT_HEADER | Service External Header Data | 20060419 | ||
2 | Importing | IM_EXT_HEADERX | Call by reference | Type reference (TYPE) | SRV_EXT_HEADERX | Service External Header Datax BAPI Update | 20060419 |
Method SET_EXT_HEADER on class CL_PRICING_MMSRV has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 700 |