@Test public void testPureJCO() throws JCoException { JCoFunction rfcReadTable = bip.getRepository().getFunction("RFC_READ_TABLE"); if (rfcReadTable == null) throw new RuntimeException("Function not found."); rfcReadTable.getImportParameterList().setValue("QUERY_TABLE", "RSZELTTXT"); JCoTable options = rfcReadTable.getTableParameterList().getTable( "OPTIONS"); options.appendRow(); options.setValue("TEXT", "LANGU = 'E'"); options.appendRow(); options.setValue("TEXT", "AND OBJVERS = 'A'"); JCoTable fields = rfcReadTable.getTableParameterList().getTable("FIELDS"); fields.appendRow(); fields.setValue("FIELDNAME", "ELTUID"); fields.setValue("FIELDNAME", "TXTLG"); rfcReadTable.execute(bip); JCoTable data = rfcReadTable.getTableParameterList().getTable("DATA"); for (int i = 0; i < data.getNumRows(); i++) { data.setRow(i); System.out.println(data.getString("WA")); } }