Creation of Query Report With Additional Calculated Field
Creation of Query Report With Additional Calculated Field
Calculated Field
T-codes used in this document: SQ01, SQ02 & SQ03
Tables used to create Query Report: “A + Condition Table” (e.g. A001), KONP
Before Creation of Query, let’s understand about SAP Query – Area. There are two types of Query Areas
as mentioned below.
1. Standard Area – It is Client Specific Query and it will not create any work bench request.
2. Global Area – It is Client Independent Query.
Here, enter & create User Group (e.g. ZPM, ZFI, ZMM, ZHR etc.) to which you will assign Info set Query.
Keep the relevant condition joined. To remove already joined condition, do right click on link and select
“Delete Link”.
Click on Info set and keep selected “Create Empty field groups”.
Note: You will need to “Generate” Info Set everytime whenever you are making any changes in that.
Then Assign one or multiple User Group to created Info Set Query. (T-code: SQ02)
After creation of Info Set and assignement to User Group, we can create Query.
After that by clicking on “Test” we can check that wether we are getting Quey Report according to our
requirement or not.
After creation of Info Set and assignement to User Group, we can create Query.
Enter Title, Notes and then select “Field Selection” under “Goto” menu.
Enter Short Name against field by using which we want to perform calculation.
Click on “OK”.
Here we have to define Selection Screen Fields and Output Fields. (Add Local Addition Field too, it is our
created field in which we have perform caluclation)
After that by clicking on “Test” we can check that wether we are getting Quey Report according to our
requirement or not.