Symptom
You have requested marketing permissions from SAP Marketing Cloud, but have noticed that the 'Permission and Consent' fields, usually present in the Marketing Permissions section for a Contact, are absent in the C4C system.
Environment
- SAP Cloud for Customer
- SAP Marketing Cloud
Reproducing the Issue
- Go to the Customer work center.
- Go to the Contacts work view.
- Search and open the Contact ID 123456 (where 123456 means the Contact ID).
- Go to the Marketing Permissions facet.
- Permission and Consent fields are missing.
Check the incoming payload for service interface QueryMarketingPermissionsAndSubscriptionsOut:
- Go to the Administrator work center.
- Go to the General Setting work center view.
- Open the Web Service Message Monitoring under System Administration.
- Select Start Trace
- Trigger the query via aforementioned steps to check the Marking Permission of the Contact ID 123456.
- Refresh
- Clock on View > Select the Response Payload
The fields CommunicationMediumPermissionCode and PermissionConsentCode are present in the incoming message.
Cause
The issue stems from the fact that the code list mapping for CommunicationMediumPermissionCode and PermissionConsentCode are no longer defined in the C4C system.
Resolution
In order to resolve the issue, please follow the below steps to add the CommunicationMediumPermissionCode and PermissionConsentCode under Code List Mapping Definition:
- Go to the Business Configuration work center.
- Open the Activity Code List Mapping for Integration with External Applications and Solutions.
- Open Maintain Code List Mapping.
- Under Code List Mapping Definition click Add Row.
- Open the Local Data Type Name OVS.
- In the Local Data Type Name field enter "*Permission*".
- Result: CommunicationMediumPermissionCode and PermissionConsentCode are present.
- Add them both to the code list mapping.
Then request the marketing permissions again and see if the fields are maintained correctly.
Keywords
C4C, Cloud for Customer, MKT, Marketing, CommunicationMediumPermissionCode, PermissionConsentCode, Marketing permission, Contact, Permission , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , LOD-CRM-INT-YCM , Integration of C4C with Commerce , How To