PCSUBRU0_CURRM_AVERA is a standard ABAP INCLUDE 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 PCSUBRU0_CURRM_AVERA into the relevant SAP transactions such as SE38 or SE80
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.
Title: Include PCSUBRU0_CURRM_AVERA
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
CD_READ_DATE_RANGE_ACTUAL_NV CALL FUNCTION 'CD_READ_DATE_RANGE_ACTUAL_NV' EXPORTING begda = lv_av_begda endda = lv_av_endda TABLES rgdir_in = rgdir rgdir_out = lt_rgdir.
HR_COPY_TBUFF_TO_BUFFER CALL FUNCTION 'HR_COPY_TBUFF_TO_BUFFER' EXPORTING * DATABASE_TABLE = 'PCL2' clusterid = t500l-relid TABLES buffer = tbuff buffer_directory = buffer_dir EXCEPTIONS error_buffertab = 1 OTHERS = 2 .
PYXX_READ_RGDIR_PAYRESULTS CALL FUNCTION 'PYXX_READ_RGDIR_PAYRESULTS' EXPORTING clusterid = t500l-relid employeenumber = pernr-pernr read_only_international = 'X' TABLES rgdir = lt_rgdir imported_periods = lt_results_all EXCEPTIONS import_error = 1 OTHERS = 2.
CD_READ_PREVIOUS CALL FUNCTION 'CD_READ_PREVIOUS' EXPORTING IN_RECORD =
* EXACT = ' ' * LAST = ' ' * ALL = ' ' * IGNORE_ABKRS = ' ' TABLES RGDIR = new_rgdir OUT_RGDIR = lt_delete_rgdir EXCEPTIONS NO_RECORD_FOUND = 0 OTHERS = 0.
HRPY_AVERA_LOOP_AT_MONTH CALL FUNCTION 'HRPY_AVERA_LOOP_AT_MONTH' EXPORTING max_month = lc_index av_endda_month = aper-endda "l_begab with_current_period =
-current_per aper = aper employee_number = pernr-pernr TABLES i51av_a_month = lt_i51av_a i51av_r = lt_51av_r i51av_roc = lt_51av_roc i51av_b = lt_51av_b i51av_c = lt_51av_c rgdir = lt_rgdir results = lt_results cumulation = lt_cumulation result_rel_payr_all = lt_result_rel_payr result_rel_period = lt_result_rel_period datumsangabe = datumsangabe p0000 = p0000 p0001 = p0001.
HRPY_AVERA_COMPARE_WGTYP CALL FUNCTION 'HRPY_AVERA_COMPARE_WGTYP' TABLES i51av_a = lt_i51av_a i51av_p = lt_51av_p av_it = lt_av_it it = it.
HRPY_AVERA_KEEP_FROZEN_AVERAGE CALL FUNCTION 'HRPY_AVERA_KEEP_FROZEN_AVERAGE' EXPORTING aper = aper IMPORTING warning = l_warning TABLES i51av_a = lt_i51av_a i51av_p = lt_51av_p av_it = it average = average ab = ab.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
PCSUBRU0_CURRM_AVERA - Include PCSUBRU0_CURRM_AVERA PCSUBRU0_CREATE_V0_SICK - Include PCSUBRU0_CREATE_V0_SICK PCSUBRU0_CHECK_YEAR - Include PCSUBRU0_CHECK_YEAR PCSUBRU0_CHECK_BOL - Include PCSUBRU0_CHECK_BOL PCSUBRU0_CE - Include PCSUBRU0_CE PCSUBRU0_CALC_AVERA_PERSON_CE - Include PCSUBRU0_CALC_AVERA_PERSON_CE