SAP Reports / Programs | Personnel Management | Personnel Management | Company Pension Scheme Germany(PA-PF-DE) SAP PA

RPCAVGD0 SAP ABAP INCLUDE - documentation and ABAP source code







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


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 RPCAVGD0. "Basic submit
SUBMIT RPCAVGD0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPCAVGD0 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 RPCAVGD0

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:

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'.



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