Skip to Content
0
Former Member
Mar 22, 2006 at 03:02 PM

Reading a Table into the java model

128 Views

Hello,

ich would like to read out the table returned by the function module into my java class.

How can I get the dataset of the table into a JCO.Structure class?

JCO.Function function = ftemplate.getFunction();

JCO.Table table = function.getTableParameterList().getTable("EXPORT_TABLE");

for (int loopCounter = 0; loopCounter < table.getNumRows(); loopCounter++) {

table.setRow(loopCounter);

==> here I would like to do the following:

JCO.Structure struc = ???.getStructure(???);

}

Regards,

Friederike