SAP TB_DATAFEED_INTERNET_ACCESS Function Module for NOTRANSL: Datafeed: Internet Access
TB_DATAFEED_INTERNET_ACCESS is a standard tb datafeed internet access SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Datafeed: Internet Access processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for tb datafeed internet access FM, simply by entering the name TB_DATAFEED_INTERNET_ACCESS into the relevant SAP transaction such as SE37 or SE38.
Function Group: TBDF
Program Name: SAPLTBDF
Main Program: SAPLTBDF
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function TB_DATAFEED_INTERNET_ACCESS pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'TB_DATAFEED_INTERNET_ACCESS'"NOTRANSL: Datafeed: Internet Access.
EXPORTING
FEEDNAME = "Market Data: Data Provider
HISTORY = "Datafeed: Flag for refreshing R/3 tables
UPDATE = "Datafeed: Flag for refreshing R/3 tables
* BLANKSTOCRLF = 'X' "Datafeed Web Access: Convert Blanks in CRLF
* CLEAR_REQUEST_ENTITY_BODY = 'X' "Boolean Variable (X=True, -=False, Space=Unknown)
IMPORTING
E_MESSAGE_BUFFER = "Datafeed: Error message
TABLES
ANSWER = "Datafeed: Structure for Delivery of Values
REQUEST = "Datafeed: Structure for Querying Values
EXCEPTIONS
DATAFEED_FAILURE = 1
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLTBDF_001 Market Data: Interface for Reading Saved Rates
EXIT_SAPLTBDF_002 Market Data: Rate/Price Interface to Market Data Buffer VTB_MARKET
IMPORTING Parameters details for TB_DATAFEED_INTERNET_ACCESS
FEEDNAME - Market Data: Data Provider
Data type: VTB_DFDEST-RFEEDNAMEOptional: No
Call by Reference: No ( called with pass by value option)
HISTORY - Datafeed: Flag for refreshing R/3 tables
Data type: VTB_DFCU-RUPDHISTOptional: No
Call by Reference: No ( called with pass by value option)
UPDATE - Datafeed: Flag for refreshing R/3 tables
Data type: VTB_DFCU-RUPDHISTOptional: No
Call by Reference: No ( called with pass by value option)
BLANKSTOCRLF - Datafeed Web Access: Convert Blanks in CRLF
Data type: VTB_DFDEST-BLANKSTOCRLFDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
CLEAR_REQUEST_ENTITY_BODY - Boolean Variable (X=True, -=False, Space=Unknown)
Data type: BOOLEANDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for TB_DATAFEED_INTERNET_ACCESS
E_MESSAGE_BUFFER - Datafeed: Error message
Data type: VTB_MARKET-ERROROptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for TB_DATAFEED_INTERNET_ACCESS
ANSWER - Datafeed: Structure for Delivery of Values
Data type: VTB_DFANSOptional: No
Call by Reference: No ( called with pass by value option)
REQUEST - Datafeed: Structure for Querying Values
Data type: VTB_DFREQOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
DATAFEED_FAILURE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for TB_DATAFEED_INTERNET_ACCESS Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lt_answer | TYPE STANDARD TABLE OF VTB_DFANS, " | |||
| lv_feedname | TYPE VTB_DFDEST-RFEEDNAME, " | |||
| lv_datafeed_failure | TYPE VTB_DFDEST, " | |||
| lv_e_message_buffer | TYPE VTB_MARKET-ERROR, " | |||
| lv_history | TYPE VTB_DFCU-RUPDHIST, " | |||
| lt_request | TYPE STANDARD TABLE OF VTB_DFREQ, " | |||
| lv_update | TYPE VTB_DFCU-RUPDHIST, " | |||
| lv_blankstocrlf | TYPE VTB_DFDEST-BLANKSTOCRLF, " 'X' | |||
| lv_clear_request_entity_body | TYPE BOOLEAN. " 'X' |
|   CALL FUNCTION 'TB_DATAFEED_INTERNET_ACCESS' "NOTRANSL: Datafeed: Internet Access |
| EXPORTING | ||
| FEEDNAME | = lv_feedname | |
| HISTORY | = lv_history | |
| UPDATE | = lv_update | |
| BLANKSTOCRLF | = lv_blankstocrlf | |
| CLEAR_REQUEST_ENTITY_BODY | = lv_clear_request_entity_body | |
| IMPORTING | ||
| E_MESSAGE_BUFFER | = lv_e_message_buffer | |
| TABLES | ||
| ANSWER | = lt_answer | |
| REQUEST | = lt_request | |
| EXCEPTIONS | ||
| DATAFEED_FAILURE = 1 | ||
| . " TB_DATAFEED_INTERNET_ACCESS | ||
ABAP code using 7.40 inline data declarations to call FM TB_DATAFEED_INTERNET_ACCESS
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single RFEEDNAME FROM VTB_DFDEST INTO @DATA(ld_feedname). | ||||
| "SELECT single ERROR FROM VTB_MARKET INTO @DATA(ld_e_message_buffer). | ||||
| "SELECT single RUPDHIST FROM VTB_DFCU INTO @DATA(ld_history). | ||||
| "SELECT single RUPDHIST FROM VTB_DFCU INTO @DATA(ld_update). | ||||
| "SELECT single BLANKSTOCRLF FROM VTB_DFDEST INTO @DATA(ld_blankstocrlf). | ||||
| DATA(ld_blankstocrlf) | = 'X'. | |||
| DATA(ld_clear_request_entity_body) | = 'X'. | |||
Search for further information about these or an SAP related objects