Tracing a Validation/Substitution/Rule

Using the Start of the navigation path Extras Next navigation step Switch on trace End of the navigation path function, you activate a tracing function that allows you to test a validation/substitution/rule during the posting process. While posting a document, the system calls the validation/substitution/rule and displays the rule contents, as well as how the data is used for validation or substitution. This function allows you to diagnose possible errors in the validation/substitution/rule definition.

Note Note

You can only trace one validation at a time, but one substitution and one rule can also be active simultaneously; this is also true when you are tracing a substitution or rule. The tracing function is only activated for the user who has turned on the trace function.

You can use the trace function for one validation/substitution/rule, for all validations/substitutions/rules or not for any validations/substitutions/rules.

End of the note.

Procedure

  1. Display the validation/substitution/rule that you want to trace.

  2. Choose Start of the navigation path Extras Next navigation step Switch on trace. End of the navigation path

  3. If you want to use the trace function for all validations/substitutions/rules, choose Start of the navigation path Extras Next navigation step Switch on total trace End of the navigation path .

  4. In a separate session, call the posting transaction that you want to trace.

  5. When the validation/substitution/rule is called, the system displays the result of the validation/substitution/rule that is used within the posting transaction.

  6. To turn off the tracing function, choose Start of the navigation path Extras Next navigation step Switch off total trace. End of the navigation path

Note Note

If you use the single trace switch off, this switches off the trace function automatically for all the other validations/substitutions/rules.

End of the note.