Skip to Content
0
Feb 18, 2022 at 05:37 PM

SAP S/4HANA Cloud: SalesOrder API not returning exception for HeaderPartner Entity.

79 Views Last edit Feb 18, 2022 at 05:38 PM 3 rev

I'm using the following SAP oData v2 API to UPDATE the Customer of Sales Order Header Partners.

Header Partner - SAP Help Portal

This appears to work fine, but in certain circumstance, the API call succeeds, but the Customer isn't updated in the back-end.

The response I get back is a 204 - No content.

To confirm, the same operation (update a Sales Order Header Partner Customer) was performed directly in SAP GUI, which reported an error as expected.

My question is, if the Customer cannot be updated, why doesn't the API return an exception? This would make much more sense to the end-user.