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

RFC Program

Hi All,

Can anybody send RFC example program.

Thanks in advance,

Das.......

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 14, 2008 at 08:21 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 14, 2008 at 08:26 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 14, 2008 at 08:24 AM

    RFC is not a program...

    when you create a function module, you can specify if this function module can be called from another logical system (either a totally different system or a different client in the same system). you can do this by selecting the "Remote enabled module" radio button in the attributes tab of the function builder.

    Once you do this, this function module can be called from another logical system. In the calling system, you first need to create a RFC destination in transaction SM59 which points to the system where the function module has to be executed. You need to specify the ip address of the system, a name for the destination and the login information for that system.

    After doing this, you can write the following sample code in the calling program to call the remote enabled function module (RFC function module).

    CALL FUNCTION '<Your function name>' DESTINATION <'name of rfc destination created above>'

    <parameter list>.....

    hope that helps...

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 14, 2008 at 08:38 AM

    Hi ,

    RFC is not a program. It is similar like funtion module but remote function call enabled so that u can call it from other applications.

    Some of the points to take care abt RFC are :

    1. Check the radio button RFC enabled in Attribute after going to SE37.

    2. In the import export parameters check the pass by value options. otherwise it will show error.

    Thanks

    Papiya

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 14, 2008 at 09:10 AM

    Hi All,

    Acually my problem is I have to fetching and sending data from third party tool for that I have to write a program. So I need exmple program for reference.

    Thanks in advance,

    Das........

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      in that case you need to find out how your tool integrates with sap to call the rfc function modules....as far as writing the RFC is concerned,.....its same as writing a function module which fetches some data and returns it in the form of an internal table....you need to check in your tool how to call this FM and how to use the data that it is returning.....

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.