Ansicht
Dokumentation

Using DCS-Based Market Data in Commodity Pricing Engine (CPE) (New) ( RELNSD_617_CMM_DCSCPE )

Using DCS-Based Market Data in Commodity Pricing Engine (CPE) (New) ( RELNSD_617_CMM_DCSCPE )

CL_GUI_FRONTEND_SERVICES - Frontend Services   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Short text

Using DCS-Based Market Data in Commodity Pricing Engine (CPE) (New)

Use

As of SAP enhancement package 7 for SAP ERP 6.0 (SAP_APPL 617), you can use market data in the commodity pricing engine (CPE), that is based on the derivative contract specification (DCS). It supports quotations of commodity futures including its spot prices in one master data table with the following functions:

  • Use DCS-based quotations in CPE formulas
  • Use DCS-based commodity curves for quotation forecast

Derivative contract specifications reflect more details of the corresponding exchange and its product or contract specification than the classical CPE master data table CPED_PRICEQUOT.

We recommend that you use DCS-based quotations.

DCS-based market data is integrated with the market data interface Datafeed in SAP ERP. For more information, see LOG_SD_COMMODITY_02: Market Data Based on DCS and LOG_MM_COMMODITY_02: Market Data Based on DCS.

You can maintain the new functions in documents that use the new pricing user interface. For more information, see the release note Configurable User Interface for Pricing (New).

DCS-Based Market Data in CPE Formulas

The CPE supports the calculation that uses price quotations from exchanges (such as those published by Platts, Reuters, and others) to determine the price of a material or product. The business information about how commodities can be priced is captured using formulas, known as commodity pricing formulas (CPE formulas). This set of business rules also decides how price quotation data is used to get the final price for commodities. Commodity pricing contains different methods for determining price quotations, such as fixed price quotations, price quotations for a fixed day, or average price quotations. The price quotations are stored as master data and are used to evaluate these CPE formulas during pricing of a business document.

New commodity pricing methods are provided for determining price quotations defined as DCS-based market data, both for spot prices and commodity futures. All market data can be used for provisional or final prices.

DCS-Based Market Data for Quotation Forecast

For DCS-based price quotations, you can now use the quotation forecast function within the CPE formula evaluation, if you have activated the business function FIN_TRM_COMM_RM_3. The quotation forecast function extends the available function that used provisional values for market data not available yet:

  • Instead of using historic quotations or other provisional rules, the system can now also use a DCS-based commodity curve for the provisional evaluation.
  • The derivative contract specification ID (DCS ID) and market identifier code (MIC) combination of the price quotations used in quotation forecast can differ from the DCS ID and MIC combination for price quotations in the final calculation rule. For example, if the final calculation rule refers to a commodity in a less liquid market and the corresponding commodity futures are not available, you can use a commodity future with a different DCS ID and MIC combination.

The following business functions are a prerequisite:

  • Logistics, Commodity Pricing Engine in SD and MM(LOG_CPE_SD_MM), is available as of SAP enhancement package 3 for SAP ERP 6.0.
  • CPE: BAdI-Based Formula Handling(LOG_CPE_FA_FE), is available as of SAP enhancement package 6 for SAP ERP 6.0.

Effects on Existing Data

The use of the DCS-based market data is an option in addition to the classical CPE price quotation data. If you activate the business functions LOG_SD_COMMODITY_02 or LOG_MM_COMMODITY_02, the system behaves in the following way:

  • Price quotations or market data from external sources are still fed into the classical CPE master data table CPED_PRICEQUOT. If configured, market data from external sources is additionally fed into the DCS-based market data table.
  • Already existing CPE formulas in Customizing, master data and business documents still refer to and use price quotations defined in Customizing with the key fields quotation source, quotation type, and quotation name. In a CPE term in Customizing or in the business document, you can choose a DCS-based price quotation instead of the price quotation based on quotation source, quotation type, and quotation name.
  • In Customizing, the user interface is changed accordingly in the following Customizing activities:
