View
216
Download
0
Embed Size (px)
Citation preview
7/27/2019 Week 2 Day 1 CRM Events
1/10
Copyright IBM Corporation 2009
IBM Global Business Services
Events and BTE
Module [1]: CRM Overview- Master Data
Date
7/27/2019 Week 2 Day 1 CRM Events
2/10
IBM Global Business Services
Copyright IBM Corporation 2009|
Event with an example
Requirement - custom event to be triggered when ever a line item is added toa Sales Transaction
7/27/2019 Week 2 Day 1 CRM Events
3/10
IBM Global Business Services
Copyright IBM Corporation 2009|
Events - Step 1
To create a custom event ,the transaction used isCRMV_EVEVT as shownin the screen .
The button ObjectFunction/Callback needto be pressed first , toregister theCustom function module
to be used in the eventlater .
7/27/2019 Week 2 Day 1 CRM Events
4/10
IBM Global Business Services
Copyright IBM Corporation 2009|
Events - Step 2
Step 2 : The list of registeredstandard function module isdisplayed in the screen .Weneed to press the New
Entries button here .
7/27/2019 Week 2 Day 1 CRM Events
5/10
IBM Global Business Services
Copyright IBM Corporation 2009|
Event Step 3
Step 3 : The customfunction module hasbeen added , with theobject function as
CRM_ORDERADM_I ,as our requirement isfor line item only .Press the save button, as shown that thedata has been saved.Move out of the
transactionafter this action iscomplete .
7/27/2019 Week 2 Day 1 CRM Events
6/10
IBM Global Business Services
Copyright IBM Corporation 2009|
Event Step 4
To trigger the event immediately when ever aline item is changed , we should selectExecution time as immediately . The Object name is Administration Item aswe are concerned with the item changeThe event need to be triggered after eachchange made by user , so eventAFTER_CHANGE is selected . Our customfunction module has been mentioned in theCallback section .Now press the button Callback for Cat/Obj/Event . A screen as below willappear.Press the Display" button
7/27/2019 Week 2 Day 1 CRM Events
7/10
IBM Global Business Services
Copyright IBM Corporation 2009|
Event Step 5
Press Yes button on the leftscreen - which in turn will showthe below screen. Click NewEntries button.
7/27/2019 Week 2 Day 1 CRM Events
8/10
IBM Global Business Services
Copyright IBM Corporation 2009|
Event Step 6
Fill the dataasappropriatein the screen
7/27/2019 Week 2 Day 1 CRM Events
9/10
IBM Global Business Services
Copyright IBM Corporation 2009|
Event Conclusion
The custom function module code is visibleinside the event , Thus binding of
the custom event with the customfunction module is complete .
7/27/2019 Week 2 Day 1 CRM Events
10/10
IBM Global Business Services
Copyright IBM Corporation 2009|
BTE Business Transaction Events
SAP Program provides a means of extending the system without modificationthrough customizing. It is done through Events called Business TransactionEvents.
It can be set up is using tcode like FIBF
SAP provides sample function modules called SAMPLES for events whichcontains the interface. It can be used as a template to create custom functionmodule 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