Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI & BDC ?

Former Member
0 Likes
974

what is the difference between BAPI & BDC ?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
715

Hi

<b>BAPI</b>

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 out

http://searchsap.techtarget.com/ateQuestionNResponse/0,289625,sid21_cid558752_tax293481,00.html

http://www.sap-img.com/abap/interview-question-on-bapi-rfc-abap-objects-tables.htm

http://www.sap-img.com/fu033.htm

http://www.sap-img.com/abap/ale-bapi.htm

Refer following SDN threads:

<b>

BDC:</b>

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)

CALL TRANSACTION

BATCH INPUT METHOD:

This method is also called as ‘CLASSICAL METHOD’.

Features:

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.

CALL TRANSACTION METHOD :

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

Features:

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:

http://myweb.dal.ca/hchinni/sap/bdc_home.htm

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/bdc&;

http://www.sap-img.com/abap/learning-bdc-programming.htm

http://www.sapdevelopment.co.uk/bdc/bdchome.htm

http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm

http://help.sap.com/saphelp_47x200/helpdata/en/69/c250684ba111d189750000e8322d00/frameset.htm

http://www.sap-img.com/abap/learning-bdc-

http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html

5 REPLIES 5
Read only

ferry_lianto
Active Contributor
0 Likes
715

Hi,

Please check these.

BAPI is used only when it is available for the particular transaction like Delivery Sales order. but BDC can be used for any transaction which have screen and fields.

BAPI is directly updated the database instead BDC run through the screen flow.

So BAPI can't handle all the flow logic checking and enhancement put by programmer to faciliate the user requirement.

BAPI is a higher end usage for tranfering the data from SAP to non-SAP and vice-versa. for ex: if we are using VB application,where in that we want to connect to SAP and retireve the data,and then change and update the data in SAP for that purpose we can use that.

Apart from that, we can also use it for Uploading/Downloading the data from SAP to Non-SAP like BDC, provided we have an existing BAPI for that.

BAPI function modules will also do all the checks required for data integrity like Transactions for BDC.

There is one more advantage using BAPI instead of BDC. When we go for upgradation, there might be pozzibility to change the screen elements for transactions depending on the requirement. In that case,our BDC pgm may or may not work (depending on the screen changes they have made). Unless and until we prepare new BDC we cant use the old BDC pgm. But in BAPI, SAP promises that they are going to keep the old BAPI and for new functionality they will provide an upgraded BAPI. Until we write a new BAPI pgm, we can use the exisitng BAPI pgm.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
715

Hi ,

<b>BAPI</b>

BAPI is an interface which helps the extenal world to communicate with R/3 via OOPS Programming.

BAPI is technology of aplication interface.

<b>BADI</b>

BADI is used to enhance R/3 For customer Needs.

Business Add-Ins are a new SAP enhancement technique based on ABAP Objects.

Regards

Sathish

Read only

Former Member
0 Likes
715

HI,

_________________________________

BAPI

BAPI---BUSINESS APPLICATION PROGRAMING INTERFACE

_________________________________

BAPI IS A METHOD IN NORMAL SENSE.

WE CAN CALL BAPI AS AN ""INTERFACE""

WHENVER WE R SUPPOSED TO ACCESS ANOTHER APPLICATION FROM OTHER TECHONOLOGY , WE CANT ACCESS IT DIRECTLY

FOR EXAMPLE : WE R SUPPOSED TO ACCESS JAVASERVLET PROG FROM SAP , WE CANT IT DIRECTLY.

WE CAN ACEESS THOSE APPLICATIONS PROVIDED THEY R CONVERTED TO AN INTERFACE

INTERFACE : ITS JUST AN REMOTE ENABLED FUNCTION MODULE

IF THAT APPLICATION FROM OTHER TECHNOLOGY IS CONVERTED TO INTERFACE , WE CAN ACCESS THAT APPLICATION FROM SAP ,WE CAN USE THAT INTERFACE , WE CANT CHANGE THAT INTERFACE.

WE CAN UTILISE IT BY GIVING INPUTS AND OUTPUTS

