Ansicht
Dokumentation

TPM39A - Define Derivation Rules for Hedging Classifications

TPM39A - Define Derivation Rules for Hedging Classifications

ROGBILLS - Synchronize billing plans   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

In this Customizing activity, you can define rules to automatically fill the Hedging Classification field during the creation of financial transactions.

For this, you can define derivation rules, moves, clears, and/or enhancements.

Automatic derivation is called during the creation of financial transactions at the latest point in time before a financial transaction is saved.

You have defined the hedging classifications in the Customizing activity Define Hedging Classifications.

  1. Call the Customizing activity.
  2. Switch from Display to Change mode.
Derivation can involve various steps.
The system follows these steps in the defined order until it is able to derive a hedging classification.
  1. Choose Create Step.
A step can be a derivation rule, a move, a clear, or an enhancement:
  • Step type Derivation Rule

In a derivation rule, you can choose various source fields:
ASSIGNMENT Assignment
BEHALF_OF_COMPANY On Behalf of Company Code
BUSINESS_AREA Business Area
CHARACTERISTICS Characteristics
COMPANY_CODE Company Code
COST_CENTER Cost Center
COUNTRY Country/Region Key
CURRENCY_IN Currency of Incoming Side
CURRENCY_OUT Currency of Outgoing Side
HEDGE_CLASS Hedging Classification
HEDGE_REQUEST_ID Hedge Request ID
INTERNAL_REFERENCE Internal Reference
PORTFOLIO Portfolio
PROFIT_CENTER Profit Center
SEGMENT Segment for Segmental Reporting
VARIABLE01 Variable for Derivation Tool
VARIABLE02 Variable for Derivation Tool
VARIABLE03 Variable for Derivation Tool
WBS_ELEMENT WBS Element
DEAL_CATEGORY Transaction Category
DEAL_TYPE Financial Transaction Type
PRODUCT_CATEGORY Product Category
PRODUCT_TYPE Product Type

The values of these fields are used as a basis for assigning the values to the target fields:
HEDGE_CLASS Hedging Classification
VARIABLE01 Variable for Derivation Tool
VARIABLE02 Variable for Derivation Tool
VARIABLE03 Variable for Derivation Tool

You can make the use of a derivation rule dependent on the fulfillment of a condition.
Defining a derivation rule
- Choose Derivation Rule in the dialog box and confirm your entry.
- Enter a text for the derivation rule.
- On the Definition tab, enter the source fields and also select the target field.
  • Step type Move

In the case of a move, you specify a source field from which the value is written to the chosen target field. You can make the assignment dependent on the fulfillment of a condition.
Defining a Move step
- Choose Move in the dialog box and confirm your entry.
- Enter a text for the move.
- On the Definition tab, you have two options.
You can either choose a source field, the value of which is then written to one of the target fields,
or enter the short key directly in the Constant field.
- On the Condition tab, you can make the assignment dependent
on the fulfillment of a condition.
- Select the target field.
  • Step type Clear

In case of clear, you specify the target field whose value must be cleared to the initial value. You can clear the field value dependent on the fulfillment of a condition.
Defining a Clear step
- Choose Create Step. In the dialog box, select Clear and confirm your entry.
- Enter a text for the Clear step.
- On the Definition tab, enter the target field.
- On the Condition tab, you can make the assignment dependent on the fulfillment of a condition
  • Step type Enhancement

In case of an enhancement, you provide the business logic in the BAdI: Derivation of Hedging Classification provided by SAP to specify how the target fields are derived from the source fields.
You can make the use of an enhancement dependent on the fulfillment of a condition.
Defining an Enhancement step;
- Choose Create Step. In the dialog box, select Enhancement and confirm your entry.
- Enter a text for the Enhancement step.
- On the Definition tab, enter the source fields and target fields.
- On the Condition tab, you can make the assignment dependent on the fulfillment of a condition.
Implement the BAdI BADI_TPM_DERIVE_HCLASS to provide the required business logic for the derivation of target field values.
  1. Changing the order of the steps
You can change the order of the steps after they have been defined. To do this, proceed as follows:
  1. Select the step you want to move.
  2. Position the cursor beneath the target position.
  3. Choose Move.
VARIABLE03
  • If the derivation result is a hedging classification that does not exist, it is cleared and a warning message is issued. It is not possible to enter an invalid hedging classification.
In this case, the correct hedging classification needs to be entered manually.
  • If a hedge request ID is entered in the financial transaction, and the derivation result is a hedging classification that differs from the hedging classification entered in the hedge request, the system raises a warning message, but the derived value is not cleared. It is therefore possible to enter a deviating hedging classification.
  • After the financial transaction has been created by the Treasury Specialist - Front Office and the derivation of the hedging classification is finished, the Treasury Specialist - Back Office or another person authorized to change financial transaction data can manually change the automatically derived hedging classification.





TXBHW - Original Tax Base Amount in Local Currency   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 10518 Date: 20240523 Time: 161839     sap01-206 ( 80 ms )