Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Alternative for RFC_READ_TABLE

Former Member
0 Likes
3,136

Hi everybody,

I have to write a generic select to get some table-entries. For this I used the RFC: RFC_READ_TABLE.

But RFC_READ_TABLE responses ALL columns of the requested table.

Due to performance reasons I am looking for another RFC that gives back predetermined columns.

Does anyboy know such a Module?

Thanks regards

Mario

Hi everybody,

I have to write a generic select to get some table-entries. For this I used the RFC: RFC_READ_TABLE.

But RFC_READ_TABLE responses ALL columns of the requested table.

Due to performance reasons I am looking for another RFC that gives back predetermined columns.

Does anyboy know such a Module?

Thanks regards

Mario

3 REPLIES 3
Read only

Former Member
0 Likes
1,187

Hi,

Check the FunctionModule TABLE_ENTRIES_GET_VIA_RFC

example:

data: wtab type BDSEL_STAT occurs 0 with header line.

data: tab type BDI_ENTRY occurs 0 with header line.

CALL FUNCTION 'TABLE_ENTRIES_GET_VIA_RFC'

destination dest

EXPORTING

LANGU = SY-LANGU

TABNAME = name

TABLES

SEL_TAB = wtab

NAMETAB =

TABENTRY = tab

EXCEPTIONS

INTERNAL_ERROR = 1

TABLE_HAS_NO_FIELDS = 2

TABLE_NOT_ACTIV = 3

NOT_AUTHORIZED = 4

OTHERS = 5 .

Regards,

Raj.

Read only

Former Member
0 Likes
1,187

Hi,

Check this link:

Regards,

Shiva Kumar

Read only

Former Member
0 Likes
1,187

Hi,

thanks. As I posted this question also in forum "excahnge infrastructure" and the questions got answered; I mark the question as answered here.

Regards Mario