Skip to Content
Technical Articles
Author's profile photo Anss Shahid Essani

S4 HANA – Debugging Validation Rules (GGB0) in F110 – Automatic Payment Program

Hello and Welcome to my blog post for Debugging Validation Rules in F110 Automatic Payment Program


Validation Rule is a tool where finance consultants can implement control checks at the time of Document Posting / Save as Complete to generate messages (Error/Information/Warning) with out the help of ABAP. They also use the trace function to check whether the validation rules are working as required.

When the document is being posted in FI module, the system shows whether the conditions are “True” or “False”.

However, this is not the case in F110 because F110 generates a background job. In this case we should know some basic debugging skills for validation rules.

Break-Point for the Validation Steps:

First we need to identify the Program and Step. You can identify it by select the validation rule and entering “=SHCD” in the T-Code Bar and press Enter.

It will take you to the specific ABAP program.

Now you have to find the step no. for the validation rules. In this case as an example I have used Step No. 1. So within the above program you have to find “G_STEP = ‘001”.

Double Click on the PERFORM “VALCOND_1ZFI003#001” so that you can go to the specific step.

You may identify the ABAP Logic for the Pre-Requisite that you have entered in the GGB0. You can put a break point here (For E.g. Line No. 39) for the validation check.

Execute F110

For Debugging, we don’t need to execute the F110 on immediate basis. We will set a start time and then go to SM37 to check the background job.

Execute SM37

Enter JDBG in the T-Code Bar and press Enter

Initially it will take you to the standard program. Then when you press F8, it will take you to the break point that you selected earlier.

On the right hand side in the variable Tab, I have added variable “RES001”. If it is “T” which is true, the validation check is successful. In the program, press “F5” to check the steps.

The above steps will check the validation Pre-Requisites are met or not. You will have to press F5 till you reach Program: GBTFUFI0 / GBTFUFID.

If the Pre-Requisites are met, the condition is considered as “TRUE” and it will perform the Check Condition from GGB0. Press F5 to further evaluate the checks.


Validation Rules are very essential part of a FICO Consultant and it helps the client to implement checks and balances on a FI document.

Hopefully I am able to explain the debugging skills related to subject and I wish that this blog helps other consultants manage the business requirements on their implementation projects.

Best Regards,

Anss Shahid Essani

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Muhammad Hasan Mufid
      Muhammad Hasan Mufid

      Thank you Mr. Anss for this article, very helpful ?

      Author's profile photo Anss Shahid Essani
      Anss Shahid Essani
      Blog Post Author

      Thank you Muhammad Hasan. Hope that this blog can help you manage business requirements on your projects.

      Author's profile photo Stylish Grape
      Stylish Grape

      Thank you for the explanation. It is clear for me. Tell Dunkin

      Author's profile photo Veera Brahmaiah Ainampudi
      Veera Brahmaiah Ainampudi

      Hi Anss, Good document


      Author's profile photo Anss Shahid Essani
      Anss Shahid Essani
      Blog Post Author

      Thank you Veera.