Skip to Content
0
Jul 21, 2017 at 07:49 AM

Taxation information in purchase request via web service

98 Views

Hello Community,

it would be great if anybody could help me with the purchase request webservice (ManagePurchaseRequestIn).

I want to create a purchse request from a third party system. The requirement is that I want to define the taxation of the purchase request item in the web service request.

When I send the request without the ItemPriceCalculationItem tag everything is ok. But when I send the request with this tag I will get the following error message in the system.

"This delegation instance is assigned to DO-type 'PRCTAX_PRICE' with prefix 'PriceCalculation'. This does not fit to the used no"

I don't know what I'm doing wrong. Can anybody please have a look into the request and advise what I can do?

Thank you very much.
Yves

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global" xmlns:y9w="http://0001090969-one-off.sap.com/Y9WL12YTY_" xmlns:y3l="http://0001090969-one-off.sap.com/Y3LVP83JY_" xmlns:y2x="http://0001090969-one-off.sap.com/Y2XXR4LCY_" xmlns:a12="http://sap.com/xi/AP/CustomerExtension/BYD/A129Y"> <soapenv:Header/> <soapenv:Body> <glob:PurchaseRequestMaintainBundleRequest> <BasicMessageHeader /> <PurchaseRequestMaintainBundle actionCode="01"> <Item actionCode="01"> <directMaterialIndicator>false</directMaterialIndicator> <ProductCategoryKeyItem> <ProductCategoryInternalID>GB04</ProductCategoryInternalID> </ProductCategoryKeyItem> <ProductDescription languageCode="DE">Test-BANF</ProductDescription> <TypeCode>18</TypeCode> <!--<Quantity unitCode="HUR">3</Quantity>--> <DeliveryPeriod> <StartDateTime timeZoneCode="UTC">2016-12-23T04:43:27Z</StartDateTime> <EndDateTime timeZoneCode="UTC">2017-12-23T04:43:27Z</EndDateTime> </DeliveryPeriod> <!--<ShipToLocationID>B100</ShipToLocationID>--> <!--<ListUnitPrice> <Amount currencyCode="EUR">10</Amount> </ListUnitPrice>--> <CompanyIDParty actionCode="01"> <PartyID>1000</PartyID> </CompanyIDParty> <RequesterIDParty actionCode="01"> <PartyID>12</PartyID> </RequesterIDParty> <RecipientIDParty actionCode="01"> <PartyID>12</PartyID> </RecipientIDParty> <PreferredSupplierParty actionCode="01"> <PartyID>1000000</PartyID> </PreferredSupplierParty> <ItemPriceCalculationItem actionCode="01"> <TaxationCharacteristicsCode listID="DE">VA</TaxationCharacteristicsCode> <ItemPriceComponent actionCode="01"> <TypeCode listID="1">01PB</TypeCode> <Rate> <DecimalValue>10</DecimalValue> <MeasureUnitCode>EA</MeasureUnitCode> <CurrencyCode>EUR</CurrencyCode> <BaseDecimalValue>1</BaseDecimalValue> <BaseMeasureUnitCode>EA</BaseMeasureUnitCode> <BaseCurrencyCode>EUR</BaseCurrencyCode> </Rate> </ItemPriceComponent>--> </ItemPriceCalculationItem> </Item> </PurchaseRequestMaintainBundle> </glob:PurchaseRequestMaintainBundleRequest> </soapenv:Body> </soapenv:Envelope>