Professional Documents
Culture Documents
NAKHAMSING CH - Validation and Substitution
NAKHAMSING CH - Validation and Substitution
VALIDATION:
The validation function enables you to check values and ranges of values as they are being entered in
the SAP system. Validation rules are stored in the Rule Manager. As data is entered into the system,
the Integration Manager validates the data against the validation rules
Prerequisite statement
The prerequisite statement determines whether the entered value(s) should be checked. If the
prerequisite statement is false, then the value is valid and the transaction continues.
Check statement
The check statement determines whether the entered value(s) are valid. If the check statement
is true, then the value is valid and the transaction continues. If the check statement is false, the
system displays a message.
THE RULES APPLIED THAT THE USER HAS TO ENTER THE SAME DATE.
Call point
My company code is 1500 and the rule is applied on Document header level so I have selected.
Click on validation tab create new rule. Under one rule one can create 999 steps
Explanation: Here, the rule is applied to my company code only; the same rule can be applied for
whole company code as well. The rule work only on my company code 1500 when I pass any entry
using document type SA
When the data is being entered the system must check whether the input is as per the set data.
Here in this ‘check’ step i make have set that document date must be same with the posting date.
Now go back to initial screen and activate the rule. For activation we must set as 1
To see the impact let’s try to post an entry from F-02 by entering different date on document and
posting date field
Validation and substitution
As I have not entered same date of document and posting the system has given me an error. Unless I
give the correct data I wound be able to proceed to next screen.
SUBSTITUTION
The values entered into the SAP system are validated against a prerequisite defined by the user.
When the prerequisite is met, the system replaces the values entered with substitute values, and the
substitute values are transferred into the FI-SL application component.
Prerequisite statement
The prerequisite statement establishes which conditions must be fulfilled before the
substitution can be performed. If the prerequisite statement is false, the transaction is
continued without substitution. If the prerequisite statement is true, the transaction is
continued with the substituted values.
Substitution value(s)
Validation and substitution
The substitution value is a numerical value or a string of letters that replace the value entered.
A single substitution process can replace more than one value.
After click on the step tab, we will get that screen; select the field name at which we will apply this
rule. So for me I have selected ‘doc header text’ in order to filled text automatically.
Click on constant value button and press enter to see the following screen
Explanation: In the perquisite tab, I have applied the logic to my company code only and at
document type SA. So whenever I use document type SA the system will automatically place a value
where I will be aligning.
Validation and substitution
Posting an entry from F-02, and will see the impact when we simulate the document.
We can see now the system has place the value automatically.