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

RFC Question

I want to do an RFC with parameters. Help (and sample code) would be greatly appreciated on how to create an RFC from outside of SAP. I have looked at the program srfctest.exe and executed it with option 4 (RFC with SAPGUI), but it does not support parameters. Thanks in advance for your help on this topic.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 03, 2005 at 08:28 PM

    I have already looked at this, but it doesn't seem to explain well how to create an RFC outside of SAP. I would like to write a small application outside of SAP (a program with the extension .exe) that I can use to pass a file to a Remote Enabled FM in SAP. The example program srfctest.exe that was loaded on my local drive with the SAP GUI is close to what I need, but doesn't support parameter passing. It is also very multifunctional, so it is very dificult to decipher the code. Any further samples/suggestions anyone?

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      I am not sure if you can do this in ver 4.7 but earlier versions support an auto - C /VB program generation for you RFC enabled FMs.

      So first you need to write a RFC enabled Function Module in ABAP and then you can generate the C code through SE38-->Utilities --> ( you need to check the exact path ).

      I have written a few programs like this long time back.

      If you need I can pass some code to you.

      Thanks,

      Ram

  • author's profile photo Former Member
    Former Member
    Posted on Jun 03, 2005 at 08:19 PM
    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.