Limit to DTW updates?

Hi,
Is there a limit updating Stock Items via DTW?  I have tried an update of 49129 items, but get errors.
If I spilt it down into chunks of 4750 records it works OK.
Thanks
Greig

hi greig,
SAP Note 865192 - How to optimize the performance of the DTW
Summary
Symptom
There are always a lot of data to import or update through DTW. The performance of DTW is more and more important to the customers' business.
Other terms
DTW, B1, SAP Business One 2004A, SAP Business One 2004B, SAP Business One 2004C
Reason and Prerequisites
Functionality Description
Solution
The following methods will help improve the performance.
1. It is best to import/update smaller files. If the data file is very large, separating the whole file into several smaller files is recommended.
2. Also separating every item file according to the separate type of the header file. For example, for "BillOfMaterials" object, if the files include 10000 records, the header file which include 10000 records is as follows.
Linetype,RecordKey,TreeCode,TreeType,Quantity
Linetype,RecordKey,Product No.,Product Type,Quantity
H,1,B00001,3,20
H,2,B00002,3,50
H,3,B00003,3 ,100
H,10000,B10000,3 ,100
The item file includes 10000 records, that are 30000 rows is as follows.
Linetype,RecordKey,LineNum,ItemCode,Quantity,Warehouse,Price,Currency
Linetype,RecordKey,LineNum,ItemCode,Quantity,Warehouse,Price,Currency
I1,1,0,A0000,10,1,20,USD
I1,1 ,1,A0001 ,20,1,10,USD
I1,1 ,2,A0002 ,50,1,10,USD
I1,2 ,0,A0003 ,20,1,12,USD
I1,2 ,1,A0004 ,10 ,1,32 ,USD
I1,2 ,2,A0005 ,10,1,21,USD
I1,3 ,0,A0006 ,12,1,12,USD
I1,3 ,1,A0007 ,10 ,1,11 ,USD
I1,3 ,2,A0008 ,10 ,1,10 ,USD
I1,10000 ,0,A9997 ,12 ,1,12,USD
I1,10000 ,1,A9998 ,10,1,11 ,USD
I1,10000,2,A9999,10,1,10 ,USD
If user is prepared to separate the files into 10 files, each file includes 1000 records. The resulting files are as follows.
The header file which includes 1000 records of the first set is as follows.
Linetype,RecordKey,TreeCode,TreeType,Quantity
Linetype,RecordKey,Product No.,Product Type,Quantity
H,1,B00001,3,20
H,2,B00002,3,50
H,3,B00003,3 ,100
H,1000,B01000,3,100
The item file which includes 1000 records, that are 3000 rows is as follows.
Linetype,RecordKey,LineNum,ItemCode,Quantity,Warehouse,Price,Currency
Linetype,RecordKey,LineNum,ItemCode,Quantity,Warehouse,Price,Currency
I1,1,0,A0000,10,1,20,USD
I1,1 ,1,A0001 ,20,1,10,USD
I1,1 ,2,A0002 ,50,1,10,USD
I1,2 ,0,A0003 ,20,1,12,USD
I1,2 ,1,A0004 ,10 ,1,32 ,USD
I1,2 ,2,A0005 ,10,1,21,USD
I1,3 ,0,A0006 ,12,1,12,USD
I1,3 ,1,A0007 ,10 ,1,11 ,USD
I1,3 ,2,A0008 ,10 ,1,10 ,USD
I1,1000,0,A0997,12,1,12,USD
I1,1000,1,A0998,10,1,11,USD
I1,1000,2,A0999,10,1,10,USD
The header file which includes 1000 records of the second set is as follows.
Linetype,RecordKey,TreeCode,TreeType,Quantity
Linetype,RecordKey,Product No.,Product Type,Quantity
H,1001,B01001,3,20
H,1002,B01002,3,50
H,1003,B01003,3 ,100
H,2000,B02000,3,100
The item file which includes 1000 records, that are 3000 rows is as follows.
Linetype,RecordKey,LineNum,ItemCode,Quantity,Warehouse,Price,Currency
Linetype,RecordKey,LineNum,ItemCode,Quantity,Warehouse,Price,Currency
I1,1001,0,A1000,10,1,20,USD
I1,1 001,1,A1001,20,1,10,USD
I1,1 001,2,A1002,50,1,10,USD
I1,1002,0,A1003,20,1,12,USD
I1,1002,1,A1004,10,1,32,USD
I1,1002,2,A1005,10,1,21,USD
I1,1003,0,A1006,12,1,12,USD
I1,1003,1,A1007,10,1,11,USD
I1,1003,2,A1008,10,1,10,USD
I1,2000,0,A1997,12,1,12,USD
I1,2000,1,A1998,10,1,11,USD
I1,2000,2,A1999,10,1,10,USD
The other 8 sets should be refered to the two sets above.
User may imports all of the 10000 records by executing it 10 times.
3. Deleting the rows  in which the null data exist may imporve the efficiency. For example, if user prepares the data file of the "Bank" object as follows
AbsoluteEntry,BankCode,BankName,CountryCode,DefaultBankAccountKey,IBAN,PostOffice,SwiftNo
AbsoluteEntry,BankCode,BankName,CountryCode,DefaultBankAccountKey,IBAN,PostOffice,SwiftNo
1,1,bank1
2,2,bank2
3,3,bank3
This data file have 8 fields but only 3 fields have valid values. user can transform this table to the following table.
AbsoluteEntry,BankCode,BankName
AbsoluteEntry,BankCode,BankName
1,1,bank1
2,2,bank2
3,3,bank3
In the step 4 of the DTW, that is check the input data, user must make every field of the source data correlate the corresponding target field.
Header Data
Release Status: Released for Customer
Released on: 28.09.2006  14:09:09
Master Language: English
Priority: Correction with medium priority
Category: Consulting
Primary Component: SBO-DTW Data Transfer Workbench
Secondary Components: SBO-SH-DTW-TS Troubleshooting
Affected Releases
Software
Component Release From
Release To
Release And
subsequent
SBO-DTW 2004 2004 2004  
SBO-DTW 2005 2005 2005 X
SP Patch Level
Software Component Version Support Package SP Patch Level Download
SAP BUSINESS ONE 2005 A SP01 SP001 000000
Jeyakanthan

