Hi,
I have a developed ABAP Query by the name "YCOPM_Bill_PUR".
In this query, I have an additional field "indicator". For this field, there is some code written, wherein either of the values "N" or "O" are assigned to this "indiactor" field. Now, the query should generate the output, only when indicator = N i.e. only those records should be displayed in the output for which the indicator field has value 'N'.
Records having indicator field value as "O", should not be displayed.
I want to know the place where I can write this condition and keep a control on the records displayed in the output.
Currently, the query output displays all records (irrespective of whether indicator = 'N' or 'O').
I have added the field indicator on the selection screen.
But, I want to know where can I write the condition :
if indicator = 'N'.
...............................
endif.
In "SQ02", there would be some place where i can write the above condition so that the output is trigerred only for those particular records. If possible, please do let me know.
In short, I need to know, where are the output fields getting populated and where can I write this code to control the output.
Please help me out.
Thanks & Regards,
Tejas Savla