DTW Error65171 when Updating Business Partners

I have gotten the following error multiple times when attempting to update Business Partners in the DTW:  "Can not find this object in B1Application-defined or object-defined error65171".  I have tried many different things as well as only trying to import one record with only the line num, card code, and card type and still I get this error when trying to update BP's.  I have also tried using both a tab delimited and a comma delimited file.  Pleae let me know if you have any related information.  Thanks!

Hi Sarah,
a typical situation where this kind of error occurs is when there is data in the line to be imported/updated which is not defined in SAP, e.g. in the import-file I used a tax-code which was not defined in SAP.
Furthermore I had problems with a newer version of DTW (no time to look for the version number right now). With this version it is NOT possible to UPDATE business partners. I installed an older version of DTW which was part of SAP BO 2005A SP01 PL16 (if I remember it corretly) and did the update of business partners.
To solve your problem you should inform us on the versions of SAP and DTW you are currently using, as Suda already asked you for in his reply!
Regards,
Frank Romeni

Similar Messages

  • DTW problem when updating business partner

    Hi Experts,
    I want to update business partner master data via DTW.
    I only want to update the Remarks.
    In my import file only the fields RecordKey, CardCode and FreeText are filled.
    Example:
    RecordKey: 1
    CardCode: C20000
    FreeText: My Remarks
    The import is successful and the remarks were filled but the DTW has also updated other fields in the business partner master data.
    Before update via DTW the business partner has no payment methods included on the payment system tab but after update via DTW the payment method is included and is defined as Standard.
    Any idea?
    Thanks for help.
    Jacqueline

    Hi,
    yes, the existing payment methods were defined manually before update.
    But the payment method was not included for that business partner.
    Here are some hardcopys before update and after update.
    [BP Master Data Before Update DTW|http://www.sap-potsdam.de/BoneUpload/BP_before_Update.JPG]
    [BP Master Data After Update DTW|http://www.sap-potsdam.de/BoneUpload/BP_after_Update.JPG]
    Jacqueline

  • Problem updating business partners - "Bank does not exist in the company"

    Hi
    I have written a small program to update business partners ( SP01 PL 34 ) and I am getting a message saying "Bank does not exist in the company"
    I am only updating simple information such as telephone, fax and email addresses.
    Does anyone know why I am getting that error ?
    Thanks
    Regards Andy

    Paul,
    Other than the code that you have written, are there any other add-ons installed with Business One such as the Payment Engine?
    I have not heard of this issue.  You may want to create a message with SAP Support since you are getting the same error through the DTW which also uses the DI API.
    Also, is there any difference between what you manually key in and what you try to push in?
    Eddy

  • Error updating business partners

    Hi,
    I have a routine to add/updat business partners, but when I update them I get the message  "Cannot add multi bill.to address to non supplier BP", but I am doning nothing with the addresses.
                    If bp.GetByKey(rs.Fields.Item(0).Value) Then
                        bp.CardType = SAPbobsCOM.BoCardTypes.cLid
                        bp.CardName = compname
                        bp.Phone1 = telnr
                        bp.ContactPerson = contactp
                        bp.Website = website
                        bp.UserFields.Fields.Item("U_HUIDPAKK").Value = huidigpak
                        If bp.UserFields.Fields.Item("U_BELVERSL").Value.length > 0 Then
                            bp.UserFields.Fields.Item("U_BELVERSL").Value += contact
                        Else
                            bp.UserFields.Fields.Item("U_BELVERSL").Value = contact
                        End If
                        bp.UserFields.Fields.Item("U_MAILDATM").Value = caldate
                        Dim rc As Integer = bp.Update
                        If rc <> 0 Then
                            SBO_Application.MessageBox("UPDATE: " + oCmp.GetLastErrorDescription + vbCrLf + bp.CardCode)
                        End If
                    Else
                            SBO_Application.MessageBox(rs.Fields.Item(0).Value + " niet gevonden")
                        End If
                    End If

    Hey Ad,
    Looks like it is not possible.
    BusinessPartners Object has a BPAdresses object, which contains all adressses (ship to and bill to). But The BPAdresses object only contains an add function, no remove function.
    So you'll should delete the business partner, and add it again...
    Good luck!
    Edit:
    You'll can also delete the address entry in table CRD1 (that's the adresses table according to the DI-API. Not supported by SAP though, (you'll lose support) so take care with it...
    Message was edited by: R. Schwachofer

  • DTW Updating Business Partners

    Hello Guys
    I am trying to upload the Business Partners via DTW to SAP B1, its returning me with an error key="DocEntry" Reason="Can not find this onjects in B1Application-defined or object-defined error65171" i used the same template lastime to upload and it worked fine i dont know what the problem is, do you guys have any clue on this one.
    Thanks

    Well one thing you should take note of is if you're using a CSV file to import in your data, you should make sure there arent any comma's in the sheet as B1 DTW will 'flow' the data into a new field after the comma. We've seen this happen over and over again.
    The values in the whole column of 20 000 BP codes are fine, empty, all good. Then 12 000 BP codes into the DTW and it starts kicking up a fuss.
    Best way to trouble shoot this is to do a test and cut out the last row BEFORE the error line, the actual error line and 1 row after the error. Then do a test import and see if there are any errors. If there isnt, then you should focus on the 3 rows of data

  • Check in BADI when updating Business Partner

    Hi.
    This question is regarding in general how to know which tables, classes etc. that you are able to use when you are in a BADI.
    I guess this BADI should be used: BUPA_IDENT_UPDATE, or it might be PARTNER_UPDATE.
    I need to check if ID_TYPE when Update or Insert new ID during Save of partner.
    When pressing F6 a few times I can see in the call of funtion BUP_BUPA_UPDATE that variable mem_but0id and there the kz variable is I for Insert.
    But this is outside the BADI, how would I find this information from the BUPA_IDENT_UPDATE???
    Thank you very much in advance!
    BR
    Mattias

    Hi,
    yes, the existing payment methods were defined manually before update.
    But the payment method was not included for that business partner.
    Here are some hardcopys before update and after update.
    [BP Master Data Before Update DTW|http://www.sap-potsdam.de/BoneUpload/BP_before_Update.JPG]
    [BP Master Data After Update DTW|http://www.sap-potsdam.de/BoneUpload/BP_after_Update.JPG]
    Jacqueline

  • Error when assigning  business partners to positions in org. mgmt.

    Hello,
    I've got the following problem. I want to assign business partners to a position in organisation management. When doing this, the following error occurs:
    "Object cannot be assigned to object xxx in the period xx.xx.xxxx - xx.xx.xxxx"
    (xxx is the position to which the business partner should be assigned)
    The number of this error message is 5A368.
    Diagnosis in the detailed description of this message:
    "The object period of object '1st Level Support' is not within the relationship period 26.03.2007 - 31.12.9999."
    I've changed the object period of the position "1st Level Support" to several other dates, but it did not solve the problem.
    The described problem does not occur, when assigning an user to this position.
    Can anybody help me with this problem? I'm using SolMan 4.0.
    Thank you in advance!

    Thanks for your answer so far. Unfortunately it's not possible for me to upgrade to SP11. So I tried to solve the problem the way you described. I double-clicked the position on the left, the desired position is shown in the main screen and I try to assign the business partner to the position. But the same error appears.
    Are there any other possible solutions?
    What are the consequences of assigning users to a position instead of business partners?

  • DTW Error when updating items

    I'm trying to update all items with pricing and min/max.
    DTW returns all in error:
    "Server violation of PRIMARY KEY constraint "OITW" PRIMARY
    cannot insert duplicate key in object "OITW"
    Any help would be appreciated.
    regards,
    m. Jenkins

    Hi,
    Were your objects Not Updated or Not Created?
    I encountered the same error. I'm currently doing a second import with no rollback. I think the problem is specific to a field.  I will troubleshoot and update with any positive findings.
    Thanks!
    Francois

  • UI invisible after updating 5000 business partners

    hi,
    i'm updating about 5000 business partners in my addon.
    I do this in a thread, so the user can do other things in sap.
    If there is no user interaction the screen will be locked, but that doesn't matter because the addon will go on as i can see in the status bar.
    After 1-2 hour the user cannot acess SAP anymore. The UI will not been refreshed. The only way is to kill the process.
    Is there a way to handle this?
    SAP 8.8 SP00 PL19
    best regards
    Markus

    Hello Marcus,
    When i had this kind of error, i done the following: spliited the records to be updated as 1000 per group, and executed a them in  a cycle.
    Also a good idea it the following:
    for 1 to 5000
    call updateBP  (params)
    next
    Sub Updatebp (params)
    oBp = moSBOCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners)
    oBp.update
    'release object
    GC.Collect() 'Call the garbage collector for good measure
    end sub
    no more data required, and stable.
    Regards
    János
    pS: use GetDICompany to connect via UI Addon if necessary in 2007 / 8.8
    Edited by: János Nagy on Feb 10, 2011 12:33 PM

  • DTW for exporting business partners and Items

    Hi all,
    Can any one tell me how to work on DTW for exporting business partners and Items. groups,subgroups and properties feilds are required, iam on pl5
    thanks in advance
    regards,
    kumar

    Hi Kumar
    For details on the format for the DTW go to your SDK installation folder for SAP Business One. You will find a Help folder and select the file REFDI.CHM
    This file will give you help on the DI API which are the rules applied to the DTW as well. Under contents click on the plus next to objects. This will list all the objects (templates in DTW) available. Select an object and look at the members. There is a detailed explanation next to each member that will tell you whether or not it is mandatory and what the SAP field name is in brackets. If you click on a member name it will display more details on that member and under Syntax if you select the member name that is underlined, it will give you a list of options if applicable for that field. For example when clicking on CardType you will see the options are cCustomer, cSupplier and cLid.
    Hope this helps
    Kind regards
    Peter Juby

  • DTW Import Business Partners and Contacts

    Hallo,
    I want to do an import via DTW for the Contact of the Business Partners. The Business Partners were loaded via the Import Excel in SBO. I created two files using the templates. For the BP file I only want link the Contact Persons. With the Contact person file, the Contact persons are loaded.
    Using these file gives me the message that the client number already exists. That is correct, I only want to ad contact persons. Where is the missing link in my files? My BP numbers are starting with.30000.
    MY BP files can be found on:
    ftp.rikas.nl
    user: sbo
    password: sbo

    hello M. Meulendijk,
    you need the Update of Business Partners template of DTW. you found this templates in C:\Program Files\SAP Manage\Data Transfer Workbench\Templates\Data preparation examples\20. TestCase2_Test Data for update function\BusinessPartners
    if u wish i can send you the templates. just give your email address.
    your ftp does not work, invalid password.
    hope it helps..
    FIDEL

  • DTW - Update Business Partner

    Hi all,
    I have import some BP master data , but i have to change the 'Cardcode'. Is that possible?
    Thanks in advance.

    Hello,
    Could you describe more detail what template you have used when importing business partner master data beside business partner template ? I usually use business partner, contact employees and BP address. if I import the wrong data (incorrect data), I usually re -import the data after delete the existing BP master data. I just use these queries :
    delete from OCRD where cardcode between 'cust1000' and 'cust3000' 
    delete from CRD1 where cardcode between 'cust1000' and 'cust3000'
    I consider the update existing object task can also be useful feature in DTW to correct the incorrect data in database after importing but give consideration to record key.
    Rgds,

  • DTW - Error occurs when updating UDF field

    Error occurs when updating UDF field:"bank does not exist in the company Application-defined or
    object-defined error65171"
    What is the meaning of this message?
    thanks
    Edited by: Nadav Greifman on Oct 11, 2009 12:39 PM

    You may check these threads forst:
    Invalid valid value '0003' Error 65171
    bank account is missing application -define or object define Error 65171
    Re: Journal entries
    Re: Error importing Incoming Payments using the Data Transfer Workbench
    Thanks,
    Gordon

  • [Special Prices for Business Partners] and [Hierarchies and Expansions]

    Dear Sirs,
    I am running into three problems.
    1.) I loaded 313 items Special Prices by DTW however I can not locate where it went?
         I searched via the path [Inventory>Price Lists>Special Prices>Special Prices for Business Partners]but find nothing in there.
    2.) I can not find DTW templates for Hierarchies and Expansions data load.
         Also I searched via the path [Inventory>Price Lists>Special Prices>Hierarchies and Expansions] to see if the Special Prices I loaded with DTW maybe there but find nothing there.
    3.) I can not find any information related to Hierarchies and Expansions in the [diapi] help file.
    Could it be these two functionalities require "manual" input?
    If so, how on earth the 313 Special Prices DTW data load went through "successfully" and find no trace of it?
    I am pulling my hair off to find some advice.
    Would appreciate it greatly if someone could enlighten me on these two functionalities.
    Kuni - Tokyo
    Edited by: furuya kunitomo on May 15, 2009 2:28 PM

    Hi Kuni,
    To quickly answer your questions:
    1.) I loaded 313 items Special Prices by DTW however I can not locate where it went?
    The path is correct. If you can't find anything probably something went wrong in the DTW import.
    Check that the "Test Run" checkbox was not checked and all required keys are entered in the templates.
    2.) I can not find DTW templates for Hierarchies and Expansions data load.
    The relevant templates are:
    SpecialPrices.xlt
    SpecialPricesDataAreas.xlt
    SpecialPricesQuantityAreas.xlt
    the default location when installing DTW is:
    C:\Program Files\SAP\Data Transfer Workbench\Templates\Templates\oSpecialPrices
    When entering Hierarchies and Expansions (renamed to Period and Volume Discount in Version 2007) you must enter *x for CardCode where x is the price list number.
    3.) I can not find any information related to Hierarchies and Expansions in the diapi help file.
    The information in the DI API file is under the SpecialPrices Object.
    See below some general information regarding special prices:
    SpecialPrices is a business object part of the Inventory and Production module under
    Select Inventory > Price Lists > Special Prices > Special Prices for Business Partners.
    OR
    Select Inventory > Price Lists > Period and Volume Discount (Hierarchies and Expansions in previous versions)
    Interesting points:
    Source table: OSPP
    DTW Template: SpecialPrices.csv
    Mandatory fields in SAP Business One: CardCode and ItemCode.
    PriceListNum is a foreign key to the PriceLists object - source table OPLN, field name ListNum.
    CardCode is the Business Partner CardCode to enter Special Prices for Business Partners.
    Child object of the SpecialPrices Object: SpecialPricesDataAreas (source table: SPP1)
    DTW Template: SpecialPricesDataAreas.csv
    LineNum (Field name LINENUM) - Always enter the appropriate LineNumber you want to update (starts from 0).
    Child object of the SpecialPricesDataAreas Object: SpecialPricesQuantityArea (source table: SPP2)
    DTW Template: SpecialPricesQuantityAreas.csv
    LineNum (Field Name SPP2LNum). Always enter the appropriate LineNumber you want to update (starts from 0).
    Hope that information helps a little. If you have any fruther questions enter the following information:
    1. SAP Business One Version including Patch level
    2. Do you get any error message after the import? What is the message returned?
    Kind Regards,
    Friederike Mundt
    SAP Business One Forums Team

  • How do I stop business partners from getting a default sales employee/buyer?

    I'm currently using SAP B1 version 8.82.
    Every time a salesperson creates a lead or customer, it is automatically filling in the "Sales Employee" field in the "General" tab with that person's name.  This is causing a problem because whenever someone else creates a sales order for that customer, it pulls the name of the person who created the customer rather than the person creating the sales order.  Is there a way to make all Business Partners default to "No Sales Employee" in the Business Partner Master data?
    Thank you,

    Here's an example of one of the customer cards.  Alessandra created this one, but she didn't select her name in the drop down box.  It filled it in automatically.  I don't want that to happen though because when Beth does a Sales Order for this person it automatically puts Alessandra's name on the Sales Order.  I recently changed this customer to have no sales employee assigned to it.  Now if Alessandra does an order for this client it fills in Alessandra, and if Beth does one it fills in Beth on the SO.  That's what I want to happen but I don't want to go back and individually change every customer.  I don't really want to do a DTW update either because that only solves the problem for customers already in the system and not new ones. I want that field "Sales Employee" to default to "No Sales Employee"

Maybe you are looking for

  • Multiple iPhoto databases on 1 mac?

    is there a way to have more than 1 iPhoto database on a computer? for example, if i want to have on my mac at work 2 different database files, one work related photos and another for personal photos. i would like to have a separate database for selec

  • TS1394 My mac is running very slow

    I have deleted programs, old files Always download and install the latest updates. I have even installed that Mackeeper software. But my Macbook pro is running like extremely slow, can someone help me?

  • Weird XML behaviour - mixes L and R of a stereo track on export

    Situation: 1. I have a sequence with a dual mono track (stereo track with L on track A1, R on track A2). L = microphone 1, R= microphone 2. When exporting an XML (e.g. for sync in PluralEyes), the channels get mixed together, like a mono mixdown. Her

  • Offset Path Leaving Undesired Result

    CS5 Mac The logo you see at the top picture has been made a compound path, this is how the logo normally looks. The bottom logo, is a duplicate of the top with the offset path applied. I am essentially wanting to add a silver shine around the edges b

  • "Layers" on webpages not working for me

    I am not very well versed in webpage lingo, but I will try to explain the problem I am having. I have noticed that recently with Safari, the certain "layers" of a webpage will fall behind other "layers." For instance, I might go to a drop-down menu o