SAP Reports / Programs

RFVIHKST SAP ABAP Report - Overview of External Heating Expenses







RFVIHKST is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report outputs all the costs of a heating system for each settlement unit according to the apportionment factors...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RFVIHKST into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FOHX - Overview of Extern. Heating Expenses


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RFVIHKST. "Basic submit
SUBMIT RFVIHKST AND RETURN. "Return to original report after report execution complete
SUBMIT RFVIHKST VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: S_SWENR = D Business Entity
Selection Text: S_SHEIZZ = D DME Settlement Unit
Selection Text: DPEREND = D Settlement Period End
Selection Text: DPERBEG = D Settlement Period Start
Selection Text: BUKRS = D Company Code
Title: Overview of External Heating Expenses
Text Symbol: SKK = Display secondary costs
Text Symbol: 022 = Other
Text Symbol: 021 = Hot water
Text Symbol: 020 = Heating
Text Symbol: 013 = Prorated Csts
Text Symbol: 012 = Pror.Costs
Text Symbol: 011 = Prorated Costs
Text Symbol: 010 = Costs
Text Symbol: 008 = No SU for heating system exists!
Text Symbol: 006 = *** Total All Heating Systems
Text Symbol: 005 = ** Total Heating Syst.
Text Symbol: 004 = * No basic share exists
Text Symbol: 003 = * Basic Share Miscell., Heating Syst.
Text Symbol: 002 = * Basic Share Hot Water, Heating System
Text Symbol: 001 = * Basic Share Heating, Heating System


INCLUDES used within this REPORT RFVIHKST

INCLUDE IFRE_CHECK_RE_CLASSIC.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

FVAU_AUTHORITY_CHECK CALL FUNCTION 'FVAU_AUTHORITY_CHECK' EXPORTING object = ld_object authpar = ld_authpar EXCEPTIONS no_authority = 1 invalid_object = 2 OTHERS = 3.

RE_HEAT_SU_GET call function 'RE_HEAT_SU_GET' exporting i_bukrs = t_viak08-bukrs " Buchungskreis i_sheizz = t_viak08-sheizz" Heizzentrale i_dperbeg = dperbeg " Beginn Abrechnung i_dperend = dperend " Ende Abrechnung * importing * e_viak08 = tables e_t_ae_hz = t_ae_hz.

RE_FI_POSTING_FILL call function 'RE_FI_POSTING_FILL' exporting gjahr = gjahr loc_sort = loc_sort loc_enka_anz = loc_enka_belege_anzeigen vstbel_anz = vstbel jdisp = loc_disp stbel_anz = stbel HKST_ANZ = 'X' SEKKOST = SEKKOST tables i_t_objnr = t_objnr e_t_fi_beleg = t_fi_beleg exceptions others = 0.

REUSE_ALV_HIERSEQ_LIST_DISPLAY ** CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' ** EXPORTING ** I_CALLBACK_PROGRAM = P_G_REPID *** i_callback_pf_status_set = p_status *** i_callback_user_command = p_command ** IT_FIELDCAT = P_GT_FIELDCAT[] ** IT_EVENTS = LT_EVENTS ** I_TABNAME_HEADER = 'P_T_OUTTAB_HEADER' ** I_TABNAME_ITEM = 'P_T_OUTTAB_ITEM' ** IS_KEYINFO = LS_KEYINFO ** IT_SORT = LT_SORT ** TABLES ** T_OUTTAB_HEADER = P_T_OUTTAB_HEADER ** T_OUTTAB_ITEM = P_T_OUTTAB_ITEM.

REUSE_ALV_LIST_DISPLAY * call function 'REUSE_ALV_LIST_DISPLAY' * exporting * i_callback_program = p_g_repid ** i_callback_pf_status_set = p_status ** i_callback_user_command = p_command * it_fieldcat = p_gt_fieldcat[] * it_events = lt_events * it_sort = lt_sort * i_save = 'A' * tables * t_outtab = p_t_outtab_item.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RFVIHKST or its description.