SAP Knowledge Base Article - Public

3468533 - DELETE operation not working as expected

Symptom

- The customer reported that 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' which is Sequence Number, that means the Get url will just return the first telephone number so customer can always see the phone number because customer has many telephone numbers.

Resolution

Customer can try the url /sap/opu/odata/sap/API_BUSINESS_PARTNER/A_AddressPhoneNumber to validate if the DELETE operation is working fine with the numbers of the telephone.

Keywords

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

Product

SAP S/4HANA Cloud 2402