SAP Knowledge Base Article - Public

2823826 - Error "XML element TAX_JURISDICTION_CODE-LIST_AGENCY_SCHEME_AGENCY_ID not found in XML segment CUSTOMER_QUOTE" when using ManageCustomerQuote web service

Symptom

  • You are creating a customer quote in the system via SOAP web service ManageCustomerQuoteIn.
  • You receive the following error message: "XML element TAX_JURISDICTION_CODE-LIST_AGENCY_SCHEME_AGENCY_ID not found in XML segment CUSTOMER_QUOTE".

Environment

 SAP Business ByDesign

Reproducing the Issue

You create a sales quote by passing item information as following:

<Item actionCode="01">
<ID>10</ID>
<ItemProduct>
<ProductInternalID>EXAMPLE</ProductInternalID>
</ItemProduct>
</Item>

In the reply you receive this error message: "XML element TAX_JURISDICTION_CODE-LIST_AGENCY_SCHEME_AGENCY_ID not found in XML segment CUSTOMER_QUOTE"

Cause

  • The <item> command is not further developed anymore and can raise error messages.
  • Most common error will be the tax jurisdiction error.
  • Use <Items> command to avoid this problem.

Resolution

Adjust the SOAP call to use the <Items> command:

<Items actionCode="01">
<ID>10</ID>
<ItemProduct>
<ProductInternalID>EXAMPLE</ProductInternalID>
</ItemProduct>
</Items>

Keywords

Quote, SOAP, Manage Customer Quote, Tax Jurisdiction Code, Angebot, Webservice , KBA , AP-CQP-CQ , Customer Quote , Problem

Product

SAP Business ByDesign 1908