SAP ABAP Class CL_MM_TRM_CTY_INTEGRATION (MM integration within TRM)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-INT-TRM (Application Component) Treasury and Risk Management Integration
     LOG_TRM_INTEGRATION (Package) Log. & TRM Integration
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_LOG_TRM_CTY_INTEGRATION Logistic integration within TRM 20100611
Properties
Class CL_MM_TRM_CTY_INTEGRATION  
Short Description MM integration within TRM    
Super Class CL_LOG_TRM_CTY_INTEGRATION Logistic integration within TRM 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package LOG_TRM_INTEGRATION   Log. & TRM Integration 
Created 20100611   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_MM_TRM_CTY_INTEGRATION has no interface implemented.
Friends
Class CL_MM_TRM_CTY_INTEGRATION has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GT_KOMP Instance attribute Protected Type reference (TYPE) VA_KOMP_T Table via KOMP 20120619
Methods
# Method Level Visibility Method type Description Created on
1 CALCULATE_PRICE_MM Instance method Public Method Perform price calculation for MM document item 20121203
2 GET_PRICING_INFO Instance method Public Method Get Pricing Data 20120620
3 GET_RE_CONTROL_SETTING Instance method Private Method Get raw exposure control setting 20130211
4 PREPARE_EXPOSURE_CTR Instance method Private Method Prepare raw exposure table for contract RDP 20110901
5 PREPARE_EXPOSURE_CTR_PO Instance method Private Method Prepare raw exp table for contract RDP at release PO 20120203
6 PREPARE_EXPOSURE_FROM_PERS_DOC Instance method Private Method Prepare raw exp table for a persistent PO or as copy from PO 20100922
7 PREPARE_EXPOSURE_GR Instance method Private Method Prepare raw exposure table for goods receipt 20100727
8 PREPARE_EXPOSURE_PO Instance method Private Method Prepare raw exposure table for POs 20100611
9 PREPARE_GR_EXPOS_STAT_UPD_IV Instance method Private Method Prepare GR exposure status update table at IV 20110412
10 PREPARE_MIRROR_EXPOSURE Instance method Private Method Prepare raw exposure for SD side by mirroring PO exposure 20120910
11 PREPARE_PO_EXPOS_STAT_UPD_IV Instance method Private Method Prepare PO exposure status update table at IV 20110412
Events
Class CL_MM_TRM_CTY_INTEGRATION has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTY_S_DELIVERY_COSTS Private See coding 20111111 BEGIN OF gty_s_delivery_costs, kschl TYPE kscha, total_amount TYPE bewtw, currency TYPE waers, gr_iv_quantity TYPE menge_d, END OF gty_s_delivery_costs
2 GTY_S_OPEN_VALUES_FX Private See coding 20111111 BEGIN OF gty_s_open_values_fx, ebelp TYPE ebelp, etenr TYPE eeten, counter TYPE trcin_external_item_number, delivery_date TYPE eindt, open_quantity TYPE bstmg, open_amount TYPE bewtw, currency TYPE waers, END OF gty_s_open_values_fx
3 GTY_T_DELIVERY_COSTS Private See coding 20111111 gty_t_delivery_costs TYPE STANDARD TABLE OF gty_s_delivery_costs
4 GTY_T_OPEN_VALUES_FX Private See coding 20111111 gty_t_open_values_fx TYPE STANDARD TABLE OF gty_s_open_values_fx
Method Signatures

Method CALCULATE_PRICE_MM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_EKBEV Call by reference Type reference (TYPE) ME_EKBEV Table Type for EKBEV 20121203
2 Changing CT_KOMV Call by reference Type reference (TYPE) KOMV_TAB Table type komv 20121203
3 Changing CT_KOMV_CPE Call by reference Type reference (TYPE) KOMV_TAB Table type komv 20121203
4 Importing IS_DETERMINE_EXPOSURE Call by reference Type reference (TYPE) LOGTRM_S_DETERMINE_EXPOSURE Raw exposure determination for logistic documents 20121203
5 Importing IS_EKKO Call by reference Type reference (TYPE) EKKO Purchasing Document Header 20121203
6 Importing IS_EKPO Call by reference Type reference (TYPE) EKPO Purchasing Document Item 20121203
7 Importing IS_MEPRWE Call by reference Type reference (TYPE) MEPRWE Data for Price Determination at Time of Goods Receipt 20121203
8 Importing IV_EVENT Call by reference Type reference (TYPE) LOGTRM_EVENT TRM triggering logistic event 20121203
9 Importing IV_KNPRS Call by reference Type reference (TYPE) KNPRS 'C' Pricing type 20121203
10 Importing IV_QUANTITY Call by reference Type reference (TYPE) BSTMG Purchase Order Quantity 20121203

