SAP Reports / Programs

RTPM_TRL_DERIVE_TRANSACTIONS SAP ABAP Report - Generate Derived Flows







RTPM_TRL_DERIVE_TRANSACTIONS 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_TRL_DERIVE_TRANSACTIONS 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

TPM27 - Generate Derived Flows


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 RTPM_TRL_DERIVE_TRANSACTIONS. "Basic submit
SUBMIT RTPM_TRL_DERIVE_TRANSACTIONS AND RETURN. "Return to original report after report execution complete
SUBMIT RTPM_TRL_DERIVE_TRANSACTIONS 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_BUKRS = D .
Selection Text: SO_CHAR = D .
Selection Text: SO_EACUR = Currency
Selection Text: SO_EADEA = External Account
Selection Text: SO_EXTAC = External Account (Pos)
Selection Text: SO_FAC = D .
Selection Text: SO_FCBKS = D .
Selection Text: SO_FINPR = D .
Selection Text: SO_FLGSH = D .
Selection Text: SO_FUND = D .
Selection Text: SO_GRANT = D .
Selection Text: SO_INREF = D .
Selection Text: SO_KONTR = D .
Selection Text: SO_LOANR = D .
Selection Text: SO_MAAGR = D .
Selection Text: SO_OTCNR = D .
Selection Text: SO_PFOTC = D .
Selection Text: SO_PORTF = D .
Selection Text: SO_POSAC = D .
Selection Text: SO_PT = D .
Selection Text: SO_RANL = D .
Selection Text: SO_RANLP = D .
Selection Text: SO_SECAC = D .
Selection Text: SO_TID = D .
Selection Text: SO_TTYPE = D .
Selection Text: SO_VAREA = D .
Selection Text: SO_VCLS = D .
Selection Text: SO_VORG = D .
Selection Text: SO_ASS = D .
Selection Text: PA_BEL = D .
Selection Text: PA_BUD = D .
Selection Text: PA_LOG = Log Display
Selection Text: PA_MT = Multitasking
Selection Text: PA_PER = D .
Selection Text: PA_RER = D .
Selection Text: PA_SIZE = Package Size
Selection Text: PA_UPD = Ignore update period rule
Selection Text: SO_AKTIV = D .





Selection Text: SO_ACGRP = D .
Selection Text: P_SIMU = Test Run
Selection Text: P_SEC = Securities
Selection Text: P_POS = Listed Options/Futures
Selection Text: P_LOA = Loans
Selection Text: P_DEA = OTC Transactions
Title: Generate Derived Flows
Text Symbol: POS = Listed Derivatives
Text Symbol: SEC = Securities
Text Symbol: PRC = % processed
Text Symbol: PRD = Product Group
Text Symbol: LOA = Loans
Text Symbol: GDD = MM, Forex, OTC Derivatives
Text Symbol: FIC = Posting Control
Text Symbol: EXA = External Accounts
Text Symbol: DEA = OTC Transactions
Text Symbol: DBU = Posting Date
Text Symbol: CPA = Controle Parameters
Text Symbol: CMN = General Selections
Text Symbol: SPC = General Selections
Text Symbol: XBU = If intended posting/reversal date is before


INCLUDES used within this REPORT RTPM_TRL_DERIVE_TRANSACTIONS

INCLUDE ITPM_POSITION_SELECTION.


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_READ_CUSTOMIZING CALL FUNCTION 'TPM_TRG_READ_CUSTOMIZING' EXPORTING im_application = '005' IMPORTING ex_flag_ad = lv_flg_multi.

AUTHORITY_CHECK_RFC CALL FUNCTION 'AUTHORITY_CHECK_RFC' EXPORTING functiongroup = 'TPM_TRL_POSITION' EXCEPTIONS user_dont_exist = 1 rfc_no_authority = 2 OTHERS = 3.

TPM_TRG_GET_PROD_CAT_RANGES CALL FUNCTION 'TPM_TRG_GET_PROD_CAT_RANGES' IMPORTING ex_rng_prod_cat_sec = l_range_pcs ex_rng_prod_cat_loa = l_range_pcl ex_rng_prod_cat_pos = l_range_pcp ex_rng_prod_cat_otc = l_range_pcd ex_rng_prod_cat_ea = l_range_pce.

TPM_TRG_READ_CUSTOMIZING CALL FUNCTION 'TPM_TRG_READ_CUSTOMIZING' EXPORTING im_application = '005' IMPORTING ex_wa_groupname = lv_groupname ex_wa_max_tasks = lv_max_tasks ex_tab_message = lt_message ex_flag_ad = lv_flg_multi.

AUTHORITY_CHECK_RFC CALL FUNCTION 'AUTHORITY_CHECK_RFC' EXPORTING functiongroup = 'TPM_TRL_POSITION' EXCEPTIONS user_dont_exist = 1 rfc_no_authority = 2 OTHERS = 3.

TPM_GENERATE_DERIVED_TRANS CALL FUNCTION 'TPM_GENERATE_DERIVED_TRANS' EXPORTING im_tcode = lv_tcode im_tab_position_oid = lt_position_oid im_flg_testrun = l_flg_testrun im_fi_post_date = pa_bud im_fi_post_period = pa_per im_fi_document_date = pa_bel im_reversal_reason = pa_rer im_dbt_aplan_flg = lv_dbt_aplan_flg im_commit_work = lv_commit_work im_show_log = pa_log IMPORTING ex_tab_ph_message = lt_ph_message ev_return = lv_return et_alv_trl_transactions_flat = lt_alv_trl_transactions_flat et_alv_created_der_flows_flat = lt_alv_created_der_flows_flat et_alv_deleted_der_flows_flat = lt_alv_deleted_der_flows_flat.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = lv_progress_percent text = lv_progress_text.

TPM_GENERATE_DERIVED_TRANS





CALL FUNCTION 'TPM_GENERATE_DERIVED_TRANS' STARTING NEW TASK lv_taskname DESTINATION IN GROUP lv_groupname PERFORMING receive_data_deriv_trans ON END OF TASK EXPORTING im_tcode = lv_tcode im_tab_position_oid = lt_position_oid im_flg_testrun = l_flg_testrun im_fi_post_date = pa_bud im_fi_post_period = pa_per im_fi_document_date = pa_bel im_reversal_reason = pa_rer im_dbt_aplan_flg = lv_dbt_aplan_flg im_commit_work = lv_commit_work im_show_log = pa_log 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 = ls_mt_info-servername EXCEPTIONS OTHERS = 1.

TPM_TRL_DERIV_TRANS_PROT_SET CALL FUNCTION 'TPM_TRL_DERIV_TRANS_PROT_SET' EXPORTING it_alv_trl_transactions_flat = lt_alv_trl_transactions_flat it_alv_created_der_flows_flat = lt_alv_created_der_flows_flat it_alv_deleted_der_flows_flat = lt_alv_deleted_der_flows_flat ip_protocol_handler = lp_protocol_handler.

TPM_TRL_DERIV_TRANS_PROTOCOL CALL FUNCTION 'TPM_TRL_DERIV_TRANS_PROTOCOL' EXPORTING i_simulation = p_simu.

TPM_TRL_SAVE_OPTIONS CALL FUNCTION 'TPM_TRL_SAVE_OPTIONS' EXPORTING i_str_tropt = .



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