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.

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

  • 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

  • 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

  • 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

  • Update LineNum in Sales Order line Details

    Dear All,
    I have imported a sales order into a database from another database on SAP B1 2005A using DTW. The sales order has only one line item.
    However, after importing, the linenum of the target table RDR1 is 0 while the source has it as 1. All the other fields have been updated with the correct data.
    I am trying to update the same sales order's LineNum to 1 using DTW with the 'update' option ticked and the process runs successfully. However upon checking the database I find out that it has added another line item with the same details. Can a linenum field be changed/updated? The reason behind my need to change the linenum is because after trying to import a sales delivery linking it to that sales order it gives me an error :[DLN1.BaseEntry][Line: 1] 'No matching records found [ODBC:2028]'.
    Kind Regards,
    Asif

    Asif,
    The number of lines in the Sales Order does not neccesarily co-relate to the line number.
    Just a simple example:
    Create a Sales Order....Add a line item..add Sales Order
    Open the same sales order..delete the line item (delete row) and add the same item / another item.  Though the Sales Order seems to have only one item..now if you check RDR1 the linenum would be 1.
    The architecture of SAP B1 is to generate a new linenum each time you add a row.
    Thats probably why you are seeing the difference.
    If you want to match the target linenum. simply delete the row and add the same line item and Update SO.
    DTW will not update the linenum as it is system managed. 
    My recommendation for your situation is - if you do not have the same item more than once on a Sales Order - then it is better to get the BaseLine from the Database you imported the Sales Orders to.
    Let me know if you need any further direction with this.
    Suda

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

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

  • Issue with DTW import of BP bank details

    Dear Experts,
    While trying to update IBAN & Swift Code for existing bank details in BP Master using DTW, below error appears :-
    Enter Valid Code (OCRB.BankCode) [?????173-36] Application defined or object defined error65171
    I have checked the Bank code & it is correct.
    Another question is if there are more than 1 entry in OCRB template, & a particular entry is to be update, linenum is required but there is no field named linenum available in OCRB table to determine which line in table is to be updated. But in DTW sample template for OCRB, linenum field is shown. Please advise from where to get this value or how to determine which line to be updated.
    Another issue is that even if there is a single line in DTW template it takes 10-15 min for DTW to show the results. DTW hangs for this period.
    I have tried to update the entry manually in BP master data to validate the IBAN number & it happened successfully.
    I checked the import in a test environment & there as well I faced the same issue. Tested the issue on 8.82 PL12 & 14 with same results.
    Please advise.
    Thanks & regards,
    Nitin

    Hi,
    Please refer SAP note:
    865191
    - DTW Troubleshooting Guide
    Thanks & Regards,
    Nagarajan

  • DTW - selecting a Price List in a Goods Receipt PO

    Hi
    I am looking to use a Price List  with my import of a Goods Receipt PO but am unsure what field name to use?
    Thanks
    Ian

    Hi Ian........
    There is no such field for Price List in GRPO Template but if you want it to be picked up while import you have to set the same in Business Partner Master data either manually or by DTW update and then try importing GRPO.
    Hope this will solve your problem..........
    Regards,
    Rahul

Maybe you are looking for

  • Swf created at one frame rate, plays very slow in Captivate

    Mac Leopard, Flash CS5, Captivate CS5 Demo, all updates applied to the CSS5 Suite I created swf with one frame on the main timeline, all animation is done within a single movieclip on that frame. When published from flash it plays at my desired speed

  • Business object attribute assignment

    Hi Al Experts, We have a transaction in SAP called SWF_BAM where we can trigger a proxy call on the basis of events triuggered. I created a z BO and i am trying to create the binding between my BO and proxy structure. Here we can link the BO attribut

  • Track pad not working in Windows 7

    I have a mac book pro running boot camp and windows 7. I am unable to use my track pad to scroll and right-click when using windows. I have looked at other threads and am in need of a step-by-step explanation for how to fix this problem. Has anyone r

  • EOS 5D mark 3 exposure metering problem

    Today, I got a problem with my 5D mark 3. I was using my 5D mark 3 and speedlite on Camera. After finished shooting, I took off the flash from the camera and shot it in Program mode (P) without flash, and auto ISO setting. I found out that my camera'

  • How do I put dropbox on my new Macair

    The only dropbox software I can find in iTunes seems to be for phone or iPad.  I want it on my computer.