SAP Reports / Programs | Financial Services | Loans Management(FS-CML) SAP FS

RFVDABG1 SAP ABAP Report - Loans: Reset Accruals/Deferrals







RFVDABG1 is a standard Executable ABAP Report 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 RFVDABG1 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FNRC - Accruals/deferrals reset


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 RFVDABG1. "Basic submit
SUBMIT RFVDABG1 AND RETURN. "Return to original report after report execution complete
SUBMIT RFVDABG1 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: SO_SWHR = D .
Selection Text: SO_STIT = D .
Selection Text: SO_RKONT = D .
Selection Text: SO_RANL = D .
Selection Text: SO_GSART = D .
Selection Text: SO_BUKRS = D .
Selection Text: SO_BEWAI = D .
Selection Text: PA_TEST = D .
Selection Text: PA_SIMU = D .
Selection Text: PA_PROT = D .
Selection Text: PA_NOERR = D .
Selection Text: PA_NBUCH = Posting Date of Reset
Selection Text: PA_FAELL = Accrual/Deferral Key Date
Selection Text: PA_BUTX = Reset Posting Text
Selection Text: PA_BUPER = D .
Selection Text: PA_BLDAT = D .
Title: Loans: Reset Accruals/Deferrals
Text Symbol: U05 = Simulation
Text Symbol: U03 = Posting Date of Reset
Text Symbol: U02 = Accrual/Deferral Key Date:
Text Symbol: U01 = | Contract number | Flow type | Reset amount | Amount in LC |
Text Symbol: T21 = Product type does not exist
Text Symbol: T07 = No messages exist
Text Symbol: T06 = Messages for Resetting Accrual / Deferral
Text Symbol: T05 = Error log
Text Symbol: T04 = Product type does not exist
Text Symbol: T03 = Loans - Reset accruals/deferrals
Text Symbol: S03 = Pr.Type Total:
Text Symbol: S02 = CoCd Total:
Text Symbol: N12 = Contract No.
Text Symbol: N11 = Company Code
Text Symbol: I30 = Posting Control
Text Symbol: I20 = Control Parameters
Text Symbol: I10 = General Selections
Text Symbol: C01 = Selection entries: Reset accruals/deferrals for loans
Text Symbol: B02 = Posting Log Reset (Sim.)
Text Symbol: B01 = Posting log: Reset accruals/deferrals


INCLUDES used within this REPORT RFVDABG1

INCLUDE APPL_LOG.




INCLUDE RKASMAWF.
INCLUDE SCHEDMAN_EVENTS.


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:

INIT_EVENT_REGISTER_FORM CALL FUNCTION 'INIT_EVENT_REGISTER_FORM' EXPORTING formname = 'SET_UPDATE_TASK_LOCAL' progname = 'RFVDABG1'.

SCMA_JOB_STARTED_FROM_SCMA CALL FUNCTION 'SCMA_JOB_STARTED_FROM_SCMA' EXPORTING BEFORE_INIT = 'X' WF_WITEM = wf_witem IMPORTING E_SCMA = flg_schedman.

FVD_TRLE_DISTRIBUTOR_IF CALL FUNCTION 'FVD_TRLE_DISTRIBUTOR_IF' EXPORTING i_flg_log = '3' " collect posting protocol EXCEPTIONS OTHERS = 2.

FVD_SEL_TDPZZ_READ CALL FUNCTION 'FVD_SEL_TDPZZ_READ' IMPORTING e_wrk_tdpzz = g_wrk_tdpzz EXCEPTIONS internal_error = 1 not_found = 2 OTHERS = 3.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING mode = 'CURRENT' new_list_id = 'X' no_dialog = 'X' IMPORTING out_archive_parameters = arc_params out_parameters = params valid = valid.

LOAN_FLOWS_SUPPLY CALL FUNCTION 'LOAN_FLOWS_SUPPLY' EXPORTING i_bukrs = i_vdarl-bukrs i_ranl = i_vdarl-ranl read_scheduled_records = ' ' read_posted_records = 'X' no_storno = 'X' TABLES o_vzzbepp = zitibepp EXCEPTIONS ranl_not_found = 1 i_dvalut_until_too_early = 2 OTHERS = 3.

EXCHANGE_RATE_SERVICE CALL FUNCTION 'EXCHANGE_RATE_SERVICE' EXPORTING i_betrag = i_abgr-bbwhr I_GDATU = PA_NBUCH I_KURSBER = l_rkursber i_waehrung_nach = t001-waers i_waehrung_von = i_vdarl-santwhr IMPORTING O_BETRAG = l_bhwhr EXCEPTIONS OTHERS = 8 .

LOAN_ACCOUNT_PREPARE CALL FUNCTION 'LOAN_ACCOUNT_PREPARE' EXPORTING i_vdarl = i_vdarl TABLES ivdbepp = ivdbepp xvdbepp = post zitibepp = post_ziti EXCEPTIONS empty_ivdbepp = 01.

SET_PRINT_PARAMETERS CALL FUNCTION 'SET_PRINT_PARAMETERS' EXPORTING in_archive_parameters = arc_params in_parameters = params new_list_id = space.

ACCOUNT_REPORT CALL FUNCTION 'ACCOUNT_REPORT' EXPORTING batch_kz = 'X' * header_text = text-b01 "N922662 * name = text-b01 "N922662 header_text = l_buprot name = l_buprot only_in_spool = sy-batch rantyp = '1' sverrkz = space switch_waer = ' ' repid = l_repid.

ERROR_RULE_ACCOUNT CALL FUNCTION 'ERROR_RULE_ACCOUNT' EXPORTING batch_kz = 'X' "hier immer 'X' channel = '0' "O-Bildschirm name = text-t05.

