Ansicht
Dokumentation

TPM_DERIVE_ACCNT - Define Derivation of Additional Account Assignments

TPM_DERIVE_ACCNT - Define Derivation of Additional Account Assignments

CPI1466 during Backup   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

With this IMG activity you can fill the following target fields in the FI document with values

GSBER Business Area
PARGB Trading partner's business area
PPRCTR Partner Profit Center
PRCTR Profit Center
PSEGMENT Partner Segment for Segmental Reporting
SEGMENT Segment for Segmental Reporting
TYP_MOV Movement Type (Inventory Management)
VBUND Company ID of trading partner
XREF3 Reference key for line item

In order to do so you can define Derivation Rules, Moves, Clears and/or Enhancements.

This transaction is called when documents are being posted to FI. During posting the target fields mentioned above will get updated in the FI document according to the derivation steps mentioned here.

Reference key for line item

You have defined account assignment references in the IMG activity Define Derivation of Additional Account Assignments.

Reference key for line item
  1. Call up the IMG activity. The Derivation of Additional Account Assignments: Change Strategy screen appears.
In this screen you can enter rules for deriving the additional account assignments.
The rule can involve various steps. The system follows these steps in order until it is able to derive an additional account assignment for .
A step can consist of a Derivation Rule or a Move, a Clearor an Enhancement:
  • Step type Derivation Rule

In a derivation rule you can choose various source fields (such as the currency or product type), the values of which are used as a basis for assigning the values to the target fields. You can make the use of a derivation rule dependent on the fulfillment of a condition.
  • Step type Move

In the case of a move, you specify a source field which value has to be written to the chosen target field. You can make the assignment dependent on the fulfillment of a condition.
  • Step type Clear

In case of clear, you specify the target field whose value has to be cleared to the initial value. You can clear the field value dependent on the fulfillment of a condition.
  • Step type Enhancement

In case of Enhancement, you provide the business logic in the User Exit provided by the SAP to specify how the target fields are derived from the source fields. You can make the use of a Enhancement dependent on the fulfillment of a condition.
  1. Defining a derivation rule
    1. Choose the pushbutton Create step. In the dialog box, select Derivation rule and confirm your entry.
    2. Enter a text for the derivation rule.
    3. On the Definition tab, enter the Source fields and also choose the target field.

Example:
If you want this derivation rule to apply to all Update Types except for one, select the field DIS_FLOWTYPE from the possible entries for the Name field. In the operator field Op., enter the symbol <> for not equal to. In the Value field, you then enter the relevant Update Type. The settings on the Attributes tab are not supported.
You now have to assign the Partner Profit Center to the values of the source fields. To do this, choose the Maintain rule values pushbutton.
In the table that follows you can assign Partner Profit Center to combinations of source field values. The first column contains the first source field you selected, the second column the second source field, and so on. The last column contains the target field Partner Profit Center . You can then select the relevant values from the possible entries (F4).
  1. Define a Move step
    1. Choose the Create step pushbutton. Select Move in the dialog box and confirm your entry.
    2. Enter a text for the Move.
    3. 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.

  1. On the Condition tab you can make the assignment dependent on the fulfillment of a condition.
  2. Select the target field.
  • Define a Clear step
    1. Choose the pushbutton Create step. In the dialog box, select Clear and confirm your entry.
    2. Enter a text for the Clear.
    3. On the Definition tab, enter the Target field.
    4. On the Condition tab you can make the assignment dependent on the fulfillment of a condition

    1. Define an Enhancement step
      1. Choose the pushbutton Enhancement step. In the dialog box, select Clear and confirm your entry.
      2. Enter a text for the Enhancement.
      3. On the Definition tab, enter the Source fields and Target field.
      4. On the Condition tab you can make the assignment dependent on the fulfillment of a condition.
      5. Implement the Badi or user exit given by SAP to provide the required business logic for the derivation of Target field value
    2. 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.
    Reference key for line item
    1. Derivation rule 1: Derive partner unit
    Source fields:
    • Posting Key: POSTING_KEY

    • Business Partner Number: KONTRAHENT

    • Update Type : DIS_FLOWTYPE

    Target field:
    • Company ID of trading partner: VBUND

    Condition:
    • GL_ACCOUNT = 45020

    1. Move: For all other GL Accounts
    • Constant: 9999

    • Target field: Company ID of trading partner: VBUND

    The system first checks whether Company ID of trading partner can be determined using derivation rule 1. If this is not possible, it checks if derivation rule 2 can be applied. If the criteria for rule 2 is fulfilled the Company ID of trading partner defined in the Move step is used. (If you enter a Company ID of trading partner in the Constant field for a Move without attaching any conditions, this Company ID of trading partner is used for all positions not covered by the preceding derivation rules).






    SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   General Material Data  
    This documentation is copyright by SAP AG.

    Length: 9140 Date: 20240523 Time: 181602     sap01-206 ( 102 ms )