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.
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.
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.，什么是物联网技术，数据分析工具有哪些，关于云服务器，云服务市场，大数据现状