Symptom
Your requirement is to upload the Contacts in the system using Data Workbench, but you are unable to proceed due to the processing error:
Form of address key 1 is not defined
Or
Form of address key 2 is not defined
Environment
SAP Hybris Cloud for Customer
Reproducing the Issue
- Login to the HTML5 client
- Go to Data Workbench workcenter
- Go to the Import tab
- Select the radio button Individual Objects
- Go to Import tab
- Select the object Contact
- Select Next and Browse for the file
- Select Upload
- Choose Next
- Select Import
- In the Monitor tab, check for the respective Task ID
- The records in the file have the Processing Error
Cause
The upload is failing due to the incorrect Title Code specified in the field TitleCode of the upload file.
Resolution
The relevant Title Code can be verified in Business Configuration as below:
- Go to Business Configuration work center
- Select Implementation Projects view or Overview
- Search and Open the activity Code List Mapping for Integration with External Applications and Solutions
- Select Maintain Code List Mapping
- In the Code List Mapping Definition table, find the Local Data Type Name which is FormOfAddressCode having Description as Form Of Address Code
- Select the Mapping Rule
- See the Code List Mapping
- External Code for Ms. is 0001
- External Code for Mr. is 0002
Correct the Title Code in the Data Workbench upload file or in the Code List Mapping activity, whichever is more appropriate for your business requirement and proceed with the data upload.
Keywords
Title Code, TitleCode, Local Data Type Name, FormOfAddressCode, Form Of Address Code, Code List Mapping for Integration with External Applications and Solutions, Code List Mapping , KBA , code list mapping , title code , local data type name , titlecode , formofaddresscode , form of address code , code list mapping for integration , LOD-CRM-INT-API , OData API (C4C Only) , Problem