cancel
Showing results for 
Search instead for 
Did you mean: 

Error:-2028:540000155 - No matching records found

former_member655195
Discoverer
0 Kudos

We are trying to import an XML file of AR Invoice in SAP B1 using SAP B1 DI API.

We are getting below error; Error:-2028:540000155 - No matching records found
We checked the file and all master data is available in SAP against this file (Business Partner, Accounts, Currency, Items, Warehouse, Tax Group).

We exported an XML of already entered AR Invoice and removed DocNum, DocEntry from this file and tried to import it. We were still getting same error. We checked it on other business objects also (Purchase Order, Sales Quotation) and we are getting same error in every business object. We took the backup of database from server and restored it on our system. Then we upgraded the database and tried to import same file again. File import successfully.
Can you please help us that what is happening on server that file is not importing or any technical point that we are missing. (XML Files attached)

<?xml version="1.0" encoding="utf-16"?>
<BOM>
  <BO>
    <AdmInfo>
      <Object>13</Object>
      <Version>2</Version>
    </AdmInfo>
    <Documents>
      <row>
        <DocNum>10100158</DocNum>
        <DocType>dDocument_Service</DocType>
        <HandWritten>tYES</HandWritten>
        <Printed>psNo</Printed>
        <DocDate>20180912</DocDate>
        <DocDueDate>20180912</DocDueDate>
        <CardCode>C0008NG</CardCode>
        <NumAtCard>10100158</NumAtCard>
        <DocCurrency>NGN</DocCurrency>
        <Reference1>1187002</Reference1>
        <SalesPersonCode>-1</SalesPersonCode>
        <Confirmed>tYES</Confirmed>
        <SummeryType>dNoSummary</SummeryType>
        <ShowSCN>tNO</ShowSCN>
        <PartialSupply>tYES</PartialSupply>
        <DocObjectCode>13</DocObjectCode>
        <RevisionPo>tNO</RevisionPo>
        <BlockDunning>tNO</BlockDunning>
        <Pick>tNO</Pick>
        <PaymentBlock>tNO</PaymentBlock>
        <MaximumCashDiscount>tNO</MaximumCashDiscount>
        <WareHouseUpdateType>dwh_Stock</WareHouseUpdateType>
        <Rounding>tNO</Rounding>
        <DocumentSubType>bod_None</DocumentSubType>
        <UseShpdGoodsAct>tNO</UseShpdGoodsAct>
        <ReserveInvoice>tNO</ReserveInvoice>
        <SequenceModel>0</SequenceModel>
        <UseCorrectionVATGroup>tNO</UseCorrectionVATGroup>
        <DownPaymentType>dptInvoice</DownPaymentType>
        <InsuranceOperation347>tNO</InsuranceOperation347>
        <ArchiveNonremovableSalesQuotation>tNO</ArchiveNonremovableSalesQuotation>
        <CashDiscountDateOffset>0</CashDiscountDateOffset>
        <NTSApproved>tNO</NTSApproved>
        <EDocGenerationType>edocNotRelevant</EDocGenerationType>
        <EDocStatus>edoc_Ok</EDocStatus>
        <GroupHandWritten>tNO</GroupHandWritten>
        <CreateOnlineQuotation>tNO</CreateOnlineQuotation>
        <ClosingOption>coByCurrentSystemDate</ClosingOption>
        <OpenForLandedCosts>tYES</OpenForLandedCosts>
        <RelevantToGTS>tNO</RelevantToGTS>
        <IsAlteration>tNO</IsAlteration>
        <ReuseDocumentNum>tNO</ReuseDocumentNum>
        <ReuseNotaFiscalNum>tNO</ReuseNotaFiscalNum>
        <PrintSEPADirect>tNO</PrintSEPADirect>
        <InterimType>boidt_None</InterimType>
        <RelatedType>-1</RelatedType>
        <ExcludeFromTaxReportControlStatementVAT>tNO</ExcludeFromTaxReportControlStatementVAT>
        <Revision>tNO</Revision>
        <CommissionTrade>ct_Empty</CommissionTrade>
        <CommissionTradeReturn>tNO</CommissionTradeReturn>
        <IssuingReason>1</IssuingReason>
      </row>
    </Documents>
    <Document_Lines>
      <row>
        <LineNum>0</LineNum>
        <Currency>NGN</Currency>
        <SalesPersonCode>-1</SalesPersonCode>
        <TreeType>iNotATree</TreeType>
        <AccountCode>7011000303</AccountCode>
        <UseBaseUnits>tNO</UseBaseUnits>
        <BaseType>-1</BaseType>
        <TaxCode>XO</TaxCode>
        <ShippingMethod>-1</ShippingMethod>
        <CorrectionInvoiceItem>ciis_ShouldBe</CorrectionInvoiceItem>
        <DeferredTax>tNO</DeferredTax>
        <LineTotal>1349141.200000</LineTotal>
        <LineStatus>bost_Open</LineStatus>
        <LineType>dlt_Regular</LineType>
        <LocationCode>1</LocationCode>
        <WithoutInventoryMovement>tNO</WithoutInventoryMovement>
        <ConsiderQuantity>tNO</ConsiderQuantity>
        <PartialRetirement>tNO</PartialRetirement>
        <ThirdParty>tNO</ThirdParty>
        <UoMEntry>0</UoMEntry>
        <Incoterms>0</Incoterms>
        <TransportMode>0</TransportMode>
        <ChangeInventoryQuantityIndependently>tNO</ChangeInventoryQuantityIndependently>
        <NCMCode>-1</NCMCode>
      </row>
    </Document_Lines>
  </BO>
</BOM>

Accepted Solutions (0)

Answers (0)