RFSLFIMA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Trados Memory = TR You use this report program to restructure the cash flow of securities lending transactions...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 RFSLFIMA into the relevant SAP transactions such as SE38 or SE80
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: P_TEST = D .
Selection Text: P_UNL = Only Open-Ended Lending Trans.
Selection Text: S_ABVERF = D .
Selection Text: S_DBLFZ = D .
Selection Text: S_DELFZ = D .
Selection Text: S_RDEALR = D .
Title: Securities Lending: Update Cash Flow
Text Symbol: 100 = Update Cash Flow
Text Symbol: 110 = Error Log
Text Symbol: BDN = Company Code / Transaction Number
Text Symbol: C00 = Control Data
Text Symbol: ENQ = Transaction is already blocked and therefore cannot be processed
Text Symbol: G01 = Company Code
Text Symbol: G02 = Transaction
Text Symbol: G03 = Product Type
Text Symbol: G04 = Trans.Type
Text Symbol: HC1 = |Payment date Amount Crcy FTyp Description Posting status HBank HBacc Payer/ee Bank
Text Symbol: HP1 = Money Market: Regenerate the cash flow
Text Symbol: HP2 = Money Market: Regenerate the cash flow - test run
Text Symbol: S00 = Other Selections
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING id = 'SELECTION' EXCEPTIONS OTHERS = 0.
TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING id = 'WORK' EXCEPTIONS OTHERS = 0.
TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING id = 'OUTPUT' EXCEPTIONS OTHERS = 0.
ENQUEUE_E_VTBFHA CALL FUNCTION 'ENQUEUE_E_VTBFHA' EXPORTING bukrs = u_fha-bukrs rfha = u_fha-rfha EXCEPTIONS OTHERS = 1.
TSL_CASHFLOW_CONSTRUCT_FROM_DB CALL FUNCTION 'TSL_CASHFLOW_CONSTRUCT_FROM_DB' EXPORTING i_bukrs = u_fha-bukrs i_rfha = u_fha-rfha IMPORTING e_fhazu = l_fhazu_old e_t_finko = l_t_finko e_t_fhapo_old = l_t_fhapo_old e_t_fhapo_new = l_t_fhapo_new EXCEPTIONS OTHERS = 1.
TB_TRANSACTIONS_UPDATE CALL FUNCTION 'TB_TRANSACTIONS_UPDATE' TABLES a_fhapo = l_t_fhapo_old n_fhapo = l_t_fhapo_new.
TB_CHANGEDOCUMENT_CREATE CALL FUNCTION 'TB_CHANGEDOCUMENT_CREATE' EXPORTING bukrs = u_fha-bukrs rfha = u_fha-rfha n_fhazu = l_fhazu_new o_fhazu = l_fhazu_old TABLES n_fhapo = l_t_fhapo_new o_fhapo = l_t_fhapo_old.
TM_CASH_FORECAST_UPDATE CALL FUNCTION 'TM_CASH_FORECAST_UPDATE' EXPORTING i_fha = u_fha i_t_fhapo_old = l_t_fhapo_old[] i_t_fhapo_new = l_t_fhapo_new[] EXCEPTIONS OTHERS = 0.
TM_OPEN_TRTM_EXECUTE CALL FUNCTION 'TM_OPEN_TRTM_EXECUTE' EXPORTING i_fha_old = u_fha i_fha_new = u_fha i_fhazu_old = l_fhazu_old i_fhazu_new = l_fhazu_new i_t_finko_old = l_t_finko i_t_finko_new = l_t_finko i_t_fhapo_old = l_t_fhapo_old i_t_fhapo_new = l_t_fhapo_new i_t_fasgt_old = l_t_fasgt_old i_t_fasgt_new = l_t_fasgt_new EXCEPTIONS OTHERS = 0.
FTR_TRANSACTIONTYPE_GET_TEXT CALL FUNCTION 'FTR_TRANSACTIONTYPE_GET_TEXT' EXPORTING i_sgsart = l_output-sgsart i_sfhaart = l_output-sfhaart IMPORTING e_xgsart = l_output-sgsart_text e_xfhaart = l_output-sfhaart_text.
FTR_FLOWTYPE_GET_TEXT CALL FUNCTION 'FTR_FLOWTYPE_GET_TEXT' EXPORTING i_rantyp = l_flow-rantyp i_sbewart = l_flow-sfhazba IMPORTING e_xbewart = l_output-sfhazba_text.
TB_DOMAINVALUE_GET_TEXT CALL FUNCTION 'TB_DOMAINVALUE_GET_TEXT' EXPORTING name = 'T_SBEWEBE' value = l_flow-sbewebe IMPORTING text = l_output-sbewebe_text.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'FTR_SL_CF' i_bypassing_buffer = 'X' CHANGING ct_fieldcat = l_tab_fieldcat.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = pc_tab_alv_event.
FTR_SL_TCODE_SELECT CALL FUNCTION 'FTR_SL_TCODE_SELECT' EXPORTING im_company_code = l_flow-bukrs im_transaction_number = l_flow-rfha im_transactiontype = '1' EXCEPTIONS OTHERS = 1.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_alv_repid i_grid_title = text-100 is_layout = g_alv_layout it_fieldcat = g_tab_alv_fieldcat it_events = g_tab_alv_event is_variant = g_alv_variant i_callback_pf_status_set = 'ALV_SET_STATUS' i_save = 'A' TABLES t_outtab = g_tab_flows.
BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_str_log IMPORTING e_log_handle = pc_log_handle EXCEPTIONS OTHERS = 1.
BAL_DSP_PROFILE_SINGLE_LOG_GET CALL FUNCTION 'BAL_DSP_PROFILE_SINGLE_LOG_GET' IMPORTING e_s_display_profile = pc_profile.
CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = g_bal_loghandle i_s_msg = l_bal_msg EXCEPTIONS OTHERS = 1.
BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = g_bal_profile 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 RFSLFIMA or its description.