SAP Reports / Programs | Financials | Financial Supply Chain Management | Transaction Manager(FIN-FSCM-TRM-TM) SAP FIN

RFPM_REVERSE_AMORTIZE SAP ABAP Report - Securities: Reverse Last Amortization







RFPM_REVERSE_AMORTIZE 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 RFPM_REVERSE_AMORTIZE 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

FWACR - Reverse Amortization


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 RFPM_REVERSE_AMORTIZE. "Basic submit
SUBMIT RFPM_REVERSE_AMORTIZE AND RETURN. "Return to original report after report execution complete
SUBMIT RFPM_REVERSE_AMORTIZE 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: S_RLDEPO = D Securities account
Selection Text: S_REFKO = D Account assignment reference
Selection Text: S_RANL = D ID number
Selection Text: S_GSART = D Product type
Selection Text: S_BUKRS = D Company code
Selection Text: P_SIMKZ = D Test run
Selection Text: P_SGRDTR = D TR reversal reason
Selection Text: P_SGRDFI = FI reversal reason
Selection Text: P_REVTR = D Reversal only in TR
Selection Text: P_PERIOD = D Posting period
Selection Text: P_DEPGRP = D Add sec. accounts to groups
Selection Text: P_DBUDAT = D Posting date
Selection Text: P_DBLDAT = D Document date
Title: Securities: Reverse Last Amortization
Text Symbol: 012 = Sec.acct
Text Symbol: 011 = ID number
Text Symbol: 010 = Company code
Text Symbol: 009 = Test run
Text Symbol: 008 = The reversal affected the last amortization in the following positions:
Text Symbol: 007 = Key date:
Text Symbol: 006 = No reversal takes place
Text Symbol: 005 = Posting errors have occurred
Text Symbol: 004 = Log: Reverse Amortization
Text Symbol: 003 = Posting parameters
Text Symbol: 002 = Reversal parameters
Text Symbol: 001 = General selections


INCLUDES used within this REPORT RFPM_REVERSE_AMORTIZE

INCLUDE ACTOP.


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:

TPM_TRG_OBSOLETE_TRANSACTIONS CALL FUNCTION 'TPM_TRG_OBSOLETE_TRANSACTIONS' EXPORTING im_old_transaction = sy-tcode im_new_transaction = 'TPM2' im_new_report = 'RTPM_TRL_VALUATION_REVERSAL'.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = 'T0' i_dtype = 'E' i_msgnr = '881'.

TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING id = 'SELECTION'.

MASTER_DATA_READ_SEC CALL FUNCTION 'MASTER_DATA_READ_SEC' EXPORTING i_ranl = wrk_depot-ranl IMPORTING e_vwpanla = wrk_vwpanla.

TB_DEAL_AUTHORITY_CHECK CALL FUNCTION 'TB_DEAL_AUTHORITY_CHECK' EXPORTING bukrs = wrk_depot-bukrs sgsart = wrk_vwpanla-gsart rldepo = wrk_depot-rldepo trfct = '02' "Funktion: Bewertung actvt = activit " 85: stornieren, 48: simulieren EXCEPTIONS authority = 1 OTHERS = 2.

DEPOT_GROUPS_CHECK CALL FUNCTION 'DEPOT_GROUPS_CHECK' EXPORTING i_flag_add = p_depgrp IMPORTING e_errorflag = g_error_flag CHANGING c_tab_bukrs_ranl_rldepo = g_tab_depot.

TRANSACTIONS_SEC_LOAD_I_VIEW CALL FUNCTION 'TRANSACTIONS_SEC_LOAD_I_VIEW' EXPORTING bukrs = wrk_depot-bukrs ranl = wrk_depot-ranl rldepo = wrk_depot-rldepo type_of_selection = 'A' " append lines to table * FLAG_PLAN = ' ' flag_no_storno = 'X' TABLES tvwbevi = g_tab_vwbevi.

TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING id = 'WORK'.

