SAP Reports / Programs

RFTMWRK1 SAP ABAP Report - Money Market: Collective Processing







RFTMWRK1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report provides an overview of Money Market transactions that correspond to the selection criteria specified...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 RFTMWRK1 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

TM00 - Money Market: Collective processing


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 RFTMWRK1. "Basic submit
SUBMIT RFTMWRK1 AND RETURN. "Return to original report after report execution complete
SUBMIT RFTMWRK1 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: P_510100 = Fixed-Term Deposits Invested
Selection Text: P_510200 = Fixed-Term Deposits Borrowed
Selection Text: P_520100 = Deposits at Notice Invested
Selection Text: P_520200 = Deposits at Notice Borrowed
Selection Text: P_530100 = Commercial Paper Purchases
Selection Text: P_530200 = Commercial Paper Sales
Selection Text: P_540100 = Cash Flow Transaction Invested
Selection Text: P_540200 = Cash Flow Transaction Borrowed
Selection Text: P_DSTICH = D .
Selection Text: P_V10 = Contract
Selection Text: P_V11 = Rollover
Selection Text: P_V12 = Termination
Selection Text: P_V20 = Contract Settlement
Selection Text: P_V21 = Rollover Settlement
Selection Text: P_V22 = Termination Settlement
Selection Text: P_VAR = D .
Selection Text: S_AKTIV = D .
Selection Text: S_BUKRS = D .
Selection Text: S_DATE = Date
Selection Text: S_DBLFZ = D .
Selection Text: S_DELFZ = D .
Selection Text: S_EXTREF = D .
Selection Text: S_FACNR = D .
Selection Text: S_KONTRH = D .
Selection Text: S_MERKM = D .
Selection Text: S_RDEALR = D .
Selection Text: S_REFER = D .
Selection Text: S_RFHA = D .
Selection Text: S_RMAID = D .
Selection Text: S_RPORTB = D .
Selection Text: S_SFHAAR = D .
Selection Text: S_SGSART = D .
Selection Text: S_USER = User
Selection Text: S_WGSCHF = Currency
Selection Text: S_ZUOND = D .
Selection Text: S_ZUONR = D .
Title: Money Market: Collective Processing
Text Symbol: V22 = Termination Settlement





Text Symbol: V21 = Rollover Settlement
Text Symbol: 001 = Posting Release Ind.
Text Symbol: 002 = Postg Rel.
Text Symbol: 003 = Posting Release Indicator
Text Symbol: 005 = Money Market: Collective Processing - Results
Text Symbol: 511 = Fixed-Term Deposits Invested
Text Symbol: 512 = Fixed-Term Deposits Borrowed
Text Symbol: 521 = Deposits at Notice Invested
Text Symbol: 522 = Deposits at Notice Borrowed
Text Symbol: 531 = Commercial Paper Purchases
Text Symbol: 532 = Commercial Paper Sales
Text Symbol: 541 = Cash Flow Transaction Invested
Text Symbol: 542 = Cash Flow Transaction Borrowed
Text Symbol: 551 = Interest Rate Instr. Invested
Text Symbol: 552 = Interest Rate Instr. Borrowed
Text Symbol: 561 = Facility Granted to Borrower
Text Symbol: 562 = Facility Granted by Lender
Text Symbol: C00 = General Selections
Text Symbol: C01 = Position Assignment
Text Symbol: C02 = Additional Fields
Text Symbol: CDT = Date
Text Symbol: CPG = Page
Text Symbol: CRP = Report
Text Symbol: CTM = Time
Text Symbol: CUP = Entered/Last Changed by
Text Symbol: CUS = User
Text Symbol: D00 = Product and Trans. Cat.
Text Symbol: DSL = Deselect All
Text Symbol: HEA = Transaction Category
Text Symbol: ITM = Transaction
Text Symbol: L01 = Log Details
Text Symbol: L02 = Log
Text Symbol: OUT = Output Control
Text Symbol: SLC = Select All
Text Symbol: V00 = Current Activity Cat.
Text Symbol: V10 = Contract
Text Symbol: V11 = Rollover
Text Symbol: V12 = Termination
Text Symbol: V20 = Contract Settlement





INCLUDES used within this REPORT RFTMWRK1

INCLUDE IFTRCON_APPL_GEN.


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:

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_SELECT_ALL' text = text-slc "add_stdinf = space info = text-slc IMPORTING result = dt_slca EXCEPTIONS OTHERS = 1.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_DESELECT_ALL' text = text-dsl "add_stdinf = space info = text-dsl IMPORTING result = dt_dsla EXCEPTIONS OTHERS = 1.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_SELECT_ALL' text = text-slc "add_stdinf = space info = text-slc IMPORTING result = at_slca EXCEPTIONS OTHERS = 1.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_DESELECT_ALL' text = text-dsl "add_stdinf = space info = text-dsl IMPORTING result = at_dsla EXCEPTIONS OTHERS = 1.

TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING id = 'SELECTION' EXCEPTIONS OTHERS = 0.

TB_DOMAINVALUE_GET_TEXT CALL FUNCTION 'TB_DOMAINVALUE_GET_TEXT' EXPORTING name = 'SEFFMETH' value = w_ftr-seffmeth IMPORTING text = w_ftr-xeffmeth.

FTR_PORTFOLIO_GET_TEXT call function 'FTR_PORTFOLIO_GET_TEXT' exporting pi_companycode = w_ftr-bukrs pi_portfolio_id = w_ftr-rportb IMPORTING PE_PORTFOLIO_TEXT = w_ftr-xportb EXCEPTIONS NOT_FOUND = 1 OTHERS = 2 .

DEALDATA_READ CALL FUNCTION 'DEALDATA_READ' EXPORTING all_conditions_and_positions = xtrue companycode = vtbfha-bukrs currently_active_status = xtrue dealno = vtbfha-rfha statusno = vtbfhazu-rfhazu via_statuspointer = xtrue TABLES conditions = t_finko positions = t_fhapo EXCEPTIONS OTHERS = 01.

TM_AMOUNTS_DETERMINE_NET CALL FUNCTION 'TM_AMOUNTS_DETERMINE_NET' EXPORTING cut_off_date = vtbfha-dblfz "SR HW828920 IMPORTING amounts = vtbakku nominal_amount = l_nominal_amt TABLES transactions = t_fhapo.

TM_AMOUNTS_DETERMINE_NET CALL FUNCTION 'TM_AMOUNTS_DETERMINE_NET' EXPORTING cut_off_date = h_cod IMPORTING amounts = vtbakku nominal_amount = l_nominal_amt TABLES transactions = t_fhapo.

TM_INTEREST_RATE_DETERMINE CALL FUNCTION 'TM_INTEREST_RATE_DETERMINE' exporting cut_off_date = p_dstich importing interest_rate = w_ftr-pzins capitalization = w_ftr-szinskap exponential_calculation = w_ftr-jexpozins TABLES conditions = t_finko.

TB_DOMAINVALUE_GET_TEXT CALL FUNCTION 'TB_DOMAINVALUE_GET_TEXT' EXPORTING name = 'T_SNPVCAL' value = vtbfha-snpvcal IMPORTING text = w_ftr-xnpvcal.

DEALDATA_READ CALL FUNCTION 'DEALDATA_READ' EXPORTING all_conditions_and_positions = xtrue companycode = vtbfha-bukrs currently_active_status = xtrue dealno = vtbfha-rfha statusno = vtbfhazu-rfhazu via_statuspointer = xtrue TABLES positions = t_fhapo EXCEPTIONS OTHERS = 01.

DEALDATA_READ CALL FUNCTION 'DEALDATA_READ' EXPORTING all_conditions_and_positions = xtrue companycode = vtbfha-bukrs currently_active_status = xtrue dealno = vtbfha-rfha statusno = vtbfhazu-rfhazu via_statuspointer = xtrue TABLES positions = t_fhapo EXCEPTIONS OTHERS = 01.

TM_AMOUNTS_DETERMINE_NET CALL FUNCTION 'TM_AMOUNTS_DETERMINE_NET' EXPORTING cut_off_date = vtbfhazu-dblfz IMPORTING amounts = vtbakku nominal_amount = l_nominal_amt TABLES transactions = t_fhapo.

TM_AMOUNTS_DETERMINE_NET CALL FUNCTION 'TM_AMOUNTS_DETERMINE_NET' EXPORTING cut_off_date = h_cod IMPORTING amounts = vtbakku TABLES transactions = t_fhapo.

TM_AMOUNTS_DETERMINE_NET CALL FUNCTION 'TM_AMOUNTS_DETERMINE_NET' EXPORTING cut_off_date = h_cod IMPORTING amounts = vtbakku nominal_amount = l_nominal_amt TABLES transactions = t_fhapo.

TM_INTEREST_RATE_FROM_FLOWS CALL FUNCTION 'TM_INTEREST_RATE_FROM_FLOWS' EXPORTING cut_off_date = vtbfhazu-dblfz IMPORTING interest_rate = w_ftr-pzins capitalization = w_ftr-szinskap exponential_calculation = w_ftr-jexpozins TABLES flows = t_fhapo.




FTR_IRATE_STRUC_GET CALL FUNCTION 'FTR_IRATE_STRUC_GET' EXPORTING pi_bukrs = vtbfha-bukrs pi_rfha = vtbfha-rfha pi_dstich = p_dstich pi_net_flag = xtrue pi_flag_snompay = l_str_at10-snompay IMPORTING pe_irate = l_irate pe_repaym = l_repaym pe_amount = l_amount EXCEPTIONS select_failed = 1 wrong_productcat = 2 OTHERS = 3.

