Importing special prices

HI,
Can somebody give me an example file to import special prices with quantitys area for all BP ????
Tried something but it didn't update the quantity price only the special price of a BP.
Thanks
Mark

Hi Mark,
Could you post some of your sample data to see?
Thanks,
Gordon

Similar Messages

  • Import Special Price for Groups OSPG Table.

    Dear all
    I need to import Special Price for Groups (table OSPG) but there is no template in DTW.
    How can I do.
    Tanks and Regards
    Graziano Di Risio

    Dear Graziano Di Risio,
    As you know, DTW is based on DI API.  Since this table is not exposed to DI API, you will have no option to DTW it.  That is all.  You have to do it manually.
    Thanks,
    Gordon

  • Error in DTW for Special Prices while using

    Hi All,
             while tryin to import Special prices through DTW, I'm gettin an error message, " No Price defined for item in selected price list". CAn anyone please suggest how to import special prices and whts the casue of this error??
    Thanks in advance,
    Joseph

    Hi Joseph,
    Check the link
    Updating Special Prices via DTW
    special prices
    Re: Price List per Document Line
    DTW Template for Uploading Special Prices for Business Partners.
    *Close the thread if issue solved.
    Regards
    Jambulingam.P
    Edited by: Jambulingam P on Jun 29, 2009 11:57 AM

  • Special Prices for BP Period Discounts

    Hi all
    Is it possible to mass import Special Prices for BP Period Discounts for all Customers and Items?
    Kedalene Chong

    Hi,
    How many records you want import?
    If more than thousand records, you need to split the records into 1000 records to import correctly.
    Check SAP notes:
    928625
    - DTW_How to import/update Special Prices via DTW
    Thanks & Regards,
    Nagarajan

  • Importing Volume Prices fails

    Hi Experts,
    I have a strange problem.
    I import special prices including date and volume discount. 4100 records in 1 time.
    At first the import fails because of the error "invalid value in quantity field, application defined error"
    Then i splitted the import in 2 sets, first import of 2000 records went oke but he second gives me the same error as at first.
    When i look at the error file i see something strange. The error file shows me the quantity in different way then on my file i use for the import.
    example:
    original file:
    record quantity
    1            1
    1            12
    Error file
    record quantity
    1            12
    1            1
    Is it possible that the import gives error because of the above problem i mentioned?? I can imagine that this could be the problem when you enter first the quantity 12 and then 1 is not oke.
    How can i solve this, i also tried it other file like csv but gives me the same error
    please help me, i need to import these prices before friday...
    Thx
    Mark

    Oke but then it's still strange that when i import all prices at once it gives an error directly on the first records?? If i do the import in 2 files (splitted) these recrods are oke????
    It looks like DTW mixes up the records?? is that possible.
    I use the same data at an other customer and there i have no problem at all. I have even more record there (almost 9000)
    Would there be something wrong with DTW or ?? I have installed latest patches.
    THX
    Mark

  • Business Partner Special Price Import - DTW

    Forum,
    We have a number of special prices for Business Partners which we'd like to update. In some cases, we would like to remove the current special price and have the system pick up the unit price against an item within Item Master Data.
    When importing through DTW using the OSPP template, we have entered '0' as the price. This correctly imports in through DTW and removes the special price however, when we then raise a sales order for that item. The unit price is zero and it hasn't picked up the unit price against the item within item master data.
    Is this how it works or is there a setting we're perhaps missing? I have test this in the demo and it does pick up the unit price from item master. In our set of data, it does not.
    Regards,
    Juan

    Hi Juan,
    You may check:
    Re: Price List table not updated
    Prices auto adjusted when setting up BP Special Prices
    Thanks,
    Gordon

  • How to copy Sales Quotaton prices to Price List or Special Prices

    We frequently use Sales Quotation to communicate deal price offers to customers.  Once these prices are approved, we have to re-type these prices into applicable price lists or special prices. 
    We are looking for a way to copy these deal prices from Sales Quotation (by Business Partner) over to the applicable price list and special prices?
    Please assist?
    Jaco de Villiers

    I was told by my Implementation Partner that it is possible to import and update price list by using the Import function that is available in SBO.  To do this:
    1. From your sales quotation with the agreed prices - export to excel.
    2. Change the format to list: Product code, Price list to update, New price, Currency
    3. Save the file as tab delimited text
    4. Import into SBO using the Administration, Data Import/Export, Data Import, Import from Excel option.
    5. Choose Item type to import
    6. In the B line, choose Price List Code, the list updates to show only the fields relevant to price list updates
    7. Press OK and follow rest of instructions to complete the import.
    I found the above to be simple, repeatable and reliable enough to solve my initial question.

  • Change Log needed at price list and special prices

    Tracking changes made to the price list and special prices by BP is a valuable control function missing that needs to be included in future.

    I was told by my Implementation Partner that it is possible to import and update price list by using the Import function that is available in SBO.  To do this:
    1. From your sales quotation with the agreed prices - export to excel.
    2. Change the format to list: Product code, Price list to update, New price, Currency
    3. Save the file as tab delimited text
    4. Import into SBO using the Administration, Data Import/Export, Data Import, Import from Excel option.
    5. Choose Item type to import
    6. In the B line, choose Price List Code, the list updates to show only the fields relevant to price list updates
    7. Press OK and follow rest of instructions to complete the import.
    I found the above to be simple, repeatable and reliable enough to solve my initial question.

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

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

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

  • Update special price field in OSPP

    Hia all,
    When I change the gross price in the sales pricelist, all special prices per BP will be updated if the field Automatic update is marked and is linked to this pricelist.
    However the field OSPP.Price, which should be the new special price per BP, is not updated.
    SAP wrote a note, 849386, which says that this field is only updated as you use the update button in the form Special prices per BP.
    But it's just a normal way to change the overall sales price per article in a price list (manually or by DTW or Excel sheet), which will then update all special prices per article per BP if the automatic update field is marked and linked to this pricelist?
    We use a query which take out data from OSPP (.Price) to show the special price per BP, but it shows all old prices.
    Does anybody know how I can update this field in OSPP by another way?
    It's too much work to update all special prices per BP per article manually everytime a gross price change occurs.
    Thanks in advance.
    Best regards,
    Carl Verhagen

    Hi Ladislav,
    Thanks for your help, but it doesn't solve my problem.
    The note is talking about updating the special prices per BP and the rows behind.
    SAP also says in note 849386 that the field will only be updated as the update button has been used but it is also be updated as the price will be imported by DTW.
    We import our prices not by DTW, but by a specially made Excelsheet and it's working fine untill we noticed that the value in the field OSPP.Price is will not be updated.
    If we use the DTW template special prices, all records will be imported (cardcode *1) and can be found in Hierarchies and Expansions, but can I also import/update prices (by DTW) which will be imported/updated and shown in the pricelist (above the menu hierarchies and expansions) as this price will also appear in the item master.
    Is there a template for this? By the automatic update, the new prices will also then be updated in de special prices per BP.
    Regards,
    Carl

  • Copy Special Prices with unchecked property

    Is it possible to copy special prices via the "Copy Special Prices to Selection Criteria" to all Business Partners who do not have a certain property checked?
    Thanks,
    Luke

    Thanks Gordon,
    That's what I was thinking. I'll use DTW to import the inverse of unchecked property to another property for all the business partners to do the price update.
    -Luke

  • Report to show changes in special prices

    Hi All
    We are having a problem currently where some users change the prices in the system and since the special prices table or price table does not have a log it makes it difficult to check who changed the prices from what price to what price and when.
    So as a solution I am looking for a report or function that will alert me when there is any price change, or a log file that can log any price changes in the system.
    We are using SBO 8.81 A PL09

    Hi,
    You've posted your question in the System Administration forum which is for system installation and configuration topics. Your question would be better placed in the reporting forum:
    http://scn.sap.com/community/business-one/reporting-and-printing/content?filterID=content~objecttype~objecttype[thread]
    or in the general application forum:
    http://scn.sap.com/community/business-one/content
    In answer to the question, I think you could probably create your own logging solution by creating a separate SQL table and using a script in the SBO_SP_TransactionNotification proc to insert a record in this table when a user updates a special price. The SBO client will pass the CardCode and ItemCode properties through in the proc. The object type is 7. The OSPP has a UserSign field but I'm not sure if that holds the UserID of the original user who created the special price or if its the user who last updated the record. You'd have to test that. Alternatively you could develop an add-on that runs in the GUI to track the user clicking on Add/Update in the special pricing screen and recording the details.
    Kind Regards,
    Owen

  • DI API: 2005A PL: 08  Special Prices

    Hi everyone,
    I am using the DI-Object SpecialPrices for adding a special price in the Database. We use a German MSSQL Server 2000 and VB.Net (1.1)
    My Code:
    Public Sub PreislisteZwischenspeichernLöschenUndSetzen()
                'Dim oPreisliste As SAPbobsCOM.PriceLists
                Dim oSonderpreisliste As SAPbobsCOM.SpecialPrices
                Dim oSonderpreislisteDataArea As SAPbobsCOM.SpecialPricesDataAreas
                Dim oSonderpreislisteQuantityArea As SAPbobsCOM.SpecialPricesQuantityAreas
                Dim oSBOB As SAPbobsCOM.SBObob
                oSBOB = oCibAddOn.oCompany.GetBusinessObject(BoObjectTypes.BoBridge)
                'oPreisliste = oCibAddOn.oCompany.GetBusinessObject(BoObjectTypes.oPriceLists)
                oSonderpreisliste = oCibAddOn.oCompany.GetBusinessObject(BoObjectTypes.oSpecialPrices)
                ' Staffelpreisliste neu eingeben
                ' Wichtig, Standardpreis muss in der Preisliste unter ITM1 eingegeben sein
                Dim oArtikelPreis As SAPbobsCOM.Items
                Dim oArtikelPreise As SAPbobsCOM.Items_Prices
                oArtikelPreis = oCibAddOn.oCompany.GetBusinessObject(BoObjectTypes.oItems)
                oArtikelPreis.GetByKey("9999")
                Dim intIndex As Integer = 0
                Dim blExit As Boolean = False
                Do While blExit = False And intIndex < oArtikelPreis.PriceList.Count
                    oArtikelPreis.PriceList.SetCurrentLine(intIndex)
                    If oArtikelPreis.PriceList.PriceList = 1 Then
                        oArtikelPreis.PriceList.Currency = "EUR"
                        oArtikelPreis.PriceList.Price = 12.5
                        If oArtikelPreis.Update() <> 0 Then
                            MsgBox(oCibAddOn.oCompany.GetLastErrorDescription)
                        End If
                        blExit = True
                    End If
                    intIndex += 1
                Loop
                oSonderpreisliste.CardCode = "70000"
                oSonderpreisliste.ItemCode = "9999"
                oSonderpreisliste.Currency = "EUR"
                oSonderpreisliste.Price = 12.5
                oSonderpreisliste.PriceListNum = 1
                oSonderpreisliste.SpecialPricesDataAreas.SetCurrentLine(0)
                oSonderpreisliste.SpecialPricesDataAreas.AutoUpdate = BoYesNoEnum.tYES
                oSonderpreisliste.SpecialPricesDataAreas.DateFrom = New System.DateTime(2006, 4, 26)
                oSonderpreisliste.SpecialPricesDataAreas.Dateto = New System.DateTime(2006, 4, 28)
                oSonderpreisliste.SpecialPricesDataAreas.PriceCurrency = "EUR"
                oSonderpreisliste.SpecialPricesDataAreas.PriceListNo = 1
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPrice = 12.5
                oSonderpreisliste.SpecialPricesDataAreas.Add()
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.SetCurrentLine(0)
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.PriceCurrency = "EUR"
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.Quantity = 1
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.SpecialPrice = 12.5
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.Add()
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.SetCurrentLine(1)
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.PriceCurrency = "EUR"
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.Quantity = 100
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.SpecialPrice = 10
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.Add()
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.SetCurrentLine(2)
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.PriceCurrency = "EUR"
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.Quantity = 1000
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.SpecialPrice = 7.5
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.Add()
                If oSonderpreisliste.Add <> 0 Then
                    MsgBox(oCibAddOn.oCompany.GetLastErrorCode)
                    MsgBox(oCibAddOn.oCompany.GetLastErrorDescription)
                End If
                System.Windows.Forms.Application.Exit()
            End Sub
    We get all the time the errormessage: Date is out of range.
    We also try to use the functions SaveAsXML and GetBusinessObjectFromXML, but then the same error comes.
    Trinidad wrote a lot of time that the error is solved in the Version 2005, but it isn`t so for us.
    Please help
    Regards
    Jörn

    Sorry for the double post; I thought I would be better showing how my code goes.
    As with the original poster, I am using the DI-object Special Prices to insert new records. I am trying to create a Special Price that is BP-Item specific, using the default demo company (SBO Demo UK), valid date from 15 Jun to 20 Jun.
    Dim oSpecialPrices As SpecialPrices = oCompany.GetBusinessObject(BoObjectTypes.oSpecialPrices)
    Dim oSpecialPricesDataAreas As SpecialPricesDataAreas = oSpecialPrices.SpecialPricesDataAreas
    ' SpecialPrices settings
    oSpecialPrices.ItemCode = "A1000"
    oSpecialPrices.CardCode = "C1000"
    oSpecialPrices.AutoUpdate = BoYesNoEnum.tYES
    oSpecialPrices.PriceListNum = 3
    oSpecialPrices.DiscountPercent = 50
    ' ------------------ START ------------------
    ' SpecialPricesDataAreas settings
    oSpecialPricesDataAreas.SetCurrentLine(0)
    oSpecialPricesDataAreas.DateFrom = New DateTime(2006, 6, 15)
    oSpecialPricesDataAreas.Dateto = New DateTime(2006, 6, 20)
    oSpecialPricesDataAreas.AutoUpdate = BoYesNoEnum.tYES
    oSpecialPricesDataAreas.Discount = 15
    oSpecialPricesDataAreas.PriceListNo = oSpecialPrices.PriceListNum
    oSpecialPricesDataAreas.PriceCurrency = "GBP"
    oSpecialPricesDataAreas.Add()
    ' ------------------- END -------------------
    ' Adding and checking for any errors
    oSpecialPrices.Add()
    oCompany.GetLastError(lErrCode, sErrMsg)
    If lErrCode <> 0 Then
        MsgBox(lErrCode & ": " & sErrMsg)
    End If
    If the portion of the code between START and END was commented out the insertion was successful. Else as it is, it will keep prompting Invalid Date Range (-10).
    Can anyone please shower some enlightenment?

  • Absolute value discount in Special Prices

    I have a customer that has special prices with a value discount, not a percentage one.
    I thought about adding a UDF to the Special Prices table and do a formatted search against it, but later I found that I cannot add an UDF to the Special Prices table...
    All the discount functionality in SBO is percentage based...how should I implement an absolute value discount?
    Any ideas will be much appreciated...

    Hi.
    This is sample code in C++ to add UDF.
    _bstr_t TableName = L"TableUID";
    _bstr_t FieldName;
    HRESULT hr;
    SAPbobsCOM::IUserFieldsMDPtr m_pUserFieldsMD = m_Cmp->GetBusinessObject( SAPbobsCOM::oUserFields );
    m_pUserFieldsMD->PutTableName(TableName);
    FieldName = L"FieldUID";   'without U_'
    m_pUserFieldsMD->PutType(SAPbobsCOM::db_Alpha);
    m_pUserFieldsMD->PutName( FieldName );
    m_pUserFieldsMD->PutDescription( L"desc");          
    m_pUserFieldsMD->PutSize(20);
    m_pUserFieldsMD->PutEditSize(20);
    if ( m_pUserFieldsMD == NULL )
    return -1;
    m_Cmp->StartTransaction();
    hr = m_pUserFieldsMD->Add();
    if (hr!=S_OK)
    'error'
    if ( m_Cmp->InTransaction )
    m_Cmp->EndTransaction( SAPbobsCOM::wf_Commit );
    Hope it helps.
    Kamil Wydra

Maybe you are looking for

  • Re: [iPlanet-JATO] Re: using begin childName Display method

    Steve, It sounds like you have your display fields in a container view, and that container view is inside of a view bean. I haven't tested whether the fireChildDisplayEvents has a "deep" effect on its container view children. Meaning that you may hav

  • How can we change delivery document while doing shipment

    Hi all, How can we change delivery document in background while changing shipment document.My requirement is to change the netweight in delivery while doing shipment.Actually it gets blocked when we open the shipment. Thank You, Regards,

  • How Does one Import at High Res?

    I have not yet learned how to import my footage at a high resolution. What do i have to do to accomplish this?

  • TS3988 can't connect to iCloud SMTP server

    For some reason I can no longer send messages using iCloud. I have checked passwrords, etc. but no success. Can someone please give me all the setup parameters to set up the iCloud SMTP server in mail on my MacBook Pro? Thanks

  • SQL qstn

    Hi, Below SQL is displaying values in multiple columns but I want to diaplsy it as single column multiple rows. SELECT 'ALL','180',270',365' FROM DUAL. Result: All 180 270 365 Thanks Jay.