SAP ABAP Class CL_UAV_PRICE_COMPARE_READER (Price Comparison - Reader)
Hierarchy
SEM-BW (Software Component) SEM-BW: Strategic Enterprise Management
   FIN-BAC-INV (Application Component) Inventory Accounting
     UA_PRICE_REPORTING (Package) Price Reports
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_FINB_READER Read Interface 20041117
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_FINB_REPORTING_READER Read Interface of Reporting Tool 20050107
Properties
Class CL_UAV_PRICE_COMPARE_READER  
Short Description Price Comparison - Reader    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status P  SAP Standard Production Program 
Category 0   
Package UA_PRICE_REPORTING   Price Reports 
Created 20041117   SAP 
Last change 20050301   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_UAV_PRICE_COMPARE_READER has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_FINB_READER Read Interface 20041117
2 IF_FINB_REPORTING_READER Read Interface of Reporting Tool 20050107
Friends
Class CL_UAV_PRICE_COMPARE_READER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MD_FOBJ_CLASS_NAME Instance attribute Private Type reference (TYPE) FOBJ_CLASS_NAME Name of an Object Class 20041216
2 MD_VARIANT_REPID Instance attribute Private Type reference (TYPE) REPID ABAP Program Name 20041216
3 MF_ACC_ROLE_NAME Instance attribute Private Type reference (TYPE) ACC_ROLE_NAME Application Role Name 20041207
4 MF_ACC_SYSTEM Instance attribute Private Type reference (TYPE) ACC_SYSTEM Accounting System 20041206
5 MF_DATA_BASIS Instance attribute Private Type reference (TYPE) ACC_DATABASIS Data Basis 20041206
6 MR_REPORTING_SERV Instance attribute Private Object reference (TYPE REF TO) CL_UAV_PRICE_COMPARE_SERVICE Reporting Price Comparison 20041207
7 MT_DATA Instance attribute Private Type reference (TYPE) UAV_T_PRICE_COMPARE Price Comparison - Display Structure for ALV 20041209
8 MT_FIN_OBJECTS Instance attribute Private Type reference (TYPE) FOBJ_T_OBJECT Table with FIN Objects 20041222
Methods
# Method Level Visibility Method type Description Created on
1 CALCULATION Instance method Private Method Calculation of Differences 20041215
2 CHANGE_LINES_NEWBASE Instance method Public Method Lines are calculated with new base quantity for price 20041221
3 CONSTRUCTOR Instance method Public Constructor Constructor 20041206
4 GET_FIN_OBJECTS Instance method Private Method Select FIN Objects 20041207
5 GET_OUTPUT_BASE Instance method Private Method Determines the Output Basis 20041215
6 GET_TIME_FROM_TIMESTAMP Instance method Private Method Decoding of Time Stamp 20041214
7 INITAL_LINES Instance method Public Method Lines are reset to original base quantity for price 20041221
8 MERGE_PRICES Instance method Private Method Merging of Prices with Different Price Types 20041215
Events
Class CL_UAV_PRICE_COMPARE_READER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 COMPANY Private See coding 20041220 BEGIN OF company, fobj_object_id TYPE fobj_object_id, fin_company TYPE fin_company, fromdat1 TYPE fin_fromdat, fromdat2 TYPE fin_fromdat, todat1 TYPE fin_fromdat, todat2 TYPE fin_fromdat, fobj_object_ref TYPE REF TO cl_fobj_object, END OF company
2 SORTED_COMPANY Private See coding 20041220 sorted_company TYPE SORTED TABLE OF company WITH NON-UNIQUE KEY fin_company
3 SORTED_COMPCODES Private See coding 20041220 sorted_compcodes TYPE SORTED TABLE OF uav_s_history WITH NON-UNIQUE KEY acc_system fobj_object_id
4 SORTED_PRICES Private See coding 20041220 sorted_prices TYPE SORTED TABLE OF uav_s_history WITH UNIQUE KEY fin_currtype fobj_object_id acc_system fin_fromdat fin_fromyearper fin_prcvariant fin_pricelabel timestampl
Method Signatures

Method CALCULATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_PRICE_COMPARE Call by reference Type reference (TYPE) UAV_S_PRICE_COMPARE Preisvergleich - Anzeigestruktur für ALV 20041215
2 Importing IF_PRCDIFF_BASE Call by reference Type reference (TYPE) UAV_PRCDIFFBASE Preisbezugsmenge für die Differenz 20041215

Method CALCULATION on class CL_UAV_PRICE_COMPARE_READER has no exception.

Method CHANGE_LINES_NEWBASE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_NEW_PRICEBASE Call by reference Type reference (TYPE) UAV_PRCBASENEW Neue Preisbezugsmenge 20041221
2 Importing IT_LINES Call by reference Type reference (TYPE) UAV_T_PRICE_COMPARE Preisvergleich - Anzeigestruktur für ALV 20041221

