on 08-08-2018 6:10 AM
I have created a sales order using the manage sales order api. Then i updated the order to add the freight and discount. But i was unable to add the tax value via api.
This is the request
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
<soap:Body>
<glob:SalesOrderBundleMaintainRequest_sync>
<SalesOrder actionCode="02">
<ID>2860</ID>
<PriceAndTaxCalculation>
<MainDiscount actionCode="04">
<TypeCode>0007</TypeCode>
<Rate>
<DecimalValue>20.00</DecimalValue>
</Rate>
</MainDiscount>
<PriceComponent actionCode="01">
<TypeCode>7PR8</TypeCode>
<Rate>
<DecimalValue>10.00</DecimalValue>
</Rate>
</PriceComponent>
<ProductTaxDetails actionCode="02">
<Rate>
<DecimalValue>100</DecimalValue>
</Rate>
</ProductTaxDetails>
</PriceAndTaxCalculation>
<Item actionCode="02">
<ID>10</ID>
<PriceAndTaxCalculationItem>
<ItemMainDiscount>
<TypeCode>7PR6</TypeCode>
<Rate>
<DecimalValue>0.00</DecimalValue>
</Rate>
</ItemMainDiscount>
</PriceAndTaxCalculationItem>
</Item>
</SalesOrder>
</glob:SalesOrderBundleMaintainRequest_sync>
</soap:Body>
</soap:Envelope>
Response
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
<env:Header/>
<env:Body>
<n0:SalesOrderBundleMaintainConfirmation_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:K7Q:/1SAI/TAE88DF3AA925C3E49C60CC:804">
<Log>
<MaximumLogItemSeverityCode>3</MaximumLogItemSeverityCode>
<Item>
<TypeID>025(/MBF_A2X_CORE/)</TypeID>
<CategoryCode>BPR.PUR</CategoryCode>
<SeverityCode>3</SeverityCode>
<Note>Update not possible; existing data for PRODUCT_TAX_DETAILS not fully specified</Note>
</Item>
<Item>
<TypeID>007(/MBF_A2X_CORE/)</TypeID>
<CategoryCode>BPR.PUR</CategoryCode>
<SeverityCode>3</SeverityCode>
<Note>Missing key specification for processing node SALES_ORDER PriceAndTaxCalculation.PRODUCT_TAX_DETAILS</Note>
</Item>
</Log>
</n0:SalesOrderBundleMaintainConfirmation_sync>
</env:Body>
</env:Envelope>
I checked the WSDL documentation, but couldn't find any reference.
User | Count |
---|---|
96 | |
12 | |
10 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.