SAP ABAP Class CL_PRICING_PROVIDER_MM (Provide the net price for material item)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
MM-PUR-OA (Application Component) Vendor Outline Agreements
⤷
MM_P2P_BSI_CC (Package) Central Contract Management
⤷
⤷
Properties
| Class | CL_PRICING_PROVIDER_MM | |
| Short Description | Provide the net price for material item | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | MM_P2P_BSI_CC | Central Contract Management |
| Created | 20080617 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_PRICING_PROVIDER_MM has no forward declaration.
Interfaces
Class CL_PRICING_PROVIDER_MM has no interface implemented.
Friends
Class CL_PRICING_PROVIDER_MM has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | TYPE_T_ENTRY | 20130912 | ||||
| 2 | Constant | Private | Type reference (TYPE) | TYPE_V_CHAR1 | 'B' | SD mode | 20120227 | ||
| 3 | Constant | Private | Type reference (TYPE) | TYPE_V_CHAR1 | 'A' | SD mode | 20120227 | ||
| 4 | Constant | Private | Type reference (TYPE) | TYPE_V_CHAR1 | 'D' | SD mode | 20120227 | ||
| 5 | Constant | Private | Type reference (TYPE) | TYPE_V_CHAR1 | 'C' | SD mode | 20120227 | ||
| 6 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_API_MASTER_CONDITION_MM | Maintain Master Conditions of Material Items | 20130912 | |||
| 7 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_PRICING_PROVIDER_MM | Provide the net price for material item | 20101029 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | CL_PRICING_PROVIDER_MM=>TYPE_T_KOMP | 20130625 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20080617 | |
| 2 | Static method | Public | Method | Cleanup / Destructor | 20130912 | |
| 3 | Static method | Public | Method | Get Instance | 20101029 | |
| 4 | Instance method | Public | Method | KOMP retrieval | 20130625 | |
| 5 | Instance method | Private | Method | build the condition communication structures | 20080617 | |
| 6 | Instance method | Public | Method | provide the net price of the material item | 20080617 |
Events
Class CL_PRICING_PROVIDER_MM has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TYPE_S_ENTRY | Private | See coding | 20130912 | BEGIN OF type_s_entry,
header TYPE REF TO if_purchase_out_header,
object TYPE REF TO cl_pricing_provider_mm,
END OF type_s_entry
|
||
| 2 | TYPE_S_KOMP | Private | See coding | 20130625 | BEGIN OF type_s_komp,
item_no TYPE ebelp,
komp TYPE komp,
END OF type_s_komp
|
||
| 3 | TYPE_T_ENTRY | Private | See coding | 20130912 | type_t_entry TYPE SORTED TABLE OF type_s_entry
WITH UNIQUE KEY header
|
||
| 4 | TYPE_T_KOMP | Private | See coding | 20130625 | type_t_komp TYPE SORTED TABLE OF type_s_komp
WITH UNIQUE KEY item_no
|
||
| 5 | TYPE_V_CHAR1 | Private | See coding | 20120227 | type_v_char1 TYPE c LENGTH 1
|
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_PRICING_PROVIDER_MM has no parameter.
Method CLASS_CONSTRUCTOR on class CL_PRICING_PROVIDER_MM has no exception.
Method CLEANUP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_PARENT | Call by reference | Object reference (TYPE REF TO) | IF_PURCHASE_OUT_HEADER | Outline Agreement Header | 20130912 |
Method CLEANUP on class CL_PRICING_PROVIDER_MM has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_HEADER | Call by reference | Object reference (TYPE REF TO) | IF_PURCHASE_OUT_HEADER | Outline Agreement Header | 20130912 | |||
| 2 | RO_OBJECT | Value transfer | Object reference (TYPE REF TO) | CL_PRICING_PROVIDER_MM | Provide the net price for material item | 20101029 |
Method GET_INSTANCE on class CL_PRICING_PROVIDER_MM has no exception.
Method LOOKUP_KOMP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_DATA | Call by reference | Type reference (TYPE) | KOMP | Communication Item for Pricing | 20130625 | |||
| 2 | IV_ITEM | Call by reference | Type reference (TYPE) | EBELP | Item Number of Purchasing Document | 20130625 |
Method LOOKUP_KOMP on class CL_PRICING_PROVIDER_MM has no exception.
Method PREPARE_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_KOMK | Call by reference | Type reference (TYPE) | KOMK | Communication Header for Pricing | 20080617 | |||
| 2 | ES_KOMP | Call by reference | Type reference (TYPE) | KOMP | Pricing Communication Item | 20080617 | |||
| 3 | ET_KOMV | Call by reference | Type reference (TYPE) | MEOUT_T_KOMV | Table Type KOMV | 20080617 | |||
| 4 | IS_HEADER | Call by reference | Type reference (TYPE) | MEOUT_HEADER | Outline Agreement Header | 20080617 | |||
| 5 | IS_ITEM | Call by reference | Type reference (TYPE) | MEOUT_ITEM | Outline agreement item | 20080617 | |||
| 6 | IT_KONH | Call by reference | Type reference (TYPE) | MEOUT_T_KONH | Table Type for MEOUT_KONHf | 20080617 | |||
| 7 | IT_KONP | Call by reference | Type reference (TYPE) | MEOUT_T_KONP | Table Type for MEOUT_KONP | 20080617 | |||
| 8 | IV_TRTYP | Call by reference | Type reference (TYPE) | TRTYP | Transaction type | 20080617 |
Method PREPARE_DATA on class CL_PRICING_PROVIDER_MM has no exception.
Method PROCESS_PRICING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_NETPR | Call by reference | Type reference (TYPE) | EKPO-NETPR | Net Price in Purchasing Document (in Document Currency) | 20080617 | |||
| 2 | EV_PEINH | Call by reference | Type reference (TYPE) | EKPO-PEINH | Price unit | 20100713 | |||
| 3 | IO_ITEM | Call by reference | Object reference (TYPE REF TO) | IF_PURCHASE_OUT_ITEM | Outline Agreement Item | 20120227 | |||
| 4 | IS_HEADER | Call by reference | Type reference (TYPE) | MEOUT_HEADER | Outline Agreement Header | 20080617 | |||
| 5 | IS_ITEM | Call by reference | Type reference (TYPE) | MEOUT_ITEM | Outline agreement item | 20080617 | |||
| 6 | IT_KONH | Call by reference | Type reference (TYPE) | MEOUT_T_KONH | Table Type for MEOUT_KONHf | 20080617 | |||
| 7 | IT_KONP | Call by reference | Type reference (TYPE) | MEOUT_T_KONP | Table Type for MEOUT_KONP | 20080617 | |||
| 8 | IV_TRTYP | Call by reference | Type reference (TYPE) | TRTYP | Transaction type | 20080617 |
Method PROCESS_PRICING on class CL_PRICING_PROVIDER_MM has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 604 |