SAP TABLE_ENTRIES_GET_VIA_RFC Function Module for
TABLE_ENTRIES_GET_VIA_RFC is a standard table entries get via rfc SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 table entries get via rfc FM, simply by entering the name TABLE_ENTRIES_GET_VIA_RFC into the relevant SAP transaction such as SE37 or SE38.
Function Group: BDCH
Program Name: SAPLBDCH
Main Program:
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function TABLE_ENTRIES_GET_VIA_RFC 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 'TABLE_ENTRIES_GET_VIA_RFC'".
EXPORTING
* LANGU = SY-LANGU "
* ONLY = ' ' "
* TABNAME = ' ' "
IMPORTING
RC = "
TABLES
SEL_TAB = "
NAMETAB = "
TABENTRY = "
EXCEPTIONS
INTERNAL_ERROR = 1 TABLE_HAS_NO_FIELDS = 2 TABLE_NOT_ACTIV = 3 NOT_AUTHORIZED = 4
IMPORTING Parameters details for TABLE_ENTRIES_GET_VIA_RFC
LANGU -
Data type: DNTAB-LANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
ONLY -
Data type: DNTAB-LOGFLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABNAME -
Data type: DNTAB-TABNAMEDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for TABLE_ENTRIES_GET_VIA_RFC
RC -
Data type: SY-SUBRCOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for TABLE_ENTRIES_GET_VIA_RFC
SEL_TAB -
Data type: BDSEL_STATOptional: No
Call by Reference: No ( called with pass by value option)
NAMETAB -
Data type: BDI_MFGRPOptional: No
Call by Reference: No ( called with pass by value option)
TABENTRY -
Data type: BDI_ENTRYOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
INTERNAL_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TABLE_HAS_NO_FIELDS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TABLE_NOT_ACTIV -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOT_AUTHORIZED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for TABLE_ENTRIES_GET_VIA_RFC 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: | ||||
| lv_rc | TYPE SY-SUBRC, " | |||
| lv_langu | TYPE DNTAB-LANGU, " SY-LANGU | |||
| lt_sel_tab | TYPE STANDARD TABLE OF BDSEL_STAT, " | |||
| lv_internal_error | TYPE BDSEL_STAT, " | |||
| lv_only | TYPE DNTAB-LOGFLAG, " SPACE | |||
| lt_nametab | TYPE STANDARD TABLE OF BDI_MFGRP, " | |||
| lv_table_has_no_fields | TYPE BDI_MFGRP, " | |||
| lv_tabname | TYPE DNTAB-TABNAME, " ' ' | |||
| lt_tabentry | TYPE STANDARD TABLE OF BDI_ENTRY, " | |||
| lv_table_not_activ | TYPE BDI_ENTRY, " | |||
| lv_not_authorized | TYPE BDI_ENTRY. " |
|   CALL FUNCTION 'TABLE_ENTRIES_GET_VIA_RFC' " |
| EXPORTING | ||
| LANGU | = lv_langu | |
| ONLY | = lv_only | |
| TABNAME | = lv_tabname | |
| IMPORTING | ||
| RC | = lv_rc | |
| TABLES | ||
| SEL_TAB | = lt_sel_tab | |
| NAMETAB | = lt_nametab | |
| TABENTRY | = lt_tabentry | |
| EXCEPTIONS | ||
| INTERNAL_ERROR = 1 | ||
| TABLE_HAS_NO_FIELDS = 2 | ||
| TABLE_NOT_ACTIV = 3 | ||
| NOT_AUTHORIZED = 4 | ||
| . " TABLE_ENTRIES_GET_VIA_RFC | ||
ABAP code using 7.40 inline data declarations to call FM TABLE_ENTRIES_GET_VIA_RFC
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 SUBRC FROM SY INTO @DATA(ld_rc). | ||||
| "SELECT single LANGU FROM DNTAB INTO @DATA(ld_langu). | ||||
| DATA(ld_langu) | = SY-LANGU. | |||
| "SELECT single LOGFLAG FROM DNTAB INTO @DATA(ld_only). | ||||
| DATA(ld_only) | = ' '. | |||
| "SELECT single TABNAME FROM DNTAB INTO @DATA(ld_tabname). | ||||
| DATA(ld_tabname) | = ' '. | |||
Search for further information about these or an SAP related objects