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
⤷
⤷
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 | Instance attribute | Private | Type reference (TYPE) | SRV_EXT_HEADER | Service External Header Data | 20060419 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | SRV_EXT_HEADERX | Service External Header Datax BAPI Update | 20060419 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | KOMG | Allowed Fields for Condition Structures | 20060419 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | KOMK | Communication Header for Pricing | 20060419 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | KOMP | Pricing Communication Item | 20060419 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | SRV_KEY | Stores key of a service package | 20060502 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | SRV_SP_HEADER | SP Header | 20060419 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | KOMV_TTY | Pricing Communications-Condition Record | 20060419 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Calculates tax amount and non-deductible input tax | 20091020 | |
| 2 | Instance method | Private | Method | Reading customization data and checking validations | 20060419 | |
| 3 | Instance method | Public | Constructor | Constructor for Pricing Class | 20060419 | |
| 4 | Instance method | Private | Method | Responsible for filling communication structures | 20060419 | |
| 5 | Instance method | Private | Method | Fill and check tax indicators in new line | 20091020 | |
| 6 | Instance method | Public | Method | Method used to get Communication Header Structure | 20060419 | |
| 7 | Instance method | Public | Method | Method used to get Communication Item Structure | 20060419 | |
| 8 | Instance method | Public | Method | Method used to get condition determined using pricing schema | 20060419 | |
| 9 | Instance method | Public | Method | Method used to update the conditions | 20060419 | |
| 10 | Instance method | Private | Method | Responsible for calculating the net price | 20060419 | |
| 11 | Instance method | Private | Method | Handle net price calculation if price entered manually | 20060419 | |
| 12 | Instance method | Public | Method | Method for validation and calculating price for the service | 20060419 | |
| 13 | Instance method | Public | Method | Refresh Pricing Object | 20071008 | |
| 14 | 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 | CH_SERVICE_LINE | Call by reference | Type reference (TYPE) | SRV_SERVICE_LINE | Service line Data | 20091020 | |||
| 2 | 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 | EX_PROC | Call by reference | Type reference (TYPE) | KOMK-KALSM | Procedure (Pricing, Output Control, Acct. Det., Costing,...) | 20060419 | |||
| 2 | IM_SERVICE_LINE | Call by reference | Type reference (TYPE) | SRV_SERVICE_LINE | Model structure for service line | 20060419 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base currency missing | 20060502 | ||
| 2 | Negative quantity and negative price not allowed | 20060502 | ||
| 3 | Price can not exist without service | 20060502 | ||
| 4 | Error while reading Pricing Procedure | 20060509 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | IM_COND_NO | Call by reference | Type reference (TYPE) | KOMK-KNUMV | Number of the document condition | 20060419 | |||
| 2 | IM_CUST_COND_UPDATE | Call by reference | Type reference (TYPE) | T165-PR_KUPDATE | Condition Update (Purchase Requisition) | 20060419 | |||
| 3 | IM_PRICE_PROC | Call by reference | Type reference (TYPE) | KOMK-KALSM | Procedure (Pricing, Output Control, Acct. Det., Costing,...) | 20060419 | |||
| 4 | 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 | CH_SERVICE_LINE | Call by reference | Type reference (TYPE) | SRV_SERVICE_LINE | Service line Data | 20091020 | |||
| 2 | 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 | 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 | 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 | 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 | 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 | CH_SERVICE_LINE | Call by reference | Type reference (TYPE) | SRV_SERVICE_LINE | Model structure for service line | 20060419 | |||
| 2 | IM_CALCT | Call by reference | Type reference (TYPE) | C | Calculation type | 20060419 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 while caculating price manually | 20060509 |
Method PROCESS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_SERVICE_LINE | Call by reference | Type reference (TYPE) | SRV_SERVICE_LINE | Model structure for service line | 20060419 | |||
| 2 | IM_COND_NO | Call by reference | Type reference (TYPE) | KOMK-KNUMV | Number of the document condition | 20060419 | |||
| 3 | IM_CUST_COND_UPDATE | Call by reference | Type reference (TYPE) | T165-PR_KUPDATE | Condition Update (Purchase Requisition) | 20060419 | |||
| 4 | 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 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 | IM_EXT_HEADER | Call by reference | Type reference (TYPE) | SRV_EXT_HEADER | Service External Header Data | 20060419 | |||
| 2 | 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 |