on 07-10-2019 4:52 PM
Is there a field/function/code that is available and can be utilized in Content Studio so that, upon execution, the execution date can be dynamically used each execution to derive other email details?
IE: A trigger email executes each week beginning on Monday 7/1 for 7 weeks. Can we somehow access the campaign execution date (7/1/19, 7/819, 7/15/19, etc) in Content Studio?
This was added as a new feature instead, so no BAdi or custom ABAP code needed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can you please check BADI "Dynamic Content Retrieval for Campaign Execution" under context "Marketing: Campaign". This BADI can be used to add campaign execution date while sending out the email.
More detail about the use case can be found in the URL below:
https://launchpad.support.sap.com/#/notes/2529722
Thanks
Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saurabh - Thank you so much for your help. I have very little experience with BAdi but after looking at the comments in the example for this BAdi it states:
"This enhancement is called during campaign execution in the phase 'processing (of package)' of sending email actions. It overrules the standard behavior for data retrieval of the dynamic content for dynamic target groups"
Can you elaborate on this? This statement sounds like by using this on sending email actions, it would only be invoked for dynamic target groups? Meaning for static target groups we would not be able to get at the campaign execution date while sending emails?
Also, the comments in this BAdi are very limited. Are there examples of this BAdi that shows how to implement the cod to add the campaign execution date that we can refer to somewhere?
Again, thank you in advance for your help! I really appriciate it!
Hi Kimberly,
In our proejct we use dynamic target group for campaigns. Hence unfortunately I never used this BADI in case of static target group. However as written in documentation it looks like it only works in case of dynamic target group.
Since marketing cloud is relatively new and cloud based product, Hence you will not find exact for a paricular badi. However please check this BLOG which nicely explains about how to write custom logic.
Regards
Saurabh
Hi Saurabh, I'm working with Kimberly to set this up and had a few questions:
a. How do you run through the Prerequisites? I don't know where the DDIC structures are meant to be created in Marketing Cloud.
b. Is the code only supposed to be a few lines? The BAdi was only three lines, with a few parameters, with I believe the first one being the column I need to get (Execution Date but in the right format). I'm assuming the DDIC is the data dictionary of what I can call? If not, is there another way to see the exact column name I need to grab?
Thanks,
Vernon
Hi,
You can always create a DDIC at run time using TYPES statement.
types: begin of ty_type,
id type cuan_attribute_name,
value type cuan_attribute_name,
value1 type cuan_attribute_value,
end of ty_type.
data: ls type ty_type.
We implemented this for Omprem system hence code and our requirement was not exactly as what you have. Hence i cannt really say how difficult it is to implement it in Cloud.
Regards
Saurabh
User | Count |
---|---|
5 | |
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.