Skip to Content
author's profile photo Former Member
Former Member

JCO and SAP Custom Namespaces

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


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.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Feb 17, 2005 at 11:10 PM

    Hello Olaf,

    have you tried to use JcoConPool.getInstance().getRepository().getFunctionTemplate("/ABC/ABC_MYFUNCTION").getFunction(); ?



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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


      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.



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.