SAP Reports / Programs

RFTBDF05 SAP ABAP Report - Datafeed: Import Security ID Numbers







RFTBDF05 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report RFTBDF05 uses the securities ID numbers/descriptions stored as keys in the securities master record to perform automatic Customizing...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 RFTBDF05 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

TBD2 - Datafeed: Datafeed Customizing


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 RFTBDF05. "Basic submit
SUBMIT RFTBDF05 AND RETURN. "Return to original report after report execution complete
SUBMIT RFTBDF05 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: SOP_RK2 = Exchange
Selection Text: SOP_RK1 = Security name
Selection Text: PCUPLOAD = PC upload
Selection Text: PAR_VAR = Layout
Selection Text: PAR_KA = Name
Selection Text: PAR_FDN = Name
Selection Text: PAR_DSFL = Display error log
Selection Text: PAR_DSAL = Whole results list
Selection Text: PAR_AKT = Refresh indicator
Selection Text: FILE = File name
Title: Datafeed: Import Security ID Numbers
Text Symbol: 112 = Only entries with errors
Text Symbol: 111 = All entries
Text Symbol: 110 = Output list of results
Text Symbol: 099 = Datafeed customizing
Text Symbol: 079 = Several instrument names exist in external file
Text Symbol: 020 = PC file
Text Symbol: 014 = Output control
Text Symbol: 013 = Securities selection
Text Symbol: 012 = Names for security price type
Text Symbol: 011 = Datafeed provider file to be imported
Text Symbol: 010 = Datafeed
Text Symbol: 009 = No information exists in the external file
Text Symbol: 005 = Change?
Text Symbol: 004 = & modified entries


INCLUDES used within this REPORT RFTBDF05

INCLUDE MFDFTOP1.


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:

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = gc_fname * any parameters defined for that logical file name including_dir = 'X' IMPORTING file_name = file EXCEPTIONS others = 1.

TB_DATAFEED_GET_ACTIVE_FEED call function 'TB_DATAFEED_GET_ACTIVE_FEED' importing feedname = par_fdn exceptions no_feed = 1 multiple_feeds = 2 others = 3.

REUSE_ALV_VARIANT_DEFAULT_GET call function 'REUSE_ALV_VARIANT_DEFAULT_GET' exporting i_save = 'A' "/ user specific save available changing cs_variant = alv_variant exceptions not_found = 1.

DYNP_VALUES_READ call function 'DYNP_VALUES_READ' exporting dyname = 'RFTBDF05' dynumb = '1000' translate_to_upper = true tables dynpfields = dynpfields exceptions invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 others = 9.

WS_FILENAME_GET * call function 'WS_FILENAME_GET' * exporting * mask = ',*.*,*.*.'

GUI_FILE_LOAD_DIALOG CALL FUNCTION 'GUI_FILE_LOAD_DIALOG' EXPORTING WINDOW_TITLE = text-020 * DEFAULT_EXTENSION = * DEFAULT_FILE_NAME = * WITH_ENCODING = * FILE_FILTER = * INITIAL_DIRECTORY = IMPORTING FILENAME = tmp_filename_as_string * PATH = * FULLPATH = * USER_ACTION = * FILE_ENCODING = .

REUSE_ALV_VARIANT_F4 call function 'REUSE_ALV_VARIANT_F4' exporting is_variant = alv_variant i_tabname_header = alv_name_thead i_tabname_item = alv_name_titem * it_default_fieldcat = i_save = 'A' importing e_exit = h_exit es_variant = alv_variant exceptions not_found = 1.

REUSE_ALV_VARIANT_EXISTENCE call function 'REUSE_ALV_VARIANT_EXISTENCE' exporting i_save = 'A' changing cs_variant = alv_variant.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING FILENAME = filestring FILETYPE = 'ASC' TABLES DATA_TAB = input_rec EXCEPTIONS FILE_OPEN_ERROR = 1 FILE_READ_ERROR = 2 NO_BATCH = 3 GUI_REFUSE_FILETRANSFER = 4 INVALID_TYPE = 5 NO_AUTHORITY = 6 UNKNOWN_ERROR = 7 BAD_DATA_FORMAT = 8 HEADER_NOT_ALLOWED = 9 SEPARATOR_NOT_ALLOWED = 10 HEADER_TOO_LONG = 11 UNKNOWN_DP_ERROR = 12 ACCESS_DENIED = 13 DP_OUT_OF_MEMORY = 14 DISK_FULL = 15 DP_TIMEOUT = 16 OTHERS = 17.

AUTHORITY_CHECK_DATASET call function 'AUTHORITY_CHECK_DATASET' exporting activity = 'READ' filename = fileshort exceptions no_authority = 1 activity_unknown = 2 others = 3.

TB_DATAFEED_UNIXFILE_UPLOAD_1 call function 'TB_DATAFEED_UNIXFILE_UPLOAD_1' exporting file = file tables data_tab = input_rec exceptions no_file = 1 others = 2.

TB_DATAFEED_INPUT_CONVERT_1 call function 'TB_DATAFEED_INPUT_CONVERT_1' tables output_rec = p_vtb_dfcu input_rec = input_rec exceptions error = 1 others = 2.

TB_DATAFEED_WP_SELECT_OPTIONS call function 'TB_DATAFEED_WP_SELECT_OPTIONS' tables sop_scl = sop_scl sop_rk1 = sop_rk1.

TB_DATAFEED_CONVERT_TW56 call function 'TB_DATAFEED_CONVERT_TW56' exporting feedname = par_fdn sinstrumnt = par_sin changing sprpty = all_vtb_dfcu-sprpty exceptions others = 1.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting defaultoption = no textline1 = string1 textline2 = string2 titel = 'Datafeed-Customizing'(099) importing answer = answer.

TB_DATAFEED_SHOW_MARKET_DATA call function 'TB_DATAFEED_SHOW_MARKET_DATA' exporting flg_datafeed = 'X' alv_variant = alv_variant reprep_id = alv_reprep_id tables market_data = sap_vtb_market.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_fname * any parameters defined for that logical file name CHANGING physical_filename = file EXCEPTIONS OTHERS = 1.



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