Enterprise Resource Planning Blogs by SAP
Get insights and updates about cloud ERP and RISE with SAP, SAP S/4HANA and SAP S/4HANA Cloud, and more enterprise management capabilities with SAP blog posts.
cancel
Showing results for 
Search instead for 
Did you mean: 
neal_zhou
Explorer

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.

6 Comments