Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SELECT-OPTIONS command - equivalent in c#

Stephen3
Participant
0 Kudos

Hi All;

I am writing a report in C# that will generate an SQL statement to call data in SAP. In ABAP, the command "SELECT-OPTIONS" automatically places on a screen a number of different options to input data. It is really nice functionality that users are asking me to duplicate but with a C# front end.

I am trying to replicate 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 custom class that already exists that does the equivalent.


Thanks

Stephen

3 REPLIES 3

pjl
Participant

Hi Stephen, I actually like your question, since I am a C# developer myself. But I think posting this to an ABAP community is maybe not the best place.

I personally have never come across such a component in C#, though I would like to see something like that as well. So if you would like to develop something like that I will be a great fan of it.

On the other hand eventually I will develop something like that some time down the road. But not too soon I guess.

Cheers,

Peter

Stephen3
Participant
0 Kudos

Hi Peter;

I posted in stackoverflow. This select-option functionality seems to be unique to SAP but it is a nice way of inputting data. I got 1 answer in stackoverflow. The person who answered understood my question and like you feels it is a good idea but hasn't seen a solution either. I haven't been able to find a solution so I thought I would ask in this forum. I am trying to build a similar class in c# but I am not a very good c# object oriented programmer so I am struggling. I guess it is a good learning opportunity.

Regards,

Stephen

0 Kudos