on 02-11-2020 10:13 AM
hy Experts,
in the context of the following article i wanted to create a BAdl based on CUAN_IA_REVISE_FOR_IMPORT with some changes to achieve the goal so that i'm able to set the interaction type to a custom field of the associated contact.
https://blogs.sap.com/2018/01/21/how-to-assign-interactions-to-a-contact-using-unique-ids/
But now i have some problems doing this. The field "additional_facet" which is for:
DATA ls_add_facet LIKE LINE OF additional_facet.
is not known. Was there a change unter the hood or why is this happening.
Second question: What i want to achieve in the end is to set the value of the interaction type as string to a custom field of the related interaction. Is this somehow possible and if so how?
Many Thank's BR,
Andreas
Hi Andreas,
Please refer to point 4 of https://blogs.sap.com/2018/01/21/how-to-assign-interactions-to-a-contact-using-unique-ids/
You need to revise the usage of BADI as above.
best regards,
Kunal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hy,
first of all - thank you both for your help. I could now solve the problem regarding "additional_facet". I'm also able to use all "standard" interactions like for example "if_cuan_ce_c=>co_iatype_mkt_perm_optin". Question: is it somehow possible to access custom interaction types?
Thank's BR
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ressandr, please use the comment function instead of the answer function, since you only provide a comment and not a clear answer on how you solved your problem.
Regarding your next question, where do you want to access the custom interaction types and what do you want to do with it? In coding or in a UI5 App?
Based on the blog and your error, you are not following the steps for the implementation.
You say you created a BAdI Implementation for CUAN_IA_REVISE_FOR_IMPORT and have issues with the interface parameter additional_facet. This is indeed not a parameter of the above BAdI Interface, but of the second necessary BAdI Implementation for CUAN_IMPORT_IA_4_IC.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.