on 12-03-2013 5:54 AM
Hi Gurus
We are using Marketing Campaigns with the Campaign Approval Process, however we find that a user can still start a Marketing Campaign even if the Approval is rejected.
Is there a way to deactivate the “Start” button until the Status = “Approved”
Typically how should the Status Profile look for this set-up and what follow-up Transactions should be assigned to each status.
Many Thanks...
Vikas
Hi Vikas,
You should create status profile which should not have 'released' status. Then assign this profile to all the campaign types. So the campaigns will be either 'initiated ' or ' in-process' or 'completed' when saved. Now a custom background report has to be run every hour which will send an email alert to employee responsible to approve the campaigns and check the campaign launch date and time. If the launch date and time matches with the system date and time, and the campaign status is approved. Then pass the campaign guid to cl_crm_mktpl_appl_base ( get instance) and then pass to method element read. Then call method execute_background and the save method. So automatically the campaign execution will be completed.
Regards,
Manjeet Singh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vikas,
Try with CRM_CPG authorization object.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
a campaign can be started once it is released. Usually the campaign should be approved before it gets released.
If you set up your status profile a way that the campaign must not be released, if it is not yet approved the issue is solved.
Alternatively you can disable the start button with redefining the following method:
CL_CPG_MAIN_OPOVERVIEW_IMPL=>IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS
In standard there is a check if the campaign is released - this is happening in the following call stack:
24 METHOD CHECK_MKTPROJECT_IS_RELEASED CL_CRM_MKTPL_STATUS_UTIL
23 METHOD EXPORT_TGGRP_CHECK CL_CRM_MKTPL_FUNCTIONS
22 METHOD EXPORT_TGGRP_GET_PARAMETER CL_CRM_MKTPL_FUNCTIONS
23 METHOD PREPARE_EXECUTION_JOB CL_CRM_MKTPL_FUNCTIONS
20 METHOD CHECK_EXECUTION_PREPARATIONS CL_CPG_MAIN_OPOVERVIEW_IMPL
19 METHOD CHECK_START_EXECUTION CL_CPG_MAIN_OPOVERVIEW_IMPL
18 METHOD EH_ONSTART CL_CPG_MAIN_OPOVERVIEW_IMPL
Does this help?
best regards,
Johannes
User | Count |
---|---|
7 | |
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.