Similar Messages

  • DTW Updates to BP House Bank

    Hey gang.
    I'm attempting to DTW updates to the House Bank as listed on the Payment System tab of the business partner.  I'm using the OCRD template and only 5 of the columns:
    CardCode
    HouseBank
    HousBnkCry
    HousBnkAct
    HousBnkBrn
    A far as I can tell, only CARDCODE is required.  I already have the Bank, Branch and Account configured in Banking Setup. Does anyone know of anything else that would need to be done.
    Randy Davis
    Denver

    As stated in my original most, I have already created the new Bank and Bank Acct in Setup and I've updated the new account in the Default Payment Methods Setup.
    Rahul, is there something else I need to do?
    Additional information,  if I attempt to update just the HouseBank and HousBnkAct fields, I get the following error:  Default payment method should be included with the BP's payment methods.  As far as I can tell, they are.  Does anyone else know what else this would mean other than changing the House Bank information in the Payment Methods Setup screen to include the new acct information?
    Interestingly, I have found that I can successfully update the HousBnkAct field, but no the HouseBank field.
    Edited by: Randy Davis on Feb 9, 2012 11:30 AM

  • DTW updating Sales Orders

    Hello,
    I'm trying to update a bunch of UDFs in existing open Sales Orders and have had no luck. My templates are set up according to what is in the DTW templates folder and it is not not working that way. Basically what is happening is that I'm updating the SO using the correct DocEntry and there are no errors that pop up. When I go to look at one of the Sales Orders, the data that was supposed to be imported is no there. Here is a mockup of my oOrders-Documents .csv file with just one of the UDFs I need updated listed.
    RecordKey DocEntry ... U_Phone1
    1         2974         860-648-6723
    If anyone has any ideas for me, that would be great. Also, I tried looking for an answer to this question before asking and I wasn't able to find one.
    Thanks in advance,
    Brent McDonell

    Hi Gordon,
    Here are the answers to these questions (as I have still not figured out how to do this).
    1. SAP2005A SP1 PL31
    2. I have never been able to update documents, although I have used DTW extensively to update Item Master Data, Business Partner Master Data, Sales Opportunities, and Activities. ( I wish it were as simple as how it is to update these)
    3. I have unchecked the Test checkbox and the whole update goes through like it worked, but no data shows up when you look at it in the actual system.
    4. I did have the updating existing objects option checked.
    Hopefully that will shed a little more light on things for you so that I can get this to work.
    Thanks again,
    Brent

  • New Photos Don't Show On My Apple TV -- Is There a limit? An "Update" button? ...?

    I have my Apple TV 2nd gen set so that after two minutes is shows photos from my computer as screensaver.
    I have an album in iPhoto where I drag the photos I want and I've told the Apple TV to pick up those photos.  Has always worked fine.
    Recently I added some pictures to that album but they don't show on the Apple TV -- just the previous photos are on display.  Is there a limit?  There are 94 photos in that album.  Have I forgotten some sort of "update" button? ...
    All the settings both on the Apple TV and my iTunes look fine and I recently ran whatever update Apple wanted me to (I had this photo hiccup both before and after that upgrade so that ain't it).
    Any suggestions?
    Thanks

    Possible iTunes issue:
    Try the following after adding photos.
    Go to file
    Then Home Sharing
    Select photos to share
    Click on All Photos already selected Do anyway
    When Apply turns black click on Apply
    Now go to Apple TV to see if photos there
    Or restart iTunes.
    Works for me every time photos do not appear on my Apple TV 3
    Hopefully will work for you.

  • DTW Update LineNum

    when updating a Purchase Order using DTW, the linenum field in the lines is not linked to the linenum generated from SQL.
    for example :
    SAP
    puchase Order 123
    LINE NUM                  Item
    4                               ABC
    5                               DEF
    If  I want to update these lines using DTW the file will look like this.
    DTW
    LINE NUM                  Item
    1                               ABC
    2                               DEF
    I dont understand why DTW does not look at the actual linenum that is stored in the database. Is this new or has it always worked like this?
    thanks
    Sophie

    Julie is correct.
    Example,
    In a document you have 3 lines. 1,2,3.
    But sap system will considered your line item like this way, first line number always u201C0u201D. So, the line item 1 as u201C0u201D, 2 as u201C1u201D and 3 as u201C2u201D.
    In your case line item 4 as u201C3u201D and 5 as u201C4u201D
    Update your DTW line item according to this example. Now you try to upload DT W.
    It will solve your issue.
    Regards,
    Senthil Maruthappan.

  • DTW Update Discount Group

    I have an existing Discount Group (Item Group Type).  I am trying to use DTW to add a discount percentage to an Item Group.
    I have entered values in CardCode, ObjKey and Discount. I have left LineNum blank.  It is not clear how LineNum should be used. I cannot find any documentation or Test Case example.
    The DTW run (Update mode) correctly updates the new value in the correct Item Group in the Discount List.
    BUT, it sets the discount to zero for the first displayed Item Group that had a discount before the update.
    As I type I think I may have the answer.
    OSPG only holds records that have a discount other than 0, even though the complete set of Item Groups are diisplayed on the Discount Group screen.
    So maybe what has happened is that the new record has replaced the one that is now missing.
    So does that mean that the update should use LineNum and NOT ObjKey?
    But what do you do if you have 3 item groups with a discount and you want to add two more?
    Do the new records need Line Num 3 & 4 and also obviously the Object Key.
    Sounds like a nightmare to maintain via DTW.
    Customer has 1,000 plus Item Groups.

    Tony,
    Nice to hear it. Anyway, just to inform that discount group of DTW is not available in the DTW of SAP B1 2007A SP01 PL11.
    Probably move to another BO or bugs. I am still discovering it
    JimM

  • CAT2 Profile for putting limit in time update

    Hi all
    I was asked for a requirement in CAT2 which said "User can only update time  data in CAT2  for last two weeks from current date beyond that they should not be allowed to update " to  accomplish this do i need to ask abper to write code or i can achive this by SPRO setting.
    Regards
    Subrat

    Hi Subrat,
    In CAC1 T.code select your data entry profile under time settings you can see two options i.e. Lower limit relative and Upper limit relative there you can specify number. As per your requirement you have to maintain 2 in both the places. So that employee cannot go back not more then 2 weeks.
    But you have some limitation here-
    In CAT2 initial screen if employee select one month back data and click on time sheet entry then system will allow to book time sheet. So to aviod that situation you have to implement some user exit.
    Logic for user exit should be like this -
    Select employee payroll area and check the current payroll period, if the time sheet entry date is older then two weeks of control record date then through error else proceed. Better you to discuss with developer for best results.
    Edited by: Rajesh Jogiparthi on May 24, 2011 2:01 PM

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

    Hi there,
    i got a confusing error while updating / inserting BP Contacts. I upload a couple of contact records, the dtw engine responses that everything is fine, but if i look in B1 into the record nothing has changed.
    The Update / Insert tick in DTW is ticked, also the DTW do not run in test mode.
    My records look like :
    Master :
    RecordKey; CardCode; DefaultContact
    1;10000;Mr. Test
    Contact:
    RecordKey;LineNum;Name
    1;0;Mr. Test
    I also tried to use other LineNum numbers like 1 / 2 / -1 and blank. Nothing happens.
    Any ideas? Regards
    Steffen

    Hi Natalia,
    hi  Jeyakanthan,
    as i wrote, the update and insert tick is selected.
    I tried to use ascending line numbers. Do i need for each contact a new line number ?
    Example :
    RecordKey;CardCode;
    1;1000
    2;1001
    3;1002
    RecordyKey;LineNum;Name
    1;1;Test1
    2:2;Test2
    3;3;Test3
    Regards

  • DTW update UDT fields - Version 88.0.10

    Hello,
    I have already searched this forum for similar issues, but they only fit to older DTW-versions or UDO (masterdata or forms)
    We created an UDT (no object) with one UDF (text). So we kept our testenviroment as small as possible.
    Import runs without problems:
    Code;Name;U_toll
    1;1;blabla
    2;2;test
    But update doesnt work - DTW returns error message: "Can not find this object in B1Application-defined or object defined error65171":
    Code;Name;U_toll
    1;1;zzz
    2;2;ggg
    We also tried to update with LineNum (or #) and/or RecordKey:
    RecordKey;LineNum;Code;Name;U_toll
    1;1;1;1;zzz
    We also tried to update without Name or Code, nothing works.
    Does anyone have an idea, how to update data in UDT?
    Please note: DTW Version 88.0.10
    We use UDT (no object)
    We use .csv (same as import)

    Issue solved. Update of UDT data works correctly with DTW version 2005.0.19 !!!
    Older DTW-version works better than newer one (8.8).
    VERY annoying

  • DTW Update price error - Method '~' of object '~' failed65171

    Hi,
    We recently updraded from SBO 8.82 to SBO 9.0 PL 08 HF1
    Before the upgrade we never had this issue, but now I get this error message while trying to update prices through DTW (version 88.1.4): Method '~' of object '~' failed65171
    ParentKey LineNum PriceList Price Currency AdditionalPrice1 AdditionalCurrency1 AdditionalPrice2 AdditionalCurrency2
    ItemCode LineNum PriceList Price Currency AddPrice1 Currency1 AddPrice2 Currency2
    135109-1 28 29 40 SEK   
    Itemcode is 135109-1
    Linenum is 28
    PriceList is 29
    Price is 40
    Currency is SEK
    I have done this several times before the updrage without any problems, but now I'm stuck.
    Any ideas what we can try?
    Regards
    Kjetil Sandvik

    Hi,
    Please check:
    This error means that your Obscommon user is corrupt and you cannot connect to the SBO-Common database to download the OBServer.dll that is stored in the temporary directory.
    For more information, see SAP Note 858475, 642564, or 614946
    Thanks & Regards,
    Nagarajan

  • RDR1.GrossBuyPr 'Field cannot be updated' error : Sales Order DTW update

    Hi all.
    This is my first post, so please be gentle :-).
    I am attempting to update the unit prices on a bunch of Sales Orders via DTW.
    Some items update successfully, but some do not, failing with the error :
    RDR1.GrossBuyPr line: x, 'Field cannot be updated (ODBC -1029)'Application-defined or object-defined erroroOrders
    I am not attempting to modify this column, although I am guessing that this is calculated by Business One internally.
    I am using 2 tab-delimited files :
    Documents.txt, which contains the RecordKey & DocEntry columns.
    Documents_Lines.txt, which at the moment contains RecordKey, LineNum, UnitPrice & ItemCode.
    I have tried it with the UnitPrice column renamed to Price, and with and without the ItemCode column present, and they give exactly the same error.
    If I remove the price column completely, then it works (but nothing has updated, obviously).
    I have searched the forums, the only thing I can see that comes close is the UnitPrice / Price renaming.
    Or am I going about this the wrong way? The prices that I want to import already exist as a price list, and we can manually change these in Business One by going Form Settings -> Price List when in a Sales Order, but I am unsure how to do this via DTW. There are approx 3000 items that need changing, so doing it manually is not really an option.
    Grateful for any and all help.
    Thanks,

    Here you go....
    Documents.txt :
    RecordKey     DocEntry
    RecordKey     DocEntry
    0     18664
    1     19397
    2     19578
    3     20804
    4     20808
    5     20884
    6     21114
    7     21801
    8     22222
    9     22390
    10     22455
    11     22513
    12     22889
    Document_Lines.txt :
    RecordKey     LineNum     UnitPrice
    RecordKey     LineNum     UnitPrice
    0     0     22.000000
    1     2     49.000000
    2     0     0
    3     0     109.000000
    3     1     115.000000
    3     2     98.000000
    3     3     104.000000
    3     4     159.000000
    3     5     32.000000
    3     6     41.000000
    3     7     82.000000
    4     0     131.000000
    5     0     207.000000
    6     4     49.000000
    7     0     87.511900
    8     0     72.000000
    9     1     306.000000
    10     5     0.000000
    11     0     58.000000
    12     4     1.000000

  • DTW update deletes UDT fields values

    hello
    i work with sap 2007A 8.00.242 sp:01 pl 15, dtw version 2005.0.31 api version 8.0.242
    and i have a special user tables ordered from a sap partner company that replaces several excel files in our company.
    i tried to import data into them using DTW, but the import erases all the fields that i left blank in the csv, i even tried to delete all the blank columns from the csv but it didnt help.
    im importing into udt table found under "user defined data" > tables(UDT) > U_PASSPORT(**my table) using "update existing data" option.
    this table is the big part of a window with several tabs - each tab is a different table(U_example) and it gets data from items(OITM) so i dont think that filling all the blank csv columns is the answear because can affect child tables in this window as well as production order and customer orders.
    when i tried to update fields in OITM it was doing great.
    what can i do?
    mickel

    hey gordon thanks for the fast reply
    yes i can add new records.
    the main issue is that i want to make the transfer from execl documents with its simple data insertion, as smooth as it can be as my colleagues are very afraid from the sap and the time that it will steal from them.
    i want to make them a simple template with an XML and a batch file so they only have to insert data into csv and press a windows shortcut without going through the DTW annoying wizard every time.
    can i change the values at the second row of the template into a caption i choose?
    mickel

  • 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

  • Update step limit name at run-time

    I need to run through some test steps in a TestStand sequence multiple times.  This wouldn't be a loop on a single step or group of steps but probably a goto a label "for" loop in TestStand.  BTW, TestStand 2.0.1 calling code from a LabWindows/CVI DLL via the standard prototype adapter.  Each iteration I need to have the test step limit names be updated with a different suffix.  So step1 might have results0 and results1 and on the 2nd run results0 would be renamed to results0b.  How do I update the limit names, at run-time, from a LabWindows/CVI function?  I.e. the first test in the sequence's Main would update the steps below it to update the suffix.  I started down the path of using TS_SeqContextGetProperty to get the sequence handle
    TS_SeqContextGetProperty( testData->seqContextCVI, &errorInfo, TS_SeqContextSequence, CAVT_OBJHANDLE, &seq_hndl );
    then using TS_SequenceGetNumSteps( seq_hndl, &errorInfo, TS_StepGroup_Main, &num_steps ) to determine the number of steps in the Main tab.  
    Enter a for loop:
    TS_PropertyGetValString( testData->seqContextCVI, &errorInfo, buf, TS_PropOption_NoOptions, ( char ** )&rslt_name ) with buf as "Sequence.Main[0].Result.Measurement[0]" errors out with an invalid name message.  The idea is to get this value, update it based on the iteration in TestStand ( this is already acquired and working ), and then set the value back.  Then, move on to the next step and so forth.
    Any suggestions?
    Thanks.
    -G-
    Solved!
    Go to Solution.

    So, I tried the example and it works but only for a single step.  I've tried two options:  1. having a single step that programmatically changes all the result names in all the other steps in the sequence. 2. having each step update the result names itself.  For thought 1 the loop would run and the changes would occur but when the function was exited I'd get an exception from TestStand.  No real information in the details as it looked like a memory corruption error.  I then examined the details of what occurred and tried more experiments.  If I had the loop have more than 1 iteration this behavior occurred.  If I comment out the set function it still occurs.  Then, for thought 2, it works like a champ on all the steps until I loop back to the top of the sequence.  Then, on the first step ( 2nd time through ) it bombs out.
    Attached is the code for the 2nd possible solution.
    Does anyone know what the problem is or if there's a way to do this?
    -G-
    Attachments:
    Change Step Name.txt ‏7 KB

Maybe you are looking for

  • Error Message when saving a scan with Officeject Pro L7555

    When the drive for the printer goes to save a scanned picture or document to Word2007 I get the message:  An error occured saving the images to the chosen file location.  The extended error information is:  8,[(6,1015,-2147220489)].  Printer scans th

  • Addition and deletion in a table View in Visual composer 7.0

    Hi All I have a requirement of updating a table view from the entries that a user enters in an input form. When the user makes entries in the input form and clicks on save he should see those entries in the table and these entries should also get upd

  • Installing the northbrigde fan

    Heyo!  I'm finally installed (or tried to) my northbridge fan, but it's not working.  It does work, as I attached to my other computer.  However, on my board (KT6 Delta LSR) do I have to set it up in the bios?  However, I haven't found anywhere to do

  • Pass connect parameters via URL

    I have two applications using authentication method in login page. I need submit URL from one application to another and don't show again connect page. I try like this http://localhost:port/pls/apex/f?p=appl_no:page::&SESSION.::::p101_username,p101_p

  • Need to link multiple docs together for seamless "presentation"

    From what I can tell, there is no way to integrate multiple documents into one file that I can then share with others.  The idea is that I could take mutiple documents in supported formats and upload them to acrobat.com and then "import" all of the d