SAP ABAP Class CL_REOR_COST_MNGR (Costs Manager for Reservation/Occupancy)
Hierarchy
EA-FIN (Software Component) EA-FIN
   RE-FX-OR (Application Component) Offer and Rental Request
     RE_OR_CA (Package) RE: Cross-Application Contract Offer and RE Search Request
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_RECA_STORABLE Object Can Be Stored (Abstract): Standard Implementation 20060620
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_REOR_COST_MNGR Costs Manager (VIORRSCOST) 20060619
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_REOR_PERM_OCC_COST_MNGR Costs Manager for Continuous Occupancy 20060620
2 Inheritance (c INHERITING FROM c_ref)  CL_REOR_RESERVATION_COST_MNGR Costs Manager for Reservation 20060619
Properties
Class CL_REOR_COST_MNGR  
Short Description Costs Manager for Reservation/Occupancy    
Super Class CL_RECA_STORABLE Object Can Be Stored (Abstract): Standard Implementation 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RE_OR_CA   RE: Cross-Application Contract Offer and RE Search Request 
Created 20060619   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 RECD1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 RECD2 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 REOR0 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 REOR2 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_REOR_COST_MNGR Costs Manager (VIORRSCOST) 20060619
Friends
# Friend Modeled only Created on Description
1 CL_REOR_COST_POSTING 20080520 Posting Process: Occupancy
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MD_PROCESSGUID Instance attribute Protected Type reference (TYPE) RECA_PROCESS_ID-PROCESSGUID Process That Triggers Billing 20080520
2 MD_XDESCRIPTION Instance attribute Protected Type reference (TYPE) STRING Description of Dependent Object 20070212
3 MO_GENERATION_LOG Instance attribute Protected Object reference (TYPE REF TO) IF_RECA_MESSAGE_LIST Message Collector 20070221
4 MO_PARENT Instance attribute Public Object reference (TYPE REF TO) IF_REOR_HAS_COST Object with Costs 20060619
5 MT_LIST Instance attribute Protected Type reference (TYPE) RE_T_RESERVATION_COST Reservation - Costs 20060619
6 MT_LIST_OLD Instance attribute Protected Type reference (TYPE) RE_T_RESERVATION_COST Reservation - Costs (DB Status) 20060619
7 MT_LIST_REL Instance attribute Protected Type reference (TYPE) RE_T_RESERVATION_COST_REL Relationship of Reservation to Costs 20060704
8 MT_LIST_REL_OLD Instance attribute Protected Type reference (TYPE) RE_T_RESERVATION_COST_REL Relationship of Reservation to Costs (DB Status) 20060704
9 MT_MAP_COND_COST Instance attribute Protected Type reference (TYPE) MTYPE_T_COND_COST Mapping of Cash Flow -> Posting 20070209
Methods
# Method Level Visibility Method type Description Created on
1 CALCULATE Instance method Protected Method Calculates the Costs of a Single Occupancy 20060627
2 CALCULATE_CASHFLOW_COSTS Instance method Protected Method Calculate the Costs for Cash Flow Records 20070702
3 DELETE Instance method Protected Method 20060627
4 DISTRIBUTE Instance method Protected Method Calculation of Costs Distributed to Account Asgmt Objects 20060627
5 FILL_BUFFER Instance method Protected Method Fills Table Buffer 20060619
6 FILL_BUFFER_REL Instance method Protected Method Fills Table Buffer of Relationship Table [Abstract] 20060704
7 GENERATE_COSTS Instance method Protected Method 20060627
8 GET_DETAIL Instance method Protected Method 20060627
9 GET_GENERATION_LOG Instance method Protected Method 20070221
10 GET_LIST Instance method Protected Method 20060627
11 GET_LIST_X Instance method Protected Method 20060627
12 GET_OPEN_COSTS Instance method Protected Method 20060621
13 GET_POSTING_PERIODS Instance method Protected Method Gets the Posting Periods (Posting Cycle) 20080515
14 GET_REFFLOWREL Instance method Protected Method Gets Type of Relationship Between Flow Type and Ref.FlowType 20070516
15 INIT_BY_PARENT Instance method Protected Method 20060627
16 INSERT_DETAIL Instance method Protected Method 20060627
17 ME_STORE_NUMBER_REL Instance method Protected Method For MT_LIST_REL: Update of Assignment Table 20060704
18 ME_STORE_WRITE_REL Instance method Protected Method For MT_LIST_REL: Calls the Update Function Module 20060704
19 SET_CALLER_PROCESS_GUID Instance method Protected Method Sets Process ID of Caller 20080520
20 SORT_TABLE Instance method Protected Method Sorting of Internal Table 20060629
21 SORT_TABLE_REL Instance method Protected Method Sorting of Internal Table (_REL) 20060704
22 UPDATE_DETAIL Instance method Protected Method 20060627
23 UPDATE_PAYMENT_STATUS Instance method Protected Method 20070213
24 _CALCULATE_PO Instance method Private Method Calculates the Costs of a Single Occupancy 20130820
25 _CALCULATE_RS Instance method Private Method Calculates the Costs of a Single Reservation 20130820
Events
Class CL_REOR_COST_MNGR has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 MTYPE_S_CF_COST Protected See coding Cash Flow - Costs 20070702 BEGIN OF mtype_s_cf_cost, condguid TYPE recdcondguid, s_rs_cost TYPE reor_reservation_cost, END OF mtype_s_cf_cost
2 MTYPE_S_COND_COST Protected See coding Mapping of Cash Flow -> Posting 20070209 BEGIN OF mtype_s_cond_cost, condguid TYPE recaguid, costguid TYPE recaguid, END OF mtype_s_cond_cost
3 MTYPE_S_COST_CALC Protected See coding Calculated costs 20060627 BEGIN OF mtype_s_cost_calc, validfrom TYPE reorrsvalidfrom, validto TYPE reorrsvalidto, price TYPE reorrsprice, currkey TYPE recacurrkey, respobjnr TYPE recaobjnr, srvtype TYPE reorsrvtype, condtype TYPE recdcondtype, flowtype TYPE recdflowtype, cdpricebase TYPE reorpocdpricebase, END OF mtype_s_cost_calc
4 MTYPE_S_PERIOD Protected See coding Period (Time Stamp) with Factor 20061013 BEGIN OF mtype_s_period, timefrom TYPE reca_time_period-timefrom, timeto TYPE reca_time_period-timeto, factor TYPE p LENGTH 16 DECIMALS 8, END OF mtype_s_period
5 MTYPE_S_PRICE_FACTOR Protected See coding Price Factors for a Condition 20061013 BEGIN OF mtype_s_price_factor, condtype TYPE recdcondtype, pricebase TYPE reorpocdpricebase, t_period TYPE mtype_t_period, END OF mtype_s_price_factor
6 MTYPE_T_CF_COST Protected See coding Cash Flow - Costs (Tab) 20070702 mtype_t_cf_cost TYPE STANDARD TABLE OF mtype_s_cf_cost
7 MTYPE_T_COND_COST Protected See coding Mapping of Cash Flow -> Posting 20070209 mtype_t_cond_cost TYPE STANDARD TABLE OF mtype_s_cond_cost
8 MTYPE_T_COST_CALC Protected See coding Table of Calculated Costs 20060627 mtype_t_cost_calc TYPE STANDARD TABLE OF mtype_s_cost_calc WITH DEFAULT KEY
9 MTYPE_T_PERIOD Protected See coding Periods 20061013 mtype_t_period TYPE STANDARD TABLE OF mtype_s_period WITH DEFAULT KEY
10 MTYPE_T_PRICE_FACTOR Protected See coding Price Factors of All Conditions of Reservation Object 20061013 mtype_t_price_factor TYPE STANDARD TABLE OF mtype_s_price_factor WITH DEFAULT KEY
Method Signatures

