RTPM_ACCRUAL_DEFERRAL 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 RTPM_ACCRUAL_DEFERRAL into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
TPM44 - Fin.Products Profit Accrual/Deferral
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: SO_MAAGR = Master Agreement
Selection Text: SO_LOANR = Contract Number
Selection Text: SO_KONTR = Business Partner
Selection Text: SO_INREF = Internal Ref.
Selection Text: SO_GRANT = Grant
Selection Text: SO_FUND = Fund
Selection Text: SO_FLOWT = Update Type Income
Selection Text: SO_FLGSH = D .
Selection Text: SO_FINPR = Finance Project
Selection Text: SO_FCBKS = D .
Selection Text: SO_FAC = Facility
Selection Text: SO_CURR = D .
Selection Text: SO_CRCY = D .
Selection Text: SO_CHAR = Characteristics
Selection Text: SO_BUKRS = D .
Selection Text: SO_BUKRO = D .
Selection Text: SO_ASS = Assignment
Selection Text: SO_AKTIV = Active Status
Selection Text: SO_AC_RF = D .
Selection Text: SO_ACGRP = D .
Selection Text: SO_ACGRO = D .
Selection Text: P_VAR = Layout
Selection Text: P_ULTIMO = D .
Selection Text: SO_XREF = D .
Selection Text: SO_VORG = Activity Category
Selection Text: SO_VCLSO = D .
Selection Text: SO_VCLS = D .
Selection Text: SO_VAREO = D .
Selection Text: SO_VAREA = D .
Selection Text: SO_USER = D .
Selection Text: SO_UP_DT = D .
Selection Text: SO_TTYPE = Transaction Type
Selection Text: SO_TID = D .
Selection Text: SO_SECAC = D .
Selection Text: SO_SCACO = D .
Selection Text: SO_SANLF = D .
Selection Text: SO_RANLP = ID Number
Selection Text: SO_RANLO = D .
INCLUDE RTPM_ACCRUAL_DEFERRAL_TOP.
INCLUDE RTPM_AD_VARIANT_SELECTION.
No SAP DATABASE tables are accessed within this REPORT code!
TPM_AD_SELECT_TRL_POSITIONS CALL FUNCTION 'TPM_AD_SELECT_TRL_POSITIONS' EXPORTING im_key_date = p_keydat im_flg_securities = p_sec im_flg_option_future = p_pos im_flg_deals = p_dea im_rngcompanycodes = so_bukrs[] im_rngvalareas = so_varea[] im_rngproducttypes = so_pt[] im_rngvalclasses = so_vcls[] im_rng_fund = so_fund[] im_rng_grant_nbr = so_grant[] im_rngsecurityids = so_ranl[] im_rngsecurityaccounts = so_secac[] im_rngaccountgroups = so_acgrp[] im_rngportfolios = so_portf[] im_rngsecuritypids = so_ranlp[] im_rngpositionaccounts = so_posac[] im_tab_bukrs_dealnumber = g_tab_sel_otc_deal im_rng_product_cats = so_sanlf[] im_rng_position_curr = so_curr[] im_rng_account_ref = so_ac_rf[] im_rng_changename = so_user[] im_rng_changedate = so_up_dt[] im_rng_transaction_curr = so_crcy[] im_rng_ext_ref = so_xref[] IMPORTING * ex_tab_position_guid = g_tab_positions.
TPM_TRG_READ_CUSTOMIZING CALL FUNCTION 'TPM_TRG_READ_CUSTOMIZING' EXPORTING im_application = '3' IMPORTING ex_wa_groupname = g_wa_groupname ex_wa_max_tasks = g_wa_max_tasks ex_tab_message = g_tab_message ex_flag_ad = g_flag_multi.
AUTHORITY_CHECK_RFC CALL FUNCTION 'AUTHORITY_CHECK_RFC' EXPORTING functiongroup = 'TPM_TRLI_AD' EXCEPTIONS user_dont_exist = 1 rfc_no_authority = 2 OTHERS = 3.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = g_wa_progress_percent text = g_wa_progress_text.
TPM_AD_ACCRUAL_DEFERRAL CALL FUNCTION 'TPM_AD_ACCRUAL_DEFERRAL' EXPORTING im_progr = p_progr im_keydat = p_keydat im_includ = p_includ im_ultimo = p_ultimo im_test = p_test im_fidate = p_fidate im_rdate = p_rdate im_rfidat = p_rfidat im_docdat = p_docdat im_fiper = p_fiper im_rdoc = p_rdoc im_rfiper = p_rfiper im_tab_flowt = so_flowt[] im_flg_post = p_post im_only_fixed_var_int = p_only_f im_tab_positions_guid = g_tab_position_pkg im_tcode = sy-tcode IMPORTING ex_tab_ph_message = g_tab_ph_message ex_tab_accp = g_tab_accp ex_tab_accr = g_tab_accr ex_flg_accrued = g_flag_accrued.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = g_wa_progress_percent text = g_wa_progress_text.
TPM_AD_ACCRUAL_DEFERRAL CALL FUNCTION 'TPM_AD_ACCRUAL_DEFERRAL' STARTING NEW TASK g_wa_taskname DESTINATION IN GROUP g_wa_groupname PERFORMING ad_receive_data_positions ON END OF TASK EXPORTING im_progr = p_progr im_keydat = p_keydat im_includ = p_includ im_ultimo = p_ultimo im_test = p_test im_fidate = p_fidate im_rdate = p_rdate im_rfidat = p_rfidat im_docdat = p_docdat im_fiper = p_fiper im_rdoc = p_rdoc im_rfiper = p_rfiper im_tab_flowt = so_flowt[] im_flg_post = p_post im_only_fixed_var_int = p_only_f im_tab_positions_guid = g_tab_position_pkg im_tcode = sy-tcode EXCEPTIONS import_not_sufficient = 1 communication_failure = 2 system_failure = 3 resource_failure = 4 OTHERS = 5.
SPBT_GET_PP_DESTINATION CALL FUNCTION 'SPBT_GET_PP_DESTINATION' IMPORTING rfcdest = g_wa_ad_info-servername EXCEPTIONS OTHERS = 1.
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 RTPM_ACCRUAL_DEFERRAL or its description.
RTPM_ACCRUAL_DEFERRAL - Execute Accrual/Deferral of Expenses and Revenues RTPM_ACCRUAL_DEFERRAL - Execute Accrual/Deferral of Expenses and Revenues RTPM_ACCDEF_REPAIR1 - Repair Program: Reversal Accrual/Deferral Bus. Transactions (MM, DE) RTPM_ACCDEF_REPAIR1 - Repair Program: Reversal Accrual/Deferral Bus. Transactions (MM, DE) RTPM_ACCDEF_EXTBUSTRANSID_SET - Change External BUSTRANSID for Accrual/Deferral Business Transactions RTPM_ACCDEF_EXTBUSTRANSID_SET - Change External BUSTRANSID for Accrual/Deferral Business Transactions