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

Diff b/w BAPI and Function Module.

Former Member
0 Likes
454

What is the difference between BAPI and Function Module....

By Interface programming do we mean posting data thru BAPI,BDC....

4 REPLIES 4
Read only

raja_thangamani
Active Contributor
0 Likes
429

<i>What is the difference between BAPI and Function Module....</i>

BAPI - Remote Enabled Function module. Can be called even outside SAP also..

Function module - Can be called only in same SAP System. Not remote enabled.

<i>By Interface programming do we mean posting data thru BAPI,BDC....</i>

Based on the context, if you are taking in terms of Data conversion from Legacy, we mean BDC, BAPI etc..

In terms of Automated Datatransfer, we mean ALE/IDoc- posting program etc...

Hope this will be clear..

<i>* Reward each useful answer</i>

Raja T

Read only

Former Member
0 Likes
429

See the below threads for the detailed information:

Thanks

Read only

abdul_hakim
Active Contributor
0 Likes
429

hi

the key difference is BAPIs are remote enabled...

Cheers,

Hakim

Read only

rajasekhar_matukumalli3
Active Participant
0 Likes
429

Hi Alex,

BAPI: Standard Interface in the R/3 system that allows the system to communicate with components of other business suites.

FM: These are the procedures that are defined in the Function Groups and can be called from any ABAP Program. FM allow you to encapsulate and reuse global functions int he R/3 system.

The main basic difference between BAPI and FM are

1) All BAPIs are FM but not all FMs are BAPIs

2) BAPIs are remote enabled

3) BAPIs interface will not have a changing and exceptions. They can not be used to have use dialog.

Interface programs can post data to SAP either through a BDC, BAPI, IDOC etc. It depends on the type of requirement.

Hope this solves your question.

Enjoy SAP

Rajasekhar