Showing results for 
Search instead for 
Did you mean: 

RFC with tables parameter

0 Kudos


I have a problem with a RFC call from SAP R/3 to XI.

This is the scenario:

R/3 -> XI -> SQL DB

As parameter XI gets a table(no import), which I have to

insert into the database. In the definition of the RFC

this table is defined under the 'tables tab' in

transaction SE37 an not under the 'import tab'. When I

import the RFC into XI I can see the structure of the

table and there is no problem with the mapping.

When I start the RFC call there is not content in the

table although the table is correctly filled in SAP R/3

with about 60000 rows. The payload in SXMB_MONI is an

empty structure. No error message or exception.

Is it not possible to transfer input data via table?

The great weblogs just deal with RFCs and 'normal' import

parameter. Any hint?

Thanks in advance


Accepted Solutions (1)

Accepted Solutions (1)

Active Contributor
0 Kudos

hi Thomas,

1. try restarting service:

SAP XI Adapter: RFC

from visual admin - to reset RFC cache

2. go into debug mode and check if just before

the RFC call the table with your values is filled

if those two are ok then it should work




<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Answers (2)

Answers (2)

0 Kudos


First I have to say thank you guy for your help.

Finally it turned out that the ABAP programmer did

a big mistake. He has put the correctly filled table

in the export section instead of the table section.

As a Java programmer I can not believe this is possible

since in Java you can not even compile a function with

wrong parameters. Unbelievable!



0 Kudos

Hi Michael

Thanks for your reply.

Unfortunately it does not solve my problem.

I have restarted the RFC adapter and I checked

the table in the sending system in debug mode.

But the table parameter remains empty.

I mean I should see at least something in SXMB_MONI

of the incoming message. Even if there is something

wrong later in the pipeline.



Former Member
0 Kudos


Please can you look at Q24 sap note:730870

Q 24: It seems that the RFC-Adapter does not convert every parameter of the function module between native RFC and RFC-XML. It looks like some parameter is lost or empty. Why does this happen?

A: The conversion between native RFC and RFC-XML is done by using the metadata provided by the metadata repository, which is a SAP-system. Before the first call to one function module it's metadata is retrived from the SAP-system and stored in a local RFC-Adapter cache memory. Each sucessive call to the same function module will use this cache which is much faster.

If the signature of the function module is changed in the SAP-system this change also has to be done in the RFC-Adapter's cache memory. The possible solutions do accomplish this are described in Q5.

In case of a RFC receiver channel the called function module in the SAP system can be debuged with the ABAP debugger. This way the actual used parameter values of the request and the response can be viewed in the ABAP debugger. Note 668256 describes the procedures for ABAP remote debugging.