Update by DTW
Can I update the field SlpCode in the tables OINV and INV1 by DTW?
Thanks.
Paolo Orlando
Just fill necessary detail
I have mention sample records that will help u
Document.xlt
RecordKey DocEntry Address Address2 AgentCode ApplyTaxOnFirstInstallment BPChannelCode BPChannelContact BPL_IDAssignedToInvoice BlockDunning Box1099 CancelDate CardCode CardName CentralBankIndicator Comments Confirmed ContactPersonCode DeferredTax DiscountPercent DocCurrency DocDate DocDueDate DocNum DocRate DocTime DocTotal DocType DocumentSubType DocumentsOwner DownPayment ExemptionValidityDateFrom ExemptionValidityDateTo ExternalCorrectedDocNum FederalTaxID FolioNumber FolioPrefixString Form1099 HandWritten Indicator InternalCorrectedDocNum IsPayToBank JournalMemo LanguageCode ManualNumber MaximumCashDiscount NumAtCard NumberOfInstallments PartialSupply PayToBankAccountNo PayToBankBranch PayToBankCode PayToBankCountry PayToCode PaymentBlock PaymentBlockEntry PaymentGroupCode PaymentMethod PaymentReference Project Reference1 Reference2 RequriedDate RevisionPo Rounding SalesPersonCode Series ShipToCode ShowSCN SummeryType TaxDate TaxExemptionLetterNum TrackingNumber TransportationCode UseShpdGoodsAct VatDate WareHouseUpdateType
RecordKey DocEntry Address Address2 AgentCode ApplyTaxOnFirstInstallment BPChannelCode BPChannelContact BPL_IDAssignedToInvoice BlockDunning Box1099 CancelDate CardCode CardName CentralBankIndicator Comments Confirmed ContactPersonCode DeferredTax DiscountPercent DocCurrency DocDate DocDueDate DocNum DocRate DocTime DocTotal DocType DocumentSubType DocumentsOwner DownPayment ExemptionValidityDateFrom ExemptionValidityDateTo ExternalCorrectedDocNum FederalTaxID FolioNumber FolioPrefixString Form1099 HandWritten Indicator InternalCorrectedDocNum IsPayToBank JournalMemo LanguageCode ManualNumber MaximumCashDiscount NumAtCard NumberOfInstallments PartialSupply PayToBankAccountNo PayToBankBranch PayToBankCode PayToBankCountry PayToCode PaymentBlock PaymentBlockEntry PaymentGroupCode PaymentMethod PaymentReference Project Reference1 Reference2 RequriedDate RevisionPo Rounding SalesPersonCode Series ShipToCode ShowSCN SummeryType TaxDate TaxExemptionLetterNum TrackingNumber TransportationCode UseShpdGoodsAct VatDate WareHouseUpdateType
1 C40000 20050104 20050104 2 1
2 C60007 20050104 20050104 3 2
3 C70002 20050104 20050104 4 3
And for Docu_line
RecordKey LineNum AccountCode Address BackOrder BarCode BaseEntry BaseLine BaseType CommisionPercent ConsumerSalesForecast CorrInvAmountToDiffAcct CorrInvAmountToStock CorrectionInvoiceItem CostingCode CountryOrg Currency DeferredTax DiscountPercent DistributeExpense ExciseAmount Factor1 Factor2 Factor3 Factor4 FreeText Height1 Height2 Height2Unit Hight1Unit ItemCode ItemDescription Lengh1 Lengh1Unit Lengh2 Lengh2Unit LineTotal Price PriceAfterVAT ProjectCode Quantity Rate RowTotalFC SWW SalesPersonCode SerialNum ShipDate ShipToCode ShippingMethod SupplierCatNum TaxCode TaxLiable TaxPercentagePerRow TaxType TransactionType UnitPrice UseBaseUnits VatGroup VendorNum Volume VolumeUnit WarehouseCode Weight1 Weight1Unit Weight2 Weight2Unit Width1 Width1Unit Width2 Width2Unit
RecordKey LineNum AccountCode Address BackOrder BarCode BaseEntry BaseLine BaseType CommisionPercent ConsumerSalesForecast CorrInvAmountToDiffAcct CorrInvAmountToStock CorrectionInvoiceItem CostingCode CountryOrg Currency DeferredTax DiscountPercent DistributeExpense ExciseAmount Factor1 Factor2 Factor3 Factor4 FreeText Height1 Height2 Height2Unit Hight1Unit ItemCode ItemDescription Lengh1 Lengh1Unit Lengh2 Lengh2Unit LineTotal Price PriceAfterVAT ProjectCode Quantity Rate RowTotalFC SWW SalesPersonCode SerialNum ShipDate ShipToCode ShippingMethod SupplierCatNum TaxCode TaxLiable TaxPercentagePerRow TaxType TransactionType UnitPrice UseBaseUnits VatGroup VendorNum Volume VolumeUnit WarehouseCode Weight1 Weight1Unit Weight2 Weight2Unit Width1 Width1Unit Width2 Width2Unit
1 A00001 11 1
2 A00002 22 2
3 A00003 33 3
Thanks
Kevin
Edited by: Kevin Shah on Nov 20, 2009 7:48 PM
Edited by: Kevin Shah on Nov 20, 2009 7:49 PM
Similar Messages
-
Price in orders not updated by DTW
Hi experts,
I'm trying to update price in order lines with DTW 88.0.11
The DTW returns no error but the price is not updated.
During the DTW, I saw in the tab 'Target Data' of the step 5, the row 'price' with the new value.
Is there a good reason for the data not been updated?
Regards,
FrancisHi Jim,
Thanks for your answer.
I've thought to use your solution if no better one.
But I would have to calculate this price after VAT. It's possible but no simple...
Best Regards,
Francis -
Hello to all
i have made some pricelists and i have assigned p rices to the items.
the requirement now is to update the prices of some of the items
how can i do it because by using the DTW with Update existing or Import new it displays that the itemcode .... already existsHi,
Based on your question last year: http://forums.sdn.sap.com/thread.jspa?messageID=10776938#10776938
You have been given the idea how this DTW work.
To update existing price by DTW, you need to find out the pricelist number and put Linenum=pricelist number -1.
Thanks,
Gordon -
Item Master Data Update using DTW
hello all,
i want to update my Item Master Data using DTW, and i am experiencing a problem, when i use a comma delimeted ex. this line
BEARING, BALL, # 307, DTW will put it in a different field, while if i will use a text tab delimeted on the same line the result will be "BEARING, BALL, # 307" and i cant acheive what i want. this is the exact description i want
Original Data :BEARING, BALL # 307
Using Comma Delimeted :BEARING next field(BALL # 307)
Using Tab Delimeted :"BEARING, BALL, # 307"
Desired item Description :BEARING, BALL, # 307
Please guide
thanks,
FidelHai!
Check this note
[631504|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E¬e_numm=0000631504]
Why so is, we don't knw the DB structure. I won't be a updation of single Field or Table it may have link's. -
Hello
I have to update the price list of a BP. I made a file excel with cardcode and PriceListNum.
I have the following error: 10001166 - Items Application - defined or object-defined error 65171.
Help
ThanksI have selected the templates "OCRD - BusinessPartners.xlt"
from path
SAP\Data Transfer Workbench\Templates\Templates\Business Partners\Business Partner Master Data
What is the field for the Price list number? -
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.
JacquelineHi,
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 -
Updating Warehouse Infor via DTW
Hi,
I'm having some diffuclties in updating my warehouse info particularly the warehouses average price per item.
Example:
Item.txt has
RecordKey ItemCode
1 A1
2 B1
3 C1
WhseInfo.txt has
RecordKey WhseCode LineNum ToAvgPrc FrmAvgPrc
1 1 0 1.00 2.00
1 2 1 1.00 2.00
1 3 2 1.00 2.00
1 4 3 1.00 2.00
2 1 0 3.00 2.00
2 2 1 3.00 2.00
2 3 2 3.00 2.00
2 4 3 3.00 2.00
3 1 0 2.00 2.00
3 2 1 2.00 2.00
3 3 2 2.00 2.00
3 4 3 2.00 2.00
Whenever the uploads begins, I always ended-up with this kind of error 'Field cannot be updated (ODBC -1029)Application-defined or object-defined error65171' and this error occurs only for some item. With the data shown above, only Item C1 would have that kind of problem.
And the reason why I wanted to do the update via DTW is I don't want to have an accounting entry for this update.
Is there anybody could explain or help me on this.
Thanks in advance.I got your point and I'm aware that. I actually assumed that it would be the next subject, but apparently (based from the actual data that I have) for some items even if FrmAvgPrc and ToAvgPrc is the same, DTW upload is ok and for some items that have difference, upload was unsuccessful. And when I chose to eliminate/delete the item that causes the error, upload was successful.
Here is the actual data;
Item.txt
RecordKey ItemCode
RecordKey ItemCode
1 000000200T
2 000100000P
3 000100000T
4 000100200T
WhseInfo.txt
RecordKey LineNum StandardAveragePrice WarehouseCode
RecordKey LineNum StandardAveragePrice WarehouseCode
1 0 899.05 ACE01
1 1 899.05 ACE02
1 2 899.05 ACE03
1 3 899.05 ACE04
2 0 200.89 ACE01
2 1 200.89 ACE02
2 2 200.89 ACE03
2 3 200.89 ACE04
3 0 0 ACE01
3 1 0 ACE02
3 2 0 ACE03
3 3 0 ACE04
4 0 25.33 ACE01
4 1 25.33 ACE02
4 2 25.33 ACE03
4 3 25.33 ACE04
item 000100200T cause the problem and the rest are not, aside from that, item 000100000P and 000100000T doesn't have any changes with the item cost while 000000200T and 000100200T do have. and all item has history of transaction. and leaving LineNum column as blank doesn't made any effect at all. -
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
Greighi 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 -
Hi Experts
I have approx 1200 sales orders on which I need to update a single UDF. Can you tell me the format for the text file I should use to import/update in DTW?
I have tried:
RecordKey, DocNum, U_ReadyTD the DTW tells me that:
Can not find this object in B1 Application-defined or object defined errors
Thanks
JonUDF's can be updated using a SQL update query. Just be careful to update a UDF and not a SAP field - they don't like that
e.g.
update ordr
set ordr.u_udf_field = 'value'
where ....
etc.
Hope this helps.
Regards,
Simon -
Updating Serial # Location via DTW???
Hi, we recently had to relocate some inventory from one location to another. During initial upload we populated the serial # location during goods receipt. I now need to change that location for about 100 serial numbers. Is there a way to do this via DTW?
Hi Joe........
Location field for Serial or Batch No. details is editable and you can edit it anyhow but only by going through Inventory> Inventiory Management> Serial/Batch Details and which you can not update through DTW.
But SAP allows you to enter the correct location while uploading data through DTW of Marketing docs.
But unfortunately you cannot update the location through DTW where you want to update it. You have to do it one by one manually........
Regards,
Rahul -
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
SophieJulie 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. -
Import through DTW not updating log
Forum,
I am trying to setup a .BAT file which reads as follows:
PATH C:\Program Files (x86)\SAP\Data Transfer Workbench
DTW.exe -s D:\Insphire\Accounts\Test\SalesCreditsDTWLIVE.xml
c:\windows\system32\PING 1.1.1.1 -n 1 -w 20000 >NUL
for /f "tokens=1,2" %%u in ('date /t') do set d=%%v
for /f "tokens=1" %%u in ('time /t') do set t=%%u
if "%t:~1,1%"==":" set t=0%t%
set timestr=%d:6,4%%d:0,2%%d:3,2%_%t:0,2%%t:~3,2%
Set FileDate=%date:/=%_%t:0,2%%t:3,2%
ren D:\Insphire\Accounts\Test\CreditNoteHeader.txt CreditNoteHeader_%timestr%.txt
ren D:\Insphire\Accounts\Test\CreditNoteLines.txt CreditNoteLines_%timestr%.txt
move D:\Insphire\Accounts\Test\CreditNote*.txt D:\Insphire\Accounts\imported\
@echo Saving %copyname%
pause
Whilst this appears to launch, it isn't updating the DTW log. I have a similar one for Invoice which does work and writes an entry in the log file.
Any help would be appreciated.
Regards,
JuanHello Juan,
Did you tried to export the files manually via DTW and see what's happening?
Regards
János -
SBO - Update of standard price by batch-input (DTW)
Hello,
Is there a way to update by DTW the standard price related to some items ?
If there is no item cost yet computed, you can use DTW - Items. But if the item cost already exists, what should i do.
Thanks
StephaneStephane
To change Standard Price for an Item already having a Standard Price you would need to use Inventory Revaluation.
I am not sure if you can do this through DTW
Suda -
Dear all,
Can we import Last Pruchase Price to SBO using DTW ? so, I can see the historical of last purchase price when I open PO
Best regards
WibisanaDear Wibisana,
what is your pupose to update last purchase price list ?
To update price list, you must have the explanation about how to update last purchase pricelist:
Last Purchase Price List
The prices in this price list are updated automatically by the system when the following transactions are performed:
1. When you enter an incoming invoice # see Purchasing
1. When you enter a goods receipt # see Goods Receipt
1. When you enter a positive opening balance for an item # see Inventory and Stock Postings
1. When you enter a positive inventory result that triggers a goods receipt # see Inventory and Stock Postings
1. When a product with a BOM is manufactured, where the price of the product is calculated from the last purchase prices of the components # see Production.
1. When data imports are performed
If none of these transactions have been performed in the system for an item, the "Last Purchase Price" price list will not contain the item
Only the list of the transactions mentioned above changes the price of an item in the "Last Purchase Price" price list.
Even if you enter one of these transactions, but assign it the value 0, the price will not be included or updated in the "Last PurchasePrice" price list.
You can refer other price lists to the "Last Purchase Price" price list with a defined factor. You cannot, however, change the prices in the "Last Purchase Price" price list manually.
then you use the DTW template:
1. item
2. item_prices
you can have both from this folder:
C:\Program Files\SAP\Data Transfer Workbench\Templates\Templates\oItems
then, in the DTW, you use object oItem.
the DTW templates (item and item_prices) must contains the data where they will not act like import but update.
in the item_prices, you must put :
1. linenum : 0 for pricelist 1; 1 for pricelist 2; etc
2. pricelist : 1 for pricelist 1; 2 for pricelist 2; etc
actually, in the pricelist window, do you see that the pricelist last purchase price have base pricelist ? in the form, you will see that the 01 Purchase Price List have last purchase price as its base pricelist.
So, in the template you must use it.
After updating using DTW finished, you could try to use one of the item in the purchase order and see if the unit price changes or not.
I will ask my friend to send the template if you need.
Rgds, -
DTW Production tree headers - price list
I have 2000+ production Bom's headers that I would like to update via DTW. I want to change the price list on the header. The field on the OITT file is PriceList but the DTW template for production trees does not have this field on it. I know the DTW production tree lines template has price list & price fields on them to update ITT1 but not the header. Does anyone know the field name to use to update the price list number on the headers by DTW please?
Hi Gordon,
Thanks for the reply. It wasn't the answer I would have liked but that's the way it is sometimes.
Regards,
Stuart J.
Maybe you are looking for
-
Report generation toolkit and column
Hello, i asked this question before, but this time i just needed some input.. I originally asked, if i am doing various experiment sets and say each sets takes in about 1000 data points, and i have to do 50 such experiments continously i wanted to kn
-
hi all did anybody get an error msg: "Error compiling movie. Unable to create or open output file." when exporting a movie in premiere pro cs3 to Quicktime?? why is it happening? in PPRO 2.0 it used to work all right!
-
I don't want my files to sort by title or kind or any of the given options. can I change it?
-
Firefox doesn't open, error message says Problem Event Name is BEX
Firfox would not open after previously working. After uninstalling and reinstalling, it worked when I launched it from the install, however it will not open any time after that, saying Firefox has stopped working. The Problem Event Name is BEX.
-
How to setup RFC Connection for SAPOSS?
Dear Experts, I tried to setup the RFC connection for SAPOSS based on the following settings, but when I test connection, it failed. Target system : OSS Msg. Server : ... ( this where I stuck which I'm not sure what to fill in) Group : EWA Client : 0