Skip to Content
author's profile photo Former Member
Former Member

Create a custom multiple selection on screen - not selection-screen block

Dear expert,

I created a text field on screen for input selection, e.g field bname for USR02-BNAME. How can i create a CUSTOMIZE multiple selection plus a paste (from clipboard) feature on this screen (e.g. SCREEN 0002) like standard selection-screen from SAP when we create a report.

For a better view on what i want:

This text field already use F4 customize search help. I need a multiple selection lines (like standard selection-screen a button on the right side of select-options field).

Remember, i don't create textfield from select-options parameter (e.q. SELECT-OPTIONS : XBNAME FOR USR02-BNAME),

but on a screen.

Anyone can help my case?.

Thanks and Warm regards,

Dondi.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 26, 2010 at 04:05 PM

    Are you trying to do something like this?

    tables usr02.
    
    SELECTION-SCREEN BEGIN OF SCREEN 1.
    SELECT-OPTIONS: my_field FOR usr02-bname.
    SELECTION-SCREEN END OF SCREEN 1.
    * . . .
    call selection-screen 1.

    This will give you the more-selections button and you can upload your clipboard or a file there....

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 07, 2014 at 09:35 AM

    Had the same question from my users. This was the first hit i found but unfortunately without an answer. So for those with the same question, this is how i solved it (goede voornemen voor 2014). In my case the request is a complex selection on the LFA1 table.

    The screen contains two fields to enter the low/high value for lifnr (zdy_droogteschade-lifnr and zdy_droogteschade-lifnr_tot)

    Created a button on the screen, mark this as output only, when pressed the routine multi_select_crediteuren is performed wich uses the fm 'COMPLEX_SELECTIONS_DIALOG'.

    To top it all of, the icon on the button changes depending on the contains of the range table (in a routine called from the PBO).

    This only works when the button is marked as 'output only',

    Include the icon type pool: 'type-pools: icon.'


    msc.jpg (63.9 kB)
    csb.jpg (31.7 kB)
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.