on 09-03-2007 1:27 PM
Hi All,
I want to raise an alert when 'Emplyee responsible' field is populated while creation of 'Follow-Up'.In short I need to attach a Z event with my field.How it can be done?
I know how to attach a existing event to Alert Profile.
Can anyone please suggest how to create a Z event and attach it to my field 'Employee Responsible' .
Regards,
Vikas Kabra
I use different technique....Code was useful at one point.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This will be a Custom Development .
--> Figure out the View Controller Class where you are adding the 'Employee resposible
--> Do a Controller Replacement for the Class with your custom Class
--> Now in this Controller , put your code to raise the Custom Event tied to the Alert
DATA: new_event TYPE REF TO cl_crm_ic_event.
CLASS cl_crm_ic_services DEFINITION LOAD.
event_srv = cl_crm_ic_services=>get_event_srv_instance( ).
create object new_event.
new_event->set_name('EmployeeAdded').
Optional ( Needed if you are passing paramters )
call method new_event->add_param
EXPORTING
name = 'SkillName'
value = ls_parameters-value.
**
event_srv->raise( new_event ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.