Method CALCULATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_CALCFROM Call by reference Type reference (TYPE) RECADATEFROM Berechnen ab 20061010
2 Importing ID_CALCTO Call by reference Type reference (TYPE) RECADATETO Berechnen bis 20061010
3 Importing ID_OCCFROM Call by reference Type reference (TYPE) REORRSVALIDFROM Belegung ab 20061010
4 Importing ID_OCCTO Call by reference Type reference (TYPE) REORRSVALIDTO Belegung bis 20061010
5 Importing IO_MSGLIST Call by reference Object reference (TYPE REF TO) IF_RECA_MESSAGE_LIST Nachrichtensammler 20061013
6 Importing IO_RS_OBJECT Call by reference Object reference (TYPE REF TO) IF_REOR_OFFER_OBJECT Reservierungsobjekt 20060627
7 Importing IT_PRICE_FACTOR Call by reference Type reference (TYPE) MTYPE_T_PRICE_FACTOR Preisfaktoren pro Kondition und Periode 20061013
8 Returning RT_COST_CALC Value transfer Type reference (TYPE) MTYPE_T_COST_CALC Berechnete Kosten - Tabelle 20060627
# Exception Resumable Description Created on
1 CX_SY_ARITHMETIC_OVERFLOW System-Exception für Arithmetischen Overflow 20070523

