SAP Reports / Programs | Treasury(TR) SAP TR

RFTBDF03 SAP ABAP Report - Datafeed for Master Data Transfer to Generate Translation Table







RFTBDF03 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program RFTBDF03 transfers market data from the relevant market data tables to the datafeed translation table...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 RFTBDF03 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

TBD1 - Datafeed: Table structure VTB_DFCU


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 RFTBDF03. "Basic submit
SUBMIT RFTBDF03 AND RETURN. "Return to original report after report execution complete
SUBMIT RFTBDF03 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_SIN = Rate Type
Selection Text: SOP_RK2 = 2nd Key Definition
Selection Text: SOP_RK1 = 1st Key Definition
Selection Text: PA_BSPRD = Basis Spreads
Selection Text: PAR_WP = Securities
Selection Text: PAR_VAR = Layout
Selection Text: PAR_UPD = Save Market Data Permanently
Selection Text: PAR_PROD = Data Source
Selection Text: PAR_PRO = Test Run
Selection Text: PAR_INT = Interest Rates
Selection Text: PAR_IND = Indexes
Selection Text: PAR_FEED = Name
Selection Text: PAR_DCS = Derivative Contract Specific.
Selection Text: PAR_CURR = Currencies
Selection Text: PAR_CPE = Commodities (Time Basis)
Selection Text: PAR_COM = Commodities (Daily Basis)
Title: Datafeed for Master Data Transfer to Generate Translation Table
Text Symbol: 130 = Save Market Data in System Permanently If Defined in Customizing
Text Symbol: 010 = Datafeed
Text Symbol: 009 = Output Control
Text Symbol: 008 = Quantity
Text Symbol: 007 = Select Master Data
Text Symbol: 006 = Datafeed Customizing
Text Symbol: 005 = Insert?
Text Symbol: 004 = & New Entries


INCLUDES used within this REPORT RFTBDF03

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_DATAFEED_GET_ACTIVE_FEED CALL FUNCTION 'TB_DATAFEED_GET_ACTIVE_FEED' IMPORTING feedname = par_feed 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.

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.

TB_DATAFEED_CUS_AUTHORITY_CHKS CALL FUNCTION 'TB_DATAFEED_CUS_AUTHORITY_CHKS' TABLES sop_scl = sop_scl.

TB_DATAFEED_WP_SELECT_OPTIONS CALL FUNCTION 'TB_DATAFEED_WP_SELECT_OPTIONS' TABLES sop_scl = sop_scl sop_rk1 = sop_rk1.

TB_DATAFEED_CONSTRUCT_INSTR CALL FUNCTION 'TB_DATAFEED_CONSTRUCT_INSTR' EXPORTING feedname = par_feed TABLES sop_scl = sop_scl sop_ins = sop_ins EXCEPTIONS OTHERS = 0.

TB_DATAFEED_GET_CUST_ALL CALL FUNCTION 'TB_DATAFEED_GET_CUST_ALL' EXPORTING feedname = par_feed TABLES klasse = sop_scl rkey1 = sop_rk1 rkey2 = sop_rk2 sinstrumnt = sop_ins sap_cust = sap_cust EXCEPTIONS OTHERS = 0.

TB_DATAFEED_CONVERT_KURSART CALL FUNCTION 'TB_DATAFEED_CONVERT_KURSART' EXPORTING feedname = sap_ins_cust-rfeedname sinstrumnt = sap_ins_cust-sinstrumnt rsclass = sap_ins_cust-sclass CHANGING sprpty = sap_ins_cust-sprpty EXCEPTIONS OTHERS = 0.

NUMBER_GET_NEXT * CALL FUNCTION 'NUMBER_GET_NEXT' * EXPORTING * nr_range_nr = '99' * object = 'TB_DFCU' * IMPORTING * number = lv_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 * buffer_overflow = 7 * OTHERS = 8.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Datafeed-Customizing'(006) text_question = string1 default_button = '2' IMPORTING answer = answer.

ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING mode_rstable = 'E' tabname = 'VTB_DFCU' varkey = enqkey x_tabname = 'X' x_varkey = 'X' * _SCOPE = '2' _wait = 'X' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_E_TABLE CALL FUNCTION 'DEQUEUE_E_TABLE' EXPORTING mode_rstable = 'E' tabname = 'VTB_DFCU' varkey = enqkey x_tabname = 'X' x_varkey = 'X' * _SCOPE = '3' * _SYNCHRON = ' ' EXCEPTIONS OTHERS = 0.

TB_DATAFEED_SHOW_MARKET_DATA CALL FUNCTION 'TB_DATAFEED_SHOW_MARKET_DATA' EXPORTING flg_datafeed = true alv_variant = alv_variant reprep_id = alv_reprep_id TABLES market_data = sap_vtb_market.



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