There will be some cases during our testing and verification of data we may need to filter table entries using AND, OR and NOT conditions in the Selection Screen. Being a functional Consultant majority of the time we try to export the data into excel and try to apply filters in the excel to see the desired output which is time consuming. But the same task can be achieved using SE16N with multiple selection screens.
Let us say we have a table with the following table contents and we want to filter and display only the below highlighted data.
- Go to transaction code SE16N.
- Right Click for context menu and select "Technical View On". Upon selection it will enable new button "More" on application tool bar as shown in step#3
3. Click "More" on application tool bar
4. Fill in the selection Criteria, and press next to add your next filter
In this example we are trying to display data
where ( NAME1 = 'Ashok' and LANDX = 'INDIA' )
or ( NAME1 = 'Thomas' and LANDX = 'USA' )
Note: In below screen capture you will notice the selection screen number will be increasing based on the OR condition
OR
5. Press Execute. Now you will see the data filtered based on the condition stated in STEP#4
Note: You can always see the selection screen filters by clicking "More" button
I hope you enjoyed this Blog.