04-03-2008 12:43 PM
Hi Friends,
What is the technical difference between BAPI and Function Module (Normal, RFC and update)?
When do we use BAPI and FM?
If BAPI is also RFC enabled then why do we have RFC function module?
Kindly clarify with examples.
Regards,
Pradeep Singh Dhadwal
04-03-2008 12:50 PM
Hi Pradeep,
BAPI vs FM
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.
FM
Normal FM used internally inside SAP.
Hope this helps,
Manish
04-03-2008 12:50 PM
Hi Pradeep,
BAPI vs FM
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.
FM
Normal FM used internally inside SAP.
Hope this helps,
Manish
04-03-2008 12:50 PM
Do a search on SDN and you'll find loads of material for your issue.
Question was posted already several times in the past, so shouldn't be a problem to find documentation on this.
04-03-2008 1:09 PM
Hi,
U got clear and good ans from Manish kumar for BAPI and RFC
BAPI function module is RFC that is Remote enabled.U can use with Remote systems .
where as normal function module is used with in the same system .