Skip to Content
0
Former Member
Nov 18, 2005 at 11:21 AM

RFC RELATED PROBLEM

18 Views

Hi All,

i am doing some work with rfc,the destination is creatd in sm59 and its ok.

see the small code..

REPORT zanid_test2 MESSAGE-ID zz.

*

data: begin of itab1 occurs 0.

include structure zvEndor_xi.

data: end of itab1.

start-of-selection.

*remote call

CALL FUNCTION 'Z_RFC_ANID'

IN BACKGROUND TASK

DESTINATION 'ZANID'

TABLES

itab = itab1.

COMMIT WORK.

WRITE:/ '**'.

LOOP AT ITAB1.

WRITE:/ ITAB1-MANDT,

ITAB1-VENDORNO.

ENDLOOP.

NOW the rfc is having code which reads a table in the target system, and feed into itab1.

I have checked the code, it working fine in target system, if called as locaL FUNTION..but while used as rfc, the itab1 is not having any value.

please help me to solve the problem.

reward point guranteed,

Thanks,

Anid