ACCOUNT_REPORT_DIALOG CALL FUNCTION 'ACCOUNT_REPORT_DIALOG' EXPORTING flg_error_account = ' ' * name = text-b01 " Buchungsprot. Rücknahme

FVD_TRLE_DISTRIBUTOR_IF CALL FUNCTION 'FVD_TRLE_DISTRIBUTOR_IF' EXPORTING i_flg_log = '5' " posting protocol to spool EXCEPTIONS OTHERS = 2.

LOAN_MESSAGES_INITIALIZE CALL FUNCTION 'LOAN_MESSAGES_INITIALIZE' EXPORTING i_collect_and_send = ' ' i_reset = 'X'.

LOAN_POST CALL FUNCTION 'LOAN_POST' EXPORTING i_budat = u_dbudat "Buchungsdatum i_bktxt = pa_butx i_protocol = '1' * i_simu = space i_simu = pa_test "N922662 i_primanota = l_wrk_vdbepp-rpnnr i_superprimanota = u_rpnsup i_specialperiod = pa_buper i_protocol_text = text-b01 i_omit_checks = space i_delete_plan = space "Plansätze nicht löschen i_update_ist = space i_clear_op_buffer = 'X' "Puffer mit OPs löschen i_bldat = pa_bldat TABLES xt_vdbepp = u_tab_post xt_vdbeki = ivdbeki xt_vdbepi = ivdbepi EXCEPTIONS posting_impossible = 1 OTHERS = 2.

LOAN_MESSAGES_STOP CALL FUNCTION 'LOAN_MESSAGES_STOP' EXCEPTIONS a_message = 1 e_message = 2 i_message = 3 s_message = 4 w_message = 5 OTHERS = 6.

LOAN_MESSAGES_GIVE CALL FUNCTION 'LOAN_MESSAGES_GIVE' TABLES et_mesg = l_tab_mesg.

LOAN_IST_SCHREIBEN





CALL FUNCTION 'LOAN_IST_SCHREIBEN' EXPORTING I_FLG_SHADOW_TABLE = g_wrk_tdpzz-flg_accr_shadow "N1390715 TABLES ibeki = ivdbeki ibepi = ivdbepi.

FVD_TRLE_DISTRIBUTOR_IF CALL FUNCTION 'FVD_TRLE_DISTRIBUTOR_IF' EXPORTING i_flg_simul = pa_test "N922662 i_flg_log = '1' " display log in popup i_flg_distribute = 'X' " call TR-Distributor i_flg_no_calc_org_amt = 'X' "N1682919 EXCEPTIONS warning_delete_bt = 0 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = l_repid it_fieldcat = l_tab_fieldcat it_sort = l_tab_sort it_events = l_tab_event i_save = 'A' " note 817533 2005 CS TABLES t_outtab = u_abgr.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = s_tab_header.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING mode = 'CURRENT' new_list_id = space no_dialog = 'X' IMPORTING out_archive_parameters = l_arc_params out_parameters = l_params.

SET_PRINT_PARAMETERS CALL FUNCTION 'SET_PRINT_PARAMETERS' EXPORTING in_archive_parameters = l_arc_params in_parameters = l_params new_list_id = space.

DEQUEUE_EFVDARL CALL FUNCTION 'DEQUEUE_EFVDARL' EXPORTING bukrs = s_bukrs sarchiv = space ranl = s_ranl.

FVD_ENQUEUE_EFVDARL CALL FUNCTION 'FVD_ENQUEUE_EFVDARL' EXPORTING mode_vdarl = 'E' mandt = sy-mandt bukrs = u_bukrs sarchiv = space ranl = u_ranl EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

NUMBER_RANGE_INTERVAL_LIST CALL FUNCTION 'NUMBER_RANGE_INTERVAL_LIST' EXPORTING object = 'FVVD_PNNR' subobject = p_post_beki_bukrs TABLES interval = intervalle EXCEPTIONS nr_range_nr1_not_found = 1 nr_range_nr1_not_intern = 2 nr_range_nr2_must_be_space = 3 nr_range_nr2_not_extern = 4 nr_range_nr2_not_found = 5 object_not_found = 6 subobject_must_be_space = 7 subobject_not_found = 8 OTHERS = 9.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = intervalle-nrrangenr object = 'FVVD_PNNR' quantity = '1' subobject = p_post_beki_bukrs * toyear = '0000' * ignore_buffer = ' ' IMPORTING number = p_primanota quantity = menge returncode = retcode EXCEPTIONS interval_not_found = 1 number_range_not_intern = 2 object_not_found = 3 quantity_is_0 = 4 quantity_is_not_1 = 5 interval_overflow = 6 OTHERS = 7.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = '01' object = con_nr_object * QUANTITY = E03 subobject = p_post_beki_bukrs * TOYEAR = E05 IMPORTING number = p_superprimanota * QUANTITY = I02 * RETURNCODE = I03 EXCEPTIONS interval_not_found = 01 number_range_not_intern = 02 object_not_found = 03 quantity_is_0 = 04.

RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = ld_repid TABLES selection_table = lt_rsparams EXCEPTIONS not_found = 1 no_report = 2 OTHERS = 3.

KPEP_MONI_INIT_RECORD CALL FUNCTION 'KPEP_MONI_INIT_RECORD' EXPORTING ls_detail = ls_detail ls_witem = ls_witem * ls_appl = ls_spec IMPORTING ls_key = ls_key TABLES lt_selkrit = lt_select.

KPEP_MONI_CLOSE_RECORD CALL FUNCTION 'KPEP_MONI_CLOSE_RECORD' EXPORTING ls_key = ls_key ls_scma_event = l_scma_event ls_message = ls_sch_msg CHANGING ld_aplstat = ld_aplstat EXCEPTIONS no_id_given = 1 OTHERS = 2.



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