Ansicht
Dokumentation

GLE_ECS_VECS_IF001 - Define ECS Environments

GLE_ECS_VECS_IF001 - Define ECS Environments

Vendor Master (General Section)   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

In this Customizing activity, you define the ECS environments that the system uses to post journal entries with auto correction.

ECS environments contain the parameters used for the processing options, auto correction in the trace function, and parallel processing.

You enter the following settings for each environment:

  • Define Processing Options
In this setting you enter the order of the steps used in the ECS fast input process, and assign a first-level check. You also define whether the system is to map the imported field values to the field values defined in the auto correction strategies (mapping).
  • Assign Derivations
In this setting you assign one of the following strategy categories to a derivation function:
  1. Mapping
The system maps the values of fields in the source system to the values of the fields in the SAP system.
It does not generate any ECS items during mapping.
  1. Validation and Substitution
You can replace the field values that are imported or derived in documents with your own values.
In the validation process, the system raises an message if an error occurs: It then generates an ECS item. You can edit ECS items in the ECS Workplace.
  1. ECS Workplace Field Check
The system checks the field values in the ECS workplace before it posts the documents. In Customizing, you have defined which field values you want the system to check.
You can define in Customizing which situations cause the system to raise error messages.
  1. Owner Group Assignment
The system assigns the owner group to an ECS item based on the rule sets maintained in BRFplus application.
A strategy category in ECS corresponds to an application in BRFplus. You can find the application in BRFplus under the following prefixes:
  • ECS_M: Mapping

  • ECS_V : Validation and Substitution

  • ECS_W: ECS Workplace Field Check

Assign a derivation function to an ECS environment. Since each run in ECS fast input uses an ECS environment, the runs apply each of the derivation functions that you assign.
During processing, you branch to theBusiness Rule Framework.
  1. Generate BRF Objects
After you have created a new derivation function, choose Generate BRF Object. Choose the fields that you want to use in the BRF function. You can use any of the fields in the GLE_STR_FI_ITEM_ALL_DATA structure. Choose Execute.The system generates a BRF function and a set of rules.
  1. Edit BRF Functions
Select a derivation function and choose Edit BRF Function.The system opens BRFplus in a new window. On the Signature tab you can see the fields that you selected under Generate BRF Object. The system has added the prefix GD_ to the fields and G_ to the standard fields.
For more information about Business Rule Framework plus, see SAP Help Portal at http://help.sap.com/ under Business Rule Framework, or from the BRFplus: Workbench (transaction BRFPLUS), chooseHelp → Help Center → Worth Knowing → SAP Library.
  1. Edit BRF Function Signature
If you need more fields, you can add them under Edit BRF Function Signature.
The following fields are included as default fields in the function signature:
  • G_LOGHANDLE: Log Handle

  • G_ECS_ENV : ECS Environment

  • G_RUNID: Run ID

Note that you cannot delete any fields.
  1. Display Generated Report
You can navigate from the detail screen to the screen that displays generated reports.
You can display only one generated report.
  1. Display Function Signature
In the detail display for the derivation function, you can display the fields that are used in the BRF function.
  • Define Parameters for Parallel Processing
In this setting you specify the size of packages, which governs the number of parallel work processes.

Note:

SAP delivers the following function modules that can be used for derivation functions (for example, BRFplus functions).

You can also create your own function modules and static methods for checks and field assignments, and call them in the BRFplus function by choosing Procedure Call.

If you want to display the messages from your function module in the application log, you have to fill the I_LOGHANDLE import parameter of type BALLOGHNDL, as in sample function module AC_INT_ECS_ACP_FLD_F_PRCTR_SUP.

You have defined a first-level check in Customizing under Define First-Level Checks.






PERFORM Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 7398 Date: 20240523 Time: 184408     sap01-206 ( 84 ms )