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):
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.
retreive order guid
CALL METHOD lc_order_h->get_crm_obj_guid
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.
Message was edited by:
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