on 07-25-2013 8:33 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.