Question:
I have the next portion of Java code connector:
function = this.createFunction("TABLE_ENTRIES_GET_VIA_RFC");
if (function == null) {
System.out.println("TABLE_ENTRIES_GET_VIA_RFC" +
" not found in SAP.");
System.exit(1);
}
mConnection.execute(function);
When "mConnection.execute(function);" executes I get the next error:
"com.sap.mw.jco.JCO$AbapException: (126) TABLE_NOT_ACTIV: TABLE_NOT_ACTIV"
Did anybody experienced this error? Any suggestions to resolve?
THANKS!!!!
Answer:
Please activate the function module TABLE_ENTRIES_GET_VIA_RFC. It should work.
Answer:
Hi,
please see my posting with the subject "Sample code for RFC_READ_TABLE"
The second code sample contains the code I use.
The problem I have is to get the date that is returned in a way to display it correctly. If you can post code for that I would be very gratefull.
regards
andreas
Answer:
I have the next portion of Java code connector:
function = this.createFunction("TABLE_ENTRIES_GET_VIA_RFC");
if (function == null) {
System.out.println("TABLE_ENTRIES_GET_VIA_RFC" +
" not found in SAP.");
System.exit(1);
}
mConnection.execute(function);
When "mConnection.execute(function);" executes I get the next error:
"com.sap.mw.jco.JCO$AbapException: (126) TABLE_NOT_ACTIV: TABLE_NOT_ACTIV"
if the above is your real code, you miss to set some parameters. But sure you do set them... make sure you have spelled the table name correctly and in uppercase letters
To test the parameters you set, use SE37 and check if this does return results there.