Method CALCULATE_CASHFLOW_COSTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ED_OBJNRCN Call by reference Type reference (TYPE) REOROBJNRCN Rahmenvertrag 20070702
2 Exporting ED_OBJNRCNOBJ Call by reference Type reference (TYPE) RECAOBJNR Objekt für Kondition 20080812
3 Exporting ET_CF_COST Call by reference Type reference (TYPE) MTYPE_T_CF_COST Finanzstrom - Kosten 20070702
4 Importing ID_CALCFROM Call by reference Type reference (TYPE) RECADATEFROM Berechnen ab 20080320
5 Importing ID_CALCTO Call by reference Type reference (TYPE) RECADATETO Berechnen bis 20080320
6 Importing ID_OCCFROM Call by reference Type reference (TYPE) REORRSVALIDFROM Belegung ab 20080320
7 Importing ID_OCCTO Call by reference Type reference (TYPE) REORRSVALIDTO Belegung bis 20080320
8 Importing ID_OCCUPANT Call by reference Type reference (TYPE) REOROCCUPANT Belegender 20070702
9 Importing ID_PRICEFACTOR Call by reference Type reference (TYPE) REORPRICEFACTOR 1 Multiplikator für Preis 20070702
10 Importing IO_CONTRACT Call by reference Object reference (TYPE REF TO) IF_RECN_CONTRACT Vertrag (VICNCN) 20100311
11 Importing IO_MSGLIST Call by reference Object reference (TYPE REF TO) IF_RECA_MESSAGE_LIST Nachrichtensammler 20070702
12 Importing IO_RS_OBJECT Call by reference Object reference (TYPE REF TO) IF_REOR_OFFER_OBJECT Reservierungsobjekt 20070702

Method CALCULATE_CASHFLOW_COSTS on class CL_REOR_COST_MNGR has no exception.

Method DELETE Signature

Method DELETE on class CL_REOR_COST_MNGR has no parameter.
Method DELETE on class CL_REOR_COST_MNGR has no exception.

Method DISTRIBUTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_COST_DISTRIBUTE Call by reference Attribute reference (LIKE) MT_LIST Verteilte Reservierung - Kosten 20060704
2 Importing ID_OCCFROM Call by reference Type reference (TYPE) REORRSVALIDFROM Belegung ab 20061010
3 Importing ID_OCCTO Call by reference Type reference (TYPE) REORRSVALIDTO Belegung bis 20061010
4 Importing IO_MSGLIST Call by reference Object reference (TYPE REF TO) IF_RECA_MESSAGE_LIST Nachrichtensammler 20061013
5 Importing IO_RS_OBJECT Call by reference Object reference (TYPE REF TO) IF_REOR_OFFER_OBJECT Reservierungsobjekt 20060627
6 Importing IT_COST_CALC Call by reference Type reference (TYPE) MTYPE_T_COST_CALC Berechnete Kosten - Tabelle 20060627
7 Importing IT_OCCOBJ Call by reference Type reference (TYPE) RE_T_ACCTASSOBJ Kontierungsobjekte 20060627

