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

RFTR_COLL_PROC_FUTURES SAP ABAP Report - Collective Processing for Repos and Forwards







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

TI00 - Collective Processing for Futures


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 RFTR_COLL_PROC_FUTURES. "Basic submit
SUBMIT RFTR_COLL_PROC_FUTURES AND RETURN. "Return to original report after report execution complete
SUBMIT RFTR_COLL_PROC_FUTURES 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_DATE = Date
Selection Text: S_BUKRS = D .
Selection Text: S_BEST = D .
Selection Text: S_AKTIV = D .
Selection Text: S_DPAY = D .
Selection Text: S_EXTREF = D .
Selection Text: S_GSBER = D .
Selection Text: S_KONTRH = D .
Selection Text: P_VAR = Layout
Selection Text: P_S30 = Settlement
Selection Text: P_S20 = Execution
Selection Text: P_S15 = Expired Order
Selection Text: P_S10 = Order
Selection Text: P_500200 = Sale
Selection Text: P_500100 = Purchase
Selection Text: S_MERKM = D .
Selection Text: S_POSACC = D .
Selection Text: S_RANL = D .
Selection Text: S_RDEALR = D .
Selection Text: S_REFER = D .
Selection Text: S_RFHA = D .
Selection Text: S_RPORTB = D .
Selection Text: S_SGSART = D .
Selection Text: S_USER = D .
Selection Text: S_WGSCHF = D .
Selection Text: S_ZUOND = D .
Title: Collective Processing for Repos and Forwards
Text Symbol: V00 = Current Activity Category
Text Symbol: ZUS = Additional Fields
Text Symbol: S30 = Settlement
Text Symbol: S20 = Contract
Text Symbol: S15 = Expired Order
Text Symbol: S10 = Order
Text Symbol: OUT = Output Control
Text Symbol: L02 = Log
Text Symbol: L01 = Log Details
Text Symbol: DTM = Data
Text Symbol: D00 = Transaction Category





Text Symbol: CUP = Entered/Last Changed by
Text Symbol: C00 = General Selections
Text Symbol: 502 = Close
Text Symbol: 501 = Open
Text Symbol: 005 = Listed Futures and Options: Collective Processing - Results
Text Symbol: 003 = Posting Release Indicator
Text Symbol: 002 = Postg Rel.
Text Symbol: 001 = Posting Release Ind.


INCLUDES used within this REPORT RFTR_COLL_PROC_FUTURES

No INCLUDES are used within this REPORT code!


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:

TB_DEAL_BUKRS_CHECK CALL FUNCTION 'TB_DEAL_BUKRS_CHECK' TABLES i_tab_companycode = s_bukrs e_tab_companycode = ran_bukrs EXCEPTIONS authority = 1 OTHERS = 2.

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_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_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_applications = l_t_appl t_productcategories = l_t_prodcat.

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

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

DEALDATA_READ CALL FUNCTION 'DEALDATA_READ' EXPORTING companycode = wa_display_data-bukrs dealno = wa_display_data-rfha currently_active_status = 'X' TABLES positions = it_vtbfhapo EXCEPTIONS deal_not_found = 1 status_not_found = 2 OTHERS = 3.

TB_DEAL_ACTIVITY_TO_FUNCTION CALL FUNCTION 'TB_DEAL_ACTIVITY_TO_FUNCTION' EXPORTING i_product = u_db_data-sanlf i_deal = u_db_data-sfgtyp i_activity = u_db_data-sfgzustt IMPORTING e_function = l_function EXCEPTIONS OTHERS = 1.

TB_DEAL_AUTHORITY_CHECK * CALL FUNCTION 'TB_DEAL_AUTHORITY_CHECK' * EXPORTING * bukrs = u_db_data-bukrs * sgsart = u_db_data-sgsart_vtbfha * sfhaart = u_db_data-sfhaart_vtbfha * rportb = u_db_data-rportb * rldepo = u_db_data-rldepo_vtbfha * tbegru = u_db_data-tbegru * trfct = l_function * actvt = c_actvt_display "Only display data : '03' * EXCEPTIONS * authority = 1 * OTHERS = 2.

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

FTR_PARTNER_DISPLAY CALL FUNCTION 'FTR_PARTNER_DISPLAY' EXPORTING pi_partner_id = w_ftr-kontrh pi_partner_role = c_partner_role_treasury.

FTR_STAV_MAINTAIN_TRANSACTION CALL FUNCTION 'FTR_STAV_MAINTAIN_TRANSACTION' EXPORTING bukrs = w_ftr-bukrs rfha = w_ftr-rfha * DISPLAY = * IMPORTING * EXIT_CODE = .

SECURITY_DIALOG CALL FUNCTION 'SECURITY_DIALOG' EXPORTING i_security_number = i_ranl i_dialog_mode = 'DISP'.






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

REUSE_ALV_LIST_DISPLAY

REUSE_ALV_GRID_DISPLAY * call function 'REUSE_ALV_LIST_DISPLAY' CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' i_callback_program = alv_repid i_callback_pf_status_set = c_gui_bar_status i_callback_user_command = c_user_command * I_STRUCTURE_NAME = is_layout = alv_layout it_fieldcat = alv_fieldcat it_excluding = alv_it_excluding * IT_SPECIAL_GROUPS = it_sort = alv_sort * IT_FILTER = * IS_SEL_HIDE = i_default = 'X' i_save = c_alv_save is_variant = alv_variant i_grid_title = lv_grid_title * it_events = alv_events * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = it_display_data EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_HIERSEQ_LIST_DISPLAY * call function 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' * exporting * i_callback_program = alv_repid * is_layout = alv_layout * it_fieldcat = alv_fieldcat * IT_EXCLUDING = * 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 = * i_tabname_header = alv_name_head * i_tabname_item = alv_name_item * is_keyinfo = alv_keyinfo * IS_PRINT = * IS_REPREP_ID = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = * tables * t_outtab_header = t_fgtyp * t_outtab_item = t_ftr.

MASTER_DATA_READ_SEC_BUFFERED CALL FUNCTION 'MASTER_DATA_READ_SEC_BUFFERED' EXPORTING i_ranl = i_ranl IMPORTING e_vwpanla = wa_vwpanla EXCEPTIONS entry_not_found = 1 i_ranl_initial = 2 OTHERS = 3.

TPM_TRF_POS_ACCOUNT_READ CALL FUNCTION 'TPM_TRF_POS_ACCOUNT_READ' EXPORTING im_company_code = i_bukrs im_pos_account = i_posacc IMPORTING e_pos_account_data = wa_trft_pos_account EXCEPTIONS OTHERS = 1.

FTR_ACTIVITYCATEGORY_GET_TEXT CALL FUNCTION 'FTR_ACTIVITYCATEGORY_GET_TEXT' EXPORTING i_sanlf = i_sanlf i_sfgtyp = i_sfgtyp i_sfgzustt = i_sfgzustt IMPORTING e_xfgzustt = e_xfgzustt.

TRANSACTIONS_TEXT CALL FUNCTION 'TRANSACTIONS_TEXT' EXPORTING language = sy-langu rantyp = '6' "Securities sbewart = i_sfhazba * SBEWZITI = WA_CASH_FLOW-SBEWZITI IMPORTING text = e_xfhazba EXCEPTIONS no_sbewart = 01 no_text_found = 02.

FTR_KONTRH_GET_TEXT CALL FUNCTION 'FTR_KONTRH_GET_TEXT' EXPORTING pi_companycode = u_bukrs pi_kontrh_id = u_partner IMPORTING pe_kontrh_text = c_address.

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