Skip to Content

Using standard functions remote

Is there a way to use standard function modules from a remote system when they don't have

' remote-Enabled Module' set?

Is copying the entire function module the only way, or is there another way.

If i create a new function module wich calls this module and returns the results, will I be able to use this new function from a remote system?

Thanks for any help,


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Feb 05, 2004 at 04:05 PM

    What I usually do is what you mentioned second - I write a wrapper function module to expose the original remotely. Most of the time function modules aren't marked as remote, just because that wasn't what the programmer was thinking about when he wrote it. However you should be careful. If the function module calls to a screen or has some user interaction, you may not be able to call it remotely from a non-SAP system (ie - not running the SAPGui). Best situation is write the wrapper function module and test it out. Most of the time that should work.

    Add a comment
    10|10000 characters needed characters exceeded

    • I agree with Thomas Jung. I just want to mention two things, that - depending on your situation - may or may not be important.

      1) When a FM raise an exception the values of call-by-reference parameters are avaliable in the calling program and values of call-by-value parameters are not.

      2) RFC enabled FM's only allow call-by-value parameters. Therefore you often see RFC enabled FM's with a return code export parameter instead of exceptions.

      Best regards

      Thomas Madsen Nielsen

  • Posted on Apr 14, 2004 at 08:44 AM

    Thanks for the response

    Add a comment
    10|10000 characters needed characters exceeded

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.