Method DISTRIBUTE on class CL_REOR_COST_MNGR has no exception.

Method FILL_BUFFER Signature

Method FILL_BUFFER on class CL_REOR_COST_MNGR has no parameter.
Method FILL_BUFFER on class CL_REOR_COST_MNGR has no exception.

Method FILL_BUFFER_REL Signature

Method FILL_BUFFER_REL on class CL_REOR_COST_MNGR has no parameter.
Method FILL_BUFFER_REL on class CL_REOR_COST_MNGR has no exception.

Method GENERATE_COSTS Signature

Method GENERATE_COSTS on class CL_REOR_COST_MNGR has no parameter.
Method GENERATE_COSTS on class CL_REOR_COST_MNGR has no exception.

Method GET_DETAIL Signature

Method GET_DETAIL on class CL_REOR_COST_MNGR has no parameter.
Method GET_DETAIL on class CL_REOR_COST_MNGR has no exception.

Method GET_GENERATION_LOG Signature

Method GET_GENERATION_LOG on class CL_REOR_COST_MNGR has no parameter.
Method GET_GENERATION_LOG on class CL_REOR_COST_MNGR has no exception.

Method GET_LIST Signature

Method GET_LIST on class CL_REOR_COST_MNGR has no parameter.
Method GET_LIST on class CL_REOR_COST_MNGR has no exception.

Method GET_LIST_X Signature

Method GET_LIST_X on class CL_REOR_COST_MNGR has no parameter.
Method GET_LIST_X on class CL_REOR_COST_MNGR has no exception.

Method GET_OPEN_COSTS Signature

Method GET_OPEN_COSTS on class CL_REOR_COST_MNGR has no parameter.
Method GET_OPEN_COSTS on class CL_REOR_COST_MNGR has no exception.

Method GET_POSTING_PERIODS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PERIOD Call by reference Type reference (TYPE) RE_T_RECADATERANGE Tabelle von Zeiträumen 20080515
2 Importing ID_CALCFROM Call by reference Type reference (TYPE) RECADATEFROM Datum: Gültig ab 20080515
3 Importing ID_CALCTO Call by reference Type reference (TYPE) RECADATETO Datum: Gültig bis 20080515
4 Importing IO_RS_OBJECT Call by reference Object reference (TYPE REF TO) IF_REOR_OFFER_OBJECT Angebotsobjekt (VIOROO) 20080515

Method GET_POSTING_PERIODS on class CL_REOR_COST_MNGR has no exception.

Method GET_REFFLOWREL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RD_REFFLOWREL Value transfer Type reference (TYPE) RECDREFFLOWREL Typ der Beziehung zwischen Bewegungsart und Ref.bewegungsart 20070516

Method GET_REFFLOWREL on class CL_REOR_COST_MNGR has no exception.

Method INIT_BY_PARENT Signature

Method INIT_BY_PARENT on class CL_REOR_COST_MNGR has no parameter.
Method INIT_BY_PARENT on class CL_REOR_COST_MNGR has no exception.

Method INSERT_DETAIL Signature

Method INSERT_DETAIL on class CL_REOR_COST_MNGR has no parameter.
Method INSERT_DETAIL on class CL_REOR_COST_MNGR has no exception.

Method ME_STORE_NUMBER_REL Signature

Method ME_STORE_NUMBER_REL on class CL_REOR_COST_MNGR has no parameter.
# Exception Resumable Description Created on
1 ERROR Fehler beim Sichern (führt immer zur A-Meldung in STORE) 20060704

Method ME_STORE_WRITE_REL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_IN_UPDATE_TASK Call by reference Type reference (TYPE) ABAP_BOOL Verbuchung mit "IN UPDATE TASK" rufen 20060704
# Exception Resumable Description Created on
1 ERROR Fehler beim Sichern (führt immer zur A-Meldung in STORE) 20060704

