How to compare the range of values with an internal table values
I have 10 select-options in my selection-screen.
and I am using only 2 select-options in my select statment.
But while displaying my output I need to compare the data for the remaining fields with my obtained data which is in an internal table.
You can use WHERE clause in your LOOP statement to filter out your previously selected records based on your other selection parameters. Your code should look somewhat like this.
LOOP AT ITAB1 WHERE KUNNR IN P_CUSTID
AND GJHAR IN P_ACYEAR
AND MANSP IN P_DUNBLK.
You can use multiple select options in LOOP statement.