FTR_IRATE_DB_SELECT CALL FUNCTION 'FTR_IRATE_DB_SELECT' EXPORTING pi_bukrs = vtbfha-bukrs pi_rfha = vtbfha-rfha IMPORTING pe_tab_fhapo = t_fhapo[] EXCEPTIONS OTHERS = 0.

FTR_FC_REP1_SELECT_SINGLE CALL FUNCTION 'FTR_FC_REP1_SELECT_SINGLE' EXPORTING pi_bukrs = vtbfha-bukrs pi_rfha = vtbfha-rfha pi_dstich = p_dstich IMPORTING pe_rep = l_fc_rep EXCEPTIONS failed = 1 OTHERS = 2.

FTR_FC_DB_SELECT CALL FUNCTION 'FTR_FC_DB_SELECT' EXPORTING pi_bukrs = vtbfha-bukrs pi_rfha = vtbfha-rfha IMPORTING pe_tab_fhapo = t_fhapo[] EXCEPTIONS OTHERS = 0.

FTR_PARTNER_GET_TEXT CALL FUNCTION 'FTR_PARTNER_GET_TEXT' EXPORTING pi_companycode = w_ftr-bukrs pi_partner_id = w_ftr-kontrh IMPORTING pe_partner_text = w_ftr-xkontrh.

TRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'TRCA_COMPANYCODE_GETDETAIL' EXPORTING companycode = w_ftr-bukrs IMPORTING companyname = w_ftr-butxt EXCEPTIONS OTHERS = 1.

FTR_TRANSACTIONTYPE_GET_TEXT CALL FUNCTION 'FTR_TRANSACTIONTYPE_GET_TEXT' EXPORTING i_sgsart = w_ftr-sgsart i_sfhaart = w_ftr-sfhaart IMPORTING e_xgsart = w_ftr-xgsart e_xfhaart = w_ftr-xfhaart.

FTR_TRANSACTIONCAT_GET_TEXT CALL FUNCTION 'FTR_TRANSACTIONCAT_GET_TEXT' EXPORTING i_sanlf = w_ftr-sanlf i_sfgtyp = w_ftr-sfgtyp IMPORTING e_xanlf = w_ftr-xanlf e_xfgtyp = w_ftr-xfgtyp.

FTR_ACTIVITYCATEGORY_GET_TEXT CALL FUNCTION 'FTR_ACTIVITYCATEGORY_GET_TEXT' EXPORTING i_sanlf = w_ftr-sanlf i_sfgtyp = w_ftr-sfgtyp i_sfgzustt = w_ftr-sfgzustt IMPORTING e_xfgzustt = w_ftr-xfgzustt.

TB_DOMAINVALUE_GET_TEXT CALL FUNCTION 'TB_DOMAINVALUE_GET_TEXT' EXPORTING name = 'T_SAKTIV' value = w_ftr-saktiv IMPORTING text = w_ftr-xaktiv.

TM_AMOUNTS_DETERMINE_NET CALL FUNCTION 'TM_AMOUNTS_DETERMINE_NET' EXPORTING cut_off_date = u_dblfz IMPORTING amounts = l_akku TABLES transactions = u_t_fhapo.

TM_AMOUNTS_DETERMINE_NET CALL FUNCTION 'TM_AMOUNTS_DETERMINE_NET' EXPORTING cut_off_date = u_dstich IMPORTING amounts = l_akku TABLES transactions = u_t_fhapo.

TM_AMOUNTS_DETERMINE_NET CALL FUNCTION 'TM_AMOUNTS_DETERMINE_NET' EXPORTING cut_off_date = u_delfz IMPORTING amounts = l_akku TABLES transactions = u_t_fhapo.

TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING id = 'OUTPUT' EXCEPTIONS OTHERS = 0.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * i_buffer_active = xtrue "SR HW1125075 i_callback_program = alv_repid i_callback_pf_status_set = 'STATUS_SET' * I_CALLBACK_USER_COMMAND = ' ' * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_STRUCTURE_NAME = * I_BACKGROUND_ID = ' ' i_grid_title = text-005 is_layout = alv_layout it_fieldcat = alv_fieldcat IT_EXCLUDING = alv_exclude * IT_SPECIAL_GROUPS = it_sort = alv_sort * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = alv_save is_variant = alv_variant it_events = alv_events * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = t_ftr.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = alv_repid i_internal_tabname = alv_name_item i_structure_name = 'VTMWRK1' CHANGING ct_fieldcat = c_fieldcat.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 1 IMPORTING et_events = t_event.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = ttop.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = ttop.

