Symptom
Your requirement is to create Business Partner using the API_BUSINESS_PARTNER service. Upon performing the POST operation, system throws the error:
Enter ID Number
Environment
SAP S/4HANA Cloud
Reproducing the Issue
OData Query:
https://myxxxxxx-api.s4hana.cloud.sap/sap/opu/odata/sap/API_BUSINESS_PARTNER/A_BusinessPartner
Execute the POST call for the Request Payload below:
<A_BusinessPartner>
<A_BusinessPartnerType>
<BusinessPartner/>
.
.
<to_BuPaIdentification>
<A_BuPaIdentificationType>
<BusinessPartner/>
<BPIdentificationType>YYYYYY</BPIdentificationType>
<BPIdentificationNumber/>
</A_BuPaIdentificationType>
</to_BuPaIdentification>
The system throws the error:
Enter ID Number
Note:
In the above example:
xxxxxx represents the tenant URL of the S/4HANA cloud system
YYYYYY represents the IDentification Type of the Business Partner
Cause
In the Request Payload, the BP Identification Number is not provided. Hence the system throws the error.
Resolution
As per the SAP standard process of BP, Identification Number cannot be blank as this is the primary key field in BUT0ID table. Sending this field blank will create an inconsistency with all the other tables which are in relationship with this table. The Business Partner Identification Number is not an optional field and hence, need to be passed in the Request payload.
Keywords
Identification Number, BPIdentificationNumber, Business Partner, R11/191, Enter ID Number, R11, 191, API_BUSINESS_PARTNER , KBA , LO-MD-BP , Business Partners , Problem