Skip to Content
avatar image
Former Member

How bapi replace bdc ...


Can any one tell me brief description about ' how bapie replace bdc " and also provide me example for that.

Thanking you in advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 22, 2007 at 05:47 AM


    BAPI is not replacing BDC. BAPI is representation of Business Object through RFC enabled FMs.


    In BDC you upload data using GUI_UPLOAD same you do in BAPI program. Collect data into internal table.

    And in BDC screen wise it will take you for Updation , This is not a case with BAPI it will directly update database if you commit it.

    Report like,

    1.GUI_UPLOAD collect data into itab

    2. Loop at itab. (having materials)




    Reward if useful!

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 22, 2007 at 05:46 AM

    Hi Gurprit,

    its suggestable to use BAPI in place of BDC when BAPI exists for that activity. This is because when you r upgrading your system the BDC will not work whereas BAPI works fine with small changes.

    Award points if this is helpful.


    Ravi G

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 22, 2007 at 05:46 AM


    if u find any hard for writing bdc program in this situations we use bapi's

    if u take example of me21n for this type of cases we use bapi's

    reward points to all helpful answers


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member


      BDC (Batch Data Communication) is a technology used for data transfer. it is meant for transferring data thru SAP transactions itself. when u use BDC for data transfer, the sequence of steps is the same as when u use standard sap transaction screens for data upload. the only difference is that u can use different options for foreground/background processing.


      Batch Data Communication (BDC) is the process of transferring data from one SAP System to another SAP system or from a non-SAP system to SAP System.

      Features :

      BDC is an automatic procedure.

      This method is used to transfer large amount of data that is available in electronic medium.

      BDC can be used primarily when installing the SAP system and when transferring data from a legacy system (external system).

      BDC uses normal transaction codes to transfer data.

      Types of BDC :

      CLASSICAL BATCH INPUT (Session Method)



      This method is also called as ‘CLASSICAL METHOD’.


      Asynchronous processing.

      Synchronous Processing in database update.

      Transfer data for more than one transaction.

      Batch input processing log will be generated.

      During processing, no transaction is started until the previous transaction has been written to the database.


      This is another method to transfer data from the legacy system.


      Synchronous processing. The system performs a database commit immediately before and after the CALL TRANSACTION USING statement.

      Updating the database can be either synchronous or asynchronous. The program specifies the update type.

      Transfer data for a single transaction.

      Transfers data for a sequence of dialog screens.

      No batch input processing log is generated.

      For BDC:


      BAPI stands for Business API(Application Program Interface).

      A BAPI is remotely enabled function module

      ie it can be invoked from remote programs like standalone JAVA programs, web interface etc..

      You can make your function module remotely enabled in attributes of Function module but

      A BAPI are standard SAP function modules provided by SAP for remote access.

      Also they are part of Businees Objest Repository(BOR).

      BAPI are RFC enabled function modules. the difference between RFc and BAPI are business objects.

      You create business objects and those are then registered in your BOR (Business Object Repository)

      which can be accessed outside the SAP system by using some other applications (Non-SAP) such as VB or JAVA.

      In this case u only specify the business object and its method from external system

      in BAPI there is no direct system call. while RFC are direct system call.

      Some BAPIs provide basic functions and can be used for most SAP business object types.

      These BAPIs should be implemented the same for all business object types.

      Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs.

      Whenever possible, a standardized BAPI must be used in preference to an individual BAPI.

      check these links,289625,sid21_cid558752_tax293481,00.html



  • avatar image
    Former Member
    Aug 22, 2007 at 05:46 AM


    A BAPI is a method of a SAP Business Object. BAPI enables SAP and third party applications to interact and integrate

    with each other at the Business Object / Process level.

    Check this link to know more about BAPI.

    Batch Data Communication (BDC) is the oldest batch interfacing technique that SAP provided since the early versions of R/3. BDC is not a

    typical integration tool, in the sense that, it can be only be used for uploading data into R/3 and so it is not bi-directional.

    BDC works on the principle of simulating user input for transactional screen, via an ABAP program. Typically the input comes in the form

    of a flat file. The ABAP program reads this file and formats the input data screen by screen into an internal table (BDCDATA). The

    transaction is then started using this internal table as the input and executed in the background.

    In ‘Call Transaction’, the transactions are triggered at the time of processing itself and so the ABAP program must do the error handling.

    It can also be used for real-time interfaces and custom error handling & logging features. .

    To know more about BDC,

    check the link.

    Add comment
    10|10000 characters needed characters exceeded