Using DTW to Change BP Price List

Hello All --
I have been trying to use DTW to create a new BP Price List.  I've done it before and should be straight forward but for some reason I am getting an error message. 
The message says that this entry already exists in the following tables...which is confusing to me b/c the entry should exist...I am just trying to update it.  I can e-mail images, I think this will help present a clearer picture of what I mean.
Thanks!
Mike

Hi, Mike,
I tested and finally got the key:
DTW table you see RecordKey, LineNum,...
The LineNum is not the "LineNum" which we see in the Price Lists screen.  You need to re-cap the number from '0', '1', '2',...  (and actually it's the sequence of creating price lists i think.)
(p.s. The another good way to catch the right number is: do a DTW under testing database, then you can review which price list got changed, and figure out the right LineNum after one or several testing !!)
Good luck.
Michelle

Similar Messages

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

  • How to change the price list in document?

    Dear All,
    Is it possible to change the price list in document (e.g. Sales Order) by program (UI)?
    If no, any other way to do so? Thanks!
    Regards,
    On

    Dear Gordon,
    It may be Purchase Order or Sales Order. But different target will have different solution?
    Regards,
    On

  • Contract determination on change of Price List Type on Pricing Tab for item

    I need to to re-trigger the Contract determination for a document item when the price list is changed.  Currently the only BADI i can see this working with is the pricing Badi.  The only issue is that I get a linking error when going from no assignment and then changing it so that the item then has a reference to an item on the contract

    Dear All,
    I have fulfilled this by doing rev acct determination in vkoa using item category and moving it up the order. Also I used a requirement in v/08 for 100% discount on free material.
    This has resolved my issue and i am now closing this thread.
    Thanks and Regards,
    Rohan
    Edited by: Lakshmipathi on Apr 2, 2011 10:53 AM
    Since you have arrived at a solution, please change the status of the thread to "Answered"

  • Using DTW to change a sales order shipping address

    I found a template RDR12 and according to the di help file this seems to correspond to the addressextension object.
    I want to use this template to change the address information for an order. Either an existing order or a new order as it is imported.
    Can I change the address information showing in the shipping address box on the logistics tab of an existing order using this template and a csv file?
    Is it independent of existing addresses associated with a business partner?
    I tried importing a row corresponding to an existing sales order, using the sales order DocNum as the primary key. It did not work, giving the error, Can not find this object in B1 Application. I verified that the order existed.
    Can anyone point me to an example or give me information regarding how to use this template?
    Is what I want to do possible?
    Thanks,
    Mark

    Hi,
    try this
    DATA: IT_MESSAGE TYPE STANDARD TABLE OF BAPIRET2,
          WA_VBELN TYPE BAPIVBELN-VBELN.
    DATA: WA_BAPIHEAD TYPE BAPISDH1,
          WA_BAPIHEADX TYPE BAPISDH1X,
          WA_HEADDATA TYPE BAPISDH1.
    DATA: I_BAPIITEM TYPE STANDARD TABLE OF BAPISDITM,
          WA_BAPIITEM TYPE BAPISDITM,
            WA_DATA TYPE BAPISDITM,
          I_BAPIITEMX TYPE STANDARD TABLE OF BAPISDITMX,
          WA_BAPIITEMX TYPE BAPISDITMX.
    CHANGE ITEM DATA
    WA_BAPIITEM-ITM_NUMBER =WA_DATA-ITM_NUMBER.
    WA_BAPIITEM-REASON_REJ = WA_DATA-REASON_REJ. "(REASON FOR REJECTION)
    WA_BAPIITEMX-ITM_NUMBER = WA_DATA-ITM_NUMBER. "(ITEM NUMBER)
    WA_BAPIITEMX-UPDATEFLAG = 'X'.
    WA_BAPIITEMX-REASON_REJ = 'X'.
    APPEND WA_BAPIITEM TO I_BAPIITEM.
    APPEND WA_BAPIITEMX TO I_BAPIITEMX.
    TO CHANGE HEADER DATA
    WA_BAPIHEADX-UPDATEFLAG = 'U'.
    WA_BAPIHEADX-DLV_BLOCK = 'X'.
    WA_BAPIHEAD-SALES_ORG = WA_HEADDATA-SALES_ORG. "(COMPANY CODE)
    WA_BAPIHEAD-DLV_BLOCK = WA_HEADDATA-DLV_BLOCK. "(DELIVERY BLOCK)
    WA_VBELN = '0000000168'.
    CALL BAPI AND PASS THE VALUE
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
       EXPORTING
         SALESDOCUMENT               = WA_VBELN " (SALES AND DOCUMENT NO)
        ORDER_HEADER_IN             = WA_BAPIHEAD
         ORDER_HEADER_INX           = WA_BAPIHEADX
       TABLES
         RETURN                     = IT_MESSAGE
        ORDER_ITEM_IN               = I_BAPIITEM
        ORDER_ITEM_INX              = I_BAPIITEMX
    CLEAR IT_MESSAGE.

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

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

  • How to set price list to use in a Document

    Hi all,
    I have a simple question. I'm trying to insert a draft document into SAP B1 via DI API. I can't seem to find the correct property to set in order to change the price list to use for that draft.
    Example: The price list in the Supplier BP is 'Price List 01' and I want to change it only for the current document to 'Price List 02'.
    Can you guys help me?
    Thanks.
    Edited by: Pedro Magueija on Aug 28, 2009 6:11 PM
    Edited by: Pedro Magueija on Aug 28, 2009 6:41 PM

    That's too bad, since it is possible to do it in SAP B1.
    OK, but since I can only change the price for the item, line by line is it possible to force a .UnitPrice = 0 and .PriceAfterVAT = 100.00?
    The reason I ask is, the document I'm trying to insert get's it's prices from a source where only VAT included prices are present. So instead of the unit price, I want to set the price after VAT and have SAP B1 calculate the unit price.
    I set the BP default price list to a list where no prices are defined, and it works. But has you can imagine, when doing a document in SAP B1 this will cause it to set the prices to 0 on the lines, and the users might get angry at it.
    So if you guys have any ideas on how to go around this some other way, please do tell.
    Thanks in advance.

  • Update price list by DTW

    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

  • Price list changed

    I have a customer on 2005 who is having a problem with one price list. The price list is based on another base price list. Manual is ticked in the price list for all items, however the item prices on that price list are changing daily and we don't know why.
    I have tested this and the price should only change if manual is deselected(before or after) or if the price is changed on the item master. If the price is changed on the item master, it shows up on the change log as changed field 'price List'.
    The customer says they have not deselected manual at any time and the item master data change log does not show any price change on item master data.
    Any ideas how this could be happening?

    Hi,
    <br /><br />
    I might be a bit late contributing to this, but I have found a bug in relation to manual selection within price lists and price updates/imports.
    <br /><br />
    Some of our price lists represent contracts where the price for certain items is set in stone. We do this by ticking the manual checkbox and entering in the price. These price lists have a parent price list as this is the easiest way to manage the price on those items no on contract. Some contract price lists also have a % discount on these non-contract items, achieved using the price list factor.
    <br /><br />
    For a year or so (or even longer) we have suspected that changes were being made some items on contracts, and the manual checkbox being unticked. I put this down to user error and limited access to the contract price lists to only one user. Still the problem persisted. <br /><br />
    Using the query above with a few minor changes showed me the last time the price was changed that the item still had the manual checkbox ticked for the item in question on the contract price list:
    <br /><br />
    Select T2.Itemcode ,T2.PriceList ,T2.Price as 'CurrentPrice', T2.ovrwritten as 'Current Status',
    T1.Price as 'Old Price', t1.ovrwritten as 'Old Status', T0.UpdateDate,T0.UserSign ; from AITM T0 Inner Join AIT1 T1
    on T0.Itemcode =T1.Itemcode and T1.Loginstanc =T0.loginstanc inner Join ITM1 t2
    on T2.ItemCode= T0.ItemCode
    where t0.itemcode = '07041' and t2.pricelist = 13
    <br /><br />
    Checking in the price list showed that it was no longer ticked.
    <br /><br />
    The last price update has been done via Import/Excel - import from excel, nothing to do with the price list in question or its parent price list.
    <br /><br />
    However, on my laptop/test system I ran the same price list import/update, before the manual box for the item was ticked, afterwards it was not.
    <br /><br />
    Very strange, and raised the question, why didnt it do this for all items on the import, and for all other contracts?.
    <br /><br />
    Further investigation showed that although the manual checkbox had been unticked, that the price remained the same. It just so happened that the previous manual price was the same as the parent price less the child price list factor, which in this case is 5%, i.e.:
    <br /><br />
    Original manual Child PL price = u20AC35.65
    Parent PL = u20AC37.53
    Child PL factor = 0.95
    36.53 x 0.95 = 35.63
    <br /><br />
    It would seem that for some reason SAP removes the manual tick from a child price list if it see's no difference between the child manual price and the parent price less the child price list factor. Which is strange and dangerous behavior.
    <br /><br />
    Now whether or not this happens on any other method of updating prices, I do not know, I have only tested the one method so far. To prove a point, I re-ticked the items manual checkbox in the child price list, altered the price slightly in the parent price list, and reran the update. This time the item child price remained as manual, this is because the parent price - the child factor was now different to the manual price in the child price list.
    <br /><br />
    I'm not sure where to go on this now, we do plan on upgrading  towards the end of this year, which leaves me with a problem in the interim. Perhaps I might capture the oncontract status of items and generate and alert when this changes, or something similiar.
    <br /><br />
    Anyway, I hope this might help others who suspect something is not quite right with manually entered prices in 2005 (our version is actually 2005A SP1 PL36).
    <br /><br />
    Martin.
    <br /><br />
    Edited by: Martin Barrett on Mar 10, 2010 4:27 PM

  • Change price list in one document

    Hi all,
    How i can change the price list of a document? This document is not created yet and i need to change to others price list.
    If nobody knows the answer i`m going to change the prices of the lines one per one but inside the document the price list is no change.
    Any ideas?
    Thank you all again.
    Regards.

    Aitor,
    I expect that you do this by UI and not DI. If yes, you may do it in few ways:
    1. as I describe in my first post - raise menuid = 5890 (form settings), after for loads (formuid = 998) select in combo proper pricelist and emulate click to OK
    2. on pricfileds add formatted search based on some UDF - when to this UDF youll write id of pricelist, you may through selects in FS calculate the right price for all rows (when is the field blank, do nothing and sap will this override with own calculating)

  • Terms are changing price with default BP price list

    I have a customer with 33 distince price list assigned to customer.
    they also have several different payment terms.
    I have noticed that when the payment terms are changed, the price list assigned to the order may also be changed to the default price list for the terms code. . the user is prompted if they want to update all of the lines on the order to the new price.
    More importantly, if they change the terms first, the pricing is automatically set for all of the lines based on the terms default values not the business partner default values. This is cause them all kinds of pricing problems.

    This is indeed an issue for terms change.  Whenever you change the Payment Terms, you have to be very careful.  The best way to me is: reduce the times to change.  Make the changes as much as possible in one batch.  There is no way to prevent the change for BP price lists.
    Thanks,
    Gordon

  • BP Price List changed unexpectedly

    My Customer wrote -
    We have noticed that occasionally the BPs Price List in the Payment Terms tab changes from Price List A (Trade) to Price List H (Retail) without anyone actually doing this.   When we examine the history it usually appears to have happened at the same time that a user has made another change or added a note.   All users are adamant that they have not touched the Payment Terms field.   We canu2019t find changes in the other direction (i.e. H to A).
    As anyone seen this and know what causes it?
    Help much apreciated
    Martin

    Hi Martin.......
    Without change by anybody it can not be changed.
    I would suggest you to ask your Client to restrict the price list change by giving No Authorization to the user to whom he has given and see for sometimes. And main thing just ask him to change Manager Password and not to tell anyone till solve this issue.......
    Hope this will help you.....
    Regards,
    Rahul

  • BOM Price List Change

    Does anyone know if it is possible to change the BOM price list for each item in the BOM Globally for all BOM's.
    I need to change the price list for all BOM's, this would save a lot of time.
    Thanks for your help

    Hi brett
    Update parent prices globally update the BOM prices based on the changes in the prices of the Component item, in single click it will give u the recommendation and the status of all the BOM prices it is our discretion to accept.
    thanks & regards
    baskar

  • Missing Functionality - Price List on BOM Header via DI API

    short: Cannot access Price List (oitt.pricelist) OR Show BOM components (oitt.showcomp) fields from SDK or DTW on BOM Header.
    longer: issue where we are creating Bills of Material using the DI API. We are unable to fill the Price List on the header (oitt.pricelist) via the DI API. This does not affect functionality of the BOM or any production orders created from the BOM. However it is a problem when we try to rollup prices using Update Parent Item Prices Globally. This utility is looking for the relevant price list in the Bill of Material Header and thus ignoring all of our items that were created via the DI API.

    Are you serious ?
    They use this property to change the Price List of a Goods Receipt ?
    I mean I understand that this is a Marketing Document but the lack of a property for disctinct values like Price List
    is not that good.

  • Set price list for new invoice

    When creating a new invoice for a customer, Is there a way to specify which price list to get the prices from either for the invoice or for the invoice line?  I want to have the option to use a price list that is different from the customers default.

    Hello
    If you are using GUI, you may click the Form Settings, then you can change the price list. Then you can start to enter the items.....
    Regards
    János

Maybe you are looking for