You can use the analysis tool to:
You access the analysis tool on the Change Validation/Change Substitution: <Validation/Substitution Name> screen by choosing Environment
® Val./sub. analysis.Activating a Validation/Substitution
The Activation of Validation/Substitution screen appears.
The system calls up the relevant activation transaction of the application component you selected.

If you selected the Special purpose ledger or Asset accounting application components, a dialog box appears in which you are required to enter further information. In the Selection: Special Purpose Ledger dialog box, you specify whether you want to access the activation screen for local or global ledgers. In the Selection: Asset Accounting dialog box, you specify whether you want to access the activation screen for master data or transaction data.
Displaying Message Usage
You use the Message usage option to determine in which validation(s) a specific user-defined message is being used.

When you post a document in Financial Accounting, the system displays the following message:
User JONES cannot post to account 100000
(Message ID = Z1 003)
This is a user-defined message (Z is the naming convention for user-defined system messages), which suggests that a validation produced this message.
Using the Message usage option, you can enter the message class (
To check in which validation a system message is used:
The Enter Message Number dialog box appears.
The Valid./Subst.: Use of Messages in Validations screen appears. The system displays a list of the validations in which the user-defined message you specified is used.
You can display the validation definition by choosing Edit ® Display validation.
Displaying Substituted Fields
You use the Substituted fields option to find out which substitution was used to replace a specific dimension value.

You post a document in Special Purpose Ledger. When you display the posting document, the cost center field does not contain the value that you originally entered during posting.
Using the Substituted fields option, you can enter the name of the cost center field to establish which substitution was used to replace the value you entered. The system displays a list of substitutions that could have been used to substitute the original cost center value.
To find out which substitution was used to replace a specific dimension value:
The Enter Table and Field dialog box appears.
The Valid./Subst.: List for Substituted Fields screen appears, listing the names of the substitutions defined for the table and field name you entered.
You can display the substitution definition by choosing Edit ® Display substitution.
Regenerating ABAP Programs
Validations, substitutions and rules use the following automatically generated ABAP programs during runtime (e.g. during a posting):
GBAAAAAA
GBS<cc>SET
GBT<cc><aa>0
Where cc stands for a two-digit client code and aa for the application area (e.g. "FI" for Financial Accounting. You can decode the two-digit client using a test run of the function module G_CLIENT_DECODE.
If you encounter problems using this program (syntax error or runtime error such as PERFORM_NOT_FOUND), trigger the generation of this program. To do this, choose from the menu Edit ® Regenerate ABAPs. For the last two programs mentioned, do this in the respective client.