Reg Overview of CPE - Commodity Pricing Engine

Hello ,
   I need to use CPE. Any overview, guide, links will help. I have never worked with it before.
Best Regards!
Sandip

Hi Sandip,
how are you doing? What CPE? ABAP or Java?
Regards,
Thomas

Similar Messages

  • Reg. CPE - Commodity Pricing Engine

    Hi Guys,
    I need to implement this CPE for Treasury Application. However, i found, it is also used in CRM. In case i am right, please provide some general links, overview etc. on its usage and functionalities.
    Best Regards!
    Sandip

    Hi Sandip,
    Try this link: [;
    Help SAP CRM 4.0: http://help.sap.com/saphelp_sm40/helpdata/en/43/1529e043b05a3ae10000000a422035/content.htm
    CRM 7: http://help.sap.com/SAPHELP_CRM70/helpdata/EN/1b/fd0433cf76d04ca50e26ae4470ef12/content.htm
    Best regards,
    Caíque Escaler

  • Pricing engine missing key error

    we use coomodity pricing engine for SD, but for one  sales order condition tab, the formula key is empty, any experts know which part of CPE configuration goes wrong or this is data issue?
    the second issue is the used commodity qty 271g is not tally with order quantity, which is 3000 g for this item, ny experts know which part of CPE configuration goes wrong or this is data issue?

    Is the issue in CRM or R/3?  If it is in R/3, then check the Calculation Type in IMG whether "Q" is set.  If your issue is in CRM, then, I will move this thread to CRM forum
    G. Lakshmipathi

  • Performance issue: Adding a new product line to existing Quote calls pricing engine for existing line a well

    Hi All,
    I need some assistance for my below query...
    If there are already existing some product/quote lines on the quote and then we try to add another new product/quote line to this quote , then  it is taking more time to add the product. As per my understanding it is calling the Pricing engine for the existing line as well. How can we avoid the pricing engine call for the existing lines.
    There are some parameters which we are setting as mentioned below :
    l_control_rec.header_pricing_event := 'BATCH' -- What does this mean when we set to batch
    l_control_rec.price_mode := 'ENTIRE_QUOTE'; -- (possible values could be CHANGE_LINES , QUOTE_LINE)
    l_header_rec.pricing_status_indicator := 'C';
    l_control_rec.calculate_freight_charge_flag := 'Y';
    l_control_rec.calculate_tax_flag := 'Y';
    l_header_rec.tax_status_indicator := 'C';
    Question :Could someone please help us with this whether is there any way with these parameters could be altered or changed to some other value ( like for PRICE_MODE we see this parameter could have some other values like : CHANGE_LINES , QUOTE_LINE etc other than ENTIRE_QUOTE).
    means lets say we do the Pricing Engine call only for the Newly Added quote line but not do it for the Entire Quote again and again..
    Now the other question here could be how do we finally synch the line level price values for all the quote lines upto the Quote header level in form of Totals (TOTAL_LIST_PRICE,TOTAL_TAX, TOTAL_SHIPPING_CHARGE, SURCHARGE, TOTAL_QUOTE_PRICE in aso_quote_headers_all table) ??
    Also is there a way that we don't do the Freight Charge calculation and Tax calculation (means we skip this completely) while adding products to the quote but do it at a later point when doing the Submit to Order functionality.
    Could someone please help with these pricing related parameters and modes to be used in order to get around this performance issue
    Thanks
    Mithun

    Dear Expert,
    Activate your Controlling area as usual and Cost Centers and Profit Center , You can assign an internal order for the particular product line for what you are seeing and can collect the costs of that particular product line exclusively.
    Regards,
    Shankar K B

  • How to capture the calculated (using pricing engine ) quote line price

    Hi everyone,
    Need some help.
    Can anybody explain me:
    How to capture the quote line price on run time when the pricing engine is invoked and at the same time this calculated quote line price should not get updated in the base table(Quoting module in CRM).
    Please help me.
    Thanks,
    Srinivas
    Edited by: user0232 on Aug 26, 2011 8:21 AM

    Hi,
    Which cost to capture is depends on Costing and valuation varients
    Got to OKP6 or OKP8
    Select valuation varient >>> Maintain strategy sequence under MATERIAL VALUATION
    Which system can take first Variable or standard.
    Kapil

  • Pricing Engine call having performance issues

    Hello All,
    Morning need some help with this ,, we are having performance issues with the QP Pricing Engine call using seeded API : qp_preq_grp.price_request
    We are having Pricing Context setup and have about 20 pricing attributes defined/setup with different values.
    The price list is which is passed has a dynamic formula attached to it.  This formula makes use of the pricing attributes and factor lists to provide final price.
    For the Pricing control record we are passing below mentioned parameters :
    p_control_rec.pricing_event := 'LINE';
    p_control_rec.calculate_flag := 'Y';
    p_control_rec.simulation_flag := 'Y';
    p_control_rec.manual_discount_flag := 'Y';
    Could someone please assist as to how we could trace or debug this pricing performance issue , means what exactly is causing the pricing call to take time.. Is there any other way other than taking a trace file and geting a tkprof.
    meaning could something be analysed or checked within Pricing debug/trace itself to see what is causing the performance to degrade (specific to pricing debug)
    Thanks

    Since you are using a formula to come up with a price, you no longer need the calcualte price flag as 'Y' . Pass as following:
    p_control_rec.calculate_flag := 'P';  --- 'Partial Price; indicates that Pricing will not be calculated automatically by the system, but other charges will be'
    OR, if you do not need the shipping charges to be calculated as well, pass the value as :
    p_control_rec.calculate_flag := 'N';
    Please let me know.
    Regards,
    Dipanjan

  • Pricing Engines in ATG

    HI
    when pricing engines are called in atg?
    will it call from pipeline or other than that ?
    if it will call from pipeline then which pipeline?

    PricingEngine and calculators are called when there is a modification on the order.
    a.Additems to order
    b. remove items from order
    c update quantity of the items in the order
    d. finally when the order is traversing different states (submitted , no action required , refunded etc..,)
    Typically in e-commerce flow it could be
    on 1. Add to Cart
    2. Remove from cart
    3. Adding Shipping information
    4. Check out
    5. Order Confirmation
    6. Taxation
    ProcessOrderwithReprice , PriceOrder are two which come to mind
    Regards
    Sundar M R
    Edited by: Sundar on May 8, 2013 3:00 PM

  • Sales Order Pricing Calculation using Pxternal Pricing Engine

    I have a customer who would like to call an External Pricing Engine to calculate the pricing for sales orders. This is from an ECC system and not from a CRM system. Has any one done it?
    What would be the right user exit to make such a call to the external system and get the prices and continue the process? Can you please share your experiences?
    Any sample code will be very much appreciated.
    Thanks.

    Thanks Aashrith.
    We would like make an RFC call to the external system. For example, in Banking, it can be done as stated in the documentation: Interface to External Price Calculators - Price Calculator for Financial Instruments - SAP Library .
    My question is: Can we do something similar to this to determine pricing in sales order?  If so where can we make that RFC call?
    Thanks again.
    Leo

  • External Pricing Engine

    I have a customer who would like to call an External Pricing Engine to calculate the pricing for sales orders. This is from an ECC system and not from a CRM system. Has any one done it?
    What would be the right user exit to make such a call to the external system and get the prices and continue the process? Can you please share your experiences?
    Thanks.

    Thanks Aashrith.
    We would like make an RFC call to the external system. For example, in Banking, it can be done as stated in the documentation: Interface to External Price Calculators - Price Calculator for Financial Instruments - SAP Library .
    My question is: Can we do something similar to this to determine pricing in sales order?  If so where can we make that RFC call?
    Thanks again.
    Leo

  • Configurtor and pricing engine

    he folks, I would like to know information regarding the configurator and pricing engine firing sequence, like when enter the order quantity then tab out to next field the pricing engine fires, like after entering the order quantity then tab out to next field and then launch the configurator during this also the pricing engine fires or not? Please let me know because we have serious performance issue when we launch the configurator from sales order form.
    Thanks,
    mahesh

    Is the issue in CRM or R/3?  If it is in R/3, then check the Calculation Type in IMG whether "Q" is set.  If your issue is in CRM, then, I will move this thread to CRM forum
    G. Lakshmipathi

  • Is there a list of all OM functions (from Sales Order Screen) which, when order or line is saved, the pricing engine is called?

    I have been asked to give a list of all fields, when added/updated and saved, will then fire the Pricing engine.
    Does such a list of actions on the sales order screens (which result in subsequent call to pricing engine) exist?

    thanks for the replies. 
    Modifying the item category is not desirable, as this change will affect any orders in progress. 
    The line on the order is reflecting billing relevant (per item cat) and is waiting for the delivery to perform the billing.  The delivery is reflecting comleted, as the item has been identified as not billing relevan.  As the current status of the order is correct, running the program to update/correct the status has no effect. 
    Ultimately, I am looking for a process that will accept the order and line item and subsequently touch required tables to reflect a completed line.
    thanks,
    Wade

  • Class Cast Exception in Pricing Engine with ATG 9.1

    Hi All,
    I'm getting the below exception when trying to deploy projects through BCC.
    Basically this is getting called from some Out of the box scheduler service when project is deployed.
    Any pointers on how to prevent this will be immensely helpful..
    Thanks in advance.
    [12/5/11 2:43:48:158 CST] 0000003f SystemOut O /atg/commerce/pricing/ShippingPricingEngine --- CONTAINER:atg.repository.RepositoryException: Attempt to execute or build a query with a Query or QueryExpression object that is null or was not created by this repository.; SOURCE:java.lang.ClassCastException: atg.repository.query.AndQuery incompatible with atg.adapter.gsa.query.Clause
    at atg.adapter.gsa.GSAItemDescriptor.executeQuery(GSAItemDescriptor.java:7275)
    at atg.adapter.gsa.GSAView.executeUncachedQuery(GSAView.java:357)
    at atg.repository.query.QueryCache.executeUncachedQuery(QueryCache.java:693)
    at atg.repository.query.QueryCache.populateEntry(QueryCache.java:905)
    at atg.repository.query.QueryCache.executeCachedQuery(QueryCache.java:433)
    at atg.repository.RepositoryViewImpl.executeQuery(RepositoryViewImpl.java:344)
    at atg.adapter.gsa.GSAView.executeQuery(GSAView.java:306)
    at atg.repository.rql.RqlStatement.executeQuery(RqlStatement.java:211)
    at atg.commerce.pricing.PricingEngineService.findGlobalPromotions(PricingEngineService.java:488)
    at atg.commerce.pricing.PricingEngineService.loadGlobalPromotions(PricingEngineService.java:531)
    at atg.commerce.pricing.PricingEngineService.performScheduledTask(PricingEngineService.java:635)
    at atg.service.scheduler.ScheduledJob.runJobs(ScheduledJob.java:441)
    at atg.service.scheduler.Scheduler$2handler.run(Scheduler.java:760)
    Caused by :java.lang.ClassCastException: atg.repository.query.AndQuery incompatible with atg.adapter.gsa.query.Clause
    at atg.adapter.gsa.GSAItemDescriptor.executeQuery(GSAItemDescriptor.java:7271)
    at atg.adapter.gsa.GSAView.executeUncachedQuery(GSAView.java:357)
    at atg.repository.query.QueryCache.executeUncachedQuery(QueryCache.java:693)
    at atg.repository.query.QueryCache.populateEntry(QueryCache.java:905)
    at atg.repository.query.QueryCache.executeCachedQuery(QueryCache.java:433)
    at atg.repository.RepositoryViewImpl.executeQuery(RepositoryViewImpl.java:344)
    at atg.adapter.gsa.GSAView.executeQuery(GSAView.java:306)
    at atg.repository.rql.RqlStatement.executeQuery(RqlStatement.java:211)
    at atg.commerce.pricing.PricingEngineService.findGlobalPromotions(PricingEngineService.java:488)
    at atg.commerce.pricing.PricingEngineService.loadGlobalPromotions(PricingEngineService.java:531)
    at atg.commerce.pricing.PricingEngineService.performScheduledTask(PricingEngineService.java:635)
    at atg.service.scheduler.ScheduledJob.runJobs(ScheduledJob.java:441)
    at atg.service.scheduler.Scheduler$2handler.run(Scheduler.java:760)
    [12/5/11 2:43:48:159 CST] 0000003f SystemOut O
    [12/5/11 2:43:49:181 CST] 00000040 SystemOut O /atg/commerce/pricing/OrderPricingEngine --- CONTAINER:atg.repository.RepositoryException: Attempt to execute or build a query with a Query or QueryExpression object that is null or was not created by this repository.; SOURCE:java.lang.ClassCastException: atg.repository.query.AndQuery incompatible with atg.adapter.gsa.query.Clause
    at atg.adapter.gsa.GSAItemDescriptor.executeQuery(GSAItemDescriptor.java:7275)
    at atg.adapter.gsa.GSAView.executeUncachedQuery(GSAView.java:357)
    at atg.repository.query.QueryCache.executeUncachedQuery(QueryCache.java:693)
    at atg.repository.query.QueryCache.populateEntry(QueryCache.java:905)
    at atg.repository.query.QueryCache.executeCachedQuery(QueryCache.java:433)
    at atg.repository.RepositoryViewImpl.executeQuery(RepositoryViewImpl.java:344)
    at atg.adapter.gsa.GSAView.executeQuery(GSAView.java:306)
    at atg.repository.rql.RqlStatement.executeQuery(RqlStatement.java:211)
    at atg.commerce.pricing.PricingEngineService.findGlobalPromotions(PricingEngineService.java:488)
    at atg.commerce.pricing.PricingEngineService.loadGlobalPromotions(PricingEngineService.java:531)
    at atg.commerce.pricing.PricingEngineService.performScheduledTask(PricingEngineService.java:635)
    at atg.service.scheduler.ScheduledJob.runJobs(ScheduledJob.java:441)
    at atg.service.scheduler.Scheduler$2handler.run(Scheduler.java:760)
    Caused by :java.lang.ClassCastException: atg.repository.query.AndQuery incompatible with atg.adapter.gsa.query.Clause
    at atg.adapter.gsa.GSAItemDescriptor.executeQuery(GSAItemDescriptor.java:7271)
    at atg.adapter.gsa.GSAView.executeUncachedQuery(GSAView.java:357)
    at atg.repository.query.QueryCache.executeUncachedQuery(QueryCache.java:693)
    at atg.repository.query.QueryCache.populateEntry(QueryCache.java:905)
    at atg.repository.query.QueryCache.executeCachedQuery(QueryCache.java:433)
    at atg.repository.RepositoryViewImpl.executeQuery(RepositoryViewImpl.java:344)
    at atg.adapter.gsa.GSAView.executeQuery(GSAView.java:306)
    at atg.repository.rql.RqlStatement.executeQuery(RqlStatement.java:211)
    at atg.commerce.pricing.PricingEngineService.findGlobalPromotions(PricingEngineService.java:488)
    at atg.commerce.pricing.PricingEngineService.loadGlobalPromotions(PricingEngineService.java:531)
    at atg.commerce.pricing.PricingEngineService.performScheduledTask(PricingEngineService.java:635)
    at atg.service.scheduler.ScheduledJob.runJobs(ScheduledJob.java:441)
    at atg.service.scheduler.Scheduler$2handler.run(Scheduler.java:760)
    [12/5/11 2:43:49:181 CST] 00000040 SystemOut O
    [12/5/11 2:45:17:941 CST] 00000042 SystemOut O /atg/commerce/pricing/ItemPricingEngine --- CONTAINER:atg.repository.RepositoryException: Attempt to execute or build a query with a Query or QueryExpression object that is null or was not created by this repository.; SOURCE:java.lang.ClassCastException: atg.repository.query.AndQuery incompatible with atg.adapter.gsa.query.Clause
    at atg.adapter.gsa.GSAItemDescriptor.executeQuery(GSAItemDescriptor.java:7275)
    at atg.adapter.gsa.GSAView.executeUncachedQuery(GSAView.java:357)
    at atg.repository.query.QueryCache.executeUncachedQuery(QueryCache.java:693)
    at atg.repository.query.QueryCache.populateEntry(QueryCache.java:905)
    at atg.repository.query.QueryCache.executeCachedQuery(QueryCache.java:433)
    at atg.repository.RepositoryViewImpl.executeQuery(RepositoryViewImpl.java:344)
    at atg.adapter.gsa.GSAView.executeQuery(GSAView.java:306)
    at atg.repository.rql.RqlStatement.executeQuery(RqlStatement.java:211)
    at atg.commerce.pricing.PricingEngineService.findGlobalPromotions(PricingEngineService.java:488)
    at atg.commerce.pricing.PricingEngineService.loadGlobalPromotions(PricingEngineService.java:531)
    at atg.commerce.pricing.PricingEngineService.performScheduledTask(PricingEngineService.java:635)
    at atg.service.scheduler.ScheduledJob.runJobs(ScheduledJob.java:441)
    at atg.service.scheduler.Scheduler$2handler.run(Scheduler.java:760)
    Caused by :java.lang.ClassCastException: atg.repository.query.AndQuery incompatible with atg.adapter.gsa.query.Clause
    at atg.adapter.gsa.GSAItemDescriptor.executeQuery(GSAItemDescriptor.java:7271)
    at atg.adapter.gsa.GSAView.executeUncachedQuery(GSAView.java:357)
    at atg.repository.query.QueryCache.executeUncachedQuery(QueryCache.java:693)
    at atg.repository.query.QueryCache.populateEntry(QueryCache.java:905)
    at atg.repository.query.QueryCache.executeCachedQuery(QueryCache.java:433)
    at atg.repository.RepositoryViewImpl.executeQuery(RepositoryViewImpl.java:344)
    at atg.adapter.gsa.GSAView.executeQuery(GSAView.java:306)
    at atg.repository.rql.RqlStatement.executeQuery(RqlStatement.java:211)
    at atg.commerce.pricing.PricingEngineService.findGlobalPromotions(PricingEngineService.java:488)
    at atg.commerce.pricing.PricingEngineService.loadGlobalPromotions(PricingEngineService.java:531)
    at atg.commerce.pricing.PricingEngineService.performScheduledTask(PricingEngineService.java:635)
    at atg.service.scheduler.ScheduledJob.runJobs(ScheduledJob.java:441)
    at atg.service.scheduler.Scheduler$2handler.run(Scheduler.java:760)
    [12/5/11 2:45:17:942 CST] 00000042 SystemOut O

    Hi,
    This error is happening due to these scheduled tasks running on a versioned (BCC) instance. They are not needed on the BCC and not designed to work in this situation.
    You should just set the schedules on these 3 components to:
    updateSchedule^=/Constants.null
    in a .properties file.
    Thanks.
    Nick Glover
    Oracle Support for ATG Products

  • Reg ABAP as UME for J2EE engine with portal

    Hi ,
    I am using ABAP as the UME for J2EE engine.
    The main user is j2ee_admin. In case of login to portal with this user there is no roles assigned to this user.
    what roles should i add in the R/3 side to make this available  ?
    I am also not able to create users or access any role related operation in the UME interface available for the J2EE engine.
    Any suggestions..
    Regards
    Bharathwaj

    Hi Bharthwaj
    Since thr portal user and Roles are relies on portal database u used Only SAP system as the UME tha's why
    u cant's assigned or get any role in the portal
    SO if u want to use SAP system as UME u should use
    datasource Read only SAP system + Database
    regards,
    kaushal

  • Pricing engine  comdity qty/price

    we want to know how used commodity qty 690g is derived? and where can we see the price maintained for fixed rate 30 USD as attached?
    also how formula value is calculated?
    thanks

    Is the issue in CRM or R/3?  If it is in R/3, then check the Calculation Type in IMG whether "Q" is set.  If your issue is in CRM, then, I will move this thread to CRM forum
    G. Lakshmipathi

  • Reg:Getting MAP into Sales Pricing Calculation

    Hi Gurus,
                 Could you provide information to get the Moving Average Price into the Sales Pricing Calculation in IS Retail?
    Regards,
    R.K

    Hi,
    Please configure condition type VPRS in your Sales pricing procedure and mark it as statistical.
    Then allow the cost calculation indicator in your Item catogry definition.
    Please maintain the same and check with the sales order pricing.
    It should pick up the Standard price or Moving average price from material master.
    Reward points if this helps.
    Regards,
    Harsh

Maybe you are looking for

  • IPhone OS 4 car integration

    Dear all, I'm facing a problem since yesterday's update of my iPhone 3G to iOS4. I can't use it any longer with my car audio since I get the error message "no media found". This is on a new Renault Megane 3 with Arkamys Audio system. A similar proble

  • Data Level Security In OBIEE 11g based on the filters setup in RPD

    Hello All, We are trying to implement the data level security on a BI publisher report that is using BI server as the data source. The filters are created in the RPD based on user login ( session variable USER). From the documentation of BI publisher

  • Not CASE or DECODE

    I have a table with say a column named "COLOR" with 500 different values - lets say 3 of the values are red white and blue. There are 497 others I want insert from table with the color column into another table named "OTHER" But everytime I hit a blu

  • PROBLEMS : ODBC(POLITE) FROM FORMS9i ON XP

    We had an application running on Polite (Oracle Lite 5.0.1), on a windows2000 client, executing from Forms6i. This worked fine. Now (corporative requirements), it has to run on a client WindowsXp Profesional. We have installed Forms9i but we can't fi

  • Installation error in unix

    When i'm trying to install ODI -i got this error in unix machine Disk1/install/runInstaller: Exec format error. Wrong Architecture. does any one know wheat can be the problem ? Thanks Edited by: user13299498 on 00:27 11/08/2011