Error in adding List Line in Price Lists setup form

Hi Gurus,
users are facing below error message while they try to add new items in the list lines on the "Price List Setup" Screen.
Navigation - Order Management Super User --> Pricing --> Price Lists --> Price List Setup. Query the required price list. go to the list lines and add new line. While saving the new line below error message encountered.
Error ORA-00001: unique constraint (QP.QP_LIST_LINES_U1) violated in Package QP_Price_List_Line_Util Procedure Insert_Row
QP_LIST_LINES_U1 is a unique index with below script -
CREATE UNIQUE INDEX QP.QP_LIST_LINES_U1 ON QP.QP_LIST_LINES
(LIST_HEADER_ID, LIST_LINE_NO)
LOGGING
TABLESPACE APPS_TS_TX_IDX
PCTFREE 10
INITRANS 11
MAXTRANS 255
STORAGE (
INITIAL 128K
NEXT 128K
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
BUFFER_POOL DEFAULT
NOPARALLEL;
N:B:- when we try to do the same thing in our test instance which is last refreshed from production 2 weeks ago, we are able to add new line and save without the error message. seems like some data corruption has occured in production recently. please help on how to diagnostic the corruption. its quite critical issue now from bussiness point of view.
Regards,
Samir Kumar Das

Hi Samir,
Please follow the below metalink notes...
Cannot Add Item To Price List as it Errors With ORA-00001: unique constraint (QP.QP_LIST_LINES_U1) violated in Package QP_Price_List_line_Util Procedures Insert_Row [ID 466320.1]
Thanks
-Arif.

Similar Messages

  • Issue in Exporting the Sales Price List and Purchase Price List for the Materials from SAP Business ByDesign (SAP Cloud)

    Hello Everyone,
    I would like to have a discussion on the issues, which I am facing at the time of Exporting the Sales Price List and Purchase Price List for the Materials from
    SAP Business ByDesign (SAP Cloud).
    (1). Sales Price List :
    We have maintained Customer Group Specific Sales Price List for the Materials in the following Location.
    Location :         Product and Service Portfolio Work Center > Pricing > Price Lists > Customer Group Specific Price List (Type of Price List)
    Target :             We want to export the entire records in some reports or excel sheet.
    Records :          Number of Materials in the Customer Group Specific Price List is more than 2,00,000
    Issues : 
                                         (A). In the SAP Business ByDesign Screen we can filter by number of records but we can export till  50,000 records.
                                                 And if we are trying to export records more than that limit, then it throws "HTTP 500 Internal Server Error".
                                         (B). We could not find any SAP standard reports in Product and Service Portfolio and/or Business Analytics Work Center
                                                for getting the entire record set of the Sales Price List, so that we can have the entire set of records together.
    Searching For :
                                          (A). Is there any SAP reports or data source available for getting the entire Sales Price List records?
                                          (B). Can we have any other filter conditions for exporting the Sales Price List records in a single shot or module wise?
    (2). Purchase Price List :
    We have maintained the Purchase Price List for the Materials in the following Location.
    Location :           Product Portfolio Work Center > List Prices > Active List Prices (Type of Price List)
    Target :               We want to export the entire records in some reports or excel sheet.
    Records :            Number of Materials in the Purchase Price List is more than 4,00,000.
    Issues :  
                                           (A). In the SAP Business ByDesign Screen we can not see more than 10,000 records and the actual number of
                                                   records are more than 4,00,000. We could able to download the records till 10,000 but that is not sufficient.
                                                   We want to export the entire records in an excel sheet.
                                           (B). We could not find any SAP standard reports in Product Portfolio and/or Business Analytics Work Center for
                                                  getting the entire record set of the Purchase Price List, so that we can have the entire set of records together.
    Searching For :
                                           (A). Is there any SAP reports or data source available for getting the entire Purchase Price List records?
                                           (B). Can we have any other filter conditions for exporting the Purchase Price List records in a single shot or module wise?
    Please go through the attached screen shots for the references and more clarity on the issues.
    I am waiting for the valuable responses.
    Thanks and regards,
    Susanta Dey Sarkar
    Bangalore, India
    19th March, 2015

    Dear Michael,
    The number of records :
    2 Million (Approximately) is for the Sales Price List Material Price Data
    4 Million (Approximately) is for the Purchase Price List Material Price Data.
    Regards,
    Susanta Dey Sarkar

  • Error in QP: Bulk Import of Price List

    Hi All,
    I am trying to import price list records using the concurrent program 'QP: Bulk Import of Price List'. I am facing one issue in this...below is the error detail:
    7164262/PRL/QP_INTERFACE_LIST_LINES//RAGH-L-3 A price break child line must have at least one pricing attribute.
    The header and Qualifier records are getting imported sucessfully, the issue is with the line and it's attributes. Below are the fields on interface tables whcih i m populating:
    INSERT INTO QP_INTERFACE_LIST_LINES (
    ORIG_SYS_LINE_REF,
    ORIG_SYS_HEADER_REF,
    LIST_LINE_TYPE_CODE,
    START_DATE_ACTIVE,
    END_DATE_ACTIVE,
    ARITHMETIC_OPERATOR,
    OPERAND,
    PRIMARY_UOM_FLAG,
    PRODUCT_PRECEDENCE,
    INTERFACE_ACTION_CODE,
    PROCESS_FLAG,
    PROCESS_STATUS_FLAG,
    PRICE_BY_FORMULA,
    AUTOMATIC_FLAG,
    REPRICE_FLAG
    --PRICING_GROUP_SEQUENCE
    ) VALUES
    'RAGH-L-3',
    'RAGH-H-3',
    'PLL',
    sysdate,
    NULL,
    'UNIT_PRICE',
    150,
    'Y',
    230,
    'INSERT',
    'Y',
    'P',
    NULL,
    'Y',
    'Y'
    --0
    INSERT INTO qp_interface_pricing_attribs
    orig_sys_pricing_attr_ref,
    orig_sys_line_ref,
    orig_sys_header_ref,
    PRODUCT_ATTRIBUTE_CONTEXT,
    product_attr_code,
    product_attr_val_disp,
    product_uom_code,
    interface_action_code,
    process_flag,
    process_status_flag,
    PRICING_ATTRIBUTE_CONTEXT,
    PRICING_ATTRIBUTE,
    PRICING_ATTR_VALUE_FROM_DISP,
    COMPARISON_OPERATOR_CODE,
    PRICING_ATTR_VALUE_TO_DISP )
    VALUES
    'RAGH-ATTR-3',
    'RAGH-L-3',
    'RAGH-H-3',
    'ITEM',
    'INVENTORY_ITEM_ID',
    'CM13139',
    'EA',
    'INSERT',
    'Y',
    'P',
    'ADS_PRICING',
    'COST',
    '25',
    'BETWEEN',
    '30' );
    Using the above process I am getting the error as mentioned:"7164262/PRL/QP_INTERFACE_LIST_LINES//RAGH-L-3 A price break child line must have at least one pricing attribute.".
    If I am not using the pricing attributes PRICING_ATTRIBUTE_CONTEXT,PRICING_ATTR_CODE, Pricing_attr_value_from,COMPARISON_OPERATOR_CODE, PRICING_ATTR_VALUE_TO I am able to import the line records also.
    The script provided by Oracle also uses the same columns in the interface table, kindly help me if any one have any idea regarding this issue.

    Hi Luko,
    I tried the same script given by oracle, but it is giving me the error as I mentioned earlier. When I am not using the pricing line attributes, it is working fine. The error is coming only when I am passing the pricing attribute parameter(PRICING_ATTRIBUTE_CONTEXT,     PRICING_ATTR_CODE,     PRICING_ATTR_VALUE_FROM_DISP,
    COMPARISON_OPERATOR_CODE,     PRICING_ATTR_VALUE_TO_DISP).
    I am passing the values as shown below:
    PRICING_ATTRIBUTE_CONTEXT-Code fro pricing context i.e PRICING ATTRIBUTE
    PRICING_ATTR_CODE-code for attribute i.e. FREIGHT_COST
    PRICING_ATTR_VALUE_FROM_DISP-200
    PRICING_ATTR_VALUE_TO_DISP-300
    COMPARISON_OPERATOR_CODE-BETWEEN
    Thanks!

  • Error when adding document lines using DIAPI

    Error: "Item no. is missing  [ORDR.ObjType]"
    Hi
    I m getting [mentioned above] error when i try to add more line in rdr1 that is same as existing row, and try to update document object.
    <b>Problem:</b>There is already one row in rdr1 and i have to add a new row using DIAPI.
    Thx

    Hi Pankaj,
    Can you please post your code? If you've got oDoc.Lines.Add in there try to remove it and see if it has the desired effect. If you look at the document in the SBO GUI you'll see that there is already an empty line in the order. I haven't tested it, but try it out.
    Hope it helps,
    Adele

  • Adding a line to an adobe fillable form

    I have Adbobe X Pro and I am creating a fillable form. I want to be able to add a box that allows the Adobe reader user to add an additional line or activity to the report. I have been trying to search for this but can't find it. Any help is greatly appreciated.

    Hi Lauried13,
    You'll need to use LiveCycle Designer to create this type of functionality.  LiveCycle Designer ships with Acrobat X Pro for Windows.  Please take a look at this tutorial for more info: http://acrobatusers.com/tutorials/creating-expanding-form-fields
    -David

  • Price List Error in Bill of Materials in relation to SAP Note 1056208

    Hi Experts,
    I have uploaded the Bill of Materials --both the Header and Lines using DTW successfully but when I try to update the Product Price of the Parent manually in the Bill of Materials, this error occurs:
    "Variation between number of price lists and number of price lists for items"
    I have also tried running the script provided in SAP Note 1056208 to check if there are any inconsistencies in the Price List records but there is none.  The number of records in both tables are the same.
    We have 3 levels of Bill of Materials (FG, WIP1, WIP2).  I need to update the Product Price of WIP2 first so that its price will appear in the line items since it is a component of WIP1.
    I hope you could help me with my problem and I would appreciate your prompt replies.
    Thank you very much!

    Hi!
    In BOM u will find a Orange Color Drop Down Arrow @ Right-Bottom Corner. You have to click on that to generate Price for your Parent based on the Child.
    Select the Approp Price List in Header of BOM and in Row Level. Update prices for Child Items, now Follow the above step.

  • Price list line = orderline?

    An order line in oe_order_lines_all stores the price list id but not the list line id.
    List Id + Product Id is also not unique.
    How do I get the list line id for a particular order line??

    Hi,
    even with the start date, end date combination a list line is not unique.Two different list lines can exist for the same item, same effective period but with different pricing attribute and pricing attribute values.
    so how do i trace the exact price list line from the order_lines table.??

  • How to save LIST_LINE_ID of Price List when create Sales Order Line

    I dont know how save the LIST_LINE_ID of the Price List on Sales Order or anywhere when create Sales Order Line.
    I create with the following steps:
    Step 1: Create Price List for Item A with two line: Line 1 (Unit Price = 10,5, Pricing Attribute with Tax Classification Code = 5%), Line 2 (Unit Price = 11, Pricing Attribute with Tax Classification Code = 10%)
    Step 2: I create Sales Order Line with Item A, Tax Classification Code = 5% --> Unit Selling Price = List Price = 10,5 but dont bookorder
    Step 3: I update the Unit Price of Line 1 into 11.55.
    Step4 : I book this Sales Order. Howerver, I use form personalization to customize Book Event: if the Unit Price of Item on Price List > Unit Selling Price then cant not Book. But I dont konw List Price of Sales Order belong the line of Price List.
    Please help me check this issue. Thanks for your supports.
    BinhTC
    Email: [email protected]

    Bob's right - except that if you have OM: List Price Override Privilege set to 'Unlimited' (and from your scenario it sounds as if you have) it is possible that the value in unit_list_price will vary from what was originally retrieved from the price list.
    In that case, a safer bet is to use :LINE.original_list_price in your personalization as this will always contain what was originally retrieved and will mean you can avoid any repeat lookup via list_line_id.
    Regards,
    Jon

  • Failed to resolve incompatibility between price lists

    Hej,
    I have several price list but in one when I add item I get the following error
    Failed to resolve incompatibility between price lists(item) Duplicate price list lines( i.e. equal precedence): US dc and US dc.
    I have checked the item is not duplicated anywhere in pricing, any idea why getting this error message?
    thanks and kind reagrds,
    /Z

    Check that if the same item is there in terms of category price list line and that has same precedence.

  • Sql Notification -Price List

    Dear Experts,
    I have maintain price list in price list master, where i define my product price. & l same price list i assign in  my customer.
    & For some of my customer i have define special prices  but my base price list is Same.
    When i go for Sales Quotation document system show me my assign price in price after discount Column.
    MY REQUIREMENT :
    if user change product price in sales quotation only higher side unit price system need to accept.
    If user try send quotation below assign product price than i need an a error msg (You do not have Authority to send Quotation below assign price )
    Is it possible.
    Waiting for your reply.

    Hi Mangesh,
    I need to confirm your requirement here.
    Example - Item ABC (you set 2 price list here) :
    - Price List 1 (standard selling price) : 150 USD
    - Price List 2 (minimum selling price) : 100 USD
    And you also set special prices for certain customer:
    - Item ABC for customer Alpha : 130 USD
    - Item ABC for customer Beta : 125 USD
    So, even though you set special prices for particular customers, still the special price shouldn't be below minimum price, is that right?
    If yes, you could use this stored procedure
    IF @object_type='23'AND @transaction_type IN('A','U')
      BEGIN
         IF EXISTS(
              SELECT*FROM QUT1 T0
              INNER JOIN ITM1 T1 ON T0.ItemCode=T1.ItemCode
              WHERE T1.PriceList=2 AND  -- this is only AN EXAMPLE : PriceList=2
              T0.Price<ISNULL(T1.Price,0) AND
              T0.DocEntry=@list_of_cols_val_tab_del
           BEGIN
              SET @error=-1
              SET @error_message='There are line(s) with price below minimum price'
           END
      END
    I use price list number 2 as minimum price list in this example. If you manage your minimum price list as different price list no, just change the code above in line I already set as remark. Hope this help.
    Best Regards,
    Hendry Wijaya

  • Price List erro - variation between the number of price lists

    The following error is occuring when adding a price list. 
    Price List error - variation between the number of price lists and number of price lists items.
    We have reviewed with recommendations from the below post, but are UNABLE to run the 2nd proposed query.
    Message 3506-9 Price List Error - Please Help
    This query is not able to be executed - can you please supply another query,
    SELECT T1.ItemCode as 'OITM', T0.ItemCode as 'ITM1' FROM ITM1 T0 Left JOIN OITM T1 ON T0.ItemCode = T1.ItemCode Where T1.ItemCode is NULL 3
    Thanks in advance for you assistance

    Hi,
    Remove the '3' from the end, then the query will run properly:
    SELECT T1.ItemCode as 'OITM', T0.ItemCode as 'ITM1' FROM ITM1 T0 Left JOIN OITM T1 ON
    T0.ItemCode = T1.ItemCode Where T1.ItemCode is NULL
    Regards,
    Nat

  • Demantra Price List Collections

    We are collecting price lists from EBS into Demantra and found that not all items from the EBS Price List are included in the collection and download into Demantra msd_dem_price_list table. For example, for one price list, the EBS Price List contains 4014 distinct items with active prices; however ,after price list collection is run into Demantra, only 3160 distinct items with prices are populated in the msd_dem_price_list table for this series.
    Are there any system constraints that limit the items/pricing records included in the price list collection?
    Thanks
    Edited by: user566845 on Oct 18, 2010 3:10 PM

    Hi Raj,
    Thanks a lot for the reply.
    Actually I was thinking of loading the price at a daily level and at a Item - Location level so I'll have the SALES_DATE, ITEM_CODE, LOCATION_CODE, PRICE colums.
    Let's say that I have the next situation: if one product has price 5 starting with 01.01.2011 till 05.31.2011 and starting with that date the price will be 6. How do I define that in the flat file ?
    1. I insert 2 lines i.e.
    SALES_DATE ITEM_CODE LOCATION_CODE PRICE
    01.01.2011 X Y 5
    05.31.2011 X Y 6
    OR
    2. I insert 1 line for each date starting with 01.01.2011 till 05.31.2011 and so on i.e.
    SALES_DATE ITEM_CODE LOCATION_CODE PRICE
    01.02.2011 X Y 5
    01.03.2011 X Y 5
    01.04.2011 X Y 5
    05.31.2011 X Y 6
    06.01.2011 X Y 6
    06.02.2011 X Y 6
    06.03.2011 X Y 6
    Thak you
    AMC

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

  • Price List and Last Purchase Price.

    When a Price List based on the Last Purchase Price is created, we have found that a set of problems arise in companies using u201CGoods Receipt POu201D.
    EXAMPLE:
    Every article received from their suppliers are enclosed with a GOODS RECEIPT.
    After 20 days, the supplier issue an invoice including all the Goods Receipts provided during the corresponding month.
    Recall that the company has a List Price based on the Last Purchase price.
    But, since the Goods Receipt do not update the Last Purchase Price, all new articles in the database, are kept without a Selling Price, and the old articles are not subject to an updated Selling Price.  I enclose a draft to show this behavior.
    [http://s2.subirimagenes.com/privadas/previo/thump_1047037compraitem.jpg]
    You may note that SAP HELP explains:
    1.In addition, two price lists are automatically created and calculated by the system:
        - Last purchase price list u2013 the price list is automatically updated when an item enters the stock with its entering price.
        - Last evaluated price list u2013 the price list is automatically updated after you run the Inventory Valuation report.
    [http://s2.subirimagenes.com/privadas/previo/thump_1047038help-sap-b1-2007a.jpg]
    But this does not happen.
    Selling Prices are only updated when the corresponding invoice is entered, but this happen too late, since the invoice issued 20 days after by the supplier.
    In other words, it does not work properly for the company.   The example shows:
    1 Goods Receipt PO
    2 Item master data with Price calculated alter Goods Receipt processing
    3 base Price driven to zero.
    If Goods Receipts do not update the last Purchase, is not easy to understand why a Selling Price can be based in the Las Purchase Price.
    Our customer and me, think that there is a programming error.
    Otherwise, the system behavior has not be properly explained to SAP users.
    The described facts happen with SAP 2007A PL 49, and SAP 8 PL 5, both versions properly tested
    That we need:  That Goods Receipt update the last purchase Price and Price List could be constructed don Item bases cost.

    Hi Dana,
    I'm not sure if this will solve your problem, but, you can create a new price list which is based on the "Last Purchase Price" and set as a factor of 1.65. I'm not sure if the "Last Purchase Price" updates from the Goods Receipt or the PO though?
    Does this sound like it might solve your problem?

Maybe you are looking for

  • HD Live Capture (aka Capture Now fcp7) into FCPX

    I imagine that if you can capture live footage from an onboard iSight camera, you should be able to plug something a little nicer in that gives you a little more control. I've been struggling with this for the past few weeks and have been to a few di

  • Repcleanupu and date formats

    Post Author: Thang Nguyen CA Forum: Data Quality i've got SQL Server installed with a date format of YYYY-DD-MM. When I run repcleanupu it tries to execute a query with a date format of YYYY-MM-DD so results in an out of range problem when it does th

  • Login Issues: Win7, Skype 6.14

    Hi I've had login issues since just after I accepted a windows update last night. (no idea if that's just a coincidence?) I've read thru several other posts here, tried re-installing skype several times (also re-installed an older version), checked c

  • Locking Text to a screen position...

    Does anyone know where I can find a tutorial about how to lock one layer to another...meaning, if it's text over a handheld shot, the text moves with the shot. Short of keyframing each frame individually, (which doesn't look great) I'm not sure how t

  • Diff between WLAI sp2 and sp3

    Hi, Can somebody tell me the major difference between Weblogic Integration 2.0 SP2 and SP3 w.r.t Weblogic Application Integration. Basically the enhancements in ADK. Do I need to change anything for my adapter ? I see and extra directory called licen