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

Similar Messages

  • 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

  • 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

  • Reg:Variant Dependencies & Pricing

    Hi Gurus,
    I have configured up to the below mentioned steps.
    1.Creation of Material Master Record with required settings
    2.Creation of Characteristic and it's values
    3.Craetion of class
    4.Assign characteristics to Class
    5.Create configuration profile and assign it to MMR
    I have strucked at pricing and dependencies maintenance.I need some info.related to pricing maintenance and dependencies creation.Kindly help me on this regard.
    Thnaks & Regards,
    Sash.

    Hi,
    The following needs to be set up for the variant pricing of configurable product .
    Create pricing condition VA00 for the variants
    Create characteristics
    Create variant table
    Create dependencies
    Allocate the dependencies to the configuration profile
    Procedure:
    1)Create Pricing Condition-VK11 Transaction code.
    Condition Type:VA00
    Maintain the required pricing here.
    Note:The condition type VA00 is defined as a fixed rate surcharge, which is applied to the base price of the product ordered. This variant condition is created as part of the pricing master data for each of the configurable options for which a surcharge should apply
    The condition type VA01 could alternatively be used in variant pricing to increase the price of the higher level material by a fixed percentage rate.
    Maintain the prices for all the variants (Characteristics) you have create.
    Note:The entry of the Variants is case sensitive.
    2)Create Characteristics:Surcharge
    Transaction code:CT04
    Create a Characteristics name to identify your Pricing Characteristic.
    In the addition data tab maintain the following:
    Table Name:VKOND and Field name :SDCOM.
    Note:
    The characteristic u201CSURCHARGEu201D references to the field u201CVKONDu201D of the u201CSDCOMu201D table. It provides the link between the materialu2019s variant configuration and the variant conditions that were entered.
    3)Create Variant Table::
    Transaction code:CU61
    Maintain the characteristics in the Variant table.(Char.Name,Char.Value,Var.Cond )
    Save it..
    4) Maintain the Variant table :
    Transaction code:Cu60
    Maintain values for Example
    Characteristic Name   Characteristic Value  Variant condition
    Size                                     10                             Size_10
    Colour                                  Red                         Colour_Red
    Colour                                  Blue                          Colour_blue
    Save the table.
    5)Create Dependencies:
    Transaction code:CU01
    Maintain the required description and in dependency editor
    You see the screen u201CEdit Dependencyu201D. Select Insert line icon five times to insert lines. Enter the following on the inserted lines.
    TABLE TBL_PRICING                
         (CHAR_NAME  = 'Size',           
          CHAR_VALUE = $self.Size,       
          VAR_COND   = $self.SURCHARGE).
    Note: This procedure references the Table TBL__PRICING.  The dependency checks to see which value was chosen for the 'Size' Option and specifies the appropriate Variant Condition to this choice. 
    Check whether your dependency has errors or not.
    After that Save it and make sure that it has been released(Which you can find in the initial screen)
    6)_Allocate Dependency to the Characteristics profile of the material:
    Transaction code:CU42
    In the screen u201CChange Configuration profile for Material: Profile Overview u201D. On this screen, maintain your profile and select Profile Detail icon.
    You see u201CChange Configuration profile for Material: Detail Screenu201D. Under the Section Header Basic Data, select Object dependencies button.
    You see the screen u201CMaintain Dependency: Allocation to Objectsu201D screen.
    Maintain your dependency here in this configuration profile for the material.
    Once it is done cross check in transaction code 'PMEVC' Transaction code for ECC 6.0.
    Simulate your Variant configured material and cross check.
    Hope it helps.
    The steps may look little bit exhaustive but the process of maintaining it shall be fruitful.
    Have a Nice Day.
    REgards,
    Ravi

  • Reg: Error in adapter Engine Monitoring

    Hi Guys,
                In my RFC to File Scenario i got error as Adapter message property was configured was mandatory element but there is no Dynamic ocnfiguration elementin XI MEssage Header. This is occur in adapter engine monitoring in RWB.
    Thanks

    This error comes if you there is a problem in passing the file via dynamic configuration
    for this if you want temporary solution like filename not necessarily be dynamic then go to receiver file adapter then
    adapter specific message attributes deselect filed Failif file name does not.... sme option where you can uncheck the failure option
    and in this case need to provide the filename and file will get generated with this filename if there is no filename generates using dynamic configuration
    for this to resolve permanently then check the filename is passed or not  to file adapter in moni in dynamicconfiguratuoin tab of callAdapter pipeline service
    HTH
    Rajesh

  • 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

  • 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

Maybe you are looking for