I am writing a report in C# that will generate an SQL statement to call data in SAP. In SAP ABAP, there is a command "SELECT-OPTIONS" which will automatically place on a screen a field which automatically has a number of different options to input data. For example, if you wanted to query a customer master database, you could enter a single customer number, multiple customer numbers, multiple ranges of customer numbers. Set criteria to include the customer numbers, exclude them, etc.

It is really nice functionality that users are asking me to duplicate but with a C# front end.

I am trying to replicate this a portion of this functionality by using lookup buttons, datagridviews, internal lists, etc.

I was wondering if anyone has done anything similar or if there is a customer class that already exists that does the equivalent.

You probably need to understand SAP ABAP and C# to fully understand the question as it is hard to explain without having to show a lot pictures and using a lot of words.

Thanks

Stephen