Transaction Codes: 1. Maintain Validations: GGB0 2. Activate Validations: OB28

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Transaction Codes:

1. Maintain Validations: GGB0


2. Activate Validations: OB28
Validation is used to define our own individual checks for specific
fields when a business transaction is being processed.
A validation Consists of Three parts:

Prerequisite
Check
Message

Prerequisite:
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:
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.
Calling Point: Dependent upon the application area that is selected
0001 Document Header (Validate entries at document header
level)
0002 Line Items
0003 - Complete Document
Validation Rule:
A validation rule is basically a check on a certain field's data.
Substitution:
The substitution function can be used to substitute a value to
specific fields
How to define a substitution?

You can define a substitution via call points (0001 is for


substitution in document header level; 0002 is for substitution in
document line item level; 0003 is a substitution for a complete
document ) in Tcode OBBH,
VALIDATION AND SUBSTITUTION

1.
Validation - The validation function checks the entered
values and value intervals. When data are entered in the system,
the rule manager validates the data according to the validation
rules. Since data are validated before they are actually posted, only
validated data is accepted.

2.
Substitution- In Substitution, the values entered into the SAP
system are validated according to a prerequisite defined by the
user. If the prerequisite is met the system replaces the value
entered with other values.
==X==
1) Validation = check entries by defined rules and when rule is
broken,
System throws an error-message by your settings in OB28

2) Substitution. = Check entries by defined rules and when rule is


fulfilled ,
a field value is substituted by your settings OBBH

You might also like