FTR_STAV_MAINTAIN_TRANSACTION CALL FUNCTION 'FTR_STAV_MAINTAIN_TRANSACTION' EXPORTING bukrs = w_ftr-bukrs rfha = w_ftr-rfha.

TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING id = 'OUTPUT' EXCEPTIONS OTHERS = 0.

FTR_DISPATCH CALL FUNCTION 'FTR_DISPATCH' EXPORTING i_bukrs = w_ftr-facilitybukrs i_rfha = w_ftr-facilitynr i_functionclass = g_con_fclass_display i_call = xtrue i_no_popup_for_function = xtrue EXCEPTIONS OTHERS = 0.

TB_MASTER_AGREEMENT_CALL CALL FUNCTION 'TB_MASTER_AGREEMENT_CALL' EXPORTING i_rmaid = u_rmaid.

FTR_PARTNER_DISPLAY CALL FUNCTION 'FTR_PARTNER_DISPLAY' EXPORTING pi_partner_id = u_kontrh pi_companycode = u_bukrs.

FTR_DISPATCH CALL FUNCTION 'FTR_DISPATCH' EXPORTING i_bukrs = w_ftr-bukrs i_rfha = w_ftr-rfha i_functionclass = u_functionclass i_call = xtrue i_no_popup_for_function = xtrue EXCEPTIONS OTHERS = 1.

FTR_SAVED_KEY_IMPORT CALL FUNCTION 'FTR_SAVED_KEY_IMPORT' IMPORTING e_bukrs = ftr_key-bukrs e_rfha = ftr_key-rfha.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = save CHANGING cs_variant = h_variant EXCEPTIONS not_found = 1.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = variant i_save = save IMPORTING e_exit = h_exit es_variant = h_variant EXCEPTIONS not_found = 1.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = save CHANGING cs_variant = h_variant.

TB_PRODUCTTYPE_VALUES CALL FUNCTION 'TB_PRODUCTTYPE_VALUES' IMPORTING selection = c_sgsart TABLES t_productcategories = l_t_prodcat.

TB_DEALTYPE_VALUES CALL FUNCTION 'TB_DEALTYPE_VALUES' IMPORTING selection_dealtype = c_sfhaart selection_producttype = c_sgsart TABLES t_productcategories = l_t_prodcat.

BPAR_S_BPCENTRAL_PARTNER_PREP * call function 'BPAR_S_BPCENTRAL_PARTNER_PREP' * importing * partner_out = l_bp000 * exceptions * others = 4.

FTR_PARTNER_GET_VALUES CALL FUNCTION 'FTR_PARTNER_GET_VALUES' * EXPORTING * PI_COMPANYCODE = ' ' * PI_PRODUCTTYPE = ' ' * PI_TRANSACTIONTYPE = ' ' * PI_PARTNER_ROLE = 'TR0151' IMPORTING pe_partner = c_kontrh.

TB_DEAL_BUKRS_CHECK CALL FUNCTION 'TB_DEAL_BUKRS_CHECK' EXPORTING i_x_no_adj_if_ok = xtrue TABLES i_tab_companycode = s_bukrs e_tab_companycode = r_bukrs EXCEPTIONS authority = 1 OTHERS = 2.

DEALDATA_READ CALL FUNCTION 'DEALDATA_READ' EXPORTING all_conditions_and_positions = xtrue companycode = p_w_ftr-bukrs currently_active_status = xtrue dealno = p_w_ftr-rfha statusno = l_wa_fha-rfhazunr via_statuspointer = xtrue TABLES positions = l_t_fhapo EXCEPTIONS OTHERS = 01.

KCD_PROTOCOL_NUMBER_GET CALL FUNCTION 'KCD_PROTOCOL_NUMBER_GET' IMPORTING prot_number = l_number 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.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_s_log IMPORTING e_log_handle = l_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

FTR_DEAL_SETTLE CALL FUNCTION 'FTR_DEAL_SETTLE' EXPORTING iv_companycode = lwa_wrklist-bukrs iv_financialtransaction = lwa_wrklist-rfha iv_productcategory = lwa_wrklist-sanlf TABLES et_return = lt_error.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = l_log_handle i_s_msg = ls_bapierr * IMPORTING * E_S_MSG_HANDLE = * E_MSG_WAS_LOGGED = * E_MSG_WAS_DISPLAYED = EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 OTHERS = 3 .

BAL_DSP_PROFILE_DETLEVEL_GET CALL FUNCTION 'BAL_DSP_PROFILE_DETLEVEL_GET' IMPORTING e_s_display_profile = l_s_display_profile.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING * I_S_LOG_FILTER = * I_T_LOG_CONTEXT_FILTER = * I_S_MSG_FILTER = * I_T_MSG_CONTEXT_FILTER = i_t_log_handle = lt_log_handle * I_T_MSG_HANDLE = i_s_display_profile = l_s_display_profile * i_amodal = 'X' EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.



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