Method CALCULATE_PRICE_MM on class CL_MM_TRM_CTY_INTEGRATION has no exception.

Method GET_PRICING_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_KOMP Call by reference Type reference (TYPE) VA_KOMP_T Table via KOMP 20120620

Method GET_PRICING_INFO on class CL_MM_TRM_CTY_INTEGRATION has no exception.

Method GET_RE_CONTROL_SETTING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_RE_SETTING Value transfer Type reference (TYPE) L2TC_SETTINGS_PO Raw-Exposure Update for Purchase Order: General Settings 20130211

Method GET_RE_CONTROL_SETTING on class CL_MM_TRM_CTY_INTEGRATION has no exception.

Method PREPARE_EXPOSURE_CTR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_EKKO Call by reference Type reference (TYPE) EKKO Purchasing Document Header 20110901
2 Importing IT_EKKN Call by reference Type reference (TYPE) MMPR_UEKKN Table Type uekkn 20120126
3 Importing IT_EKPO Call by reference Type reference (TYPE) MMPR_UEKPO Table Type UEKPO 20110901
4 Importing IT_EKPO_OLD Call by reference Type reference (TYPE) MMPR_UEKPO Table Type UEKPO 20120126
5 Importing IT_RDP_ITM Call by reference Type reference (TYPE) LOGTRM_T_RDP_ITM_FOR_EXPOSURE Risk Distribution Plan: Item data modified 20120209
6 Importing IV_EVENT Call by reference Type reference (TYPE) LOGTRM_EVENT TRM triggering logistic event 20110901
7 Importing IV_NEW Call by reference Type reference (TYPE) ABAP_BOOL New contract document 20120315

Method PREPARE_EXPOSURE_CTR on class CL_MM_TRM_CTY_INTEGRATION has no exception.

Method PREPARE_EXPOSURE_CTR_PO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_EKPO Call by reference Type reference (TYPE) MMPR_UEKPO Table Type UEKPO 20120203
2 Importing IT_EKPO_OLD Call by reference Type reference (TYPE) MMPR_UEKPO Table Type UEKPO 20120203
3 Importing IV_EVENT Call by reference Type reference (TYPE) LOGTRM_EVENT TRM triggering logistic event 20120203

Method PREPARE_EXPOSURE_CTR_PO on class CL_MM_TRM_CTY_INTEGRATION has no exception.

Method PREPARE_EXPOSURE_FROM_PERS_DOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_EKKO Call by reference Type reference (TYPE) EKKO Purchasing Document Header 20100922
2 Importing IT_EKBE Call by reference Type reference (TYPE) ME_EKBE table type for ekbe 20111125
3 Importing IT_EKBES Call by reference Type reference (TYPE) ME_EKBES Table Type for EKBES 20100922
4 Importing IT_EKBEV Call by reference Type reference (TYPE) ME_EKBEV Table Type for EKBEV 20101021
5 Importing IT_EKET Call by reference Type reference (TYPE) MMPR_UEKET Table Type UEKET 20100922
6 Importing IT_EKKN Call by reference Type reference (TYPE) MMPR_UEKKN Table Type uekkn 20110506
7 Importing IT_EKPO Call by reference Type reference (TYPE) MMPR_UEKPO Table Type UEKPO 20100922
8 Importing IT_KOMV Call by reference Type reference (TYPE) KOMV_TAB Table type komv 20100922
9 Importing IV_COPY Call by reference Type reference (TYPE) MMPUR_BOOL Create a temporary Copy 20100922
10 Importing IV_EVENT Call by reference Type reference (TYPE) LOGTRM_EVENT TRM triggering logistic event 20100922

Method PREPARE_EXPOSURE_FROM_PERS_DOC on class CL_MM_TRM_CTY_INTEGRATION has no exception.

