DTW Error (-5002)

Hi,
I am trying to upload Item Master via DTW and I am getting an error -5002.
It says:
Internal Error (-5002) occuredApplication-defined or Object-defined error65171
What does this error mean and how to solve it?
I am using DTW v2005.0.21
Prajwal

Hi,
Please check the following thread:
https://forums.sdn.sap.com/click.jspa?searchID=18809637&messageID=5991141
Regards,
Ladislav
SAP Business One Forum Team

Similar Messages

  • Inventory Revaluation - Price Change (Error (-5002) in DTW)

    Hi All ,
    I want to do the Inventory Revaluation of FIFO Item through DTW.
    There are set of three Template  (OMRV - Doc Header , MRV1 - Doc Lines ,  MRV2 - FIFO Layers)
    Here comes a error : Internal Error (-5002) occurred Application defined or Object Defined error65171
    Please suggest !
    Thanks
    Ashish

    Hi Ashish.......
    Please check the Format Cell of the Price Column and it should be Text.
    Most of the time the problem because of Format Cell........
    Regards,
    Rahul

  • "Internal error (-5002) occurred" On Pick List Update Picked Quantity

    Hi Experts,
    I have an SDK program that simply tries to update the Picked Quantity in SAP. Previously it has been working fine, until I try to use the same logic for items managed by Batch or Serial Number.
    In this scenario, I have created a PickList with only 1 row, the item is managed by Serial Number.
    I try to simplify the code as below.
    Dim oBaseDocument As SAPbobsCOM.PickLists
    oBaseDocument = oComp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPickLists)
    BaseDocument.GetByKey(12345)
    oBaseDocument.Lines.SetCurrentLine(0)
    oBaseDocument.Lines.PickedQuantity += 1
    oBaseDocument.Lines.BinAllocations.Add()
    oBaseDocument.Lines.BinAllocations.SetCurrentLine(0)
    oBaseDocument.Lines.BinAllocations.BinAbsEntry = CInt(sBinAbsEntry)
    oBaseDocument.Lines.BinAllocations.Quantity += dXML_Quantity
    oBaseDocument.Lines.SerialNumbers.InternalSerialNumber = sXML_BatchSerialNo      ' <--- ***
    lRet = oBaseDocument.Update
    I have added the *** line for handling the Serial Number, but when it hit the Update command, the SDK returns "Internal error (-5002) occurred".
    I'm not sure what does it means.
    Anyway I tried to remove the *** line and it works fine for item not managed by Batch or Serial, but the issue will remains for the Items managed by Serial or Batch.
    Please advise whether I missed anything in this code.
    Thank you in advance.
    Best Regards,
    Krisma

    Hi Krisma,
    I haven't done this thing practically but error -5002 will occur, if there is any Invalid Object.
    You can check it accordingly.
    Hope it helps.
    Thanks & Regards
    Ankit Chauhan

  • DTW Error A/R Credit Memos

    Hello guys!
    I got a problem while trying to upload A/R Credit Memos through Data Transfer Workbench. It shows an error message inthe DTW Error Log: "Cannot add invoice with zero total and deferred tax http://ORIN.DocTotalApplication-Defined or Object-Defined erroroCreditNotes".
    I am using the Document, Document_Lines and Batches files to upload and there is no record with zero in the lines nor the total
    I tried unselecting the deferred tax checkbox for all Business Partners and still doesnt work.
    Got any ideas what can it be or how can I solve the Problem?? I´d appreciate your help tremendously!!!

    Hi,
    Try to omit DocTotal on the header file. That is a calculated field. What is your B1 version and PL?
    Thanks,
    Gordon

  • DTW Error on A/R Credit Memos

    Hello guys!
    I got a problem while trying to upload A/R Credit Memos through Data Transfer Workbench. It shows an error message inthe DTW Error Log: "Cannot add invoice with zero total and deferred tax ORIN.DocTotalApplication-Defined  or Object-Defined erroroCreditNotes".
    I am using the Document, Document_Lines and Batches files to upload and there is no record with zero in the lines nor the total
    I tried unselecting the deferred tax checkbox for all Business Partners and still doesnt work.
    Got any ideas what can it be or how can I solve the Problem?? I´d appreciate your help tremendously!!!

    Thanks Rahul, the document_lines have the tax code and total alright, I believe probably it has to do with some tax configuration or something, but still I dont know which one may and if this is the real cause. What do you think??
    Gordon,
    thanks for letting me know, I will post it as a question.

  • ITunes 10.6 stopped iTunes Match (error 5002)

    I have a large iTunes Match upload step in progress (will prob take a couple of omnths to complete!) and I upgraded to iTunes 10.6 today.  ie. before the upload step was completed.
    When I tried to start the Match process again after upgrading, I kept getting error 5002 saying there was a problem with the iTunes store.
    I tried signing out and then back in to the iTunes Store from iTunes but then Match said that I needed to add my computer to the Match service - this also errored out with 5002 when I tried to do it.  ie.  It no longer recognised my existing compter as being authorised for the store and wouldn't let me add it again.
    I did manage to reoslve the problem by completing the following from within iTunes:
    1. Store -->  Sign Out.
    2. Store  -->  Sign In
    3. Store --> View This Account
    4. (Apple ID Summary)  Deathorise All Computers.  Click Done
    5. Click iTunes Match and No Thanks to add this computer (this turned Match off).
    6. Store -->  Turn on iTunes Match
    7. iTunes Match  -->  Add this Computer
    I was then able to start the Match process again.

    KeithJenner wrote:
    Does anyone know how much of Sgt Pepper matched previously? Roebeet previously reported 3 tracks from Magical Mytery Tour matched, but I haven't done them myself.
    Here are my results for the Beatles Sgt. Pepper's and Magical Mystery Tour 2009 Mono Remastered albums prior and after the iTunes 10.6 update (IOW, no change)...
    I tried deleting all of the songs on both albums (without deleting them from iCloud) and downloaded them again...and everything remained the same.  However that may be because all of my Beatles albums were ripped at 320kbps, so other's results may vary. 
    BTW, I have both the 2009 Mono and Stereo Remastered versions of these albums.  100% of the stereo versions were matched (not uploaded) prior to iTunes 10.6.
    IIRC one of the odd "unmatched" tracks others reported right after iTunes Match went live was the Beatles Abby Road "She Came In Through the Bathroom Window".  I never experienced that bug however.
    I have noticed that since the iTunes 10.6 and iOS 5.1 updates, cover art that would sometimes go missing on my iPhone 4 and/or iPad (or even my Apple TV2) now seem to show up without fail...including cover art that I had added myself.
    Hope that helps!

  • Cannot download songs get error 5002.  Does anyone know why this is happening?

    I was able to download about 4 new songs today, but then started to get an error 5002 when trying to download a few more.  Does anyone know why this happening and how to resolve?  I've already shut down and restarted my phone, logged out of itunes and relogged in...neither solved the issue.

    It didnt do anything for me...
    just to make sure... of the correct step...
    rm -rf  ./.itmstransporter
    then
    sudo /Applications/iTunes\ Producer.app/Contents/MacOS/iTunes\ Producer
    About that folder, I searched for it, but couldnt find it, is it inside the Itunes Producer packages?
    is there a way to localize it in finder?

  • I have a Macbook Pro that I have just renewed and transferred over my old hard drive (also from a Macbook Pro). Now when I turn on the computer and ITunes opens I get error (-50) and then error 5002 when I try to sign in to ITunes Store - Help!

    I have a Macbook Pro that I have just renewed and transferred over my old hard drive (also from a Macbook Pro). Now when I turn on the computer and ITunes opens I get error (-50) and then error 5002 when I try to sign in to ITunes Store - Help!
    My dealer has tried and failed (twice) to correct this and I have tried deleting the two items in the Itunes folder but no luck!

    were you able to get help on this?  I need help on error 5002 as well.  thank you

  • Error 5002 - when trying to access shopping cart in iTunes

    I've noticed some people had this error yesterday & it was apparently resolved, but I'm getting error 5002 today. Is this the same problem? Will it be sorted soon?

    We are experiencing this sudden error now too. Up until last night, we were accessing our Cart. But, then after adding one more song and deleting some from the cart, we got the error and cannot access the account from any machine. In addition to this one, we have a brand new iMAC "24, dual Intel; a PowerBook G4, and a Gateway Laptop running XP. None of the machines can access this Cart. Our other iTunes account is fine, without problem. But, this account's cart is inaccessible. I can find no solution.

  • I can't buy new music because of "Unknown error (5002)"

    im not too computer smart and i need help. I can't buy new songs for iTunes because of error 5002 (i have windows). The website doesn't have any help for that error s im asking all of you:). Please help!

    I had the same problem. Although I did get 7.1 to work for a while and then suddenly all podcasts coming errored with 39. Also despite Windows recognising my iPod, itunes would never pick it up unless I went into service and manullay stopped and started the ipodservice.
    Anyhow gone back to iTunes version 6. Will wait for iTunes 7.2 for one final try.....before giving up.

  • I get error 5002 when trying to redeem gift cards , what do I need to do to fix this.

    I get error 5002 when trying to redeem gift cards, what can I do to fix this?

    http://store.apple.com/us
    I have been trying to fix this myself and just found a way tonight. This started happening after I downloaded a new version. I tried several other approaches and was unsuccessful until I was directed to the support website.  I searched for 5002 error.  I chose specific conditions and alert message.  Then chose "Error 5002" which gave a little detail. 
    Basically I had to go to the above site and change my password and some other account information.  It didn't work when I tried in my actual ITUNES application.  I think because my account was so old and they upgraded some security items like stronger passwords etc., so the old stuff was no longer good enough.  I have now redeemed two gift cards.  I hope it helps.

  • I get error 5002 when trying to buy 3.1 software for iPod touch 1st gen

    I get error 5002 when trying to buy 3.1 software for iPod touch 1st gen. 

    That is a paid update you get here:
    Purchasing iOS 3.1 Software Update for iPod touch (1st generation)

  • I keep getting "Error 5002" When I try to buy an album. What do I do?

    I keep getting "Error 5002" When I try to buy an album. What do I do? I already reinstalled iTunes... not sure what this error means or how to be able to buy this album.

    There's some info on your error message number in the Specific Conditions and Alert Messages: (Mac OS X / Windows) section of the following document:
    iTunes: Advanced iTunes Store troubleshooting

  • Scenario for Payment Terms Types Objects - DI Error: (-5002)

    Hi Experts,
    I am developing an scenario for creating and updating Payment Terms Types from the headquarter company to subsidiary companies. The object for this process is B1.8.8_PTT Payment Terms Types.
    I created the bizstep and this is the xsl transformation:
    <BOM xmlns="">
      <BO>
        <AdmInfo>
          <Object>40</Object>
          <Version>2</Version>
        </AdmInfo>
        <QueryParams>
          <GroupNumber>
            <xsl:value-of select="BO/BusinessPartnerGroups/row/GroupNumber"/>
          </GroupNumber>
        </QueryParams>
        <PaymentTermsTypes>
          <row>
            <PaymentTermsGroupName>
    <xsl:value-of select="BO/BusinessPartnerGroups/row/PaymentTermsGroupName"/>
            </PaymentTermsGroupName>
            <StartFrom>
    <xsl:value-of select="BO/BusinessPartnerGroups/row/StartFrom"/>
            </StartFrom>
            <NumberOfAdditionalMonths>
    <xsl:value-of select="BO/BusinessPartnerGroups/row/NumberOfAdditionalMonths"/>
            </NumberOfAdditionalMonths>
            <NumberOfAdditionalDays>
                          <xsl:value-of select="BO/BusinessPartnerGroups/row/NumberOfAdditionalDays"/>
              </NumberOfAdditionalDays>
    and so on with the rest of the field of the object...
    <CreditLimit>
                          <GeneralDiscount>
    <InterestOnArrears>
    <LoadLimit>
    <PriceListNo>
    <OpenReceipt>
    <DiscountCode>
    <DunningCode>
    <BaselineDate>
    <NumberOfInstallments>
    <NumberOfToleranceDays>
    When I update or create payment term I get this error:
    DI Error: (-5002) Data is not available; modify selection criteria and re-enter
    If you know where could be the problem help would be appreciated.
    Thanks in advance.
    David

    Hi,
    I found my error in the xsl file.
    The correct value is "<xsl:value-of select="BO/PaymentTermsTypes/row/...".
    Thanks anyway,
    David

  • Error -5002, Update quantities in purchase order? (INV1.Quantity) Line[2]

    We are trying to create Invoices using the SDK tool for a clients interface. Everything goes ok, except at the point where we add the document, we get the following message:
    Error -5002, Update quantities in purchase order? (INV1.Quantity) Line[2]
    Any ideas? We have searched the SAP notes, but nothing is available. Are we missing anything?
    We are running on Version 6.50.098
    Thanks
    Marios

    Hello Marios,
    This error occurs because the last line you are trying to add to the Marketing Document is an empty line. It is a new functionality in Version 6.5 that the document object automatically comes with one document line so if you are adding just one line you do not need to use oDocument.Lines.Add,                                           
    It is only for the second and subsequent lines of marketing documents that you require the method oDocument.Lines.Add. Note 722693 describes the issue.                 
    Regards,
    Lisa

Maybe you are looking for