SAP Reports / Programs

HSICAVG0 SAP ABAP Report - documentation and ABAP source code







HSICAVG0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter HSICAVG0 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

PC00_M62_CAVG0 - Averages


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 HSICAVG0. "Basic submit
SUBMIT HSICAVG0 AND RETURN. "Return to original report after report execution complete
SUBMIT HSICAVG0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT HSICAVG0

No INCLUDES are used within this REPORT code!


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:

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = alvari IMPORTING es_variant = alvari EXCEPTIONS not_found = 1 program_error = 2 OTHERS = 3.

HR_SI_READ_PYRES_INTERVAL CALL FUNCTION 'HR_SI_READ_PYRES_INTERVAL' EXPORTING pernr = pernr-pernr mode = 'P' "payday logic begda = pn-begda endda = pn-endda acurr = acurr "JD 08/2006 acudt = acudt "JD 08/2006 TABLES runs = runs myrg = myrg rtdet = rtdet.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = acudt foreign_amount = t7sirs-avgrs foreign_currency = 'SIT' local_currency = 'EUR' IMPORTING local_amount = t7sirs-avgrs EXCEPTIONS OTHERS = 01.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = repid it_fieldcat = fc[] is_variant = alvari i_save = 'X' TABLES t_outtab = ee.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = tline titel = '' cancel_display = '' IMPORTING answer = yesno.

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING client = sy-mandt group = p_bname user = p_buser keep = 'X'.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING tcode = tcode TABLES dynprotab = bdcdata.

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING client = sy-mandt group = p_bname user = p_buser keep = 'X' holddate = sy-datum.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING tcode = tcode TABLES dynprotab = bdcdata.



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 HSICAVG0 or its description.