SAP Knowledge Base Article - Public

3639024 - Error 'Doc for system &1 and external doc. ID &2 do not exist; create them' when creating sales orders through SOAP API

Symptom

When creating sales orders with external numbers using the SOAP API Sales Order A2A (salesorderbulkrequest_in), the error "Doc for system &1 and external doc. ID &2 do not exist; create them." is shown on the message dashboard.

Environment

SAP S/4HANA Cloud Public Edition

Cause

There are many possible causes:

  • The system ID is incorrect or doesn't exist.
  • The external document ID is incorrect or doesn't exist.
  • The numeric-only external ID contains less than 10 characters.

Resolution

Make sure:

  • The system is created and the ID is correct.
  • The external document is created and the ID is correct.
  • If the ID is purely numeric and has fewer than 10 characters, leading zeroes should be added to make it a total of 10 characters. For alphanumeric IDs, only numbers and capitalized letters are allowed.

See Also

Create Sales Order with External Number | SAP Help Portal

Keywords

external document number, external document ID, ExternalDocumentID, You must provide the external document ID, SOA_SD013, SDSLS_SOA_AIF_ORDERS_CREATE, sales order, sales document, salesorderbulkrequest_in, A2A, SOAP , KBA , SD-SLS-API-2CL , API (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions