adsense

Monday, 17 June 2013

Events and BTE






Events and BTE
 

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


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 .
 
 



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 .
 
 


Event – 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 . 
 
   



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
 
 


No comments:

Post a Comment