Code: Alles auswählen.
private JCO.Table getMDs(String mp, JCO.Client conn) {
JCO.Repository repository = new JCO.Repository("TEST", conn);
IFunctionTemplate template = repository.getFunctionTemplate("MEASUREM_DOCUM_READ_INTERVAL");
JCO.Function function = template.getFunction();
function.getImportParameterList().setValue(mp,"POINT");
function.getImportParameterList().setValue("00010101","DATE_LOW");
function.getImportParameterList().setValue("000000","TIME_LOW");
function.getImportParameterList().setValue("99991231","DATE_HIGH");
function.getImportParameterList().setValue("235959","TIME_HIGH");
function.getImportParameterList().setValue("1000","LIMIT_FOR_NUMBER");
connection.execute(function);
return function.getTableParameterList().getTable("IMRG_TAB");
}