SAP Knowledge Base Article - Public

3071835 - 'CreatedBy' or 'ChangedBy' or 'LastChangedBy' Fields Not Filled in OData Service

Symptom

If a product/lead/opportunity etc. changed/created by a technical user, then no value is filled for the field 'CreatedBy' or 'ChangedBy' or 'LastChangedby' in OData response.

Environment

 SAP Cloud for Customer

Reproducing the Issue

Take example of Product BO:

Execute GET call: <Service URL>/sap/c4c/odata/v1/c4codataapi/ProductCollection

Cause

The OData returns the persons name of the related user. Technical users don't have an associated person and therefore no name, which is why no name is returned.

Hence, the possible way for customer is to check user UUID instead of Name.

Resolution

This is the same behavior across other business objects like opportunity and product.

For Lead BO, customer should use  "LastChangedIdentityUUID" instead of  'LastChangedBy' to check the UUID.

For Product BO, we add the CreatedBy/LastChangedBy UUID in Odata 2108 version.

Keywords

ProductCollection; Lead ; Technical User ; OData ; UUID ; LastChangedBy ; ChangedBy , KBA , LOD-LE-PRD-PRD , Product + Product Category Hierarchy , LOD-CRM-LM , Lead Management , Problem

Product

SAP Cloud for Customer core applications all versions