Sunteți pe pagina 1din 10

IBM Global Business Services

Events and BTE


Module [1]: CRM Overview- Master Data Date

Copyright IBM Corporation 2009

IBM Global Business Services

Event with an example


Requirement - custom event to be triggered when ever a line item is added to a Sales Transaction

Copyright IBM Corporation 2009

IBM Global Business Services

Events - Step 1
To create a custom event , the transaction used is CRMV_EVEVT as shown in the screen .
The button Object Function/Callback need to be pressed first , to register the Custom function module to be used in the event later .

Copyright IBM Corporation 2009

IBM Global Business Services

Events - Step 2
Step 2 : The list of registered standard function module is displayed in the screen .We need to press the New Entries button here .

Copyright IBM Corporation 2009

IBM Global Business Services

Event Step 3

Step 3 : The custom function module has been added , with the object function as CRM_ORDERADM_I , as our requirement is for line item only . Press the save button , as shown that the data has been saved .Move out of the transaction after this action is complete .

Copyright IBM Corporation 2009

IBM Global Business Services

Event Step 4
To trigger the event immediately when ever a line item is changed , we should select Execution time as immediately . The Object name is Administration Item as we are concerned with the item change The event need to be triggered after each change made by user , so event AFTER_CHANGE is selected . Our custom function module has been mentioned in the Callback section . Now press the button Callback for Cat/Obj/Event . A screen as below will appear.Press the Display" button

Copyright IBM Corporation 2009

IBM Global Business Services

Event Step 5
Press Yes button on the left screen - which in turn will show the below screen. Click New Entries button.

Copyright IBM Corporation 2009

IBM Global Business Services

Event Step 6

Fill the data as appropriate in the screen

Copyright IBM Corporation 2009

IBM Global Business Services

Event Conclusion
The custom function module code is visible inside the event , Thus binding of the custom event with the custom function module is complete .

Copyright IBM Corporation 2009

IBM Global Business Services

BTE Business Transaction Events


SAP Program provides a means of extending the system without modification through customizing. It is done through Events called Business Transaction Events. It can be set up is using tcode like FIBF SAP provides sample function modules called SAMPLES for events which contains the interface. It can be used as a template to create custom function module for the events. In order to search BTE, in code, tables like TBE* / TPS* can be searched. Using BTE following component can be plugged in
Custom Function Module
Function Modules by Partners SAP Components

Copyright IBM Corporation 2009

S-ar putea să vă placă și