Symptom
Fail to execute patch command to try to update field BPIdentificationNumber using URI /A_BuPaIdentification(BusinessPartner='{BusinessPartner}',BPIdentificationType='{BPIdentificationType}',BPIdentificationNumber='{BPIdentificationNumber}')There is an error with HTTP 400 "Key fields do not match" generated.
Environment
SAP S/4HANA Cloud Public Edition
Cause
This is a system standard behavior. As per SAP Business Accelerator Hub, the URI is used to update business partner identification data by using business partner number, identification type, and identification number. Thus, identification number is working as a key field in this scenario.
Resolution
The field can be changed directly from Fiori app Maintain business partner.
Keywords
API_BUSINESS_PARTNER, Business Partner API, OData, PATCH, PUT, MERGE, HTTP 404, resource not found, A_AddressPhoneNumberType, A_AddressPhoneNumber, A_BPAddressIndependentMobile, A_AddressEmailAddress, A_BuPaIdentification, Cloud Integration, CPI , KBA , LO-MD-BP-ODT , OData Service for Business Partner , Problem
SAP Knowledge Base Article - Public