Method CHANGE_LINES_NEWBASE on class CL_UAV_PRICE_COMPARE_READER has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_DATABASIS Call by reference Type reference (TYPE) ACC_DATABASIS Datenbasis 20041216
2 Importing ID_FOBJ_CLASS_NAME Call by reference Type reference (TYPE) FOBJ_CLASS_NAME 20041216
3 Importing ID_ROLE_NAME Call by reference Type reference (TYPE) ACC_ROLE_NAME Anwendungsrollenname 20041216
4 Importing ID_VARIANT_REPID Call by reference Type reference (TYPE) REPID 20041216
5 Importing IF_ACC_SYSTEM Call by reference Type reference (TYPE) ACC_SYSTEM Rechnungssystem 20041206
6 Importing IO_REPORTING_SERV Call by reference Object reference (TYPE REF TO) CL_UAV_PRICE_COMPARE_SERVICE Reporting WIP und WE/RE Abrechung 20050107

Method CONSTRUCTOR on class CL_UAV_PRICE_COMPARE_READER has no exception.

Method GET_FIN_OBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_CONDITION Call by reference Object reference (TYPE REF TO) CL_FINB_CONDITION Bedingung 20041207
2 Returning RT_FIN_OBJECT Value transfer Type reference (TYPE) FOBJ_T_OBJECT Tabelle mit FIN-Objekten 20041207
# Exception Resumable Description Created on
1 NO_OBJECTS_FOUND Keine FIN-Objekte selektiert 20041207

Method GET_OUTPUT_BASE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_OUTPUT_TABLE Call by reference Type reference (TYPE) INDEX TABLE ALV - Ausgabetabelle 20041215
2 Importing IF_NEW_PRICES Call by reference Type reference (TYPE) CHAR1 Kennzeichen für neue Preise 20041222
3 Importing IF_PRC_HISTDAT1 Call by reference Type reference (TYPE) UAV_PRCHISTDAT1 Datum - Stand vom 1 20041215
4 Importing IF_PRC_HISTDAT2 Call by reference Type reference (TYPE) UAV_PRCHISTDAT2 Datum - Stand vom 2 20041215
5 Importing IF_PRC_KEYDAT1 Call by reference Type reference (TYPE) UAV_PRCKEYDAT1 Datum - Gültig am 1 20041215
6 Importing IF_PRC_KEYDAT2 Call by reference Type reference (TYPE) UAV_PRCKEYDAT2 Datum - Gültig am 2 20041215
7 Importing IF_PRC_LABEL1 Call by reference Type reference (TYPE) UAV_PRCLABEL1 Preistyp 1 20041215
8 Importing IF_PRC_LABEL2 Call by reference Type reference (TYPE) UAV_PRCLABEL2 Preistyp 2 20041215
9 Importing IT_FOBJ_OBJECTS Call by reference Type reference (TYPE) FOBJ_T_OBJECT Tabelle mit FIN-Objekten 20041215

Method GET_OUTPUT_BASE on class CL_UAV_PRICE_COMPARE_READER has no exception.

Method GET_TIME_FROM_TIMESTAMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EF_LOCAL_DATE Call by reference Type reference (TYPE) SYDATUM Datum und Zeit, aktuelles (Applikationsserver-)Datum 20041214
2 Exporting EF_LOCAL_TIME Call by reference Type reference (TYPE) SYUZEIT Datum und Zeit, aktuelle (Applikationsserver-) Uhrzeit 20041214
3 Importing IF_TIMESTAMP Value transfer Type reference (TYPE) TIMESTAMPL UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20041214

Method GET_TIME_FROM_TIMESTAMP on class CL_UAV_PRICE_COMPARE_READER has no exception.

Method INITAL_LINES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_LINES Call by reference Type reference (TYPE) UAV_T_PRICE_COMPARE Preisvergleich - Anzeigestruktur für ALV 20041221
2 Importing IT_LINES2 Call by reference Type reference (TYPE) INDEX TABLE Änderungszeilen 20050105

Method INITAL_LINES on class CL_UAV_PRICE_COMPARE_READER has no exception.

Method MERGE_PRICES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PRICE_COMPARE Call by reference Type reference (TYPE) UAV_S_PRICE_COMPARE Preisvergleich - Anzeigestruktur für ALV 20041215
2 Importing IS_PRICE1 Call by reference Type reference (TYPE) UAV_S_HISTORY Struktur für Preishistorientabelle zu FIN-Objekten 20041215
3 Importing IS_PRICE2 Call by reference Type reference (TYPE) UAV_S_HISTORY Struktur für Preishistorientabelle zu FIN-Objekten 20041215

Method MERGE_PRICES on class CL_UAV_PRICE_COMPARE_READER has no exception.
History
Last changed by/on SAP  20050301 
SAP Release Created in 400