cancel
Showing results for 
Search instead for 
Did you mean: 

Range fields in the view for Webdynpro for ABAP

0 Kudos

Hello,

I am trying to create a WD component with a view which has to contain a range field in the search criteria. Could you please tell me how this can be achieved?

Thanks!

Maya

View Entire Topic
0 Kudos

Hello Thomas,

Wish you a Happy New Year!

In the WD Component, there are 2 windows WND_SELECTION_SCREEN and WND_EXTENDED_OPTIONS. I tried embedding the window WND_SELECTION_SCREEN, but when I executed my application, it just opened a page with some buttons in it (Cancel, Check, Reset, Copy).

Perhaps I should explain my problem further like this:

I need to display a set of search criteria on my screen with range options. Is there an already existing component I could use in my WD component, to which I can pass the data type of the search criteria and it displays the search criteria screen with range options?

Thank you very much, in advance!

Best Regards,

Maya

thomas_szcs
Active Contributor
0 Kudos

Hi Maya,

A Happy New Year to you as well.

In order to add your fields to the SelectOptions you need to call method ADD_SELECTION_FIELD at the helper interface. The helper interface can be obtained by calling the INIT_SELECTION_SCREEN method of the component interface of the SelectOptions component.

Kind regards,

Thomas