Skip to Content
0
Former Member
Mar 25, 2009 at 03:26 PM

Using FM 'RFC_GET_TABLE_ENTRIES'

891 Views

Hi

I've a program who need's read data from another machine.

I've some z's programs that use that FM and i try use it but the result is empty.I call the function by this way...

CALL FUNCTION 'RFC_GET_TABLE_ENTRIES' DESTINATION l_rfcdest " RFC destination of my other machine

EXPORTING

gen_key = l_genkey "VBELN of VBKD

max_entries = 1

table_name = 'VBKD'

TABLES

entries = lt_dadosremote

EXCEPTIONS

OTHERS = 1.

IF sy-subrc NE 0.

  • cf_retcode = 1.

sy-msgid = 'ZSD'.

sy-msgno = '079'.

sy-msgty = 'E'.

sy-msgv1 = l_rfcdest.

EXIT.

ENDIF.

Can somebody help me ?

Thanks