cancel
Showing results for 
Search instead for 
Did you mean: 

WD for ABAP - select options

former_member193202
Participant
0 Kudos

hi folks,

has anyone ever used the select-options component in an own abap webdynpro application, i know there is a sample program but no documentation on it, can anyone give me a hint how to use it easily?

kind regards,

oliver

Accepted Solutions (1)

Accepted Solutions (1)

thomas_szcs
Active Contributor
0 Kudos

Hi Oliver,

Just embbed the WND_SELECTION_SCREEN interface view into a view container in your window. Then call method INIT_SELECTION_SCREEN of the component interface and obtain the handle to the helper interface. This interface offers various methods to set up and change a selection options area. In the beginning you might want to call ADD_SELECTION_FIELD() to add as many fields as you like. There several others methods as well to add text lines, group selection fields in blocks, etc. Mostly, it is a 1:1 conversion of the functionality provided by the dynpro select options. In case you don't like the default buttons at the top, you can switch them off by calling SET_GLOBAL_OPTIONS. A range table can be created dynamically by calling method CREATE_RANGE_TABLE().

Hope this helps.

Kind regards,

Thomas

Answers (0)