Skip to Content
0
Former Member
May 14, 2010 at 07:54 PM

RFC Adapter not getting data

374 Views

Hi experts!

I am developing a RFC to File scenario on PI 7.1 EHP1 and ECC 6.0 which is synchronous. Following the Help page Setting Up an RFC Destination for the RFC Adapter I created two destinations. The fist one is a TCP/IP, name RFCDE1COMPANY2, program id BAPI_COMPANY_GETLIST and corresponding gateway host and service I found at SMGW (Parameters). The second one is a Logical with name RFCDE1and reference entry RFCDE1COMPANY2.

At my RFC Sender Adapter I configured the same gateway info and the same program id. After that I tested both destinations and it worked. I created the following report to call the bapi on that destinations::

REPORT  ZREP_BAPI_COMPANY_GETLIST.

DATA: company_list TYPE STANDARD TABLE OF BAPI0014_1.

CALL FUNCTION 'BAPI_COMPANY_GETLIST'
  IN BACKGROUND TASK
  DESTINATION 'RFCDE1'
  TABLES
     COMPANY_LIST = company_list.

COMMIT WORK.

At SXMB_MONI the request message was processed and the output file generated, but it has only the root tag. At moni the inbound message has no data (company data).

I tested the BAPI_COMPANY_GETLIST at SE37 and there are 149 entries. When I executed this same BAPI with RFC target sys configured to my destination, it didn´t show any data and has an exception called SYSTEM_FAILURE. I think probably the error is on RFC destinations but I can´t figure it out what is wrong.

Best Regards,

Gabriela