on 02-17-2005 10:27 AM
Hi all,
we are currently moving our RFCs to a custom namespace in SAP.
Until now we just called some RFCs by the function name, e.g. ZABC_MYFUNCTION, like
JcoConPool.getInstance().getRepository().getFunctionTemplate("ZABC_MYFUNCTION").getFunction();
Now these RFCs have been moved to our custom namespace so they look like /ABC/ABC_MYFUNCTION
Is there any way to make this distinction in the Java code? Or do we just call the function ABC_MYFUNCTION?
And if so, how do we call identical named RFCs in different namespaces? That must be possible, right?
Sorry, this is rather a beginner question but we're stuck at this point.
Thanks,
Carsten
Hello Olaf,
have you tried to use JcoConPool.getInstance().getRepository().getFunctionTemplate("/ABC/ABC_MYFUNCTION").getFunction(); ?
Regards
Gregor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Gregor,
yes, that's exactly what we've tried first because it seemed to us also to be the natural way to do that.
That's we had
JcoConPool.getInstance().getRepository().getFunctionTemplate("/ABC/ABC_MYFUNCTION").getFunction();
in our code.
But in this case the RFCs could not be found.
Sorry I forgot to mention that.
After that try we left out the namespace prefix like in my post and that helped. That's why I've asked if the custom namespace may not be provided via JCO and if so what sense that does make.
Thanks.
Carsten
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
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.