Skip to Content
0
May 13 at 06:00 AM

How to solve the error(SupplierInvoice WSDL)?

136 Views Last edit May 14 at 03:36 AM 2 rev

Hi SAP Developers,

I was an error sending the API(ManageSupplierInvoiceIn).

The Request is below

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global" xmlns:a4a0="http://sap.com/xi/AP/CustomerExtension/BYD/A4A0B" xmlns:glob1="http://sap.com/xi/AP/Globalization">
   <soapenv:Header/>
   <soapenv:Body>
      <glob:SupplierInvoiceBundleMaintainRequest_sync>
         <BasicMessageHeader>
         </BasicMessageHeader>
            <SupplierInvoice actionCode="01">
	        <BusinessTransactionDocumentTypeCode>004</BusinessTransactionDocumentTypeCode>
	        <MEDIUM_Name>BNHSupplierInvoice</MEDIUM_Name>
	        <Date>2022-05-11</Date>
	        <ReceiptDate>2022-05-11</ReceiptDate>
	        <TransactionDate>2022-05-11</TransactionDate>
	        <DocumentItemGrossAmountIndicator>true</DocumentItemGrossAmountIndicator>
	        <GrossAmount currencyCode="KRW">11000.0</GrossAmount>
	        <Status>
	          <DataEntryProcessingStatusCode>03</DataEntryProcessingStatusCode>
	        </Status>
	        <BuyerParty actionCode="01">
	          <PartyKey>
	            <PartyTypeCode>200</PartyTypeCode>
	            <PartyID>100</PartyID>
	          </PartyKey>
	        </BuyerParty>
	        <BillToParty actionCode="01">
	          <PartyKey>
	            <PartyTypeCode>200</PartyTypeCode>
	            <PartyID>100</PartyID>
	          </PartyKey>
	        </BillToParty>
	        <PayeeParty actionCode="01">
	          <PartyKey>
	            <PartyTypeCode>147</PartyTypeCode>
	            <PartyID>1000030</PartyID>
	          </PartyKey>
	        </PayeeParty>
	        <CashDiscountTerms ActionCode="01">
	          <Code>0007</Code>
	          <PaymentBaselineDate>2022-05-11</PaymentBaselineDate>
	        </CashDiscountTerms>
	        <Item actionCode="01">
	          <BusinessTransactionDocumentItemTypeCode>02</BusinessTransactionDocumentItemTypeCode>
	          <Quantity unitCode="EA">1.0</Quantity>
	          <SHORT_Description languageCode="KO">야근식대</SHORT_Description>
	          <GrossAmount currencyCode="KRW">11000.0</GrossAmount>
	          <GrossUnitPrice>
	            <Amount currencyCode="KRW">11000.0</Amount>
	            <BaseQuantity unitCode="EA">1.0</BaseQuantity>
	            <BaseQuantityTypeCode>EA</BaseQuantityTypeCode>
	          </GrossUnitPrice>
	          <Product>
	            <CashDiscountDeductibleIndicator>true</CashDiscountDeductibleIndicator>
	            <ProductKey>
	              <ProductTypeCode>2</ProductTypeCode>
	            </ProductKey>
	          </Product>
	          <AccountingCodingBlockDistribution>
	            <TotalAmount currencyCode="KRW">11000.0</TotalAmount>
	            <TotalQuantity unitCode="EA">1.0</TotalQuantity>
	            <AccountingCodingBlockAssignment actionCode="01">
	              <AccountingCodingBlockTypeCode>5110</AccountingCodingBlockTypeCode>
	              <GeneralLedgerAccountAliasCode>A032</GeneralLedgerAccountAliasCode>
	              <CostCentreID>100-20-01</CostCentreID>
	              <CompanyID>100</CompanyID>
	            </AccountingCodingBlockAssignment>
	          </AccountingCodingBlockDistribution>
	        </Item>
	      </SupplierInvoice>
      </glob:SupplierInvoiceBundleMaintainRequest_sync>
   </soapenv:Body>
</soapenv:Envelope><br>

the Response is below

image.png

Endlees loop due BO Modify, one or more precondition unaccomplishable

Do you see anything wrong?

thank you

Beyo

Attachments

image.png (17.8 kB)