Skip to Content
Author's profile photo Neal Zhou

FI validation trouble shooting (debug)

This blog’s purpose is to analyze the validation in FI posting during debugging.

1. Execute t-code: “GGB0”, this will show you all the validation definitions.


2. Find your own validation definition. (in our example, we use a validation for FI at line item level). Click on the validation definition and then in the command field input “=shcd”. This will show the source code of the validation.


3. In the source code part, please set a breakpoint for the target step (the target step means the steps you defined under the validation, in our example it’s step “001” then you can set the breakpoint at line “G_STEP = ‘001’”, if you’re using other steps, let’s say it’s step 016, then you can set a breakpoint at line “G_STEP = ‘016’ ”.


4. Reproduce your issue and the system will enter debug mode, then you can trace the validation debugging value to see where the problem is.

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Murali Raju
      Murali Raju

      Hello  Neal ,

      Good Doc .


      Author's profile photo John Vo
      John Vo

      Hi Neal,

      thanks alot, it help me esasy to trigger and check validation.

      I tried the same for substitution but it not work.  Do you know how to find exact the correct the code to input to command line for OBBH ?.



      Author's profile photo Former Member
      Former Member

      Hi John.

      The code for sustitution is “=SHCB”, as is indicated here


      Author's profile photo John Vo
      John Vo

      Hi Daniel,


      Thanks for your sharing. But i wonder are there any way to find that code not by remember it. If possible then it will helpful for me to do some another sample tcode.





      Author's profile photo Former Member
      Former Member

      Hi Neal,

      i am unable to find the code in the second point which you have mentioned.

      entered the validation step ( as you have highlighted with red mark as 1 ) later given in the input

      =shcd . afterwards i pressed enter , system is not showing any code to set break point.


      Kindly help me on this please .




      Author's profile photo Former Member
      Former Member

      Hi Mahendra,


      You should click on the yellow folder icon & not on the "step" for the SHCD to work.

      Regards -