TRANSACTIONS_SEC_LOAD_I_VIEW CALL FUNCTION 'TRANSACTIONS_SEC_LOAD_I_VIEW' EXPORTING bukrs = wrk_depot-bukrs ranl = wrk_depot-ranl rldepo = wrk_depot-rldepo type_of_selection = 'A' * FLAG_PLAN = ' ' flag_no_storno = 'X' TABLES tvwbevi = l_tab_vwbevi.

TRANSACTIONS_SEC_LOAD_P CALL FUNCTION 'TRANSACTIONS_SEC_LOAD_P' EXPORTING bukrs = wrk_depot-bukrs * FLAG_NO_PLAN_REF_IST = ' ' ranl = wrk_depot-ranl rldepo = wrk_depot-rldepo type_of_selection = 'A' TABLES tvwbepp = l_tab_vwbepp.

FWPO_TRANSACTIONS_GET CALL FUNCTION 'FWPO_TRANSACTIONS_GET' EXPORTING i_bukrs = wrk_depot-bukrs * I_POST_TRANSACTIONS = * I_CHANGED_ACTUAL_TRANSACTIONS = * I_NEW_PLAN_TRANSACTIONS = * I_DELETE_PLAN_TRANSACTIONS = i_storno_transactions = l_tab_storno i_old_plan_transactions = l_tab_vwbepp i_old_actual_transactions = l_tab_vwbevi * I_OLD_BEKI = EXCEPTIONS i_bukrs_initial = 1 import_tables_empty = 2 storno_and_post_transactions = 3 error_changed_actual_trans = 5 OTHERS = 6.

FWPO_TRANSACTIONS_CALCULATE CALL FUNCTION 'FWPO_TRANSACTIONS_CALCULATE' * IMPORTING * E_NEW_CASH_FLOW = EXCEPTIONS function_group_not_initialized = 1 error_loading_master_data = 2 error_calculating_cash_flow = 3 no_new_posting_flows_allowed = 4 OTHERS = 5 .

FWPO_TRANSACTIONS_POST CALL FUNCTION 'FWPO_TRANSACTIONS_POST' EXPORTING i_budat = p_dbudat i_bldat = p_dbldat i_period = p_period * I_SEVALPOST_RANL_LIST = * I_EXTERNAL_PRIMANOTA = ' ' * I_EXTERNAL_BUDAT_FOR_PAB = ' ' i_simulation = p_simkz i_reversal = 'X' i_reversal_type = reversal_type i_reversal_reason = p_sgrdtr i_fi_reversal_reason = p_sgrdfi i_tcode = con_tcode_storno * I_BUS_TRANS_DETAIL = * IMPORTING * E_NEW_BEKI = * E_NEW_BEPI = * E_NUMBER_FI_POSTINGS = EXCEPTIONS function_group_not_initialized = 1 error_updating_i_transactions = 2 error_updating_p_transactions = 3 error_beki_not_found = 4 error_no_storno_sign = 5 error_authority_check = 6 error_storno_and_external_prim = 7 error_accounting_interface = 8 fi_reversal_reason_initial = 9 error_changed_actual_trans = 10 OTHERS = 11.

RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = repid TABLES selection_table = t_selopt.

RS_LIST_SELECTION_TABLE CALL FUNCTION 'RS_LIST_SELECTION_TABLE' EXPORTING report = repid seltext = 'X' TABLES sel_tab = t_selopt.

TR_SE_ACC_REVERSAL_PROTOCOL CALL FUNCTION 'TR_SE_ACC_REVERSAL_PROTOCOL' EXPORTING i_titel = title.

CHECK_PERIOD_END_CLOSING CALL FUNCTION 'CHECK_PERIOD_END_CLOSING' EXPORTING i_date = u_datum i_bukrs = l_wrk_depot-bukrs i_ranl_rldepo_list = l_tab_ranl_rldepo i_actual_transactions = l_tab_vwbevi i_check_modus = 1 IMPORTING e_result = l_result * E_IT_PAB_IN_DEPOT = * E_IT_CLOSED_TRANSACTIONS = .



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