SAP Knowledge Base Article - Preview

3667234 - How to retrieve contact person ID to add on sales document creation via API

Symptom

It's required to create a sales document via API and add a partner of type contact person. Previous to the order creation, it's necessary to retrieve the contact person ID (ContactPerson or Personnel short number) from the business partner master data, so then this number can be inserted in the sales document payload for creation.


Read more...

Environment

SAP S/4HANA Cloud Public Edition

Product

SAP S/4HANA Cloud Public Edition all versions

Keywords

sales order, sales quotation, API_SALES_QUOTATION_SRV, API_SALES_ORDER_SRV, API_BUSINESS_PARTNER, contact person, CP, personnel number, partner function, to_Partner, contactperson , KBA , SD-SLS-API-2CL , API (Public Cloud) , LO-MD-BP-2CL , Business Partners for Public Cloud , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.