0% found this document useful (0 votes)
35 views

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

Validation defines individual checks for fields during business transactions using three parts: prerequisites, checks, and messages. Prerequisites determine if a value should be checked, checks determine if a value is valid, and messages display if a check fails. Validation rules check specific fields' data. Substitution can replace a field's value if a predefined prerequisite is met. Validations check entered values against intervals while substitutions validate and replace values if prerequisites are satisfied.

Uploaded by

fharooks
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

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

Validation defines individual checks for fields during business transactions using three parts: prerequisites, checks, and messages. Prerequisites determine if a value should be checked, checks determine if a value is valid, and messages display if a check fails. Validation rules check specific fields' data. Substitution can replace a field's value if a predefined prerequisite is met. Validations check entered values against intervals while substitutions validate and replace values if prerequisites are satisfied.

Uploaded by

fharooks
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Validation:

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?
1

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