Using the Analysis ToolYou can use the analysis tool to:
Activate a validation/substitution for a specific application component.
Find out in which validation(s) a specific user-defined message is used.
Find out which substitution was used to replace a specific dimension value.
You access the analysis tool on the
Change Validation/Change Substitution: <Validation/Substitution Name>
screen by choosing
.
On the
Select Action:Valid./Subst.Menu
screen, choose
Activate validatn/substn
.
The
Activation of Validation/Substitution
screen appears.
Select the application component for which you want to access the activation screen.
Choose whether you want to activate a validation or substitution.
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.
Activate your validation or substitution if required or check the activation status of existing validations or substitutions.
You use the
Message usage
option to determine in which validation(s) a specific user-defined message is being used.
Example
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 (
Z1
) and number (
003
) to determine in which validation this message is used. The system displays a list of validations that could have produced the above message.
To check in which validation a system message is used:
On the
Select Action:Valid./Subst.Menu
screen, choose
The
Enter Message Number
dialog box appears.
Enter the appropriate message class and message number and choose
Continue
.
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 .
You use the
Substituted fields
option to find out which substitution was used to replace a specific dimension value.
Example
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:
On the
The
Enter Table and Field
dialog box appears.
Enter the table name and field name for which you want to display a list of possible substitutions and choose
Continue
.
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 .
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 . For the last two programs mentioned, do this in the respective client.