Ansicht
Dokumentation

RMDR2001 - RM: Derivation of Financial Object (Internal)

RMDR2001 - RM: Derivation of Financial Object (Internal)

ABAP Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Enhancements to Finance Object Derivation

Within the framework of general finance object derivation in Risk Management, you have the possibility of extending the standard derivation with individually-programmed derivation steps.

A prerequisite is that enhancement RMDR2001 is included in an enhancement project and this project is activated (Transaction CMOD).

You can insert the enhancements anywhere in the derivation strategy and as often as required.

Before using this enhancement, please check whether the step you require could be achieved by carefully organizing the step sequence and using the step and field properties plus the temporary fields.

As with the other derivation types, you enter the source and target fields you want to work with in the enhancement.

Within module EXIT_SAPLRMDR2_001 you can then store your own coding in include ZXRMDR2U01. There you will find the fields you have specified, the name of the RM area, the derivation date, and an individually-defined step identifier (if entered), which you can use to distinguish between your enhancement steps when you are using several in one strategy.

Recommendations

  1. Only use enhancement steps if absolutely necessary. This helps you avoid subsequent work to ensure compatibility every time there is a release change.
  2. Only define the source and target fields actually used in the enhancement for the derivation step. If you want to execute several logically-independent derivations per enhancement, break these down into separate derivation steps and use step identifiers to distinguish between them. This allows the system to automatically recognize the logical dependencies represented in the enhancement and use them for optimization purposes.
  3. Field I_RM_CHAR in the function module interface contains the RM area characteristics. This field has no structure however (because the structure of the RM area is not known). In order to access individual characteristics, you need to define an internal structure with reference to the generated structure I75xxxx (xxxx: name of the RM area used) and enter the contents of I_RM_CHAR into this structure. The same applies to the returned structure E_RM_CHAR.
  4. Field E_EXIT_IS_ACTIVE must be returned with 'X' in order for the results of the derivation step to be processed further.

Permitted Source and Target Fields

  • Optional characteristics in the RM area (as part of I_RM_CHAR, E_RM_CHAR).
  • All fields from I_FOB or E_FOB (finance object parameters such as company code, summarization rule, RM active indicator, transaction start, transaction end). Exception: SDATST is not permitted as a target field (the master data category is filled internally and cannot be changed).
  • Temporary help fields (structure I_TEMP, E_TEMP).

Other Fields in the Interface

  • I_RMDA: Name of the Risk Management area
  • I_DATE: Derivation date
  • I_STEP_ID: User-defined identifier for derivation step.
  • E_EXIT_IS_ACTIVE: Indicator that shows the enhancement is active and that the derivation was successful.
  • E_FAILED: Indicator that shows there is an error in the derivation. If this field is returned with an entry, the results of the derivation step are not processed any further.
  • If the exception DERIVATION_FAILED is activated, the derivation step is interrupted.





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

Length: 3806 Date: 20240614 Time: 070918     sap01-206 ( 79 ms )