Skip to Content

SELECT-OPTIONS command - equivalent in c#

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Oct 25, 2018 at 10:08 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 27, 2018 at 08:32 PM

    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

    Add comment
    10|10000 characters needed characters exceeded