Price list (customer specific)

Hi all,
I've been working on a query to create a price list on customers including discount by group
Looks like this :
SELECT T0.ItemCode, T0.ItemName, T0.U_IMPA, T0.U_ISSA,T1.Price, T1.Currency'cur',T1.PriceList, T4.ListName, T2.ItmsGrpNam, T5.Discount FROM OITM T0
INNER JOIN ITM1 T1 ON T0.ItemCode = T1.ItemCode
INNER JOIN OITB T2 ON T0.ItmsGrpCod = T2.ItmsGrpCod
INNER JOIN OSPG T3 ON T0.CardCode = T3.CardCode
INNER JOIN OPLN T4 ON T1.PriceList = T4.ListNum
INNER JOIN OSPG T5 ON T5.Discount = T5.Discount
WHERE T3.CardCode='[%0]' and T4.ListName= '[%1]'
   AND (T1.Price >0)
However if i select a customer and price list, the result is empty.
When i remove " WHERE T3.Cardcode='[0%]' it shows the result of all customers and all of there discounts.
I'm not quite sure if the T3.Cardcode make it looking into the OSPG column, because there are no articles in that one, just discounts.
Do i miss something (probably)
Thanks in advance !

Hi
Try this:
SELECT T0.ItemCode, T0.ItemName, T0.U_IMPA, T0.U_ISSA,T1.Price, T1.Currency'cur',T1.PriceList, T4.ListName, T2.ItmsGrpNam, T3.Discount
FROM OITM T0
INNER JOIN ITM1 T1 ON T0.ItemCode = T1.ItemCode AND (T1.Price >0)
INNER JOIN OITB T2 ON T0.ItmsGrpCod = T2.ItmsGrpCod
LEFT JOIN OSPG T3 ON T0.CardCode = T3.CardCode AND T3.CardCode='[%0\]'
INNER JOIN OPLN T4 ON T1.PriceList = T4.ListNum and T4.ListName= '[%1\]'
Thanks,
Gordon

