Skip to Content

Paste button for multiple selection pop-up of selection field

Hi,

I have the following requirement:

I have a selection field for multiple input of type CL_WDR_SELECT_OPTIONS like for Freight Order in the screenshot below:

When opening the 'Advanced Options' to enter multiple values the following pop-up opens:


My question is now if it is possible to add an additional button in the toolbar here, e.g. a button for 'Paste' values (a.k.a. 'Upload or Copy from Clipboard') like available for multiple selection in backend dynpros:

Thanks and best regards, Daniel

eins.JPG (23.0 kB)
zweiA.jpg (38.6 kB)
drei.JPG (51.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Nov 03, 2015 at 10:37 AM

    Hi Daniel,

    Yes there is an option, but it is quite a big headache.

    I did the same requirement some times back for my custom application. The thing I did was, I copied the existing component WDR_SELECT_OPTIONS to a Z one and did the modification in view EXTENDED_OPTIONS.

    Here you can add a custom toolbar button and implement your own logic. Only thing that you need to make sure that your select option component will be a new Z one.

    Just try it up.

    BR,

    RAM.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Daniel Haerder

      Daniel,

      But you may face lot of problem on your design.

      See if you implement the logic on the existing SAP component, you need to make sure that this enhancement should work only for your application. Because WDR_SELECT_OPTIONS is a global component which relies on so many applications as well😔

      But guess, method ONACTIONON_TBBTN_IM_CLIPBRD won't help. Because here you need to create an onaction event for your custom button and you need to handle the logic there.

      BR,

      RAM.