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

call RFC

hai

how to call RFC prog.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 15, 2006 at 07:25 AM

    Hi,

    You can call it as just how you call normal function module...

    Regards,

    Ram

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 15, 2006 at 07:25 AM

    nothing but ask yur friend rahul he will tell u everything

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 15, 2006 at 07:42 AM

    Hi Raja,

    Code for RFC call is given below.

    CALL FUNCTION 'XXX'

    DESTINATION 'YYY'

    EXPORTING

    ......

    IMPORTING

    ........

    .

    Where YYY is the RFC Destination define in Tcode SM59.

    Regards

    Srikanth M

    Add a comment
    10|10000 characters needed characters exceeded

    • has anyone tried to do an RFC from a unix script k-shell. So we have a function module in our R3 system that is RFC enabled and another application that is unix based want to make a call to our system. I know you can do this from C++ or visual basic but I have never heard how to do it from a unix script.

  • author's profile photo Former Member
    Former Member
    Posted on Sep 29, 2006 at 06:55 PM

    Technical Overview

    A remote function call (RFC) is the call of a function module that runs in an external system to the calling program. Although it is also possible to call a function module in the same system as an RFC, normally RFCs are used when the caller and the called function module run in the same system.

    In the SAP system, these functions are provided by the RFC interface system. The RFC interface system enables function calls between two SAP systems, or between an SAP system and an external system.

    [edit]

    The RFC Interfaces

    The RFC- interface system is made up of the following interfaces:

    Calling interface for ABAP programs

    Each ABAP program can call a remote function module using the command CALL FUNCTION...DESTINATION. The parameter DESTINATION informs the SAP system that the called function module runs in a different system to the calling system. RFC communication with the remote system takes place as a part of the CALL FUNCTION command.

    RFC function modules in an SAP system must be proper function modules and must be registered in the SAP system as remote.

    If the calling program and the called program are both ABAP programs, the RFC interface provides both communication partners. The calling program can be any ABAP program, and the called program must be a function module that is registered as remote.

    For more detailed information on calling function modules that are registered as remote, see Calling RFC Function Modules in ABAP.

    For more information on writing function modules that you want to call remotely, see Writing RFC Function Modules in ABAP.

    Interfaces for calling non-ABAP programs

    If either the calling program or the called partner is not an SAP program, this program must be programmed in such a way that it can play the role of the other partner in RFC communication.

    To support you when implementing RFC partner programs in non-SAP systems, read: Components of the SAP Communication Technology

    RFC-supported and GUI-supported interfaces can be used by external programs to call function modules in SAP systems, and execute them in these systems. Likewise, ABAP programs can also use these interfaces to use functions supplied by external programs.

    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.