RPCWPZ40 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 RPCWPZ40 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: HR-BAV: Act. Routines for Main Include
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RP_01C_HR_IMPORT_BAV_DATA CALL FUNCTION 'RP_01C_HR_IMPORT_BAV_DATA' EXPORTING IMP_PERNR = $PERNR IMP_BAVDB = 'P01CVU' TABLES IMP_TABLE = $P01CVU EXCEPTIONS NO_PERNR_INPUT = 1 INVALID_BAV_DATABASE = 2 NO_BAV_DATABASE = 3 NO_DATA_FOUND = 4 OTHERS = 5.
RP_01C_GET_TESTATOR CALL FUNCTION 'RP_01C_GET_TESTATOR' "SAPS19990909 EXPORTING "SAPS19990909 I04_PERNR = $WACT-PERNR "SAPS19990909 I04_KEYDT = PIVSTG "SAPS19990909 IMPORTING "SAPS19990909 E04_P0021 = P0021_ERBLASSER "SAPS19990909 TABLES "SAPS19990909 T04_P0021 = W0021 "SAPS19990909 EXCEPTIONS "SAPS19990909 NO_SUBTY_DEFINED = 1 "SAPS19990909 TESTATOR_NOT_FOUND = 2 "SAPS19990909 OTHERS = 3. "SAPS19990909
RP_01C_GET_HBTYP CALL FUNCTION 'RP_01C_GET_HBTYP' EXPORTING I05_PERNR = $WACT-PERNR I05_KEYDT = PIVSTG I05_RNTOP = T5DC5-RNTOP I05_REART = T5DC5-REART I05_TEOBL = SPACE IMPORTING E05_HBTYP = VM_HBTYP TABLES T05_P0000 = W0000 T05_P0001 = W0001 T05_P0002 = W0002 T05_P0021 = W0021 EXCEPTIONS TESTATOR_NOT_FOUND = 1 ERROR_DWCHG = 2 ERROR_CUSTOMER_EXIT = 3 OTHERS = 4.
RP_01C_GET_END_OF_P0201 CALL FUNCTION 'RP_01C_GET_END_OF_P0201' EXPORTING I02_KEYDT = PIVSTG TABLES T02_P0201 = $P0201 T02_RBTAB_ALL = VM_RBTAB EXCEPTIONS OTHERS = 1.
RP_01C_DZPRZ_AVERAGE CALL FUNCTION 'RP_01C_DZPRZ_AVERAGE' EXPORTING I55_BEGDA = $BEGDA I55_ENDDA = $ENDDA TABLES T55_DZPTA = DZPRZ_TAB CHANGING C55_AVDPZ = $AVDPZ C55_DZPRZ = $DZPRZ EXCEPTIONS OTHERS = 1.
RP_01C_FILL_SERVICE_YEARS CALL FUNCTION 'RP_01C_FILL_SERVICE_YEARS' * exporting * I54_DZALT = TABLES T54_WMPER = SYEAR_PERIODS T54_SYEAR = SERVICE_YEARS EXCEPTIONS ERROR_CALCULATE_YEAR = 1 NO_PERIODS = 2 OTHERS = 3.
RP_01C_VM_STORNO CALL FUNCTION 'RP_01C_VM_STORNO' EXPORTING I01_BLSTG = $BLSTG I01_VMGRD = $T5DC5-VMGRD I01_VMRBB = $T5DC5-VMRBB I01_VMANS = $T5DC5-VMANS I01_PERNR = $PERNR TABLES T01_SEL_LTRGR = $SEL_LTRGR T01_SEL_HANSP = $SEL_HANSP T01_P01CVH = $P01CVH T01_DEL_P01CVH = $DEL_P01CVH T01_P01CVD = $P01CVD T01_DEL_P01CVD = $DEL_P01CVD T01_P01CVR = $P01CVR T01_DEL_P01CVR = $DEL_P01CVR EXCEPTIONS OTHERS = 1.
RP_01C_KEYDATE_VM_INTERFACE CALL FUNCTION 'RP_01C_KEYDATE_VM_INTERFACE' EXPORTING I14_LTRGR = $LTRGR I14_BLSTG = $BDATE IMPORTING E14_BLSTG = $BLSTG EXCEPTIONS NO_LTRGR_INPUT = 1 NO_BLSTG_INPUT = 2 ERROR_GET_KEYDATE_VM = 3 OTHERS = 4.
RP_01C_GET_SERVICE_YEARS CALL FUNCTION 'RP_01C_GET_SERVICE_YEARS' EXPORTING I20_PERNR = $WMENT-PERNR I20_KEYDT = $WMENT-RELDT I20_PROTO = $PROTO I20_MIDAT = $MIDAT I20_MADAT = $MADAT I20_RDDZT = $RDDZT I20_RDTGE = $RDTGE I20_DTJMA = $DTJMA I20_INCRS = $INCRS I20_ABZUW = $ABZUW IMPORTING E20_DZPRZ = AVERAGE_DZPRZ E20_DPRTY = AVERAGE_DPRTY E20_DPRDJ = AVERAGE_DPRDJ TABLES T20_WMENT = $WMENT T20_GPAY = $GPAY * T20_SYEAR = $SYEAR. "YMLN569245
RP_01C_BAV_ERROR_ROUTINE call function 'RP_01C_BAV_ERROR_ROUTINE' "WDP364788 exporting "WDP364788 i54_emode = free_error_memory. "WDP364788
RP_01C_BAV_ERROR_ROUTINE call function 'RP_01C_BAV_ERROR_ROUTINE' "WDP364788 exporting "WDP364788 i54_emode = set_error_memory "WDP364788 i54_repid = error_program. "WDP364788
RP_01C_CHECK_EIGEN_HBL_RENTE CALL FUNCTION 'RP_01C_CHECK_EIGEN_HBL_RENTE' EXPORTING I02_KEYDT = PIVSTG TABLES T02_P0201 = P0201 T02_I5DCE = I5DCE CHANGING C02_EIGRB = SW_EMPLOYEES_PENSION_EXIST C02_HBLRB = SW_DEPENDENTS_PENSION_EXIST. "WDPPH0K002615
RP_01C_DACV_PRINT CALL FUNCTION 'RP_01C_DACV_PRINT' EXPORTING I47_PERNR = PERNR-PERNR I47_HEADR = HEADER_LINE I47_START = 4 EXCEPTIONS OTHERS = 1.
RP_01C_DACV_PRINT CALL FUNCTION 'RP_01C_DACV_PRINT' EXPORTING I47_START = 4 TABLES T47_DACV = NEW_DACV EXCEPTIONS OTHERS = 1.
RP_01C_DAUA_PRINT * call function 'RP_01C_DAUA_PRINT' * exporting * i22_pernr = pernr-pernr * i22_headr = header_line * i22_start = 4.
RP_01C_DAUA_PRINT * call function 'RP_01C_DAUA_PRINT' * exporting * i22_start = 4 * tables * t22_daua = daua_print.
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_MELDESTATUS_VM CALL FUNCTION 'RP_01C_MELDESTATUS_VM' EXPORTING I03_PERNR = PERNR-PERNR I03_BLSTG = PBLSTG I03_IVSTG = PIVSTG I03_VMGRD = T5DC5-VMGRD TABLES T03_VMHEAD = TMP_VMHEAD T03_VMDATA = TMP_VMDATA T03_VMRNTB = TMP_VMRNTB T03_SEL_LTRGR = SEL_LTRGR1 EXCEPTIONS OTHERS = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RPCWPZ40 - HR-BAV: Act. Routines for Main Include RPCWPZ25 - Program Flow for Main Include: VM RPCWPZ20 - HR-BAV: Routine Input Parameters for Main Include RPCWPZ12 - HR-BAV: Main Include for Pension Calculation RPCWPZ10 - documentation and ABAP source code RPCWPZ09 - documentation and ABAP source code