SAP Knowledge Base Article - Public

3468533 - DELETE operation not working as expected

Symptom

The DELETE operation on the entity A_AddressPhoneNumber was not working as expected. Despite receiving a successful 204 No content message upon execution, the records were still present when checked via GET operation on the SAP S/4HANA Cloud instance.

Environment

SAP S/4HANA Cloud

Cause

The url customer used is https://my402455-api.s4hana.cloud.sap/sap/opu/odata/sap/API_BUSINESS_PARTNER/A_AddressPhoneNumber(AddressID='xxx',Person='xxx',OrdinalNumber='1').

The third parameter 'OrdinalNumber' represents the sequence number, meaning the GET URL will only return the first telephone number. The customer will only see one phone number, even though they may have multiple telephone numbers.

Resolution

Customer can try the url:https://my402455-api.s4hana.cloud.sap/sap/opu/odata/sap/API_BUSINESS_PARTNER/A_AddressPhoneNumber. Check the DELETE operation is working fine with the telephone numbers.

Keywords

KBA , LO-MD-BP-ODT , OData Service for Business Partner , Problem

Product

SAP S/4HANA Cloud Public Edition 2402