_______________________________________________

BADI : BUSSINESS AD IN'S

__________________________________________________

THESE R NOTHING BUT CUSTOIMER ENHANCEMENTS

CUSTOMER ENHANCEMENTS : 1.USER EXITS

2.BADI'S

USER EXITS: USED FOR ENHANCING NORMAL STRUCTURES i.e., NORMAL PROGRAMING

BADI'S: USED FOR ENHANCING OOABAP PROGRAMS.

Read only

Former Member
0 Likes
716

Hi

<b>BAPI</b>

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 out

http://searchsap.techtarget.com/ateQuestionNResponse/0,289625,sid21_cid558752_tax293481,00.html

http://www.sap-img.com/abap/interview-question-on-bapi-rfc-abap-objects-tables.htm

http://www.sap-img.com/fu033.htm

http://www.sap-img.com/abap/ale-bapi.htm

Refer following SDN threads:

<b>

BDC:</b>

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)

CALL TRANSACTION

BATCH INPUT METHOD:

This method is also called as ‘CLASSICAL METHOD’.

Features:

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.

CALL TRANSACTION METHOD :

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

Features:

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:

http://myweb.dal.ca/hchinni/sap/bdc_home.htm

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/bdc&;

http://www.sap-img.com/abap/learning-bdc-programming.htm

http://www.sapdevelopment.co.uk/bdc/bdchome.htm

http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm

http://help.sap.com/saphelp_47x200/helpdata/en/69/c250684ba111d189750000e8322d00/frameset.htm

http://www.sap-img.com/abap/learning-bdc-

http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html

Read only

Former Member
0 Likes
715

HI,

_________________________________

BAPI

BAPI---BUSINESS APPLICATION PROGRAMING INTERFACE

_________________________________

BAPI IS A METHOD IN NORMAL SENSE.

WE CAN CALL BAPI AS AN ""INTERFACE""

WHENVER WE R SUPPOSED TO ACCESS ANOTHER APPLICATION FROM OTHER TECHONOLOGY , WE CANT ACCESS IT DIRECTLY

FOR EXAMPLE : WE R SUPPOSED TO ACCESS JAVASERVLET PROG FROM SAP , WE CANT IT DIRECTLY.

WE CAN ACEESS THOSE APPLICATIONS PROVIDED THEY R CONVERTED TO AN INTERFACE

INTERFACE : ITS JUST AN REMOTE ENABLED FUNCTION MODULE

IF THAT APPLICATION FROM OTHER TECHNOLOGY IS CONVERTED TO INTERFACE , WE CAN ACCESS THAT APPLICATION FROM SAP ,WE CAN USE THAT INTERFACE , WE CANT CHANGE THAT INTERFACE.

WE CAN UTILISE IT BY GIVING INPUTS AND OUTPUTS

_______________________________________________

BADI : BUSSINESS AD IN'S

__________________________________________________

THESE R NOTHING BUT CUSTOIMER ENHANCEMENTS

CUSTOMER ENHANCEMENTS : 1.USER EXITS

2.BADI'S

USER EXITS: USED FOR ENHANCING NORMAL STRUCTURES i.e., NORMAL PROGRAMING

BADI'S: USED FOR ENHANCING OOABAP PROGRAMS

_________________________________________________

BDC :

____________________________________________________

HERE BDC IS USED FOR DATA MIGRATION

U CAN UPLOAD FLAT FILES FROM LEGACY SYSTEMS TO SAP THROUGH BDC BY USING

1.SESSION METHOD

2. CALL TRANASCTION METHOD

3.DIRECT INPUT METHOD

SESSION METHOID IS THE EFFICIENT WAY SO THAT WE HAVE AN AUTOMATIC ERROR LOG

IF USER WANTS ONLINE EXECUTION GOP FOR CALL TRANSACTION

_______________________________________________________

BOTH BDC & BAPI R WORKING FOR SAME PROCESS

BUT IF U R AVAILABLE WITH BAPI

GO FOR BAPI FIRST

OR ELSE IF U DONT FIND REQUIRED BAPI GO FOR BDC