on 03-18-2010 2:06 PM
Hi have a problem with a return-value from a function block. If I try to use this Java-Code:
JCoTable test = function.getTableParameterList().getTable("RETURN_TABLE");
I get a NullPointerException, because the Table is a Returntype. So in the function block it is in the export-slide. If it is in the table-slide, than it works fine, but if the table is a return type, it doesn't work. Now I have tried to use the table as a structure.
JCoStructure test = function.getExportParameterList().getStructure("RETURN_TABLE");
But now it cannot be converted...
"Cannot convert field RETURN_TABLE of type TABLE to StructureRecord"
How can I read the Return-Value RETURN_TABLE in Java?
Why not use the following:
JCoTable test = function.getExportParameterList().getTable("RETURN_TABLE");
Cheers, harald
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.