RPCAVGD0 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 RPCAVGD0 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RP_01C_INITIALIZE_AV CALL FUNCTION 'RP_01C_INITIALIZE_AV' EXPORTING PERNR = pernr-pernr STDAT = relevant_date STTYP = t5dw5-sttyp WAERS = calc_currency DTYPE = t5dc5-dtype.
RP_01C_APPEND_AV CALL FUNCTION 'RP_01C_APPEND_AV' EXPORTING IAV_AV = l_av EXCEPTIONS NO_ENTRY_FOUND_T5DV1 = 1 BEGDA_GT_ENDDA = 2 AMBIVALENT_TEXT = 3 OTHERS = 4.
RP_01C_GET_ACTUAL_RUN CALL FUNCTION 'RP_01C_GET_ACTUAL_RUN' EXPORTING IAV_PERNR = pernr-pernr IAV_ENDDA = l_old_date IAV_STTYP = t5dw5-sttyp IMPORTING EAV_P01CST = l_p01cst EXCEPTIONS ERR_PREVIOUS = 1 OTHERS = 2.
RP_01C_READ_DB_AV_LT CALL FUNCTION 'RP_01C_READ_DB_AV_LT' EXPORTING IAV_PERNR = pernr-pernr IAV_STDAT = l_p01cst-stdat IAV_STTYP = l_p01cst-sttyp IAV_WAERS = l_p01cst-waers IAV_CURRENCY = calc_currency EXCEPTIONS ERROR_BY_WAERS_CONVERSION = 1.
RP_01C_APPEND_LT CALL FUNCTION 'RP_01C_APPEND_LT' EXPORTING IAV_LTRGR = wment-ltrgr IAV_LURSP = wment-lursp IAV_ANGRP = wment-angrp IAV_LGART = wment-lgart.
RP_01C_APPEND_LT CALL FUNCTION 'RP_01C_APPEND_LT' EXPORTING IAV_LTRGR = new_dacv-ltrgr IAV_LURSP = new_dacv-lursp IAV_ANGRP = new_dacv-angrp IAV_LGART = new_dacv-lgart.
RP_01C_READ_AV CALL FUNCTION 'RP_01C_READ_AV' EXPORTING IAV_AVART = C_T100 IAV_TABLE = C_OAV IAV_LTRGR = new_dacv-ltrgr IAV_LGART = new_dacv-lgart TABLES TAV_AV = lt_oav EXCEPTIONS WERTART_NOT_FOUND = 1 WERTART_ALREADY_IN_TABLE = 2.
RP_01C_APPEND_AV CALL FUNCTION 'RP_01C_APPEND_AV' EXPORTING IAV_AV = l_av IAV_LTRGR = new_dacv-ltrgr IAV_LGART = new_dacv-lgart EXCEPTIONS NO_ENTRY_FOUND_T5DV1 = 1 BEGDA_GT_ENDDA = 2 AMBIVALENT_TEXT = 3.
RP_01C_APPEND_AV CALL FUNCTION 'RP_01C_APPEND_AV' EXPORTING IAV_AV = l_av IAV_LTRGR = new_dacv-ltrgr IAV_LGART = new_dacv-lgart EXCEPTIONS NO_ENTRY_FOUND_T5DV1 = 1 BEGDA_GT_ENDDA = 2 AMBIVALENT_TEXT = 3.
RP_01C_ABSTELLEN_AV CALL FUNCTION 'RP_01C_ABSTELLEN_AV'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.