DTW error - internal error -5002 occuredApplication-defined 65171

hi
trying to import orders. i have 4 in a file. 3 work fine. the 4th doesn't and gets above error.
i have looked at the file column by column. all the same columns are filled in i am able to enter the order manually. this error is useless. i have no idea which column is the error
i keep trying to remove data and rerun and have been doing this for hours/days with no luck.
i don't see anything different with the data that works and doesn't except different customers items etc.

All 65171 errors are somehow linked to field format.  Check if you have comma in the file or not first. Try using Tab Delimited Text format so that problem might be minimized.
Thanks,
Gordon

Similar Messages

  • 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

  • DTW error in oInventoryGenEntry

    Getting the following error when trying to import inventory with batch quantities using oInventoryGenEntry:
    Internal Error (-5002) occuredApplication-defined or object-defined erroroInvenotryGenEntry
    Import is using the templates document.csv, document_lines.csv and batchnumbers.csv. I have been testing with a simple example and following all the info I can finding the posts here. using one item to test, with three batch numbers.
    Any suggestions about where to look for this problem? Thanks

    What I have found is that as long as there is only one batch record per Document Line the import works, the problem is that I have many lot records per document line. However I can restructure the data such that there is one document line per batch record and get a successful import.
    Thanks

  • Import budget by using DTW, error message "cannot find this object in B1 application defined, object defined error 65171

    Dear Sirs, I try to import budget header and budget line by using DTW, however error message found, "Cannot find this object in B1 application defined, object defined error 65171. Regards, Saw Hua

    Hi Javier,
    Please check below links.
    DTW Error 65171
    DTW error 65171
    DTW, Unkonwn error 1005!65171
    DTW error 65171 - Cannot find this object
    DTW error65171
    SAP B1 Data Transfer WorkBench : Data too large... | SCN
    Hope this help
    Regards::::
    Atul Chakraborty

  • 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

    Hi,
    I got the error : Internal Error (-5002) occurred when adding a new A/R invoice
    I would like so much to know what exactly causes the error.
    Is there any way to pin point what is it ?
    Or I'm stuck alone with this not so friendly message ?
    I've eliminated everything suspected to be a problem.
    There's a lot of user defined field.  Is there something I should know about them ?
    Is there any trick to find out where the problem is ?
    The code is working for SBODemo_US but when I try with the Customer's database which is BIG and have a lot of UDF, I got this.
    Since its INTERNAL ERROR, I don't really know where the problem can be !
    Thx you for your helps

    This was due to setting the ExpensesCode when no expenses existed
    I had to eliminate possible problem line by line.  A pain in the you know what...

  • "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

  • Error in ME59N- Internal number assignment not defined

    Dear Gurus,
    I am getting error while creation automatic PO In ME59N. Below error shows
    Error Name                                                                                          Massage Class          Msg No.
    PO header data still faulty                                                                            MEPO                         2
    Internal number assignment not defined (please enter number)                 06                              243
    I have done all the setting in Material Master & Vendor Master for Automatic PO Genration.
    Aslo I maintain the source list & Info Record for two vendors.
    I assign the source of supply in PR .
    After this when I exicute in ME59N by entering Purchasing Group,Purchasing Org,Vendor,Plant
    and selected the Per Requisition , per contract tab.
    After this above two error is showing in SAP.
    Kindly give us solution to resolve this.
    Regards.
    Abhijit
    Subject changed to reflect the issue-  by: Jürgen L

    Hi
    The error is probably caused because T161-NUMKI = <BLANK>.  Please fill in the valid T161-NUMKI.
    This needs to be done in customising
    Transaction SPRO:
    Material Management -> Purchasing -> Purchase Order -> Define Document types
    Number range in the case of internal number assignment
    Hope this information is of help.
    Kind regards,
    Lorraine

  • Why do I get "Internal Error (-5002) occurred" when doing external recon via SDK ?

    I can reconcile an invoice and matching incoming payment as below:
    Table OJDT is:
    BatchNum
    TransId
    BtfStatus
    TransType
    BaseRef
    RefDate
    Memo
    Ref1
    Ref2
    CreatedBy
    LocTotal
    FcTotal
    SysTotal
    TransCode
    OrignCurr
    TransRate
    BtfLine
    TransCurr
    Project
    DueDate
    TaxDate
    PCAddition
    FinncPriod
    DataSource
    UpdateDate
    CreateDate
    UserSign
    UserSign2
    RefndRprt
    LogInstanc
    ObjType
    Indicator
    AdjTran
    RevSource
    StornoDate
    StornoToTr
    AutoStorno
    Corisptivi
    VatDate
    StampTax
    Series
    Number
    AutoVAT
    DocSeries
    FolioPref
    FolioNum
    CreateTime
    BlockDunn
    ReportEU
    Report347
    Printed
    DocType
    AttNum
    GenRegNo
    RG23APart2
    RG23CPart2
    MatType
    Creator
    Approver
    Location
    SeqCode
    Serial
    SeriesStr
    SubStr
    AutoWT
    WTSum
    WTSumSC
    WTSumFC
    WTApplied
    WTAppliedS
    WTAppliedF
    BaseAmnt
    BaseAmntSC
    BaseAmntFC
    BaseVtAt
    BaseVtAtSC
    BaseVtAtFC
    VersionNum
    BaseTrans
    ResidenNum
    OperatCode
    Ref3
    SSIExmpt
    SignMsg
    SignDigest
    CertifNum
    KeyVersion
    CUP
    CIG
    SupplCode
    SPSrcType
    SPSrcID
    SPSrcDLN
    DeferedTax
    AgrNo
    SeqNum
    ECDPosTyp
    RptPeriod
    RptMonth
    U_BType
    U_CLIST
    NULL
    3285
    O
    13
    1328
    2014-08-10 00:00:00.000
    A/R Invoices - AFR100
    1328
    1328
    900.000000
    900.000000
    900.000000
    NULL
    NULL
    0.000000
    NULL
    USD
    NULL
    2014-08-10 00:00:00.000
    2014-08-10 00:00:00.000
    N
    104
    I
    2014-08-10 00:00:00.000
    2014-08-10 00:00:00.000
    1
    1
    N
    0
    30
    NULL
    N
    N
    NULL
    NULL
    N
    N
    NULL
    N
    17
    3285
    N
    4
    NULL
    NULL
    944
    N
    N
    N
    N
    NULL
    0
    N
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    N
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    9.02.003.11
    NULL
    1
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    N
    NULL
    NULL
    N
    NULL
    NULL
    NULL
    NULL
    NULL
    3286
    O
    24
    1375
    2014-08-10 00:00:00.000
    Incoming Payments - AFR100
    1375
    1375
    900.000000
    900.000000
    900.000000
    NULL
    NULL
    0.000000
    NULL
    USD
    NULL
    2014-08-10 00:00:00.000
    2014-08-10 00:00:00.000
    N
    104
    I
    2014-08-10 00:00:00.000
    2014-08-10 00:00:00.000
    1
    1
    N
    0
    30
    NULL
    N
    N
    NULL
    NULL
    N
    N
    NULL
    N
    17
    3286
    N
    15
    NULL
    NULL
    945
    N
    N
    N
    N
    NULL
    0
    N
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    N
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    9.02.003.11
    NULL
    1
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    N
    NULL
    NULL
    N
    NULL
    NULL
    NULL
    NULL
    Table JDT1:
    TransId
    Line_ID
    Account
    Debit
    Credit
    SYSCred
    SYSDeb
    FCDebit
    FCCredit
    FCCurrency
    DueDate
    SourceID
    SourceLine
    ShortName
    IntrnMatch
    ExtrMatch
    ContraAct
    LineMemo
    Ref3Line
    TransType
    RefDate
    Ref2Date
    Ref1
    Ref2
    CreatedBy
    BaseRef
    Project
    TransCode
    ProfitCode
    TaxDate
    SystemRate
    MthDate
    ToMthSum
    UserSign
    BatchNum
    FinncPriod
    RelTransId
    RelLineID
    RelType
    LogInstanc
    VatGroup
    BaseSum
    VatRate
    Indicator
    AdjTran
    RevSource
    ObjType
    VatDate
    PaymentRef
    SYSBaseSum
    MultMatch
    VatLine
    VatAmount
    SYSVatSum
    Closed
    GrossValue
    CheckAbs
    LineType
    DebCred
    SequenceNr
    StornoAcc
    BalDueDeb
    BalDueCred
    BalFcDeb
    BalFcCred
    BalScDeb
    BalScCred
    IsNet
    DunWizBlck
    DunnLevel
    DunDate
    TaxType
    TaxPostAcc
    StaCode
    StaType
    TaxCode
    ValidFrom
    GrossValFc
    LvlUpdDate
    OcrCode2
    OcrCode3
    OcrCode4
    OcrCode5
    MIEntry
    MIVEntry
    ClsInTP
    CenVatCom
    MatType
    PstngType
    ValidFrom2
    ValidFrom3
    ValidFrom4
    ValidFrom5
    Location
    WTaxCode
    EquVatRate
    EquVatSum
    SYSEquSum
    TotalVat
    SYSTVat
    WTLiable
    WTLine
    WTApplied
    WTAppliedS
    WTAppliedF
    WTSum
    WTSumFC
    WTSumSC
    PayBlock
    PayBlckRef
    LicTradNum
    InterimTyp
    DprId
    MatchRef
    Ordered
    CUP
    CIG
    BPLId
    BPLName
    VatRegNum
    SLEDGERF
    U_CLIST
    3285
    0
    100200200100000
    900.000000
    0.000000
    0.000000
    900.000000
    900.000000
    0.000000
    USD
    2014-08-10 00:00:00.000
    1328
    1
    AFR100
    0
    0
    400100100300000
    A/R Invoices - AFR100
    1
    13
    2014-08-10 00:00:00.000
    NULL
    1328
    1328
    1328
    NULL
    2014-08-10 00:00:00.000
    0.000000
    NULL
    0.000000
    1
    NULL
    104
    -1
    -1
    N
    0
    NULL
    0.000000
    0.000000
    N
    N
    30
    NULL
    0.000000
    0
    N
    0.000000
    0.000000
    N
    0.000000
    NULL
    3
    D
    0
    NULL
    900.000000
    0.000000
    900.000000
    0.000000
    900.000000
    0.000000
    Y
    N
    0
    NULL
    0
    N
    NULL
    NULL
    NULL
    1900-01-01 00:00:00.000
    0.000000
    NULL
    0
    0
    0
    -1
    -1
    0
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    NULL
    NULL
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    N
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    NULL
    NULL
    0
    NULL
    N
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    3285
    1
    200100200900000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    USD
    2014-08-10 00:00:00.000
    1328
    -2
    200100200900000
    0
    0
    AFR100
    A/R Invoices - AFR100
    13
    2014-08-10 00:00:00.000
    NULL
    1328
    1328
    1328
    NULL
    2014-08-10 00:00:00.000
    0.000000
    NULL
    0.000000
    1
    NULL
    104
    -1
    -1
    N
    0
    X0
    900.000000
    0.000000
    N
    N
    30
    NULL
    900.000000
    0
    Y
    0.000000
    0.000000
    N
    0.000000
    NULL
    3
    C
    0
    NULL
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    Y
    N
    0
    NULL
    0
    N
    NULL
    NULL
    NULL
    1900-01-01 00:00:00.000
    0.000000
    NULL
    0
    0
    0
    -1
    -1
    0
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    NULL
    NULL
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    N
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    NULL
    NULL
    0
    NULL
    N
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    3285
    2
    400100100300000
    0.000000
    900.000000
    900.000000
    0.000000
    0.000000
    900.000000
    USD
    2014-08-10 00:00:00.000
    NULL
    NULL
    400100100300000
    0
    0
    AFR100
    A/R Invoices - AFR100
    13
    2014-08-10 00:00:00.000
    NULL
    1328
    1328
    1328
    NULL
    2014-08-10 00:00:00.000
    0.000000
    NULL
    0.000000
    1
    NULL
    104
    -1
    -1
    N
    0
    NULL
    0.000000
    0.000000
    N
    N
    30
    NULL
    0.000000
    0
    N
    0.000000
    0.000000
    N
    0.000000
    NULL
    3
    C
    0
    NULL
    0.000000
    900.000000
    0.000000
    900.000000
    0.000000
    900.000000
    Y
    N
    0
    NULL
    0
    N
    NULL
    NULL
    NULL
    1900-01-01 00:00:00.000
    0.000000
    NULL
    0
    0
    0
    -1
    -1
    0
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    NULL
    NULL
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    N
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    NULL
    NULL
    0
    NULL
    N
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    3285
    3
    100200100100200
    0.000000
    891.710000
    891.710000
    0.000000
    0.000000
    891.710000
    USD
    2014-08-10 00:00:00.000
    NULL
    NULL
    100200100100200
    0
    0
    AFR100
    A/R Invoices - AFR100
    13
    2014-08-10 00:00:00.000
    NULL
    1328
    1328
    1328
    NULL
    2014-08-10 00:00:00.000
    0.000000
    NULL
    0.000000
    1
    NULL
    104
    -1
    -1
    N
    0
    NULL
    0.000000
    0.000000
    N
    N
    30
    NULL
    0.000000
    0
    N
    0.000000
    0.000000
    N
    0.000000
    NULL
    3
    C
    0
    NULL
    0.000000
    891.710000
    0.000000
    891.710000
    0.000000
    891.710000
    Y
    N
    0
    NULL
    0
    N
    NULL
    NULL
    NULL
    1900-01-01 00:00:00.000
    0.000000
    NULL
    0
    0
    0
    -1
    -1
    0
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    NULL
    NULL
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    N
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    NULL
    NULL
    0
    NULL
    N
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    3285
    4
    500100100700000
    891.710000
    0.000000
    0.000000
    891.710000
    891.710000
    0.000000
    USD
    2014-08-10 00:00:00.000
    NULL
    NULL
    500100100700000
    0
    0
    AFR100
    A/R Invoices - AFR100
    13
    2014-08-10 00:00:00.000
    NULL
    1328
    1328
    1328
    NULL
    2014-08-10 00:00:00.000
    0.000000
    NULL
    0.000000
    1
    NULL
    104
    -1
    -1
    N
    0
    NULL
    0.000000
    0.000000
    N
    N
    30
    NULL
    0.000000
    0
    N
    0.000000
    0.000000
    N
    0.000000
    NULL
    3
    D
    0
    NULL
    891.710000
    0.000000
    891.710000
    0.000000
    891.710000
    0.000000
    Y
    N
    0
    NULL
    0
    N
    NULL
    NULL
    NULL
    1900-01-01 00:00:00.000
    0.000000
    NULL
    0
    0
    0
    -1
    -1
    0
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    NULL
    NULL
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    N
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    NULL
    NULL
    0
    NULL
    N
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    3286
    0
    100200500100500
    900.000000
    0.000000
    0.000000
    900.000000
    900.000000
    0.000000
    USD
    2014-08-10 00:00:00.000
    1375
    -1
    100200500100500
    0
    0
    AFR100
    Incoming Payments - AFR100
    NULL
    24
    2014-08-10 00:00:00.000
    NULL
    1375
    1375
    1375
    NULL
    NULL
    2014-08-10 00:00:00.000
    0.000000
    NULL
    0.000000
    1
    NULL
    104
    -1
    -1
    N
    0
    NULL
    0.000000
    0.000000
    NULL
    N
    N
    30
    NULL
    NULL
    0.000000
    0
    N
    0.000000
    0.000000
    N
    0.000000
    NULL
    0
    D
    0
    NULL
    900.000000
    0.000000
    900.000000
    0.000000
    900.000000
    0.000000
    Y
    N
    0
    NULL
    0
    N
    NULL
    NULL
    NULL
    1900-01-01 00:00:00.000
    0.000000
    NULL
    NULL
    NULL
    NULL
    NULL
    0
    0
    0
    -1
    -1
    0
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    NULL
    NULL
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    N
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    NULL
    NULL
    0
    NULL
    NULL
    N
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    3286
    1
    100200200100000
    0.000000
    900.000000
    900.000000
    0.000000
    0.000000
    900.000000
    USD
    2014-08-10 00:00:00.000
    NULL
    -99
    AFR100
    0
    0
    100200500100500
    Incoming Payments - AFR100
    1375
    24
    2014-08-10 00:00:00.000
    NULL
    1375
    1375
    1375
    NULL
    NULL
    2014-08-10 00:00:00.000
    0.000000
    NULL
    0.000000
    1
    NULL
    104
    -1
    -1
    N
    0
    NULL
    0.000000
    0.000000
    NULL
    N
    N
    30
    NULL
    NULL
    0.000000
    0
    N
    0.000000
    0.000000
    N
    0.000000
    NULL
    0
    C
    0
    NULL
    0.000000
    900.000000
    0.000000
    900.000000
    0.000000
    900.000000
    Y
    N
    0
    NULL
    0
    N
    NULL
    NULL
    NULL
    1900-01-01 00:00:00.000
    0.000000
    NULL
    NULL
    NULL
    NULL
    NULL
    0
    0
    0
    -1
    -1
    0
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    1900-01-01 00:00:00.000
    NULL
    NULL
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    N
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    0.000000
    N
    NULL
    NULL
    0
    NULL
    NULL
    N
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    But when I try the same in SDK/DI (oCmpSrv previously set),  I get "Internal Error (-5002) occurred":
            Try
                Dim ExtReconSvc As SAPbobsCOM.ExternalReconciliationsService = oCmpSrv.GetBusinessService(SAPbobsCOM.ServiceTypes.ExternalReconciliationsService)
                Dim ExtReconciliation As SAPbobsCOM.ExternalReconciliation = ExtReconSvc.GetDataInterface(SAPbobsCOM.ExternalReconciliationsServiceDataInterfaces.ersExternalReconciliation)
                ExtReconciliation.ReconciliationAccountType = SAPbobsCOM.ReconciliationAccountTypeEnum.rat_BusinessPartner
                Dim jeLine1 As SAPbobsCOM.ReconciliationJournalEntryLine = ExtReconciliation.ReconciliationJournalEntryLines.Add()
                jeLine1.TransactionNumber = "3285"
                jeLine1.LineNumber = 0
                Dim jeLine2 As SAPbobsCOM.ReconciliationJournalEntryLine = ExtReconciliation.ReconciliationJournalEntryLines.Add()
                jeLine2.TransactionNumber = "3286"
                jeLine2.LineNumber = 1
                ExtReconSvc.Reconcile(ExtReconciliation)
            Catch ex As Exception
                MsgBox(ex.Message)
            End Try
    I do not understand what I am doing wrong and I have no idea what this error means.
    Thanks in advance for your help.

    Sorry Images were very poor in original post.

  • Internal Error (-5002) on adding Additional Expenses in a sales-document

    Hi All,
    I try to add an additional expense in a sales-document. I receice an internal error (-5002) What is the problem ?
    I want to transfer the additional expense from a sales-order to my target delivery note.
    See my example in C#:
                   oDlvNote.CardCode = cuno;
                    oDlvNote.DocDueDate = oDate;
                    string queryvx2 = "Select ExpnsCode, LineTotal, Comments,
    DocEntry, LineNum From " + tablenameexp + " Where DocEntry
    = " + origornov;
                    using (System.Data.SqlClient.SqlDataReader sqlReadervx2 =
    SwissAddonFramework.B1Connector.GetB1Connector().ExecuteQuery(queryvx2))
                        while (sqlReadervx2.Read())
                            expcode = sqlReadervx2.GetInt32(0);
                            linetotexp =
    Decimal.ToDouble((Decimal)sqlReadervx2.GetSqlDecimal(1));
                            remarksexp = sqlReadervx2.GetString(2);
                            docentryexp = sqlReadervx2.GetInt32(3);
                            linenumexp = sqlReadervx2.GetInt32(4);
                    oDlvNote.Expenses.BaseDocEntry = docentryexp;
                    oDlvNote.Expenses.BaseDocLine = linenumexp;
                    oDlvNote.Expenses.BaseDocType = objectnr;
                    oDlvNote.Expenses.ExpenseCode = expcode;
                    oDlvNote.Expenses.LineTotal = linetotexp;
                    oDlvNote.Expenses.Remarks = remarksexp;
              --->    oDlvNote.Expenses.Add();
                    oDlvNote.Lines.ItemCode = Artikel;
    Regards,
    Roland

    Hi Roland,
    I think it's the same issue as here:
    -5002,if you reference production in a row,so all rows should be refer prod
    Regards,
    Frank
    PS: Expenses are a "lines" type oject - just like Document_Lines - which are handled in the TB1300
    Message was edited by:
            Frank Moebius

  • PO Error-Internal number assignment not defined

    dear all gurus,
    while i am creating the po and save it, the error occurs that Internal number assignment not defined (please enter number).
    i hv already defined the no. range for the po.
    now what should i do further in these matter.
    rgds,
    rajesh

    Dear,
    SPRO - Materials Management - Purchasing - Purchase Order - Define Document Types.
    Select your document type and Assign your number of number range in number range intraval.
    Regards,
    Mahesh Wagh.

  • Internal error (-5002) occured during sap B1 version updation

    Dear Experts
    Internal error (-5002) occured during sap B1 version updation from SAP B1 2007B to SAP B1 8.8
    Please help
    S K Jana

    Hello
    You may take a look into the upgrade log file:
    C:Program FilesSAPSAP Business OneLog directory,
    filename should be
    B1UpgradePid[xxxx]_[YYYMMHH.....].txt
    You can find information inside !
    If the upgrade failed, please check this file, look for notes, or report the issue to GSC.
    Regards
    János

  • DTW Error 65171 "Cannot find this object in B1"

    Hello experts
    By trying to perform a massive modifying of Journal entries using DTW I am getting this error for all the lines of my source file. I am trying to modify cost center, so I am using the JDT1 template for the data load.
    The thing is that by checking Step 5 "Map Object Fields", "Source Data" tab is displaying all the data as it is on the file, but on "Target Data" tab I can not find Journal entry number and LineNum, the rest f the data is ok, but those two fields are not being retrieved on "Target Data".
    Thanks in advance and regards

    Hi Javier,
    Please check below links.
    DTW Error 65171
    DTW error 65171
    DTW, Unkonwn error 1005!65171
    DTW error 65171 - Cannot find this object
    DTW error65171
    SAP B1 Data Transfer WorkBench : Data too large... | SCN
    Hope this help
    Regards::::
    Atul Chakraborty

  • Getting Error- Internal error (-5002).

    Hi
         While trying to add Invoice through DIAPI, i am getting the above mentioned Error -> Internal error (-5002). I am using SAP 8.8 version.
    Please help me to solve the issue..
    Thanking you in Advance...
    Hari

    We have an add-on in SAP used for Project Management. As a part of that add-on, we create A/R Invoices, A/P Invoices, and Journal Entries through the DI. This application works perfectly in SAP 2007. We are in the process of converting the application to SAP 8.8 and are encountering the same error message when we try to post any document to SAP through the DI. We put together a small sample application that tried to create an A/R Invoice passing just the minimum requirements (CardCode on header, ItemCode on line) and even that test is encountering the -5002 error on attempt to Add document.
    We are attempting to determine if the issue is on our Server or if the issue is in the DI. We are aware of issues in the SAP 88 DI that don't work the way they did in the SAP 2007 DI (Dataflush, which SAP has acknowledged will be re-fixed in a higher Patch level than we are running (5) but we aren't sure if anyone else has experienced Document Posting issues.

  • "Internal Error -5002" every order

    On every order submitted from web tools, either thru the administrative screen or by the customer, is giving this error:
    -5002:Internal error (-5002) occurred
       at NetPoint.SynchSBO.SBOObjects.SBODocument.NP_2_SBO(Documents& document, NPOrder order)
       at NetPoint.SynchSBO.SBOObjects.SBOOrder.NetPointToSBO(NPQueueObject qData)
       at NetPoint.SynchSBO.SynchObjectBase.Synch()
    I searched the forums to see if that error number was asked previously, didn't find any posts about this specific error.  The error only gives that number and doesn't say anything about what could cause it, so I don't have any leads to go off of   Every order gets this sync error; the sync error repeats each time sync runs.
    Any suggestions?

    Hi Jason
    Something with the forum search makes it so that searching for "-5002" returns nothing while searching for "5002" returns this
    [https://forums.sdn.sap.com/search.jspa?threadID=&q=5002&objID=f252&dateRange=all&numResults=15&rankBy=10001|https://forums.sdn.sap.com/search.jspa?threadID=&q=5002&objID=f252&dateRange=all&numResults=15&rankBy=10001]

Maybe you are looking for