Method SET_CALLER_PROCESS_GUID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_PROCESSGUID Call by reference Type reference (TYPE) RECA_PROCESS_ID-PROCESSGUID Generischer Schlüssel des Prozesses 20080520

Method SET_CALLER_PROCESS_GUID on class CL_REOR_COST_MNGR has no exception.

Method SORT_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_TABLE Call by reference Attribute reference (LIKE) MT_LIST Reservierung - Kosten 20060629

Method SORT_TABLE on class CL_REOR_COST_MNGR has no exception.

Method SORT_TABLE_REL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_TABLE Call by reference Attribute reference (LIKE) MT_LIST_REL Beziehung Reservierung - Kosten 20060704

Method SORT_TABLE_REL on class CL_REOR_COST_MNGR has no exception.

Method UPDATE_DETAIL Signature

Method UPDATE_DETAIL on class CL_REOR_COST_MNGR has no parameter.
Method UPDATE_DETAIL on class CL_REOR_COST_MNGR has no exception.

Method UPDATE_PAYMENT_STATUS Signature

Method UPDATE_PAYMENT_STATUS on class CL_REOR_COST_MNGR has no parameter.
Method UPDATE_PAYMENT_STATUS on class CL_REOR_COST_MNGR has no exception.

Method _CALCULATE_PO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_CALCFROM Call by reference Type reference (TYPE) RECADATEFROM Berechnen ab 20130820
2 Importing ID_CALCTO Call by reference Type reference (TYPE) RECADATETO Berechnen bis 20130820
3 Importing ID_OCCFROM Call by reference Type reference (TYPE) REORRSVALIDFROM Belegung ab 20130820
4 Importing ID_OCCTO Call by reference Type reference (TYPE) REORRSVALIDTO Belegung bis 20130820
5 Importing IO_MSGLIST Call by reference Object reference (TYPE REF TO) IF_RECA_MESSAGE_LIST Nachrichtensammler 20130820
6 Importing IO_RS_OBJECT Call by reference Object reference (TYPE REF TO) IF_REOR_OFFER_OBJECT Belegbaresobjekt 20130820
7 Importing IT_PRICE_FACTOR Call by reference Type reference (TYPE) MTYPE_T_PRICE_FACTOR Preisfaktoren pro Kondition und Periode 20130820
8 Returning RT_COST_CALC Value transfer Type reference (TYPE) MTYPE_T_COST_CALC Berechnete Kosten - Tabelle 20130820
# Exception Resumable Description Created on
1 CX_SY_ARITHMETIC_OVERFLOW System-Exception für Arithmetischen Overflow 20130820

Method _CALCULATE_RS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_CALCFROM Call by reference Type reference (TYPE) RECADATEFROM Berechnen ab 20130820
2 Importing ID_CALCTO Call by reference Type reference (TYPE) RECADATETO Berechnen bis 20130820
3 Importing ID_OCCFROM Call by reference Type reference (TYPE) REORRSVALIDFROM Belegung ab 20130820
4 Importing ID_OCCTO Call by reference Type reference (TYPE) REORRSVALIDTO Belegung bis 20130820
5 Importing IO_MSGLIST Call by reference Object reference (TYPE REF TO) IF_RECA_MESSAGE_LIST Nachrichtensammler 20130820
6 Importing IO_RS_OBJECT Call by reference Object reference (TYPE REF TO) IF_REOR_OFFER_OBJECT Reservierungsobjekt 20130820
7 Importing IT_PRICE_FACTOR Call by reference Type reference (TYPE) MTYPE_T_PRICE_FACTOR Preisfaktoren pro Kondition und Periode 20130820
8 Returning RT_COST_CALC Value transfer Type reference (TYPE) MTYPE_T_COST_CALC Berechnete Kosten - Tabelle 20130820
# Exception Resumable Description Created on
1 CX_SY_ARITHMETIC_OVERFLOW System-Exception für Arithmetischen Overflow 20130820
History
Last changed by/on SAP  20130531 
SAP Release Created in 700