Symptom
- Error "Email address & is invalid" Message no. XS138 is raised when creating Business Partner Master Data.
- Error "Email address & is invalid" Message no. XS138 is raised when updating Business Partner Master Data.
- Deactivate the email validation when creating/updating Business Partner Master Data.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
Example of Reproducing the issue in the "Maintain Business Partner Master Data" App in SAP S/4HANA Cloud Public Edition. The behaviour is the same with all methods of master data creation/updation (OData, API, IDoc, SOAP).
- Open the "Maintain Business Partner Master Data" App.
- Create or update a Business Partner.
- Provide an email such as "Example Email example.email@saptest.com".
- Upon Saving the system raises the following error:
Email address Example Email <example.email@saptest.com> is invalid
Message no. XS138
Cause
The email validity is checked at code level and cannot be deactivated in the standard system, it follows the industry standard RFC 5322 formatting requirements for emails (section '3.4.1. Addr-spec specification').
Resolution
Provide the email in one of the following formats (examples provided for each using the Example Email example.email@saptest.com example).
-
<name>@<domain> e.g. example.email@saptest.com
-
comment <<name>@<domain>> e.g. Example Email <example.email@saptest.com>
-
<name>@<domain> (comment) e.g. example.email@saptest.com (Example Email)
See Also
KBA 3236640 - Unable Maintain Multiple Email Address in Website or Email fields in SAP S/4HANA Cloud Public Edition
Keywords
SAP S/4HANA, S4_PC, SAP S/4HANA Cloud Public Edition, XS138, XS 138, Deactivate Email Validation, Email address is invalid, soap, replication, characters, formatting , KBA , LO-MD-BP-2CL , Business Partners for Public Cloud , BC-SRV-ADR , Address Management / Business Address Services , Problem
SAP Knowledge Base Article - Public