cancel
Showing results for 
Search instead for 
Did you mean: 

WD_SELECT_OPTIONS_20 Hidden fields in Selection Screen

Former Member
0 Kudos

Hi friends ,

I am designing a search screen using Advanced select options WD_SELECT_OPTIONS_20.

The fields available to user are coming from a database table having around 20 fields . I need to default only few out of them on screen but rest of the fields should be available to user when he presses the "+" button in the drop down as well as in defaulted drop-downs .

I have searched and found a attribute " HIDDEN" in the structure WDR_SO_S_ATTRIBUTES ( Select Options: Attributes) but it hides the fields not only from the  screen but also they are not available in the drop down anymore for selection .

Can you suggest what could be the solution .

Thanks

Rishabh

Accepted Solutions (1)

Accepted Solutions (1)

sreemsft
Contributor
0 Kudos

Hi Rishab,

You can use NR_DEFAULT_ROWS from GLOBAL_OPTIONS structure. You may pass a number that is less than the total select options you have on the screen.

WDR_SO_S_GLOBAL_OPTIONS-NR_DEFAULT_ROWS "Number of Rendered Lines initially

You need to pass global_options  to initselect_options( ) method. Here you also need to control the sequence of the select options to display desired select options by default on the screen.

Here is the link to SAP Help.

Thanks,

Sreekanth

Former Member
0 Kudos

Thanks Sreekanth , I was able to get it that way .

Answers (0)