To create validations and substitutions, you must complete the following tasks:
To do this, enter the following codes:
- Application area code
This is a 2-place character code that specifies the general application area where the validation or substitution occurs (for example, GL for FI-SL postings).
-
Callup point codeThis is a 4-place number that specifies the exact point of the validation or substitution (for example, 0001 for the posting header check).
The combination application area/callup point code determines the data that you can validate or substitute.
For more information on application areas, see
Application Areas.For more information on callup points, see
Validation/Substitution Callup Points.To create a validation, proceed as follows:
-
Enter the application area and callup point for the validation.-
Define the prerequisite statement, which determines whether or not the data should be checked.-
Define the check statement, which validates the data.-
Define the messages that will appear if a check statement is found to be false during validation.For more information, see
Creating a Validation.To create a substitution, proceed as follows:
-
Enter the application area and callup point for the substitution.-
Define the statement to be used for selecting data for substitution, and enter the value that is to replace the selected data.For more information, see
Creating a Substitution.You activate a validation/substitution as follows:
Once the validation or substitution is activated, the system calls it each time a posting is made.
For more information, see
For more information on validations and substitutions in Controlling (CO), see the step Account Assignment Logic in the Implementation Guide (IMG) for General Controlling.