SAP Reports / Programs

RFTBDF07 SAP ABAP Report - Datafeed: Request Current Market Data







RFTBDF07 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program RFTBDF07 updates the market data buffer with the requested market data...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 RFTBDF07 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

TBD4 - Datafeed: Updated market data


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 RFTBDF07. "Basic submit
SUBMIT RFTBDF07 AND RETURN. "Return to original report after report execution complete
SUBMIT RFTBDF07 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: ASYNC = Transactional (asynchronous)
Selection Text: PAR_AKT = Refresh market data
Selection Text: PAR_CCY = Currencies
Selection Text: PAR_COM = Commodities
Selection Text: PAR_DSAL = All
Selection Text: PAR_DSFL = With errors
Selection Text: PAR_DSOK = No errors
Selection Text: PAR_DSP = Output list of results:
Selection Text: PAR_DSW = Forex swap rates
Selection Text: PAR_FEED = Name
Selection Text: PAR_IND = Indexes
Selection Text: PAR_INT = Interest rates
Selection Text: PAR_SEC = Securities
Selection Text: PAR_VAR = Layout
Selection Text: PAR_VCY = Exchange rate volatilities
Selection Text: PAR_VID = Index volatilities
Selection Text: PAR_VIT = Interest rate volatilities
Selection Text: PAR_VSE = Security price volatilities
Selection Text: SOP_RK1 = 1st key definition
Selection Text: SOP_RK2 = 2nd key definition
Selection Text: SOP_SIN = Instrument property
Selection Text: SOP_ZUS = for volatilities: term
Selection Text: SYNC = Synchronous
Title: Datafeed: Request Current Market Data
Text Symbol: 130 = Save Market Data in System Permanently If Defined in Customizing
Text Symbol: 121 = Transactional (asynchronous)
Text Symbol: 007 = Market data class
Text Symbol: 008 = Currencies
Text Symbol: 009 = Exchange rate volatilities
Text Symbol: 010 = Securities
Text Symbol: 011 = Security price volatilities
Text Symbol: 012 = Interest rates
Text Symbol: 013 = Interest rate volatilities
Text Symbol: 014 = Indexes
Text Symbol: 015 = Index volatilities
Text Symbol: 016 = Forex swap rates
Text Symbol: 017 = Commodities (Daily Basis)
Text Symbol: 018 = General volatilities





Text Symbol: 019 = Commodities (Time Basis)
Text Symbol: 020 = Derivative Contract Specific.
Text Symbol: 021 = Basis Spreads
Text Symbol: 071 = Datafeed
Text Symbol: 100 = Market data selection
Text Symbol: 101 = Datafeed
Text Symbol: 102 = Request mode
Text Symbol: 103 = Output control
Text Symbol: 110 = Output list of results
Text Symbol: 111 = All
Text Symbol: 112 = Errors
Text Symbol: 113 = Correct results
Text Symbol: 120 = Synchronous


INCLUDES used within this REPORT RFTBDF07

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:

AUTHORITY_CHECK_RFC CALL FUNCTION 'AUTHORITY_CHECK_RFC' EXPORTING userid = sy-uname functiongroup = 'TBDF' EXCEPTIONS user_dont_exist = 1 rfc_no_authority = 2 OTHERS = 3.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' * exporting * I_IDENTIFICATION = ident IMPORTING e_identification = identification.

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_AUTHORITY_CHECKS CALL FUNCTION 'TB_DATAFEED_AUTHORITY_CHECKS' 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_RATE_UPDATE CALL FUNCTION 'TB_DATAFEED_RATE_UPDATE' EXPORTING feedname = par_feed history = ' ' workmodus = workmodus dfromdate = loc_ddate dfromtime = loc_ttime dtodate = loc_ddate dtotime = loc_ttime message_collect = 'X' realtime = ' ' "/ nur Schnappschuss i_identification = identification TABLES sap_answer = sap_vtb_market sap_request = i_request EXCEPTIONS datafeed_failure = 1 no_requests = 2 some_requests_wrong = 3 update_error = 4 OTHERS = 5.

TB_DATAFEED_RATE_REQUEST CALL FUNCTION 'TB_DATAFEED_RATE_REQUEST' EXPORTING feedname = par_feed workmodus = workmodus dfromdate = loc_ddate dfromtime = loc_ttime dtodate = loc_ddate dtotime = loc_ttime history = ' ' message_collect = 'X' realtime = ' ' "/ nur Schnappschuss i_identification = identification TABLES sap_answer = sap_vtb_market sap_request = i_request sap_error = sap_error EXCEPTIONS datafeed_failure = 1 no_requests = 2 some_requests_wrong = 3 no_feed = 4 no_authority = 5 OTHERS = 6.

MESSAGES_STOP CALL FUNCTION 'MESSAGES_STOP' EXCEPTIONS a_message = 1 e_message = 2 i_message = 3 w_message = 4 OTHERS = 5.

MESSAGES_SHOW





CALL FUNCTION 'MESSAGES_SHOW' EXPORTING * CORRECTIONS_OPTION = ' ' * CORRECTIONS_FUNC_TEXT = ' ' * LINE_FROM = '000' * LINE_TO = '999' object = 'Datafeed'(071) * SEND_IF_ONE = ' ' * SHOW_LINNO = 'X' * BATCH_LIST_TYPE = 'J' IMPORTING corrections_wanted = corrections_wanted EXCEPTIONS * inconsistent_range = 1 * no_messages = 2 OTHERS = 0.

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.

TB_DATAFEED_START_WORKFLOW CALL FUNCTION 'TB_DATAFEED_START_WORKFLOW' EXPORTING i_timestamp = timestamp TABLES t_vtb_market = 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 RFTBDF07 or its description.