on 04-17-2015 2:28 PM
Hello all,
I need your help.
I have created one Action Profile and with METHODCALL type and implemented the EXEC_METHODCALL_PPF BADI.
I am unable understand how to read the campaign details in this BADI.
Please help me. Thank you so much!
Hi Maren,
Can you please try following code:
data: l_o_object TYPE REF TO cl_doc_crm_order,
l_v_order_guid TYPE crmt_object_guid.
l_o_object ?= io_appl_object. """"""""" (Importing parameter of BADI)
l_v_guid = l_o_object->get_crm_obj_guid( ).
Here L_V_GUID should be the campaign GUID. I am not sure but can you please give it a try.
Once you have the GUID of campaign then there are many FM's like MKT_ELEMENT_READ or MKT_ELEMENT_STATUS_READ to get the campaign details.
Thanks
Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Experts,
Can someone please provide me with some sample code?
Thank you in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arden,
I' want to read the campaign header data like Status, Employee Responsible and if possible Target group assigned to the campaign.
If it's one order, the BADI's import parameter will have the GUID and then we can use CRM_ORDER_READ to retrieve the other data.
Here, I don't know how to get the GUID of the campaign and then to read the header data.
Please help me with this. Thank you!
User | Count |
---|---|
4 | |
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.