on 2020 Nov 23 5:02 PM
Hello Community,
i have a problem with the report that allows me to set cold discarded campaigns with an end date in the future.
Unfortunately some users of the system have set the status for some campaigns to “discarded“, that have an end date in the year 9999. So I am not able to change the date in the campaigns, because the campaign is discarded and I am also unable to set cold the campaigns with the report (CUAN_INITIATIVE_SET_COLD) in SAP Marketing backend.
Has anyone an idea how to solve this issue?
Kind regards,
Robert
Request clarification before answering.
Hello,
once the campaign is set to "Discarded" then it will become read-only. Therefore, you cannot change the end date and this is expected system behavior. API's can only change the data which is "In Preparation" status as mentioned in the official documentation.
However, what happens when you try to use the report CUAN_INITIATIVE_SET_COLD? Why cannot you set the campaign to COLD??? Have you checked the retention period field before executing the report? Ideally, if you have maintained the retention period correctly then at least the campaign can be set to cold.
PS: Since you are using an OnPrem version, therefore, you have all the flexibility of changing data in debug mode to skip a few checks 😉. So if you pass "Retention Period" as 0 then it should work even for dates in future.(Atleast the same works in Mkt Cloud system)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Saurabh Kabra,
thank you for your answer.
I can use the report, but in standard, it did not take the campaigns, that are discarded and have an end date in future. I also tried to set the retention period to 0 before i wrote the question but this does not work, because if i start the report than it shows 30 days as retention time because of the else in the code in line 77.
But as you mentioned in “PS“ i changed the value in debug mode.
Thank you for your help!
Kind regards,
Robert
Hi Robert,
never tried to do this, but is it maybe possible to change the end date via PATCH on the OData API API_MKT_CAMPAIGN_SRV ?
Otherwise I have no idea... 😕
BR Tobias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 2 | |
| 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.