SAP Knowledge Base Article - Public

3652977 - OData API Email Activity: From Name Field Behavior And Business Partner Auto-Mapping In SAP C4C

Symptom

When an email activity is created via OData, the system automatically updates the "From Name" field with the name of a Business Partner (BP) if a match is found.

Environment

SAP Cloud for Customer for core applications

Reproducing the Issue

Prerequisites:

  • In the payload, include a value in the <d:MessageFromName> tag (e.g., SAP).
  • Ensure that at least one Business Partner exists in the system with a name that matches or closely resembles the value passed.

Steps:

  1. Perform an OData API POST call to the EmailCollection entity.
  2. In the payload, include the tag <d:MessageFromName>SAP</d:MessageFromName>.
  3. Submit the request and navigate to the newly created email activity.

Result:

The "From Name" field in the email activity is automatically populated with the Business Partner's name that matches the name passed (in this case, any BP with the name "SAP").

Cause

This is standard system behavior. When a name is passed in the OData payload:

  • The system attempts to identify a Business Partner whose name matches the value provided in the <d:MessageFromName> tag.
  • If a match is found, the Name field in the email activity is overwritten with the Business Partner’s name.
  • If no match is found, the Name field is updated with the exact value passed in the payload.

Resolution

This is the expected and standard behavior of the system when creating email activities via OData.

Keywords

Email activity via OData, From Name overwrite, Business Partner name mapping, OData API email creation, MessageFromName behavior, EmailCollection entity, Email activity integration , KBA , LOD-CRM-SRP-INT , Ticket Interactions , LOD-CRM-SC-EML , Email , Problem

Product

SAP Cloud for Customer core applications all versions