RAVRSN00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report RAVRSN00 enables you to recalculate base insurable values for the last closed fiscal year, without reopening the year...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 RAVRSN00 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
AAVN - Recalculate base insurable value
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: P_ABGJA = Recalculate from fiscal year
Selection Text: P_TESTL = Test run
Selection Text: S_ANLN1 = Main asset number
Selection Text: S_ANLN2 = Asset Subnumber
Selection Text: S_BUKRS = Company code
Title: Recalculate Base Insurable Value
Text Symbol: P01 = For fiscal year
Text Symbol: F03 = Supplementary text
Text Symbol: F02 = Asset ;
Text Symbol: F01 = CoCd;
Text Symbol: C05 = Insurable value could not be determined
Text Symbol: 011 = **
Text Symbol: 010 = *
Text Symbol: 006 = Year
Text Symbol: 005 = Class
Text Symbol: 004 = Name ;
Text Symbol: 003 = Cap. date
Text Symbol: 002 = SNo.
Text Symbol: 001 = Main number
Text Symbol: P02 = Test run
Text Symbol: W02 = New base value;
Text Symbol: W01 = Old base value;
Text Symbol: U02 = Creation date:
Text Symbol: U01 = Report date:
Text Symbol: T02 = Test run for fiscal year &V1&
Text Symbol: T01 = Update run for fiscal year &V1&
Text Symbol: S01 = Company code
INCLUDE LAFARCON.
INCLUDE LAFARTAB.
No SAP DATABASE tables are accessed within this REPORT code!
AM_CONFIRM_LIMIT CALL FUNCTION 'AM_CONFIRM_LIMIT' EXPORTING i_test = p_testl IMPORTING e_leave_prog = answer.
T093C_READ_MULTIPLE CALL FUNCTION 'T093C_READ_MULTIPLE' TABLES t_t093c = x093c.
AM_T001_READ CALL FUNCTION 'AM_T001_READ' EXPORTING f_t001 = t001 IMPORTING f_t001 = t001.
T093B_READ CALL FUNCTION 'T093B_READ' EXPORTING f_t093b = t093b IMPORTING f_t093b = t093b.
T093B_READ CALL FUNCTION 'T093B_READ' EXPORTING f_t093b = t093b IMPORTING f_t093b = t093b EXCEPTIONS OTHERS = 8.
HELPSCREEN_NA_CREATE CALL FUNCTION 'HELPSCREEN_NA_CREATE' EXPORTING langu = sy-langu meldung = hlp-meldung meld_id = 'AU' meld_nr = hlp-meldnr titel = hlp-titel msgv1 = hlp-msgv1 msgv2 = hlp-msgv2 msgv3 = hlp-msgv3 msgv4 = hlp-msgv4.
FIRST_AND_LAST_DAY_IN_YEAR_GET CALL FUNCTION 'FIRST_AND_LAST_DAY_IN_YEAR_GET' EXPORTING i_gjahr = p_abgja i_periv = x093c-periv IMPORTING e_last_day = ld_date.
VIEW_READ_RANGE_TRIGGER_ADA CALL FUNCTION 'VIEW_READ_RANGE_TRIGGER_ADA' EXPORTING i_abra = iabra IMPORTING e_goon = ld_goon TABLES t_dopt = dopt t_r_afabe = r_afabe t_r_anln1 = s_anln1 t_r_anln2 = s_anln2 t_anlaz = xanlaz t_ftab_anlaz = lt_ftab EXCEPTIONS no_records_found = 8.
GET_NEXT_ANLV CALL FUNCTION 'GET_NEXT_ANLV' TABLES t_anlv = xanlv EXCEPTIONS OTHERS = 8.
GET_NEXT_ANLW CALL FUNCTION 'GET_NEXT_ANLW' TABLES t_anlw = xanlw EXCEPTIONS OTHERS = 8.
GET_NEXT_ANLB CALL FUNCTION 'GET_NEXT_ANLB' TABLES t_anlb = xanlb EXCEPTIONS OTHERS = 8.
GET_NEXT_ANLC CALL FUNCTION 'GET_NEXT_ANLC' TABLES t_anlc = xanlc EXCEPTIONS OTHERS = 8.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
INSURANCE_VALUE_CALCULATE CALL FUNCTION 'INSURANCE_VALUE_CALCULATE' EXPORTING i_anlv = xanlv i_gjahr = ld_gjahr i_rech_basiswrt = 'X' IMPORTING e_lnran = ld_lnran e_vrsba = ld_vrsba e_vsbaj = ld_vsbaj TABLES t_anlb = xanlb t_anlc = xanlc EXCEPTIONS OTHERS = 08.
RAJABS_UPDATE CALL FUNCTION 'RAJABS_UPDATE' TABLES t_anlv = xanlv t_anlw = xanlw.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.