Show TOC

Procedure documentationSettings in Logistics

 

This overview describes the basic settings that you need to make in Logistics for integration with Treasury and Risk Management (TRM).

Prerequisites

  • Initial Determination, Creation, and Updating of Raw Exposures

    • After the initial transfer of exposures from Logistics into TRM, you can use the report DET_CTY_EXPOSURE_OF_LOG_DOC (transaction LITRMS) to redetermine the relevance of unprocessed purchase and sales documents containing errors and to create the corresponding raw exposures in TRM if required. For performance reasons, you should not use the report for daily postprocessing of all Logistics documents.

      Note: Before you run this report, you must make Settings in Treasury and Risk Management that are necessary for Logistics-TRM integration.

    • You can use the BAdI: Change Raw Exposures to adjust raw exposures before the data is transferred to Exposure Management in TRM.

  • Revaluation of Logistics Documents

    You can use report CMM_LREV (which is also available by calling transaction CMM_LREV) to revaluate sales and purchasing documents that contain floating prices. The system then uses the latest available market data for this. You can also recalculate prices in follow-on documents of orders. The revaluation can be a prerequisite for up-to-date exposure reporting and mark-to-market reporting.

    As a first step, use the initial load report CMM_LREV_INIT to index purchase contracts, purchase orders, sales contracts and sales orders as relevant for document revaluation. These documents can then be revaluated using transaction CMM_LREV.

  • Relevance Determination

    In certain cases, you must use the BAdI: Relevance Determination at Source Document Item Level to define which logistics documents are taken into account in the integration.

    (The goods receipt document, among others, is defined by default. Note that in purchase orders, you must select the value GR Date as the Pricing Date Category on the Condition Control tab for a purchase order item.)

  • Configure RFC Background Settings

    In transaction SE38, run report CTRM_CREATE_BGRFC_SETTINGS.

    Note: To be able to run this report, you must have authorization for transaction SE38, and the profile assignment for the role SAP_QAP_S_BGRFC_ALL.

    There is one RFC background setting that you need to make manually. To do this, call RFC background configuration via transaction SBGRFCCONF. On the Scheduler: Destination tab, select the destination LOGTRM_BATCH_UPD and set the Scheduler value according to your preferences.

    Value 1 means: The update begins immediately.

    Value 0 means: The update is held, and must be triggered manually via transaction SBGRFCMON.

  • Configure Commodity Pricing

    You must configure commodity pricing (CPE) settings for both the sales and the procurement side (for example condition type, price procedure, quotation):

    • Choose Start of the navigation path Sales and Distribution Next navigation step Basic Functions Next navigation step Pricing Next navigation step Pricing Control End of the navigation path.

    • Choose Start of the navigation path Purchasing Next navigation step Commodity Pricing Next navigation step Commodity Pricing Engine End of the navigation path.

    If you are not using commodity pricing, you can only generate raw exposures with fixed prices from commodity condition types.

  • Enter Pricing Condition Types for Commodity Risk

    You must enter at least one condition type for the commodity risk. You make this setting in Customizing for Logistics — General as follows:

    For Sales and Distribution (SD):

    Start of the navigation path Treasury and Risk Management Integration Next navigation step Sales and Distribution Settings Next navigation step Define Commodity Settings for SD Condition Types End of the navigation path

    For Materials Management (MM):

    Start of the navigation path Treasury and Risk Management Integration Next navigation step Materials Management Settings Next navigation step Define Commodity Settings for MM Condition Types End of the navigation path

    Sales and purchasing documents that use one of the condition types that have been defined in this way, are implicitly marked as being relevant for the TRM (Exposure Management) integration.

    You only need to assign a physical commodity to the condition type for the following objects:

    • Quotation number, along with the quotation source, type and name

    • Commodity condition types that do not belong to the CPE

    • Stock exposure

  • Recommended: Activate Material Index for Sales Orders and Deliveries

    SAP recommends that you activate the material index setting for sales orders (TrG = 0) and deliveries (TrG = 6). You do this in Customizing, under Start of the navigation path Sales Next navigation step Lists Next navigation step Set Updating of Item Index End of the navigation path. By doing this, you can speed up the process that selects relevant sales orders and deliveries, and newly determines the corresponding exposures in a batch update.

    Note: If you want to activate the new determination of exposures for batch updates, you must activate the batch where-used list (in Customizing for Logistics - General, under Start of the navigation path Batch Management Next navigation step Batch Where-Used List Next navigation step Make Settings for Batch Where-Used List End of the navigation path).