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

Similar Messages

  • 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

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

  • Problem during DTW of Business Partner

    Hi Experts,
    During DTW of Business Partners (cSupplier), we are encountering an error message "Bank account is missing Application-defined or object-defined error65171". Any idea regarding the error?
    Our version is 2007 A PL47
    Thanks,
    Don

    HI DON,
         Pl ensure the following
    1.The House Bank Details :  Administration->System Initialization->
    Company Details->House Bank
    2.Default Payment meyhod for vendor : Administration->System Initialization->General settings->
      BP Tab
    These two settings are not defined it shown the ERROR while importing BP Data through DTW
    Regards
    Jambulingam.P

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

  • 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

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

  • DTW Import Business Partner

    Business One 2005A SP01, Patch 29
    DTW 2005.0.17
    API version 6.80.319
    I'm a newbie. Now that's out of the way.
    Can anyone tell me in general, how does one determine what are the required fields and data types for a DTW destination? This ETL tool is very different from any I've ever used before in that the destination fields in the interface change based on the import data provided. I'm used to those being constant, with required fields and their datatypes clearly defined.
    Currently I am trying to import Business Partners, all customers via ODBC. I provided data for the following BP fields:
    RecordKey                 1
    CardCode                  '1001'
    CardName                  'Company One'
    CardType                  'cCustomer'
    DefaultAccount           '_SYS00000001'
    GroupCode                 2
    PayTermsGrpCode      3
    The error log tells me all of my records fail for the following reason: [OCRD:BankCode]Application-defined or object-defined error oBusinessPartners.
    I assumed the required bank info had to do with with where I deposit payments from these customers. So I mapped data for BPBankAccounts. Every record is the same except for the RecordKey.
    RecordKey    AccountNo    BankCode
    1                   123              'My Bank'
    2                   123              'My Bank'
    Now The records load, but I've got bank info on the Payment Terms tab, not the Payment System tab. So my fix made my error go away, but the data are wrong. I don't want to have to import fake customer bank data just to get around this error. What does DTW really want?

    Thank you for your comments about the bank/payment tabs.
    I've since discovered my real problem with DTW is that the error messages are frequently spurious. I don't know if this is a bigger problem because I am using ODBC rather than flat files.
    I was only dragging in banking info because I had received the error message ' [OCRD.BankCode]Application-defined or object-defined error65171'. After I rebooted, I din't get this error any more and could load BPs without any banking info at all.
    Likewise, I was having trouble with addresses and was receiving messages like
    '[OCRD.State2] , 'The connected value 'MI' was not found in table States'Application-defined or object-defined erroroBusinessPartners'. This was a US customer. I am in the US and this IS a defined state.
    What I've learned from this expereince is not to trust DTW error messages.

  • Update Opportunity partners

    Hi Experts,
    i've created a report to massively update the opportunity into a CRM 6.0 system. I'm facing an issue while updating the partners: when i run the report i delete the partern using these functions in this order
    -CRM_ORDER_MAINTAIN
    lt_partner_com is the table for the parameter it_partner:
    ls_partner_com-kind_of_entry = 'C'.
    ls_partner_com-no_type = 'BP'. "-> if it is a business partner number
    ls_partner_com-display_type = 'BP'. "-> if it is a business partner number
    ls_partner_com-ref_kind = 'A'.
    ls_partner_com-ref_guid = gs_outtab-guid. "-> OPPORTUNITY Guid number
    ls_partner_com-ref_partner_fct = ls_partner-ref_partner_fct.  "-> Partner function to erase
    APPEND ls_partner_com TO lt_partner_com.
    lt_input_fields is the table for the parameter ct_input_fields:
    ls_input_fields-ref_guid = gs_outtab-guid. "-> OPPORTUNITY Guid number
    ls_input_fields-ref_kind = 'A'.
    ls_input_fields-objectname = 'PARTNER'.
    CONCATENATE ls_partner-ref_partner_handle ls_partner-ref_partner_fct INTO ls_input_fields-logical_key.
    ls_field_names-fieldname = 'PARTNER_FCT'.
    APPEND ls_field_names TO ls_input_fields-field_names.
    APPEND ls_input_fields TO lt_input_fields.
    -CRM_ORDER_SAVE
    -BAPI_TRANSACTION_COMMIT (and wait)
    -CRM_ORDER_INITIALIZE
    then i use the same functions to add the new partner:
    -CRM_ORDER_MAINTAIN
    lt_partner_com is the table for the parameter it_partner:
    ls_partner_com-ref_kind = 'A'.
    ls_partner_com-kind_of_entry = 'A'.
    ls_partner_com-no_type = 'BP'. "-> if it is a business partner number
    ls_partner_com-display_type = 'BP'. "-> if it is a business partner number
    ls_partner_com-ref_guid = gs_outtab-guid. "-> OPPORTUNITY Guid number
    ls_partner_com-partner_fct = p_partfn.  "-> Partner function to add
    ls_partner_com-partner_no = p_partnn.
    APPEND ls_partner_com TO lt_partner_com.
    lt_input_fields is the table for the parameter ct_input_fields:
    ls_input_fields-ref_guid = gs_outtab-guid. "-> OPPORTUNITY Guid number
    ls_input_fields-ref_kind = 'A'.
    ls_input_fields-objectname = 'PARTNER'.
    CONCATENATE ls_partner-ref_partner_handle ls_partner-ref_partner_fct INTO ls_input_fields-logical_key.
    APPEND ls_field_names TO ls_input_fields-field_names.
    ls_field_names-fieldname = 'DISPLAY_TYPE'.
    APPEND ls_field_names TO ls_input_fields-field_names.
    ls_field_names-fieldname = 'NO_TYPE'.
    APPEND ls_field_names TO ls_input_fields-field_names.
    ls_field_names-fieldname = 'PARTNER_FCT'.
    APPEND ls_field_names TO ls_input_fields-field_names.
    ls_field_names-fieldname = 'PARTNER_NO'.
    APPEND ls_field_names TO ls_input_fields-field_names.
    APPEND ls_input_fields TO lt_input_fields.
    -CRM_ORDER_SAVE
    -BAPI_TRANSACTION_COMMIT (and wait)
    -CRM_ORDER_INITIALIZE
    The first time i run the report, the partner is deleted, but is not added (and no errors from any function). The report display an AVL (it's a log); If I go back to the selection screen and run the report again, the partner is added correctly.
    Someone has some idea? Thank you,
    Antonio.

    Hi,
    I have also faced this situation while doing a product catalog upload program. But the solution to this which worked for me was not at all performance friendly.
    I used WAIT UPTO n SECONDS and later BUFFER_SUBSCRIBE_FOR_REFRESH to get the desired result.
    I don't know if this will work for you or not.
    Hope it helps.
    Regards
    Sidd

  • Error in transferring data from Catalog , in Managing business partners,SRM

    When I post data of Suppliers from ROS , and then check the <b>Manage business partners in mySAP SRM ( ITS) pages</b> , it pops a message <b>" Data cant be transeferred from Catalog".</b>
    Can anyone please explain ,,how to overcome this problem,,,
    Is it a config problem or some problem in Codes ?
    Its giving error for the Standard SAP ROS page also.
    Gautam

    Hi
    <u>Seems like some BASIS issue related to Roles/ Profiles / Authorization object missing for the log on user. Try giving SAP_ALL and SAP_NEW profiles to the user and see whether the same error happens or not.</u>
    Also ensure, number range configuation settings in SPRO are correctly maintained.
    <u>The Preselect Vendors transaction is delivered with the single roles. In order to use the transaction, you must enter the URL for supplier screening in the single role. Then you must update and activate the composite role.</u>
    <b>Supplier Screening with ERP</b> <u>You have logged onto the supplier registration system with the role SAP_EC_SUS_ROS_ PROCESSOR.</u>
    Refer to these links for details.
    <b>http://help.sap.com/saphelp_srm50/helpdata/en/77/a498403de08368e10000000a1550b0/frameset.htm</b>
    http://help.sap.com/saphelp_srm50/helpdata/en/b8/92303fdcf66d37e10000000a11405a/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/8b/4fa9585db211d2b404006094b92d37/frameset.htm
    Regards
    - Atul

Maybe you are looking for

  • Not Able to Open a workbook created by a User

    Hi, I am facing a lot of problems when trying to open a workbook created by userA. The Situation is as follows : we have several workbooks which were created by a userA. This User Shared these workbooks to a responsibility. But recently this user lef

  • ITunes fails to launch with Windows XP Professional

    I transferred my music to a new computer with Windows XP Professional and now iTunes won't work. It was working at first, but now if I open it this error comes up - 'iTunes has encountered an error and needs to close. We are sorry for the inconvenien

  • 1099 Form-IRS filing

    Hi Experts, I am generating a text file at local system. In the line of transmitter record (T record), I am getting additional data (name/add/e-mail id/) which was not entered in transmitter data when I was executing the program. I think this unwante

  • What table is a user's language in?

    The end result: I desire is a list of the language from the communication tab of a user profile.(This is different than the one under the defaults tab.) Langu_p is the field name. spras is the data element name. We are running ECC6.0 (no data stored

  • Spatial view 3D effect plugin causing After Effects to crash.

    I installed the Spatial View stereoscopic effect plugin today, only using the 30 day trial. However, every time I try to apply the effect or adjust some the settings, After Effects crashes. Anyone else had the same problem? I really need this plugin