Ansicht
Dokumentation

_ISPSFM_N_FMCUDERIVS - Define Substitution for Entry Documents

_ISPSFM_N_FMCUDERIVS - Define Substitution for Entry Documents

Vendor Master (General Section)   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

In this IMG activity, you define settings so that you can work with substitutions when entering budget documents. It is then possible to influence the input values in the entry document, for example, if you want to work with standard values. Substitution is only supported for document entry in the budgeting workbench at the moment.

The substitution of input values is supported by a derivation strategy. In this activity, you define the individual derivation steps.

Note:
If you want to use the substitution, you must activate this in the derivation strategy in a 'move' step.

A derivation strategy contains sequences of derivation steps in which you can define the influence of input values in the system. You define a reference between the input values of source fields and the values of target fields that result from it in a derivation step.

The following derivation step types are supported in this:

  • Clear
    In the 'clear' derivation step type, you can set a target field to Initial.
  • Move
    In the 'move' derivation step type, you can define that the value of a source field or a constant value is transferred into the target field.
  • Derivation rule
    In the 'derivation rule' step type, you create a table according to your choice of source and target fields. You can then maintain the table entries in which you make more assignments.
  • Table lookup
    In the 'table lookup' step type, you can access individual records from database tables.

All derivation steps defined here can be linked to conditions which must be fulfilled before they can be executed.

You activate your derivation strategy for substituting input values by setting the activation flag for the target field FLG_SUBSTITUTE in a 'move' step.

SAP recommends that you always activate this step at the end when you are defining derivation steps.

Substitution is inactive in the standard system.

SAP delivers a standard implementation for substitution.

You want to define in a derivation step that the fund Fund1 is automatically filled by the system when the funds center FC1 is entered in entry documents:

  1. You create a new derivation step Assignment.
  2. On the tab page Definition, choose the option Constant and enter Fund1 as a fixed value.
  3. Select the value FUND as the target field using F4 help.
  4. Select the push button (blue arrow) beside the target field to define the field control in the dialog box Substitution of Field Values in Budget Documents: Change Field Attributes. Select the option Copy new value even if value is zero or blank.
  5. Switch to the tab page Conditions and select the value FUNDSCTR (funds center) as the source field using F4 help.
  6. Define the following condition: funds center = FC1.

Alternatively, you can carry out the substitution using the Business Add-In (BAdI) Enhance Budget Document Lines (FMKU_BUDGET_LINES) in combination with the standard implementation delivered by SAP. The substitution derivation strategy is supported by the method Replace Fields in Line Items (SUBSTITUTE_DATA)in the BAdI.






rdisp/max_wprun_time - Maximum work process run time   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 4131 Date: 20240523 Time: 155432     sap01-206 ( 70 ms )