Ansicht
Dokumentation

CMM_MAT_STOCK_EXPOSURE_LOAD - Select Material Stock for Exposure and Mark-to-Market Determination

CMM_MAT_STOCK_EXPOSURE_LOAD - Select Material Stock for Exposure and Mark-to-Market Determination

ABAP Short Reference   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

You can use this report to create or update raw exposures based on material stock, to transfer them to Treasury and Risk Management, and to determine their mark-to-market values.

You can run it

  • As an initial feed report, to create stock exposures for the first time
  • To update stock exposures

You also use the report to take a snapshot of material stock records for a selected commodity and company code combination, and to determine and transfer exposure records for that combination. The market and contract conditions for each exposure record are determined and a stock snapshot is saved in the table CMM_VLOGP. The system registers a timestamp in the table TEXT_CTY_EXPOS(COEX)and the table CMM_VLOGP to maintain a consistent material stock snapshot.

Integration

Prerequisites

To run this report, you must first make the following Customizing and Master Data settings:

  • In transaction MM02, assign a physical commodity ID to the relevant materials.
  • Perform the configuration settings for the integration of Logistics with Treasury and Risk Management under Logistics - General → Treasury and Risk Management Integration.
  • Define, for each physical commodity, the stock segments that are relevant for raw exposures. This signifies the level at which exposures can be created: material, plant, storage location, or batch level.
    Do this under Logistics - General → Treasury and Risk Management Integration → Materials Management Settings → Material Stock Raw Exposures → Define Relevance Settings.

  • Segments must only be selected once, the first time you run the report. Changing the segment selection later may lead to inconsistencies in Treasury and Risk Management.

  • Define exposure activity types in Customizing under Financial Supply Chain Management → Treasury and Risk Management → Transaction Manager → General Settings → Exposure Management 2.0 → Define Exposure Activity Types.
  • Perform the four Customizing activities under Financial Supply Chain Management → Treasury and Risk Management → Transaction Manager → General Settings → Exposure Management 2.0 → Exposure Lifecycle.
  • To enable mark-to-market valuations and postings, you must have performed the Customizing settngs under Commodity Management → Revaluation of Logistics Documents → Postings for Mark-to-Market Accounting.

Features

A material mix or alloy can result in more than one commodity ID, and therefore more than one raw exposure.

In the case of batch-based stock exposures, the system determines the stock quantity of a commodity for each segment that requires a raw exposure, by taking the proportion of the relevant commodity in the batch.

When the report is run, the selected objects are locked to prevent changes to them before the report has finished.

For each exposure record transferred, the system derives the market price information and determines the corresponding condition records (CPE and non-CPE).Once the system determines condition records for the market price and contract price, it saves a snapshot in the table CMM_VLOGP.

If objects are locked for editing when you run Select Material Stock for Exposure and Mark-to-Market Determination(transaction MATREX), the system cannot process those objects. Unprocessed objects are stored in the retry table (CMM_MATSTOCK_IDX)for later processing.

Selection

In the Company Code field, you can select one or more company codes. If you leave the field empty, physical commodities from all company codes in your enterprise are included.

In the Physical Commodity field, you can select specific physical commodities for which you want to create/update exposures. If you leave the field empty, all physical commodities are included.

If you select the Simulation Runcheckbox, the system outputs a list of results without transferring them to Treasury and Risk Management.

If you select the Items with Errors Onlycheckbox, only the records in the retry table will be processed. If these records are successfully processed, they are removed from the retry table.

Standard Variants

Output

The system creates raw exposures for the physical commodities you selected. It either transfers them to Treasury and Risk Management or outputs a list, depending on your settings (see above). The list contains header and item data, with one item per header.

Activities

Example






CPI1466 during Backup   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 5817 Date: 20240531 Time: 173240     sap01-206 ( 102 ms )