Commodity Pricing -> SD-Specific CPE Objects -> Define CPE TermOR
Commodity Pricing -> MM-Specific CPE Objects -> Define CPE Term
The path to define quotation source, quotation type and quotation name in Customizing is changed from:
Commodity Pricing -> Commodity Pricing Engine -> Definition of CPE Quotations-> …
to:
Commodity Pricing -> Commodity Pricing Engine -> Definition of CPE Quotations -> Quotations Based on Quotation Name-> …

We recommend not to mix terms with DCS-based quotations and price quotations based on quotation source, quotation type, and quotation name within the same document.

We recommend that you use either DCS-based quotations or price quotations based on quotation source, quotation type, and quotation name within a complete document flow (for example, from sales contract to final invoice). This implies that you do not change existing business documents from price quotations based on quotation source, quotation type, and quotation name to DCS-based price quotations but finalize the document flow and use DCS-based price quotation in a new document flow.

Effects on Data Transfer

For more information about how market data from external sources is fed by using the Datafeed interface in SAP ERP into the DCS-based market data table, see LOG_SD_COMMODITY_02: Market Data Based on DCS or LOG_MM_COMMODITY_02: Market Data Based on DCS.

The consistency check reports RCPE_CHKPRICEQUOT and RCPE_CHKPRICEQUOT_ALV are only designed for the price quotations based on quotation source, quotation type, and quotation nameand are not enhanced for checks against DCS-based price quotations.

Effects on System Administration

Effects on Customizing

DCS-Based Market Data in CPE Formulas

You make the Customizing settings for the use of DCS-based master data in Customizing under Commodity Pricing -> Commodity Pricing Engine -> Definition of CPE Quotations -> Market Data Based on Derivative Contract Specification.

For more information see see LOG_SD_COMMODITY_02: Market Data Based on DCS or LOG_MM_COMMODITY_02: Market Data Based on DCS.

DCS-Based Master Data for Quotation Forecast

  • The quotation forecast function introduces the new BAdI definition BAdI: CPE Quotation Forecast Routinewithin the CPE formula evaluation. We deliver the following standard implementations that you can display in Customizing under Commodity Pricing -> Commodity Pricing Engine -> General CPE Settings -> Define CPE Routine:
  • Routine 1: Read Curve If Document Permits

  • Routine 2: Always Read Curve

If you want to create your own BAdI implementation, you make the Customizing settings under Commodity Pricing -> Commodity Pricing Engine -> General CPE Settings -> Define Partner- or Customer-Specific CPE Routine -> Period Determination -> BAdI: CPE Quotation Forecast Routine.
  • The new latest evaluation key date routine reuses the implementations of the Reference Date and Time Routine.

You can choose the quotation forecast routine used in the CPE term in Customizing under Commodity Pricing -> SD-Specific CPE Objects -> Define CPE Termor Commodity Pricing -> MM-Specific CPE Objects -> Define CPE Term.

You can choose the latest evaluation key date routine used in the CPE formula in Customizing under Commodity Pricing -> SD-Specific CPE Objects -> Define CPE Formulaor Commodity Pricing -> MM-Specific CPE Objects -> Define CPE Formula.

Further Information

Release notes: LOG_SD_COMMODITY_02: Business Function Contract-to-Cash for Commodities 2 (New), LOG_MM_COMMODITY_02: Business Function Procure-to-Pay for Commodities 2 (New).

SAP Library for SAP ERP under SAP ERP Central Component -> Logistics -> Sales and Distribution -> Pricing and Conditions -> Commodity Pricing.

SAP Library for SAP ERP under SAP ERP Central Component -> Logistics -> Materials Management -> Purchasing -> Conditions and Price Determination -> Commodity Pricing.






BAL_S_LOG - Application Log: Log header data   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 10713 Date: 20240523 Time: 074345     sap01-206 ( 180 ms )