Symptom
You see that contact last name in a lead is considered mandatory depsite having activated the scoping question "Do you want to make contact for leads an optional field?" in your system's scope.
Environment
SAP Cloud for Customer
Reproducing the Issue
Prerequisite : Ensure that the scoping question "Do you want to make contact for leads an optional field?" is scoped, that there are no KUT rules, as well as checking that the Mandatory property is not set via layout adaptation.
- Go to the Sales work center
- Go to the Leads view
- Select + and create a new lead
- You will see that the Contact Last Name field is not marked as mandatory
- Fill the Other mandatory fields
- Fill other contact related fields like First name etc.
- Select Save and Open
You will see that the save is failing as with error as below
Last name missing
Save failed
Cause
Selecting the contact optional configuration option within the scoping simply allows a lead to be saved without any contact information.
However, if you enter any data into contact related fields, then the respective validations will be triggered and the system expects the correct, necessary data and therefore overrides this scoping.
In any Business Partner, be it contact, employee, etc., the Last Name is a mandatory field and hence, this is expected behavior.
Resolution
Since naming conventions expect a Last Name across standards, if you are entering any contact details, then system assumes complete and correct data. So If contact related information is entered then last name is mandatory
This feature change is not suported in the current release of SAP Cloud for Customer
1. If you are a partner: please use cloudsolutionpartner@sap.com or the Partnerfinder
2. If you are a customer:
- Contact your Account Executive
- Check the link https://www.sap.com/uk/services/advisory-development.html
C4C : An alternative option may be to check the “SAP Cloud for Customer” Customer Influence to submit an idea
SAP Sales Cloud https://influence.sap.com/sap/ino/#/campaign/1868
SAP Service Cloud :https://influence.sap.com/sap/ino/#/campaign/1867
See Also
- SAP Admin Guide - Configuring Leads
- KBA 2718753 - The Error Message 'Last Name Missing' Triggered On Marketing Lead Creation
- KBA 3104288 - Lead QC Error: "Save failed Last name missing"
Keywords
Contact, Employee, Business Partner, Lead, Mandatory, Last Name , KBA , LOD-CRM-LM , Lead Management , LOD-LE-BP-BP , Business Partner , Problem