RFVDPA02 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report program RFVDPA02 updates the capital amounts (RLOAM) in the rollover file structure VDPOPO as of a certain calculation date...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RFVDPA02 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FNFU - Rollover: Update file
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.
Selection Text: PZR_RKP = Reg. for 'Plans repaymnt'
Selection Text: PZR_RKI = Reg. for 'Is repaid'
Selection Text: PZR = Reassign if paid back?
Selection Text: PSVYM = Version YYYYMM
Selection Text: PSVNR = Version Number
Selection Text: PSTYP = Activity Category
Selection Text: PSREG = Register
Selection Text: PSIMULA = Simulation
Selection Text: PRORD = File
Selection Text: PRHORD = Main File
Selection Text: PRANL = Loan Number
Selection Text: PPROTOK = Log
Selection Text: PDATUM = Calculation Date
Selection Text: PBUKRS = Company Code
Title: Update of VDPOPO Including Reassignment to 'Repaid'
Text Symbol: P04 = Version YYYYMM
Text Symbol: P05 = Version Number
Text Symbol: P06 = File
Text Symbol: P07 = Register
Text Symbol: P08 = Loan Number
Text Symbol: P03 = Main File
Text Symbol: P02 = Activity Category
Text Symbol: P01 = Company Code
Text Symbol: 012 = Parameters:
Text Symbol: 011 = After
Text Symbol: 010 = Before
Text Symbol: 009 = Act.Rem.Capital
Text Symbol: 008 = Plan.Rem.Capital
Text Symbol: 007 = Reg.
Text Symbol: 006 = Loan Number
Text Symbol: 005 = CoCd
Text Symbol: 004 = The following register does not exist:
Text Symbol: 003 = No capital determined (RLOAM)
Text Symbol: 002 = No condition found (VZZKOKO)
Text Symbol: 001 = No loan found (VDARL)
Text Symbol: P09 = Calculation Date
Text Symbol: P14 = Log
Text Symbol: P13 = Simulation
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
FVD_DB_VDARL_GET_SNG CALL FUNCTION 'FVD_DB_VDARL_GET_SNG' EXPORTING i_bukrs = IVDPOPO-BUKRS i_sarchiv = space i_ranl = IVDPOPO-RANL IMPORTING E_STR_VDARL = vdarl EXCEPTIONS CONTRACT_NOT_FOUND = 1 OTHERS = 2.
VALID_VZZKOKO_SELECT CALL FUNCTION 'VALID_VZZKOKO_SELECT' EXPORTING I_BUKRS = IVDPOPO-BUKRS I_DATUM = PDATUM I_RANL = IVDPOPO-RANL I_SANLF = VDARL-SANLF I_SKSTYP = SKSTYP IMPORTING E_VZZKOKO = TMP_VZZKOKO EXCEPTIONS NOT_FOUND = 01.
LOAN_AMOUNT_CALCULATE CALL FUNCTION 'LOAN_AMOUNT_CALCULATE' EXPORTING CALCULATION_DATE = PDATUM CONVERSION_CURRENCY = T001-WAERS CONVERSION_DATE = PDATUM KOKO = TMP_VZZKOKO VDARL = VDARL X_CONVERT_CURRENCY = 'X' X_LOAD_CONDITIONS = 'X' X_LOAD_I = 'X' X_LOAD_P = 'X' IMPORTING RLOAM = IRLOAM TABLES I_BEPP = IBEPP I_KOPO = IKOPO EXCEPTIONS NO_CONVERSION_CURRENCY = 01 NO_DATE_FOR_CONVERSION = 02.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.