adsense

Sunday, 16 June 2013

BAdi Definition (SE18) & BAdi Implementation (SE19)



BAdi Definition (SE18)
 
§In the Definition view, an application programmer predefines exit points in a source that allow customers to attach additional software to standard SAP source code without having to modify the original object.
§To define a BAdi use Sap Menu -> Tools -> ABAP Workbench -> Utilities -> Business Add-Ins -> Definition (transaction SE18).
§Call the interface at the appropriate point in application program, where you want to provide an exit to the customer
§Customers can then select the add-in and implement it according to their needs
  
 
 
When a BAdi is created following are automatically generated :
An interface with ‘IF_EX_’ inserted between the first and second characters of the BAdi name
An adapter class with ‘CL_EX_’ inserted between the first and second characters of the BAdi
   name.
The Application developer creates an interface for this Add-In Enhancement management
generates an adapter class for implementing the interface. This opens a path for custom
implementations to be created by partners or customers. By instantiating the adapter class in the
application program, its corresponding methods can be used.
Multiple use : With this option you can have multiple implementations for the same BAdi.
Filter-Dependent : Business Add-Ins may be implemented depending on a specific filter value (example, country-specific versions: Distinct implementations of the BAdi can be created for each country). A filter type must be entered when defining your enhancement (a country or industry sector, for example). All methods created in the enhancement's interface have filter value 'FLT_VAL' as their import parameter. The method then selects the active implementation based on the data provided in the filter value.
Note: Normally you wont need to create BAdi definitions. You would implement BAdi definitions provided by SAP for SAP standard transactions.
  
BAdi Implementation (SE19)
 
§In the Implementation view, the users of Business Add-Ins can customize the logic they need or use a standard logic if one is available.
§Find the suitable Business Add-Ins present in system (Use IMG or Component hierarchy)
§Use Add-Ins Documentation to understand functionality & to decide which Definition to implement.
§Use SAP Menu ABAP Workbench ->Utilities -> Business Add-Ins -> Implementation (transaction SE19)
§
§                                                                                   
 
 
 
 

No comments:

Post a Comment