on 11-23-2012 5:24 AM
What is the difference between ACTION and EVENT in CRM
Events are triggered for the actions (SAVE , CANCEL etc .. .) performed.
Events are the way to handle the business logic.
For experiencing the realy use of eventing : try search for Data loss pop up where the eventing is been used very extensively and all the doubts which you have on this will be cleared.
Thank and Regards,
nikhil Kulkarni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nikhil,
Thanks for the reply...
If the below case occurs which I have the choose...
Suppose in Quotation document , when user change the user status from I0308 to I0309 ,a validation will perform based on user Role ,and if it pass the validation it will trigger one email ,else it will display an error message.
In this case shall we use Event or Action.
Hello ,
I this case you need to make use of event handler.
Declear a server event in the get_p_xxx method of the status.
When you define a server event in the get_P_XXX method , you need to create a event handler with the same name.
WHEN if_bsp_wd_model_setter_getter=>fp_server_event
OR if_bsp_wd_model_setter_getter=>fp_onclick.
rv_value = 'EVENT_HANDLER_NAME'.
rv_value is case sensitive and all should be capital letters . Declear event handler with the same name and write logic to check the status of quotation and do your validation.
Thanks and Regards,
Nikhil Kulkarni
Hi ,
As per my knowledge you can follow any of the approach below.
http://www.sapfunctional.com/CRM/Actions/Index.htm
http://wiki.sdn.sap.com/wiki/display/CRM/Action+profiles+in+SAP-CRM
Regards
Rajarama U
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.