on 2020 Sep 10 1:00 PM
Hi Experts,
We are using SAP Marketing On-premise 1809 version.
We are trying to create a segmentation profile based out of interactions to create target group and send campaign with personalization capabilities. While using Class - CL_CUAN_INTERACTION_SEGMENT not able to assign 2 key fields - CUAN_INTERACTION and CUAN_INTERACTION_CONTACT.
Key Field 1 - CUAN_INTERACTION
Key Field 2 - CUAN_INTERACTION_CONTACT
Error - Segmentation object ZSO_POC2, consumer class CL_CUAN_INTERACTION_SEGMENT: Number of keys differ (2/1) (GSEG/032)
We also tried using the Class - CL_CUAN_OBJECT_IC_SEGMENTATION and assigned 2 key fields as per the Note - 2895321, but we are getting error as shown below.
Error: Segmentation object ZSO_POC3, consumer class CL_CUAN_OBJECT_IC_SEGMENTATION: Number of keys differ (2/3) (GSEG/032)
Please let us know if On-premise allow you to segmentation based on interaction key and create target group which can be used for EMAIL/SMS communication with personalization features(Interaction fields).
Regards,
Deepu Pankaj
Request clarification before answering.
Hi,
For 1809 On-Premise version we have standard interaction segment class(CL_CUAN_INTERACTION_SEGMENT) that can be copied to a custom class and make necessary changes to method - IF_GSEG_CONSUMER~CHECK_OBJECT_KEY and assign this custom class to respective segmentation object to enable this functionality.
Code snippet is as shown below.
method if_gseg_consumer~check_object_key.
rt_object_key = value #( ( ot_key_data_type = 'VARBINARY'
ot_key_len = 16 )
( ot_key_data_type = 'VARBINARY'
ot_key_len = 16 ) ).
endmethod
Regards,
Deepu Pankaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deepu,
in 1809 on-prem there is only support for 1 or 3 segmentation object keys out-of-the-box.
In a later version (I believe 2020 - but not sure) it should be possible to also have 2 segmentation object keys with the consumer class CL_CUAN_OBJECT_IC_SEGMENTATION out-of-the-box.
In on-premise it is possible to just create a custom consumer class inheriting from standard, which allows to add any needed number and type of segmentation object keys.
Side-note: Do you really need interaction key and interaction contact key?
I hope this helps.
Thanks & regards,
Sebastian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
2 | |
2 | |
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.