cancel
Showing results for 
Search instead for 
Did you mean: 

How to read marketing Attributes assigned to Account or Contact

apoorva_singh
Active Participant
0 Kudos

Hi.

I have a need to read Marketing Attributes assigned to given Customer or Contact  and display the text related to attributes in a table. When i look at BusinessAttributeAssignment BO there is no Query available. Also BusinessPartner and Customer BO do not have anything related with Marketing attributes that i can find.

I need the text of Attribute set , Attribute name and Attribute Value in a tabular format for given BusinessPartner.

Regards

Apoorva

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186648
Active Contributor
0 Kudos

Hi Apoorva,

For a given customer you could access marketing via association.

Ex:

var MarketingResult = CustomerInstance.Marketing;

But, marketing association is 0..1 so, you need not have a list.

Thanks, Pradeep.

apoorva_singh
Active Participant
0 Kudos

Hi Pradeep.

This doesn't work. I need Marketing attributes listed. With your method it doesn't have the elements that i need.

However , i need the following data read which can have multiple lines.

Regards

Apoorva

sunil1101
Advisor
Advisor
0 Kudos

Hi

Marketing Attributes is not a standalon functionality in C4C. This functionality will be available with integration with CRM.

You can get more details vai this link

For your question how to read Marketing attribute,

Marketing Attribute is a cross BO association in Customer BO and this association is not PSM release so you can't read in SDK. However target BO of association is PSM realeased which you can read via query in ABSL. Target BO name BusinessAttributeAssignment available under namespace http://sap.com/xi/AP/FO/BusinessAttribute/Global.

Regards

Sunil