cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with "WHERE" condition

Former Member
0 Kudos

I use JCO and the RFC_READ_TABLE to query a SAP table. I have a large number of conditions, which I append to the "OPTIONS" table. But there is a mximum of 795 rows i can append without getting a JCO.Exception.

Can anybody please help me?

Here is the code:

JCO.Table options = null;

for (int i = 0; i < 795; i++) {

options =

function.getTableParameterList()

.getTable("RFC_READ_TABLE");

options.appendRow();

options.setValue(condition<i>, "TEXT");

}

client.execute(function);

Message was edited by: anybody_else

Accepted Solutions (0)

Answers (1)

Answers (1)

gregorw
Active Contributor
0 Kudos

Hello Telamon,

you should not use RFC_READ_TABLE! Write your own RFC enabled Function Module for the functionality you need and get rid of it.

Regards

Gregor