Method PREPARE_EXPOSURE_GR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_EKBEV Call by reference Type reference (TYPE) ME_EKBEV Table Type for EKBEV 20100727
2 Importing IT_EKKN Call by reference Type reference (TYPE) MMPR_UEKKN Table Type uekkn 20110509
3 Importing IT_EKKO Call by reference Type reference (TYPE) ME_EKKO Table Type for Purchasing Document Headers 20120907
4 Importing IT_EKPO Call by reference Type reference (TYPE) MMPR_UEKPO Table Type UEKPO 20101001
5 Importing IT_KOMV Call by reference Type reference (TYPE) KOMV_TAB Table type komv 20101102
6 Importing IV_EVENT Call by reference Type reference (TYPE) LOGTRM_EVENT TRM triggering logistic event 20101022

Method PREPARE_EXPOSURE_GR on class CL_MM_TRM_CTY_INTEGRATION has no exception.

Method PREPARE_EXPOSURE_PO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_EKKO Call by reference Type reference (TYPE) EKKO Purchasing Document Header 20100614
2 Importing IT_EKBE Call by reference Type reference (TYPE) ME_EKBE table type for ekbe 20111125
3 Importing IT_EKBES Call by reference Type reference (TYPE) ME_EKBES Table Type for EKBES 20100614
4 Importing IT_EKBZ Call by reference Type reference (TYPE) ME_EKBZ table type for ekbz 20111111
5 Importing IT_EKET Call by reference Type reference (TYPE) MMPR_UEKET Table Type UEKET 20100614
6 Importing IT_EKET_OLD Call by reference Type reference (TYPE) MMPR_UEKET Table Type UEKET 20100614
7 Importing IT_EKKN Call by reference Type reference (TYPE) MMPR_UEKKN Table Type uekkn 20110506
8 Importing IT_EKPO Call by reference Type reference (TYPE) MMPR_UEKPO Table Type UEKPO 20100614
9 Importing IT_EKPO_OLD Call by reference Type reference (TYPE) MMPR_UEKPO Table Type UEKPO 20100614
10 Importing IT_KOMV Call by reference Type reference (TYPE) KOMV_TAB Table type komv 20100614
11 Importing IT_KOMV_OLD Call by reference Type reference (TYPE) KOMV_TAB Table type komv 20100614
12 Importing IV_EVENT Call by reference Type reference (TYPE) LOGTRM_EVENT TRM triggering logistic event 20100921

Method PREPARE_EXPOSURE_PO on class CL_MM_TRM_CTY_INTEGRATION has no exception.

Method PREPARE_GR_EXPOS_STAT_UPD_IV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_RBKP Call by reference Type reference (TYPE) RBKP Document Header: Invoice Receipt 20110412
2 Importing IT_EKBEV Call by reference Type reference (TYPE) ME_EKBEV Table Type for EKBEV 20110412
3 Importing IT_MRMRSEG Call by reference Type reference (TYPE) MRM_TAB_MRMRSEG 20110412
4 Importing IV_EVENT Call by reference Type reference (TYPE) LOGTRM_EVENT TRM triggering logistic event 20110412

Method PREPARE_GR_EXPOS_STAT_UPD_IV on class CL_MM_TRM_CTY_INTEGRATION has no exception.

Method PREPARE_MIRROR_EXPOSURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_HEADER Call by reference Type reference (TYPE) ANY Purchasing Document Header 20120919
2 Importing IT_HISTORY Call by reference Type reference (TYPE) ANY TABLE Table Type for EKBEV 20120919
3 Importing IT_ITEM Call by reference Type reference (TYPE) ANY TABLE Table Type UEKPO 20120919
4 Importing IV_EVENT Call by reference Type reference (TYPE) ANY TRM triggering logistic event 20120910

Method PREPARE_MIRROR_EXPOSURE on class CL_MM_TRM_CTY_INTEGRATION has no exception.

Method PREPARE_PO_EXPOS_STAT_UPD_IV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_RBKP Call by reference Type reference (TYPE) RBKP Document Header: Invoice Receipt 20110412
2 Importing IT_EKPO_KEY Call by reference Type reference (TYPE) MMPUR_T_PURDOC_ITEM_KEY Table Type for Key Fields of a Purchasing Document Item 20110412
3 Importing IV_EVENT Call by reference Type reference (TYPE) LOGTRM_EVENT TRM triggering logistic event 20110412

Method PREPARE_PO_EXPOS_STAT_UPD_IV on class CL_MM_TRM_CTY_INTEGRATION has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 606