Skip to Content
Former Member
Aug 12, 2007 at 07:03 AM

Syntax question rfc_read_table via XML



I am trying to do an rfc call to rfc_read table via XML and I want to select only some fields as otherwise the structure is too large and I get the error "data_buffer_exceeded".

My problem is that I have no idea ho to pass the fieldnames via XML as it is not an input parameter but a table. From SE37 it works fine.

Here is my code for the whole table:

<Request type="executeFunction" function="RFC_READ_TABLE"

system="SAP_TEST" systemType="SAP_ERP" manageConnection="N" encode="Y"

commit="N" convert="N" dsmid="anything">

<Input name="INPUT" shape="OBJ" appName="INPUT">


<field name="QUERY_TABLE" appName="QUERY_TABLE" type="string" />




<Output name="OPTIONS" appName="OPTIONS" shape="SET" capacity="10" />

<Output name="FIELDS" appName="FIELDS" shape="SET" capacity="10" />

<Output name="DATA" appName="DATA" shape="SET" capacity="10000" />


What I need is the syntax to also fill the parameter FIELDS in the TABLE

Thanks a lot for any help,