BAPI ( Business Application Programming Interface )

 

  • BAPI is a technique which is used to conduct large scale data migration from legacy system to SAP system.

  • BAPIs in the SAP systems are implemented as a Functional Modules.

  • When we create a business object for a RFC enabled function module and we merge it with the function module then we call it a BAPI.

    i.e. BAPI =Function Module + Business Object.

  • BAPI is always preferable preferable as compared to BDC for data migration.


BAPI vs BDC :-

1. BDC :-

  • Upgradation :- When we go for upgradation, there might be possibility to change the screen elements or numbers depending on the requirement. In that case, our existing BDC Program may or may not work. Unless and util we prepare new BDC recording, So, in that case we can’t use the OLD BDC Program.
  • Faster :- BDC run through the screen flow to update the database. So, It is slower as compared to BAPI.

2. BAPI :-

  • Upgradation :- 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 Program, we can use the existing BAPI Program.
  • Faster :- BAPI directly updates the database, So it is faster as compared to BDC.

Some Important BAPIs for Data Migration :-

  • Create and Change Material Master Data :- BAPI_MATERIAL_SAVEDATA
  • Creating a Purchase Order :- BAPI_PO_CREATE1

  • We will use the Above BAPI’s in the next part for data transfer.

Comments

Popular posts from this blog

Understanding Different Types of SAP Function Modules: Normal, RFC, and Update

Unlocking SAP ABAP Secrets: Interactive Classical Reports with GET CURSOR, At User Command, and a Comparison of HIDE Statements

Mastering ABAP: A Step-by-Step Guide to Function Modules and Groups for Modularized Programming