Advantages of BAPI in SAP
1. SAP BAPIs provide developers with stable and reliable interfaces to access the functionality offered by SAP business objects.
2. BAPIs can reduce development cost by providing integrated functionality through predefined methods of SAP business objects. These methods can reduce programming time on development projects.
3. Maintenance costs can be reduced because BAPIs are stable, documented frameworks that represent SAP’s investment in the R / 3 business object architecture.
1. Instance-independent BAPIs can be used without explicitly creating an instance of the business object.
2. Instance-dependent BAPIs require explicit creation of the business object instance.
BAPI life cycle: change management
1. Based on the SAP release strategy and strict rules to improve existing BAPIs, application developers can rely on the stability of BAPI interfaces.
2. Each enhancement to a published BAPI is made by ensuring that the syntax and content are backward compatible. This means that applications written with BAPIs in a particular R / 3 version are not affected by changes to this BAPI in later versions.
3. If it is necessary to make changes that are not backward compatible to an existing BAPI, a new interface is created, that is, a new additional BAPI. This BAPI has the same name as the existing BAPI to be replaced, but with a number appended to the end, for example, CustomerCode.GetDetail1.
4. The BAPI to be replaced is marked as expired (obsolete) in the version in which the successor BAPI is implemented, but will remain supported in the next two functional versions.
5. The BOR organizes SAP objects in a hierarchical schema within applications.
6. The object-oriented principle of inheritance is supported, allowing hierarchies and subclasses.