cancel
Showing results for 
Search instead for 
Did you mean: 

CRM Activity

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member184067
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Thanks a lot, you saved my problem!

Thanks

Message was edited by:

thor thor

Answers (0)