on 06-17-2010 11:01 AM
Hello Experts,
is there a possibility to acces the FM "RSDU_EXEC_SQL" via Jco?
My Testcode is like this:
public class JcoTest {
public static void connect(){
Client connection = JCO.createClient("100", "user", "password", "EN",
"some.server", "00");
connection.connect();
Repository repository = new JCO.Repository("Test", connection);
IFunctionTemplate functionTemplate = repository.getFunctionTemplate("RSDU_EXEC_SQL");
Function function = functionTemplate.getFunction();
System.out.println(function.getImportParameterList().toString());
connection.disconnect();
}
public static void main(String[] args) {
connect();
}
}
But this leads to an Exception: (126) NOT_FOUND: EXCEPTION NOT_FOUND RAISED
When i access the RFC_READ_TABLE instead, everything is fine.
Thanks in advance,
Tanja
Check whether RSDU_EXEC_SQL is remote enabled or not.
You need to make it remote enabled. Only then it will become an RFC from a Function module.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.