Business Add in
Business Add in as well call it as Badi's are the integral part of SRM. To give an overiview of what is badi it is just a enhancement point where the customer can add their custom process by doing ABAP coding. Badi's are Object Oriented enhancement spot (or) Badi is a standard exit where customers can customize the business process according to them and without changing any system modification.
In this Post we will see few badis that are used most commonly
We will seee few Badi's in this part and rest of the badis in the next post.
BBP_BS_GROUP_BE
This is a filter dependend Badi ,This badi has the following methods
Methods:
GROUP_PO_BACKEND
GROUP_RQ_BACKEND
GROUP_RS_BACKEND
GET_NUMBER_OR_RANGE
GROUP_RQ_BACKEND- If we define this method then we can define our own logic of grouping PR. Purchase Requistions can be grouped togher depend upon the document type
GROUP_PO_BACKEND - PO items can be groupded together in a better way.
GROUP_RS_BACKEND- This method is used for Reservations. As per standard only one Reservation is created for a particular item, But this standard procedure can be overwritten by implementing this method.
GET_NUMBER_OR_RANGE- By implementing this mehtod we can overwirte the number range for PO, PR and Reservations
BBP_CATALOG_TRANSFER
We use this badi inorder to change the data from the catalog to SRM. When we do changes to this badi then there will be an impact on Business functions like GR Confirmation and Service Entry and this is a Filter Dependend Badi. This badi has one method called "ENRICH_ITEM_DATA"
When end user tries to add a item from the catalog then Function module gets triggered 'BBP_WS_IMPORT_SC_DATA'. After the system picks the item from the catalog. System converts the ISO , Currency, Price to Standard SAP Format.
If the material master is transfered from the catalog then system tries to fetch the product number from the Standard table COMM_PRODUCT and transferes
This method has following parameters
BBP_CHNG_AGNT_ALLOW:
We can use this badi inorder to add/change the approvers in the workflow preview. This Badi has the following methods
AUTHORISE_FOR_CHANGE -This method is used to change the approver
AUTHORISE_FOR_INSERT - This method is used to add the approver
BBP_CREATE_BE_PO_NEW
This Badi is used to change the data while SC is creating a Purchase Order aganist that particular Shopping Cart. This Badi has two methods
FILL_PO_INTERFACE - This methods gets triggered when bapi "BAPI_PO_CREATE1" is called
FILL_PO_INTERFACE1- This methods gets triggered when bapi "BAPI_PO_CREATE" is called
BBP_CREATE_BE_RQ_NEW
This badi is used to change the data while you are creating a Purchase Requistion (PR) aganist that particular Shopping cart. This Badi has only one method called "FILL_RQ_INTERFACE". Bapi "BAPI_REQUISITION_CREATE" calls this method to create a PR in the respective Backend System.
BBP_CREATE_BE_RS_NEW
We use this badi to create a Reservation aganist a parituclar SC in the backend system. This badi has two methods:
FILL_RS_INTERFACE1 - This mehtod gets triggered when we use bapi API_RESERVATION_CREATE1"
FILL_RS_INTERFACE- This mehtod gets triggered when we use bapi "BAPI_RESERVATION_CREATE"
These are the badi's which needs to be active in your system when you have implemented Self Service Procuremente.will see other badi's related to Self -Service procurement in the next post. If you want to view what are all the badi's activated in your system landsapce then go to Tcode SE95 and check it out.