Symptom
This document will guide you on how to update Marketing Attributes using Data Workbench work center
"Images/data in this KBA are from SAP internal systems, sample data or demo systems. Any resemblance to real data is purely coincidental"
Environment
SAP Hybris Cloud for Customer 1711 and higher.
Resolution
Scenario 1: To add additional Marketing Attributes to a Customer you can follow the below steps
a. If root External Key(BusinessAttributeAssignmentExternalKey) is known, you can use it to add another attribute
- Go to Data Workbench work center
- Click Import view
- Select Individual Objects
- Select object as Attribute Assignment Item
- Click Download Metadata.
Once downloaded, fill the template as per the screenshot below and then import the template
Note: ITEM001, EXT001, ABD and XYZ are dummy values
b. If the External Key is not known, you can follow the below steps to export the data and update
- Go to Data Workbench work center;
- Select Export View;
- Select object Attribute Assignment Item;
- Under Filters select field Business Partner ID;
- Select condition Equals to;
- Under Values add the business partner ID;
- Click Next and then click Export Data.
Open the export file and delete the unwanted columns in the file. Make sure to keep the ParentObjectID and clear the ObjectID. Then update the Attribute_Set_ID, Attribute_ID, Value as required and then follow the below steps.
- Go to Data Workbench work center.
- Select Import and Update.
- Select Object as Attribute Assignment Item.
- Click Next.
- Upload the template.
- Click Import.
Scenario 2: Use Import Complete Business Objects option to add another Marketing Attribute to a customer
If a new Marketing Attribute is to be linked to an Account, you can use the option Complete Business Objects:
- Go to Data Workbench work center;
- Click Import;
- Select Complete Business Objects;
- Select object Attribute Assignment;
- Click Download Metadata;
- Open downloaded ZIP file BusinessAttributeAssignment.zip;
- Extract the Template folder and fill both templates as below;
- BusinessAttributeAssignment.csv
- BusinessAttributeAssignmentItem.csv
- Add both CSV templates to a zip file;
- Upload zip file and complete the import.
Note: ITEM001, EXT002, DFG, 12345678, BUPAEXTKEY123 and ZYX2 are dummy values
Keywords
data, workbench, marketing, attribute, assignment , KBA , AP-BP-BPT , Business Partner Template , How To