on 11-13-2007 5:41 PM
Hi Guru's
I have created an action to send a reminder email using a method.
I created a new method using definition name: EXEC_METHODCALL_PPF;
Interface Name: IF_EX_EXEC_METHODCALL_PPF.
I have this in my code (execute):
method IF_EX_EXEC_METHODCALL_PPF~EXECUTE.
DATA:
lv_order_guid TYPE crmt_object_guid,
lc_order_h TYPE REF TO cl_doc_crm_order_h,
rp_status = 2.
lc_order_h ?= io_appl_object.
TRY.
retreive order guid
CALL METHOD lc_order_h->get_crm_obj_guid
RECEIVING
result = lv_order_guid.
So, at this moment I already have the lv_order_guid. Now i need to have access to the dates we see when we are creating a new activity. This e-mail will be send by using some conditions regarding the dates (orderactual - From and To). We can see those dates in first box on right when we are creating an activity.
How can I have access to those dates in my new method?
An example would be very appreciate.
Thanks, Regards
Message was edited by:
thor thor
hi Thor,
please try use the function module CRM_ORDER_READ to get the dates in activity.
in function module CRM_ORDER_READ, the dates can be found in parameter ET_APPOINTMENT.
hopes it helps
cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
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.