Similar Messages

  • SD: Site Price list vs Customer price group

    Hello Gurus,
    Can someone help me on this topic " :
    The price list defined in customizing (T_Code OVSI, tab Define price list categories for customers) is used to group site in order to maintain the same condition (percentage or amount) for several sites. The price list could be assigned at site level (merchandise category tab) by merchandise category (WRF6-PLTYP_P). It means that the different merchandise categories  could be assigned to different site group.
    But when we are talking about customer, we have to maintain the customer list (T_Code OVSI, tab Define pricing group for customers). The customer price group has to be maintained at customer level (KNVV-KONDA). Does it mean that at customer level we can not make the same split (by merchandise category) as it is possible to do it for the site price list? => For the customer, the customer price group is defined for all materials.
    Is it correct or do I miss something ?
    Furthermore what is the purpose of the Price list field displayed at customer level (KNVV-PLTYP)?
    Kind regards
    Chris

    Both are not related to material
    Price list -pltyp- generally used in giving discounts or surchage based on price list  (whole sale/retail price list)
    Customer group (konda)/ material group( kondm) also used to divide customers and material in to different group - and in general these are used in fixing base price to the customer- customer group-ex: maharastra/AP/TN
    Material group: perishable/non perishable etc..
    Thanks
    Chidambaram

  • 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

  • Multiple Price List

    Hi,
    Can we have multiple price list customer site wise in iStores. Please provide your inputs and share relevant links or documents if any
    Thanks

    Hello,
    We have the profile option to allow customer based price list pricing -
      IBE: Use Customer Account Price List -
    Implementing Customer Account Price Lists       (see full details in the documentation link http://docs.oracle.com/cd/E18727_01/doc.121/e13575/T349071T350278.htm#2657210)
    Use the following steps to implement customer account price lists:
    Step 1 - Set Profile Option
    Step 2 - Link Customer to Price List
    Step 1 - Set Profile Option
    The profile option, IBE: Use Customer Account Price List, controls whether the customer account price lists feature is available to the runtime catalog.
    Set at site level to Yes to use the feature. The default value is null, which is treated as No.
    If this will not meet your requirements, then please provide more details.
    Thank you,
    Debbie

  • Query - Price list report by Customer

    Hi,
    Can I please be advised on Query to obtain result = when reporting on a specific BP customer and to list items with applicable price (as per assigned price list).
    eg. Customer A (assigned to Pricelist 1)
    - item X  $100.00
    - Item Y $150.00
    (above prices display only pricelist 1 item pricing)
    thks and I appreciate any assistance given.
    regards
    Kelly

    Hi, Kelly
    You can display item description within result and set parameter option to choose BP. But there is no method to limit the option to Customer only for now.
    Just refer the following query.
    SELECT T2.[CardCode], T2.[CardName], T1.[ItemCode],T3.[ItemName],  T0.[ListName], T1.[Price] FROM OPLN T0  INNER JOIN ITM1 T1 ON T0.ListNum = T1.PriceList INNER JOIN OCRD T2 ON T0.ListNum = T2.ListNum INNER JOIN OITM T3 ON T1.ItemCode = T3.ItemCode WHERE T2.[CardCode] =[%0]

  • Customer specific price maintanance

    Hi experts,
    we already maintained one base price for customers on price group base. Again my client want to introduce  Customer specific price (how shall i maintain) Is there any condition records maintance for these customers,  pls guide me how to proceed.
    Meera

    Hello,
    the combination of fields for which it is possible to insert a price, depends on the access sequence assigned to the condition type.
    For example access sequence PR00 allows to insert prices with combinations:
    Customer/Material
    Price List Type/Currency/Material
    Price List Type/Currency/Material
    Material
    Best rgards,
    Ivano.

  • IStore: Customer account sites with multiple price list

    Hi,
    We have an account with many sites, each site uses different price list. Say 1 site uses FR price list other uses GR price list.
    Users are suppose to use specific price list only. How can we have the users use their specific price list.
    Thanks in Advance

    Hi,
    For iStore you can setup specialty site based price lists and/or customer account level price lists.
    To setup the customer account level price lists -
    Set the profile option "IBE: Use Customer Account Price List" at the site level to Yes.
    Link the customer to the price list -
    1. Login to Oracle Forms and select Receivables Manager responsibility.
    2. Navigate to Customers > Standard.
    3. Select an account based on Customer Name, Account Number, or Organization Number.
    4. Press the Find button and select an address from the popup window; select Ok.
    5. Select the Order Management tab.
    6. Enter the appropriate price list in the Price List field, and save the form.
    7. Bounce the middle-tier and Web Cache servers.
    Reference:
    Oracle iStore Implementation and Administration Guide Release 12.1 (Part No. E13575-06)
    Chapter 10 Implementing Pricing
    Page 10-21
    Section Implementing Customer Account Price Lists
    OR
    You can setup modifiers for Customer (ie Customer Name) and Store (Minisite_ID) on the price list(s)
    For this setup you would need to set both "IBE: Use Customer Account Price List" and "IBE: Use Price List Associated with Specialty Site" to No.
    Thank you,
    Deborah
    Edited by: user702249 on Apr 10, 2013 6:56 PM

  • Price List specific to Warehouse

    Hi All,
    Is it possible to set a specific price list as default for all goods shipped to customer from a specific warehouse?
    e.g., we have a general warehouse and a VMI warehouse, would it be possible to have price list A as default for all sales documents for goods coming from General warehouse, and price list B for goods coming from VMI warehouse?
    Many thanks for your comments.
    Myran

    Hi,
    In SAP-B1 the prices in the marketing documents are considered from the Price list defined in Business Partner Master data.
    It is not possible to assign a specific price list for particular warehouse.As a work around what you can do is define a price list named Warehouse and maintain the prices of all items.
    When you are creating a marketing document select the particular price list by going to Form settings,Documents tab.The price of the item will be changed automatically
    Regards
    Md.nazeer Shaikh

  • Customer wise Item Wise Price List History Report

    Hello Experts,
    My Customer Wants the Customer wise Item Wise Price List History Report
    Dixit Patel

    Dear Dixit,
    SELECT CardCode,ItemCode,T0.DocDate,DocNum,Price FROM RDR1 T1
    INNER JOIN ORDR T0 ON T1.DocEntry=T0.DocEntry
    ORDER BY CardCode,ItemCode,T0.DocDate DESC
    Is this will be enough?
    Best Regards,
    Hendry Wijaya

  • Customer Master Price List

    Does anyone know if I can run a SAP transaction code that I can get a customer master price list report?  I need to see the customer, item #/SKU# and list price for all items sold to the cusomter.  Any help would be appreciated.  Thanks

    Hi,
    I don't think we have tcode for Customerpricelist but
    You can Get all items for the customer from KNMT Table. get the condition records(KUNMH) for these Materials from A091 table and finally get KBETR (price) based on the condition record from the KONP table. This would be termed as list price-
    Try to post the issue in respective forum ....
    Regards,
    Satya

  • Customer interface - sales channel, price list and tax calculation

    We need to let third party system to upload new customer information into OFS, but I can't see the above 3 fields:
    1 sales channel,
    2 price list
    3 tax calculation
    in the interface tables. The interface tables that I am working on are:
    ra_customers_interface_all
    ra_customer_profiles_int_all
    ra_contact_phones_int_all
    ra_customer_banks_int_all
    ra_cust_pay_method_int_all
    is there other interface table that allow us to set the value of above 3 fields?
    we are using 11i.
    Edited by: shng on Dec 1, 2010 10:43 PM

    Are you creating Sales Order with any reference ? In case of ref. , must be User has changed it at Header Level.
    Else , it could be due to Authorization Object maintained on that user ID. Kindly coo-rdinate with BASIS Cosultant.
    Best Regards,
    Ankur

  • Customer specific prices in Catalog SAP ERP E-Commerce

    Hi Experts,
    We have implemented SAP ERP E-commerce -- ECC 6.0  ISA 5.0
    Initially we implemented a B2B scenario without TREX engine.
    VMC component is active (IPC).
    In the catalog we don't see customer specific prices. What are the steps to enable customer specific prices in the catalog. 
    Do we need TREX engine ?
    Do we need catalog views for customers to get customer specific prices.
    Please advice.
    Thanks and Regards,
    Ram

    Hello Ram,
    Maybe have a read of thread Prices on Product catalog for e-Commerce R/3 this contains some helpful information.
    regards
    Mark

  • Price list assignment to customer

    Hi,
    I have created a customer in Order Management but by default price list coming with some value. But I want to assign my own price list to my customer. Can anyone provide me solution for this.
    Thanks
    Bharat G.

    starter wrote:
    hi luko,
    I have created a price list and customer. But not added order type and price list to the customer. I have just created profile class for credit limit and assigned that profile class to the customer what I have created. Now I want to assign that order type and price list what I created to my customer. But Iam unable to do that. My actual requirement is When Iam doing sales order with my customer I have to get default order type and price list for it. But Iam unable to get them by default. By default some other value is populated in price list field. So I want to populate order type and price list as per customer.
    Regards,
    Bharat G.That is what luko has said..if you wanna know..from where the order type and price list are been defaulted...
    you have to visit the defaulting rules..so that we can figure out the sequence for ordertype and pricelist..
    If you are still confused..just try and add your price list and ordertype for your customer in ship to location..
    just give a try:)
    HTH
    Mahendra

  • Problem using customer-specific task list

    Hi,
    I've created a customer-specific task list zap0 (copy of sap0) and defined additional tasks for the list.
    When using this task list for a change request, I get the message
    Internal Phase Controller Problem
    Message no. /TMWFLOW/TASKLIST176
    The task list has status created, when trying to change the status, I get the message
    INDICATED_CYCLE_NOT_FOUND
    Does anyone know this problem?
    Thanks in advance
    Stephan

    Note 927124 solves the problem ==> thread closed

  • Customizing BCC UI IN ATG 10 SKU PRICE LISTS TAB

    we are working on migrating application from ATG 9 to 10. In our existing implementation we are using pricelists for pricing. we have multiple price lists and sale price for a price list was created by extending the Price item descriptor.
    And we have customized the UI under SKU price lists tab to display the SKU sale price.
    Now in ATG 10, due to flash based UI, the sale price column is not visible. How to customize UI to display the sale price under pricelists tab in SKU section.
    Any alternative design is also helpful.
    Any help is appreciated.
    Thanks.
    V@su

    You may not want to revisit your price item customization at this point, but you could probably eliminate your customization and the need to customize the Flex UI if you used a sale price list. ATG has always had full support for sale pricing in the SKU-based pricing calculators, but did not have full support for sale pricing in the price list calculators until recently (I think 10.0). With the new out-of-the-box features, you'd store sale prices in separate price lists and assign two price lists to every user, one for list prices and one for sale prices.
    I was going to refer you to the Commerce Programming Guide, but the section about implementing sale pricing with price lists has not been updated to match the code. The manual tells you to do things that ATG has already done for you. For example, there is now a salePriceList property defined in the user profile, and the comments in ItemPricingEngine.properties that you can edit to turn on price lists have been updated with the necessary calculator for sale pricing.

Maybe you are looking for

  • Import export wizard in struts similiar to microsoft outlook

    Hello All, A newbie here,I've been assigned a task creating an import/export wizard which is same as the wizard that is in the Microsoft outlook express(File >Import/Export Wizard),I was successful except for the mapping functionality.I'm clueless ho

  • 1-Pass or 2-Pass??

    I asked this question in the AME forum earlier and have received no comments, so I thought I would try here as well. I'm just curious what others have experienced. As an experiment I used a 30 second AVCHD clip that had a few effects added and encode

  • R12 GL Set Up

    Hi Here is the scenario: Company is operating in current Version of 11.5.10 and currently in the process of upgradation. current structure : Multiple SOB,1 Legal Entity, OU and Multiple Inventory Org. Not in MRC Question : How does the transactions a

  • CS6 Trial Illustrator won't open

    I just downloaded Illustrator trial version, it downloaded and installed perfectly but now I can't seem to open it I keep getting an error message. I'm using windows xp can this be fixed?

  • Plz help me ALE/IDOC Scinario documentation

    hi and all, plz help me ale/idoc scinarios documentation plz send to me. thanking u one and all.