Update Price List by DTW ODBC Connection
Hi Experts,
I wondered if there was a way to update a Price List in SAP by DTW ODBC connection please? I have two databases with exactly the same Price Lists, apart from I need to update one price list in one of the databases with the inforamtion as a Price List in another SAP database on the same server. The price list is called C60000 and is the 7th Price list (therefore number 6) and this is the Query I was using:
SELECT T1.[ItemCode], T1.[Price] FROM OPLN T0 INNER JOIN ITM1 T1 ON T0.ListNum = T1.PriceList WHERE T1.[PriceList] = '6'
The Query shows correctly in STEP 4 of DTW when I click on Import in the last Step nothing really seems to happen...
Many many thanks for all your help.
Caroline
HI Gordon,
Thanks for your fast reply!
I guess it's ITM1 I need to update... the actual prices in the Price List.
Thanks,
Caroline
Similar Messages
-
Hi all!
i wanna update price list by DTW, but i enter price list manual before. Now i use DTW to update but not successful. Althought, system reports successful, but i check result , old price list as before. I don't undersatnd. Can you help me!Hey
It is Better to Upload Pricelist through Data Import Function in Administration Module
Select Item Code
Select the Pricelist code you want to upload in next coloum and select the excel file.
It is easy and fastest way
Regards -
Need to update price of price list from dtw
Hi all
Can any one provide me the way , How to update price of price list through DTW ??
Thanks
RickyHi Recky,
Please check below threads.
SAP B1 9.0 Price Update with Excel import
DTW - Problems trying to update prices | SCN
How to upload price for a item in price list us... | SCN
Hope this help
Regards::::
Atul Chakraborty -
How to upload price for a item in price list using DTW ?
hi all,
How to upload prices of all the items in price list using DTW ?
What are templates used for it ?
Item masters were already created.
JeyakanthanHi
Create two Excel templates 'Items.xls' and 'Items_Prices.xls'
Since you have already imported items, just have the record key and item code alone in the 'Items.xls' . For example:
RecordKey.......ItemCode
1.......................I0001
2.......................I0002
In the Items_Prices template, Fill Pricelist Number fromOPLN and Price of the Item
RecordKey....LineNum......Price
1......................1..............350.00 (Means for Item I001, Pricelist 1 is updated with 350)
1......................2..............300.00 (Means for Item I001, Pricelist 2 is updated with 300)
2......................1..............550.00 (Means for Item I002, Pricelist 1 is updated with 550)
2......................2..............600.00 (Means for Item I002, Pricelist 2 is updated with 600)
In step 4 of DTW, Choose
Check - Update Exisiting Object
Uncheck - Import New Object
This should update the pricelist alone for the items -
Dear all,
I am unable to update price list from
Inventry->Price List->price list->Pricelist A
geting no error.Update buton doesnt work.
I am using SAP B1 2007 PL :12 SP:00
Thank You
Ratish Pratihasthi Raj
please also check if there is any coding done in relation to it also please check it in transitional notification.
Regards,
Manish -
Using DTW to update price lists with ITM1 template
I'm trying to update prices in a price list using the ITM1 DTW template, but I continue to get an error: This entry already exists in the following tables (ODBC - 2035) Application-defined or object-defined eror65171.
Any suggestions?
Thank you,
AvrahamHi Caroline,
AtcEntry is correct for the document, this relates to the AbsEntry in OATC, which then in turn links to AbsEntry in ATC1.
There are a few fields that need to be populated in ATC1:
AbsEntry
Line - To be used if more than 1 Attachment
SrcPath - for the file path
Filename - for the file name
FileExt - for file type - i.e. .pdf
You may be able to configure DTW to import these as a manually created DTW but I suspect that OATC and ATC1 are not open to the Di which will stop it. Coincidently I have been looking at Task Centre to update these but have encountered the same problem
Regards
Sean Martin -
Slow in updating price lists using import from excel
Hello,
I am concerned about the slow process of updating prices in SAP using import from excel. It took me hours to complete the upload for 3700 item rows and 2 price lists. It is also slow in adding warehouses. I am not sure if the account segmentation has something to do with it but it never happened to my other databases where there is no account segmentation. Other than this, SAP is running real fast on the server.
How could this be? Thank you and regards.
DerrickYes vijay, There is query params in step 2 of DTW.
2 week before only we have updated to SAP B1 2005B PL41,
but i'm not sure whether DTW is updated to latest version or not ?
Current DTW version is 2005.0.15 & API version is 6.80.320.
What is procedure to update DTW ?
Jeyakanthan -
Hallo All,
I try to update a specific price list in Business One, but keep on getting errors. There are 2 objects to use: oItems and Items_Prices which is the child object, but I can't seem to put everything together! Can somebody help please. I do not find an update example in the help samples.Hi Carin,
Herewith an example. You can search by the price list name or the number. I am not aware of another way to update the prices.
Dim oItem As SAPbobsCOM.Items
Dim i As Integer
oItem = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems)
oItem.GetByKey("A1001")
For i = 0 To oItem.PriceList.Count - 1
oItem.PriceList.SetCurrentLine(i)
If oItem.PriceList.PriceListName = "Sales Price list Small Customers" Then
oItem.PriceList.Price = 500
Exit For
End If
Next
If oItem.Update <> 0 Then
MessageBox.Show("Error: " & oCompany.GetLastErrorDescription)
Else
MessageBox.Show("Updated")
End If
Hope it helps,
Adele -
Need to Update Price List at Ship to Address Level
Hello All,
Can you please let me know whether there is an API to update the price list at SHip to Address Level.
Thanks
RakeshCheck the TCA public API hz_cust_account_site_v2pub. I've used the below and am sure there'll be an update API as well.
hz_cust_account_site_v2pub.create_cust_acct_site
hz_cust_account_site_v2pub.create_cust_site_use
Thanks
Gopal -
Import Specail Price List by DTW
Hello all,
I'm trying to import a Special Price List to expired the current price record, but I get the following error message:
"Method '' of object '' failed65171".
Here is the content of my SpeicalPrices.xls and SpecialPricesDataAreas.xls
RecordKey CardCode ItemCode AutoUpdate Currency DiscountPercent PriceListNum Price
RecordKey CardCode ItemCode AutoUpdate Currency DiscountPercent PriceListNum Price
001 S10001 35823
002 S10002 31972
003 S10004 23800
The DateFrom of these items are 2008.09.01, and now I want to set the Expiry Date to 2008.10.31
RecordKey LineNum AutoUpdate DateFrom Dateto Discount PriceCurrency PriceListNo SpecialPrice
RecordKey LineNum AutoUpdate DateFrom Dateto Discount PriceCurrency PriceListNo SpecialPrice
001 0 2008.10.31
002 0 2008.10.31
003 0 2008.10.31
Thanks
Edited by: hkcm hkcm on Sep 29, 2008 5:54 AMHi,
I think it is caused by your record key data. it must not be 001 but it shoud be 1, 2, 3, etc.
I am sure you put the symbol ' near the zero. it is probably '001. '002, etc. this is not the requirement but it must be 1, 2, 3.etc.
Let me know if you still find error although you have change the record key to be 1, 2, 3, etc.
Rgds, -
I have an excel file that has a number of columns.
I want to be able to UPDATE the Prices only in Windows SQL
database.
What's the best way to get from an EXCEL file to SQL and what
would the
query look like?Steve wrote:
> On Tue, 02 Jan 2007 13:19:24 -0600, Lee
<[email protected]>
> wrote:
>
>> I have an excel file that has a number of columns.
>>
>> I want to be able to UPDATE the Prices only in
Windows SQL database.
>>
>> What's the best way to get from an EXCEL file to SQL
and what would the
>> query look like?
>
> Perhaps this product is of use to you?
>
>
http://www.sqlmanager.net/en/products/mssql/dataimport
>
Thanks but that's probably not the route I want to take. -
Hello everyone,
I know there are some threats about this topic, but I am still a little confused, as those threats all seem to be importing/updating prices based on items rather than business partners.
My scenario is that ... for example
3 suppliers S1, S2, S3 ..., they got overlapped items on their price lists.
S1: Item001 £1
Item002 £2
Item003 £3
S2: Item003 £3.01
Item004 £4
item005 £5
item006 £6
S3: Item003 $10
Item004 $11
Item006 $12
Item007 £9
I have used price list template to create 3 lists (around 200 in reality), namely S1,S2,S3 .. . So now how can I put corresponding items with prices on the price lists through DTW?
Supposingly, I should then use the templates -- item and item_prices.
The data I got are a list per supplier, so how can I link one item to multiple suppliers?
Hope you understand what I mean ...
Edited by: Y on Nov 7, 2008 6:14 PMHello Y,
Here is a sample of the DTW import files.
SpecialPrices.csv:
RecordKey,ItemCode,CardCode,AutoUpdate,Currency,DiscountPercent,Price,PriceListNum
RecordKey,ItemCode,CardCode,AutoUpdate,Currency,DiscountPercent,Price,PriceListNum
1,A1012,C1001,tYES,,5,,1
SpecialPricesDataAreas.csv:
RecordKey,LineNum,AutoUpdate,DateFrom,Dateto,Discount,PriceCurrency,PriceListNo,SpecialPrice
RecordKey,LineNum,AutoUpdate,DateFrom,Dateto,Discount,PriceCurrency,PriceListNo,SpecialPrice
1,,,20080101,20081212,5,,1,
1,,,20081213,20081225,0,,1,
1,,,20081226,20081231,15,,1,
SpecialPricesQuantityAreas.csv:
RecordKey,LineNum,Discountin,PriceCurrency,Quantity,SpecialPrice,SPDARowNumber
RecordKey,LineNum,Discountin,PriceCurrency,Quantity,SpecialPrice,SPDARowNumber
1,,2,,100,,1
1,,4,,200,,1
This will work in SAP Business One 2007 but not in 2005. SpecialPricesQuantityAreas -> SPDARowNumber is not exposed in SAP Business One 2005.
Regards,
Paul
SAP Business One Forums -
DTW BOM Template - price list missing
Hi All,
I am working on SAP 2005 B PL 44. the ProductTrees.csv template (master) that comes with DTW does not show 'PriceList' Column, I want to insert the price list (i.e -1 for last purhcase price) at the time of BOM header creation. how can I add it? I tried adding a column called 'PriceList' at the end in this template but while mapping it does not show it in the column's drop down.
Thanks ,
Binita JoshiBinita,
Since you mentioned last purchase price, I thought you were talking about child item prices. Here are a few points for you to consider:
1. The Price List field in the header pertains to the parent item and not to child items. A parent item in BOM may not have a last "purchase" price in most cases. It is not that you change it once in the header and all child item prices will change - no.
2. If you want to change the price list for child items in existing BOMs, use the "update" templates for productTree lines with comment field "Update". I tried it now for an existing BOM and it works even for price list '-1'.
3. If you to (manually) update the price list in header of BOM it will only display the parent price in the field at bottom as defined in the selected price list. If you want to update the price in that price list with DTW, U can use PriceLists.csv.
Thanks,
Ajay -
Good morning.
I have a question: I buy my items in US dollars. My currency is Euro. I created a sale price list based on last purchase price. Can I have my sale price list in euro?
Which documents update last purchase price? When?
Thanks for your answers!
Alberto MalacarneHi,
Besides using DTW, you can also using utility tools embed in SAP application program.
a)Go -> Administration -> Data import/Export -> date import -> import from excel
b)Select data type to import to 'item'
c)You must have excel column for item no, price list code,price according to price list, price list price currency.
d) All the above column can select from the list
e) The item no is compulsory; price list code = 1(if u wanted update price list 1 in standard b1), price according to price list=
price amount based on currency, price list price currency = currency code(example :EURO)
f) Check the bottom option checkbox 'update existing records'
system will update the record and price accordingly based on specific item number
Regards,
Eric -
HOW TO IMPORT PRICE LIST?
Dear friends.
i am facing problem in importing price list,can u plz help me.
1)i have made price list for certen items , that is ok with factor 1
2)now i wants to update this price list through DTW
3)but as per SAP templete i am anable to update it.
4)i have doubt that, will it update prices,because in temple there is no price as such.
mahesh.It's much easier to use the built in SAP Business One Import from Excel from the Administration Menu.
Use the following procedure.
Regards,
David
Pricelist Export/Import
Price List Export Files
When exporting files from Excel to use as imports for update ensure that there is no header and there are only columns Item No./Pricelist/Price and Currency. The Currency should comply with the standard SAP currency codes (GBP/USD/EUR, etc.). Save the file as type Text (Tab delimited). Use this file as per Importing Pricelists above.
Exporting Price Lists for update
Use this script:
SELECT T0.[ItemCode], T0.[PriceList], T0.[Price], T0.[Currency] FROM ITM1 T0 where t0.pricelist = '[%0]'
Select the Price List NUMBER at the prompt. Send this to XL. In XL, amend the columns Price and Currency as required. Depending on the Pricelist which is to be updated amend the column Pricelist to the NUMBER of the Pricelist as defined in the leftmost column on the Pricelist screen (Stock management/Price Lists/Price Lists.
If updating the same Price List as that exported the column Pricelist should already be populated with the correct number.
When exporting files from Excel to use as imports for update ensure that there is no header and there are only columns Item No./Pricelist/Price and Currency. The Currency should comply with the standard SAP currency codes (GBP/USD/EUR, etc.). Save the file as type Text (Tab delimited). Use this file as per Importing Pricelists above.
Importing Pricelists
Administration/Data Import/Export/Import from Excel
Data Type to Import u2013 Change to Items
In A select Item No.
In B select Price List Code.
C should auto populate to Price According to Price List.
D should auto populate to Price List Price Currency.
Tick Update Existing Records.
Tick Update Accounts in Existing Items.
Click OK.
Select the file as per Price List Export Files above.
The file will then be imported and the relevant Pricelist updated.
Maybe you are looking for
-
Changes in BDC program to upload data from text/excel file
Hi friends i have obtained the BDc program after recording : start-of-selection. perform open_group. perform bdc_dynpro using 'SAPLCOIH' '0100'. perform bdc_field using 'BDC_CURSOR' 'CAUFVD-GSBER'. perform bdc
-
Sales order - Schedule line or Availability check
Dear friends, I have one requirement on sales order availability check or schedule line. When i enter material and quantity in sales order it should not determine stock from one storage location (0003 storage location for damaged goods) through avail
-
Set Text of Container to HTML not working
I have a div tag named "theAnswer" on a page. When the user clicks the "Submit" button, I want some text to appear inside the div that has HTML formatting. The HTML code for the text I want to appear is below: You are correct! We are committed to co
-
How to view multiple waveforms in the same window
Trying to see the waveforms of all the 64 channels of AMUX-64T using labview. MIO board has been used. Want to see the waveforms in the same window but not at the top of each other but seperately on invidual axis. Screen shot has been attached and th
-
Extending classes with private methods?
my understanding of extending classes is that you gain all the functions and methods of that class thus You could over ride any one of them. How ever I am confused on weather or not you inherit and can over ride private methods of the class you are e