hai gurus i am writing a function module to read employee details , so i want to add selection criteria as cost center , employee group and personal area and some other , so based on these inputs i have to filter the employee details, but the problem is that the user may enter any selection critirea plus or and conditions
for example he may give condtions like
1) cost center or employee group and personal area
2)cost center and employee group or personal area
if there are no such or and conditions i would have just writen select queries for all these paramters
but the or and and conditions can come in any combination so can i manage that
in my code if yes then how if any standard report available please give me some reference
regards
afzal