SAP Knowledge Base Article - Public

2820272 - You Cannot Pass Tax Details In Web Service Call

Symptom

  • You create a transactional document via web service, e.g. Manage Sales Order In.
  • In the creation call you pass tax details.
  • The transactional document is created without your tax details. 

Environment

SAP Business ByDesign

Reproducing the Issue

  1.  Create a SOAP call with tax details for one line item with Manage Sales Order In web service.
    <CountryCode>NO</CountryCode>
    <TaxationCharacteristicsCode listID="NO" productTaxDetailsListCompleteTransmissionIndicator="true">310</TaxationCharacteristicsCode>
  2. The sales order is created, but the tax calculation is done from the system and the manually passed values are ignored.

Cause

  • The taxation node cannot be created, but only updated.
  • Thus you can update taxation calls in a second call, but you cannot create the taxation details in the first call.
  • This behavior applies to all transactional documents. 

Resolution

  1. Create the creation for the sales order.
  2. Create an update call for the sales order ID that you can created
    <SalesOrder actionCode="04">
    <ID>ABCDEFG</ID>
    <Item actionCode="04">
    <ID>10</ID>
    <PriceAndTaxCalculationItem>
    <CountryCode>NO</CountryCode>
    <TaxationCharacteristicsCode listID="NO" productTaxDetailsListCompleteTransmissionIndicator="true">310</TaxationCharacteristicsCode>
    </PriceAndTaxCalculationItem>
    </Item>
    </SalesOrder>
  3. The taxation data is updated accordingly for line item 10.

Keywords

Tax Determination, Web Service, Steuerfindung, SOAP, Manage Sales Order In , KBA , AP-SLO-SO , Sales Order , AP-TTE-TC , Tax Calculation , Problem

Product

SAP Business ByDesign all versions