2008 May 21 8:06 AM
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
2008 May 21 8:11 AM
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.
2008 May 21 8:22 AM
2008 May 21 1:37 PM
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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |