Show TOC

 Procure-to-Pay for Commodities 2

 

Technical Data

Technical Name of Business Function

LOG_MM_COMMODITY_02

Type of business function

Enterprise Business Function

Available as of

SAP Enhancement Package 7 for SAP ERP 6.0

Technical Usage

Central Applications

Application Component

Materials Management (MM), Commodity Management in Logistics (LO-CMM), Treasury and Risk Management Integration (LO-INT-TRM)

Required Business Function

Procure-to-Pay for Commodities (LOG_MM_COMMODITY)

This business function provides you with new functions for existing business function Procure-to-Pay for Commodities (LOG_MM_COMMODITY). These new features supplement the process flow in Materials Management and make the processes needed for dealing with commodities far more efficient.

The enhancements include the following functions:

  • Automated Processes for Differential Invoicing

  • Period-End Valuation in Materials Management

  • Market Data Based on Derivative Contract Specifications (DCS)

  • Revaluation of Logistics Documents

  • Analytics in Materials Management

  • Commodity Pricing Engine (CPE) Enhancements:

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

    • Suppressing Commodity Pricing Engine (CPE) Blocking Reasons

    • Handling of Price Fixation Options

    • CPE Extension

  • Configurable Parameters and Formulas in Pricing

  • Configurable User Interface for Pricing

Integration

Some of the functions that you can activate for Materials Management using business function Procure-to-Pay for Commodities 2 are also available in Sales and Distribution, providing you have activated business function Contract-to-Cash for Commodities 2 (LOG_SD_COMMODITY_02).

Prerequisites

  • You have installed the following components as of the version mentioned:

    Type of Component

    Component

    Required for the Following Features Only

    Software Component

    SAP_APPL 617

    BI Content

    SAP NetWeaver 7.31 and SAP NetWeaver 7.4 BI Content Add-On 7.47 SP05

    Analytics in Materials Management (Mark-to-Market Reporting) (optional)

Note Note

Installing the BI Content listed above is optional for the function Analytics in Materials Management:

If you do not install this BI Content, you can still calculate and analyze mark-to-market values in the backend system using local DataSources, Operational Data Providers and Queries.

If you are using SAP Business Information Warehouse (SAP BW) as of SAP NetWeaver 7.31 and SAP NetWeaver 7.4 BI Content Add-On 7.47 SP05, and have activated the relevant content, you can also use the BI Content for the function Analytics in Materials Management.

End of the note.

Features

Automated Processes for Differential Invoicing

You can automate the differential invoicing process by using IDocs in combination with Electronic Data Interchange (EDI). This function enables differential invoicing to support receiving EDI invoices.

In addition, you can use Business Application Programming Interfaces (BAPIs) to automate differential invoicing. The following BAPIs are available regarding data entry within differential invoicing:

  • BAPI_INCOMINGINVOICE_CREATE

  • BAPI_INCOMINGINVOICE_CREATE1

  • BAPI_INCOMINGINVOICE_CHANGE

  • BAPI_INCOMINGINVOICE_PARK

  • BAPI_INCOMINGINVOICE_GETLIST

  • BAPI_INCOMINGINVOICE_POST

If you want to use automated processes in differential invoicing, you need to define the two-step differential invoicing process in Customizing for Materials Management under Start of the navigation path Logistics Invoice Verification Next navigation step Incoming Invoice Next navigation step Differential Invoicing Next navigation step Define Differential Invoicing Process End of the navigation path.

For further information, see Differential Invoicing in Commodity Management.

Period-End Valuation in Materials Management

When buying a commodity, the price can remain floating up until the final invoice. For example, the quality of a particular batch may fluctuate and therefore influence the price, or the market price may change. You use period-end valuation (PEV) for period-based accruals. As long as you have not yet posted a final invoice with a posting date on or before the valuation key date, the system determines and posts an accrual amount for commodity goods receipt items.

The accrual amount is determined by calculating the difference between an anticipated final invoice amount and the amount actually posted. You can define that the accrual amount must be approved before it can be posted. A reset posting for the accrual amount is made at the start of the subsequent period. The final invoice signals the end of the process.

Period-end valuation includes the following features:

  • Integration of other components

    • You can use period-end valuation for objects belonging to trading contracts in the Global Trade Management component. At the end of the period-end valuation, the system posts the verified accrual amount and the approved accrual amount (if defined) to Financial Accounting (FI). To use period-end valuation for objects belonging to trading contracts, you must activate business function Trade, Integration with Commodity Management 2.0 (ISR_GLT_CMMINTEG).

      For more information, see SAP Library for SAP ERP on the SAP Help Portal, under http://help.sap.com/erpInformation published on SAP site Start of the navigation path SAP Enhancement Package 7 for SAP ERP 6.0 Next navigation step Application Help Next navigation step Business Functions Next navigation step Business Functions in SAP ERP Next navigation step Enterprise Business Functions Next navigation step Logistics Next navigation step Trade Next navigation step Trade, Integration with Commodity Management 2.0 End of the navigation path.

    • For market data that is based on derivative contract specifications (DCS), you can use the quotation forecast available in the Commodity Pricing Engine (CPE). To use quotation forecasts, you need to be using the EA-FINSERV software component and you must activate the business function TRM, Financial Risk Management for Commodities 3 (FIN_TRM_COMM_RM_3).

      For more information, see SAP Library for SAP ERP on the SAP Help Portal, under http://help.sap.com/erpInformation published on SAP site Start of the navigation path SAP Enhancement Package 7 for SAP ERP 6.0 Next navigation step Application Help Next navigation step Business Functions Next navigation step Business Functions in SAP ERP Next navigation step Enterprise Business Functions Next navigation step Accounting Next navigation step Financial Supply Chain Management Next navigation step SAP Treasury and Risk Management Next navigation step Financial Risk Management for Commodities Next navigation step TRM, Financial Risk Management for Commodities 3 (Reversible) End of the navigation path.

  • Customer-specific registration of relevant objects

    A Business Add-In is available for you to modify the criteria that the system uses to register objects as relevant for period-end valuation to match your requirements.

  • Automated calculation of the valuation results

    To calculate the anticipated final invoice amount for relevant objects at the end of a period, you can either schedule a report to run as a background process or use a transaction to perform the calculation. The system performs the calculation on a particular key valuation date for a particular company code, providing no final invoice exists with a posting date on or before the valuation key date.

  • Selection and verification of the valuation results

    You can select the calculation result as a valuation result and verify it in the form of a worklist. The valuation result contains the accrual amount, anticipated amount and posted amount, as well as all of the data that is required for the calculation. For each valuation result, you can display the conditions whose data was used by the system to calculate the anticipated final invoice amount.

    You can also trigger a revaluation for each individual valuation result. After you have verified a valuation result, you can define whether or not the result is postable and therefore FI-relevant. You can create an accrual document for one or more valuation results.

  • Simulation mode

    You can calculate the valuation results in simulation mode to verify them in advance.

  • Accrual document approval

    An accrual document contains one or more valuation results. Before you can post an accrual amount to Financial Accounting, you may first have to approve the postable accrual documents, depending on the settings you have defined in Customizing.

  • Completeness check

    At the end of a period, you can check whether any open goods receipt items or open delivery items with goods issue still exist, for which you still have to create a worklist. Similarly, you can also check whether there are any valuation results or accrual documents that still need to be processed.

  • Audit support

    You can display and verify the posting data of an accrual amount and its related documents that were generated by the system in Financial Accounting.

    The system logs any changes made to an accrual document in the change documents.

To be able to use period-end valuation in Materials Management, define the settings in Customizing for Materials Management for the Customizing activities that are grouped under Period-End Valuation for Goods Receipts with Differential Invoicing.

For more information, see Period-End Valuation in Materials Management.

Market Data Based on Derivative Contract Specifications (DCS)

You can use the derivative contract specification (DCS) to enter market data. The derivative contract specification is a template that allows you to create derivatives. It contains rules and conditions that are agreed upon at a particular exchange, and form the contractual basis for a particular financial instrument or for trading a particular commodity. If you use DCS functions, you avoid having to specify each separate derivative for a commodity in order to store market data. You can use the function for processing DCS-based market data for the product types Commodity Future and Listed Option.

To be able to use DCS-based market data, configure the settings in Customizing for Logistics – General under Start of the navigation path Commodity Management Next navigation step Market Data Based on Derivative Contract Specifications End of the navigation path. This is also the Customizing section where you define the relevant physical commodities and market identifier codes (MICs).

For more information about DCS-based market data, see SAP Library for SAP ERP on the SAP Help Portal, under http://help.sap.com/erpInformation published on SAP site Start of the navigation path SAP Enhancement Package 7 for SAP ERP 6.0 Next navigation step Application Help Next navigation step SAP ERP Central Component Next navigation step Accounting Next navigation step SAP Financial Supply Chain Management (FIN-FSCM) Next navigation step SAP Treasury and Risk Management (TRM) Next navigation step Financial Risk Management for Commodities Next navigation step Commodity Market Data Next navigation step DCS-Based Market Data Management End of the navigation path.

For more information about the concept behind derivative contract specifications, see Business Function TRM, Financial Risk Management for Commodities 3 (reversible) (FIN_TRM_COMM_RM_3). In SAP Library for SAP ERP on the SAP Help Portal under http://help.sap.com/erpInformation published on SAP site, choose Start of the navigation path SAP Enhancement Package 7 for SAP ERP 6.0 Next navigation step Application Help Next navigation step Business Functions Next navigation step Business Functions in SAP ERP Next navigation step Enterprise Business Functions Next navigation step Accounting Next navigation step SAP Financial Supply Chain Management Next navigation step SAP Treasury and Risk Management Next navigation step Financial Risk Management for Commodities Next navigation step TRM, Financial Risk Management for Commodities 3 (reversible) End of the navigation path.

Revaluation of Logistics Documents

You can revaluate procurement documents (purchasing contracts and purchase orders) containing floating commodity prices using the latest available market data. You can also recalculate prices in follow-on documents of orders, such as deliveries, goods receipts, and invoices. The revaluation can be a prerequisite for up-to-date exposure reporting and mark-to-market reporting. You use the initial load report CMM_LREV_INIT to index purchase contracts and purchase orders as relevant for document revaluation. These documents can then be revaluated using transaction CMM_LREV.

You make settings for this function in Customizing for Logistics - General, under Start of the navigation path Commodity Management Next navigation step Revaluation of Logistics Documents End of the navigation path

Analytics in Materials Management

You can calculate and report mark-to-market values for purchase contracts and purchase orders in Commodity Management. This allows you to compare the value of a transaction with a current market value. To do this, the system uses market price conditions defined in Customizing. This switch enables the extraction of these values by the Business Information Warehouse (BW) whenever a purchase order or a subsequent (final) invoice is created or changed. The initial load report CMM_LREV_INIT is used to index the documents relevant for mark-to-market calculation and reporting.

You make settings for this function in Customizing for Logistics - General, under Start of the navigation path Commodity Management Next navigation step Analytics Next navigation step Mark-to-Market End of the navigation path

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

You can use market data in the commodity pricing engine (CPE) that is based on the derivative contract specification (DCS). DCS supports quotations of commodity futures including its spot prices in one master data table with the following functions:

  • Use of DCS-based quotations in CPE formulas

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

Recommendation Recommendation

We recommend that you use DCS-based quotations.

End of the recommendation.

Note Note

  • DCS-based market data is integrated with the market data interface Datafeed in SAP ERP.

  • You can maintain the new functions in documents that use the new pricing user interface.

End of the note.

DCS-Based Market Data in CPE Formulas

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

DCS-Based Master Data for Quotation Forecast

Note Note

If you want to use quotation forecast, you must use software component EA-FINSERV and activate the business function TRM, Financial Risk Management for Commodities 3 (FIN_TRM_COMM_RM_3). For more information, see SAP Library for SAP ERP at SAP Help Portal under http://help.sap.com/erpInformation published on SAP site Start of the navigation path SAP Enhancement Package 7 for SAP ERP 6.0 Next navigation step Application Help Next navigation step Business Functions Next navigation step Business Functions in SAP ERP Next navigation step Enterprise Business Functions Next navigation step Accounting Next navigation step Financial Supply Chain Management Next navigation step SAP Treasury and Risk Management Next navigation step Financial Risk Management for Commodities Next navigation step TRM, Financial Risk Management for Commodities 3 (reversible) End of the navigation path.

End of the note.

The quotation forecast function introduces the new BAdI definition BAdI: CPE Quotation Forecast Routine within the CPE formula evaluation. We deliver the following standard implementations that you can display in Customizing under Start of the navigation path Commodity Pricing Next navigation step Commodity Pricing Engine Next navigation step General CPE Settings Next navigation step Define CPE Routine End of the navigation path

  • 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 Start of the navigation path Commodity Pricing Next navigation step Commodity Pricing Engine Next navigation step General CPE Settings Next navigation step Define Partner- or Customer-Specific CPE Routine Next navigation step Period Determination Next navigation step BAdI: CPE Quotation Forecast Routine End of the navigation path.

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 Start of the navigation path Commodity Pricing Next navigation step SD-Specific CPE Objects Next navigation step Define CPE Term End of the navigation path or Start of the navigation path Commodity Pricing Next navigation step MM-Specific CPE Objects Next navigation step Define CPE Term End of the navigation path.

Suppressing Commodity Pricing Engine (CPE) Blocking Reasons

On pricing-condition-type level, you can suppress a CPE blocking reason from being set during CPE formula evaluation. You can use this function, for example, for condition types that are used for controlling purposes but that are not to prevent the posting of final invoices.

You can define CPE-specific settings for a specified condition type in Customizing for Sales and Distribution or Materials Management under Start of the navigation path Commodity Pricing Next navigation step Commodity Pricing Engine Next navigation step Application-Specific CPE Settings Next navigation step Define Condition-Type-Specific Settings End of the navigation path.

Handling of Price Fixation Options

You can use the price fixation process to define and exercise price fixation options when defining pricing rules in the commodity pricing engine (CPE). You define the price fixation option at CPE-term level. As a prerequisite, you must use price quotations based on derivative contract specifications (DCS).

Within price fixation, the following features are available:

  • Price Fixation Option

    • Definition of Price Fixation Option

    • Exercise of Price Fixation Option

Price Fixation Option

Depending on the different interests and the market power of the parties involved, the price negotiation for each commodity usually results in one of the following price types when conducting commodity sales and purchasing activities:

  • Floating price

  • Fixed price

  • Mixture of a floating and a fixed price

A price fixation option means that for the whole price-relevant quantity, a floating price is defined as the starting value and the option can then be used to replace the floating price with an agreed fixed price, either in part or for the whole pricing-relevant quantity.

Definition of Price Fixation Option

When you create a price fixation option, the following functions are available:

  • You can select a CPE term to create a price fixation option.

  • You can define the earliest (optional) and the latest exercise date to determine the period in which the option can be exercised.

  • You can define the following routines:

    • Price Fixation Limit Routine: Calculates the overall used quantity to which a fixed price can be assigned.

    • Price Fixation Quantity Distribution Routine: Determines the quantities that are calculated with a fixed price. The remaining quantity is calculated with a floating price.

Exercise of Price Fixation Option

For each CPE formula term for which you have defined a price fixation option, you can create multiple exercise terms. For each exercise term, you can enter the following data:

  • According to the quantity distribution routine that you selected for the price fixation when defining the price fixation option, you can enter the following quantities or percentages:

    • Agreed proportional distribution based on entered factors

    • Agreed proportional distribution based on calculated ratio between entered absolute quantities and calculated sum of the entered absolute quantities

    • Agreed entered absolute fixed quantities

  • An agreed fixed price, a date or a period

  • Agreed fixed currency exchange rate

You make the Customizing settings for this function in Customizing for Sales and Distribution, under Basic Functions -> Commodity Pricing -> Commodity Pricing Engine -> General CPE Settings -> Define Partner- or Customer-Specific CPE Routine -> Price Fixation.

You make the Customizing settings for this function in Customizing for Materials Management, under Purchasing -> Commodity Pricing -> Commodity Pricing Engine -> General CPE Settings -> Define Partner- or Customer-Specific CPE Routine -> Price Fixation.

A prerequisite of the price fixation process is that the pricing data in a business document can still be changed, for example a sales order is not yet fully and finally invoiced.

CPE Extension

You can define a generic extension of a CPE formula or a CPE term that includes additional data. You link the CPE terms or CPE formulas with a database table by defining a CPE reference name to which you assign exactly one database table. This concept enables you to enhance the CPE functions without having to adjust existing database tables. If you implement the corresponding methods of BAdI: CPE Extension Processing for each specific table, its data is automatically processed together with the other CPE data when a corresponding business document is created, saved, read, or deleted.

You make the Customizing settings for this function in Customizing for Sales and Distribution under Start of the navigation path Basic Functions Next navigation step Commodity Pricing Next navigation step Commodity Pricing Engine Next navigation step General CPE Settings Next navigation step Define CPE Extension End of the navigation path and Start of the navigation path BAdI: CPE Extension Processing End of the navigation path

You make the Customizing settings for this function in Customizing for Materials Management under Start of the navigation path Purchasing Next navigation step Commodity Pricing Next navigation step Commodity Pricing Engine Next navigation step General CPE Settings Next navigation step Define CPE Extension End of the navigation path and Start of the navigation path BAdI: CPE Extension Processing End of the navigation path

Configurable Parameters and Formulas

You can use this infrastructure to define complex pricing rules without programming effort: You create additional pricing-relevant parameters via configuration and use them in assigned BRFplus functions.

These pricing-relevant parameters and the assigned BRFplus function names are saved persistently with the existing pricing data of a business document. You can use the infrastructure to determine the following pricing result types per condition line in a business document:

  • Condition base

  • Condition rate

  • Condition value

A CPF formula in Customizing consists of a list of predefined parameters that hold the information about the necessary context, the rule or rules how to calculate the pricing results, and is characterized by a CPF formula ID. You can use a CPF formula either to calculate only one pricing result or to calculate a combination of the three pricing result types. In Customizing, you can specify to use a BRFplus function for the calculation of a pricing result.

You make the Customizing settings for this function in Customizing for Sales and Distribution under Start of the navigation path Basic Functions Next navigation step Pricing Next navigation step Configurable Parameters and Formulas in Pricing End of the navigation path.

You make the Customizing settings for this function in Customizing for Materials Management under Start of the navigation path Purchasing Next navigation step Conditions Next navigation step Define Price Determination Process Next navigation step Configurable Parameters and Formulas in Pricing End of the navigation path.

You set the Enabled for CPF checkbox in Customizing for Sales and Distribution under Start of the navigation path Basic Functions Next navigation step Pricing Next navigation step Pricing Control Next navigation step Define Condition Types End of the navigation path or for Materials Management under Start of the navigation path Purchasing Next navigation step Conditions Next navigation step Define Price Determination Process Next navigation step Define Condition Types End of the navigation path in the Control data 2 area.

Configurable User Interface for Pricing

You can configure the user interface of pricing data in selected business documents (MM, SD, and GTM).

The configurable user interface for pricing is available at the point where the classical document condition screen for items is available. It provides the following functions in business documents:

  • Select several views of pricing data, predefined by SAP:

    • Pricing Elements: Table: View that corresponds to the classical document condition screen in table format.

    • Pricing Elements: Tree: View that displays details of complex condition data, especially designed for document conditions that include data from commodity pricing engine (CPE) formulas or configurable parameters and formulas (CPF) formulas.

    • CPE Formulas and Terms: Fast entry view to handle multiple CPE condition types.

  • Define additional partner-specific or customer-specific pricing views in Customizing.

  • Override the predefined pricing view names.

  • Define a profile for the Configurable User Interface for Pricing with the following features:

    • Assign the views that you can select for each profile and define the initial view.

    • Determine when the profile is applied based on provided application, pricing procedure, and user role.

    • Define which field configuration is applied.

    • Define the layout of the Pricing Elements: Tree view.

  • Define the field configuration applied to the predefined views Pricing Elements: Tree and CPE Formulas and Terms.

  • Define the field configuration that is to be applied to newly created views by partners and customers

You make the Customizing settings for this function in Customizing for Sales and Distribution under Start of the navigation path Basic Functions Next navigation step Pricing Next navigation step Configurable Pricing User Interface End of the navigation path.

You make the Customizing settings for this function in Customizing for Materials Management under Start of the navigation path Purchasing Next navigation step Conditions Next navigation step Define Price Determination Process Next navigation step Configurable Pricing User Interface End of the navigation path.