Skip to Content
0
Former Member
Oct 20, 2022 at 11:46 AM

OData HTTP request to get sales order sold-to party customer name

177 Views

Hello,

Just to preface this: I am a complete novice with SAP.

My current project is to demonstrate simple functional API integration between an Outsystems front and SAP OData backend using the Sales Order API. So far I - and my project partner - have gotten by with using the standard API calls with no need for custom code on the SAP side, which is all fine and good as I have no experience with it.

The issue now is that the customer is only shown as the Sold-to Party ID, which is not very legible to humans. We'd want to be able to retrieve the customer name based on the SP ID, and have the app find the correct SP ID when the customer name is typed when searching.

As far as I have found out going through the API documentation, the Sales Order API only gives out the Sold-to Party ID and I haven't found a way to retrieve the customer name. I have gathered that this is possible using custom code but I was hoping to find a ready-made solution that is easy to implement for a complete newbie such as myself.

Any help would be greatly appreciated, thanks.