2

Click here to load reader

Exitbadi After Save Material Master Data

Embed Size (px)

Citation preview

Page 1: Exitbadi After Save Material Master Data

MAY/12

SAP – Exit/BADI After Save Material Master Data

In many situations, we need to perform some actions after a material is saved in the SAP

system. If you look for exits or badis you will see that is not possible to perform it. Normally, BTE (Bussines Transaction Event) are used in SAP Finance Module, but there is a los of

events that must be checked before say something is not possible, and that's the case.

For Material Master Data creation or change, we have an event that is executed just before

saving data in database for material. All the checks and validations for material are done, and this event created by SAP to send data about Materials to external systems. In our cases

it will be usefull to perform customer tasks after material save.

At next, you will see the process to define the BTE for material after save:

◦ Execute transaction FIBF

◦ Create a Customer Product if it does not exist.

◦ Later, create a P/S Module... ... of a Customer.

◦ In the table shown, you must add the Event 1250.

◦ After that, we have to define the function module which will be executed when the event is raised. In the standard system, we have the sample function module SAMPLE_INTERFACE_00001250 which must be used as a base of copy to create our customer function module.

Strona 1 z 2SAP - Exit/BADI After Save Material Master Data

2012-07-26http://aloquevamos.com/wordpress/2012/05/sap-exitbadi-after-save-material-master-d...

Page 2: Exitbadi After Save Material Master Data

◦ The new function module must be filled in the entry for the event 1250 in transaction FIBF.Inside the customer function module we must define another function module of type Update Process, to delegate its execution when the standar COMMIT is perfomed.

By this way, you can executed your proceses and tasks after Material Master Data is saved.

Strona 2 z 2SAP - Exit/BADI After Save Material Master Data

2012-07-26http://aloquevamos.com/wordpress/2012/05/sap-exitbadi-after-save-material-master-d...