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

Whai is diff b/w BAPI and RFC Function module.

Hi experts,

Please clarify the diff b/w BAPI and RFC Function module.Using both we connect legacy applications.

Regards

Pratap.M

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Posted on Nov 30, 2007 at 07:02 AM

    Hi Pratap,

    Check this thread..

    bapi-vs-rfc

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 30, 2007 at 07:02 AM

    BAPI AND RFC

    regrads

    santhosh reddy

    reward if useful

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 07:13 AM

    <b>Normal Function Module :</b>

    A procedure that can only be defined in function group and outside of classes. It can be called from any program. Begins with FUNCTION and ends with ENDFUNCTION.

    Function modules are cross-program, reusable procedures that are organized into function groups.

    <b>

    Remote Function Call</b>

    Call of a function module that runs in a different system (destination) as the calling program. Possibilities include connections between different SAP systems or connections between an SAP and an external system. Specially programmed functions, whose interface simulates a function module, are called in external systems instead of function modules. There are synchronous, asynchronous, and transactional function calls. The system is called up using the RFC interface.

    <b>Business Application Programming Interface</b>

    (BAPI) Predefined interface to data and processes in an SAP application, which is stored in the Business Object Repository with the basic functions Create Objects, Query Object Properties, and Change Object Properties. BAPIs are implemented using function modules with the naming convention BAPI_<business_object_name>_<method_name> that can be called remotely and that cannot run a user dialog. The BAPI Explorer, which lists the function modules for each application, can be accessed with the transaction code BAPI.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 07:18 AM

    Hi,

    BAPI stands for Business Application Programming Interface. It is a library of functions that are released to the public as an interface into an existing SAP system from an external system.

    RFC is the protocol used to call functions in an R/3 system by a caller external to R/3 or to call programs external to R/3 from an R/3 system.

    Functions can only be called via RFC, if they are tagged as RFC functions in the SAP development workbench. They are then called RFC function modules. BAPIs are complete sets of (BAPI) function modules that model a business application.

    When you are familiar with web developments: RFC can be compared to HTTP and BAPIs are CGI applications.

    In other words: A BAPI function is a function module that can be called remotely using the RFC technology.

    Please check the links,

    BAPI and RFC

    RFC Vs BAPI

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 08:12 AM

    RFC (remote function call) is just a method of access. It means that a function or BAPI can be accessed via external system (e.g. Excel VBA).

    In essence, BAPI is just a fancy name for the "function", except that BAPI are more robust/better documented.

    If you go to SE37 and check the Attributes tab -> Processing Type for the chosen function, you will see radio buttons that control whether the function/BAPI is remote access enabled or not.

    Janek

    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.