Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

hide in options

Former Member
0 Likes
656

hi experts,

we have lowand high values for select-options. what i require is i have to hide high value inthat.

thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
630

hi raju.

while declaring your select-option use no-intervals.

eg - select-options lifnr for lfa1-lifnr no intervals.

you well get only one low value field .

reward if helpful.

regards,

pankaj singh

hi experts,

we have lowand high values for select-options. what i require is i have to hide high value inthat.

thanks in advance.

4 REPLIES 4
Read only

Former Member
0 Likes
631

hi raju.

while declaring your select-option use no-intervals.

eg - select-options lifnr for lfa1-lifnr no intervals.

you well get only one low value field .

reward if helpful.

regards,

pankaj singh

Read only

former_member69765
Contributor
0 Likes
630

are u saying that u dont want the high option in the selection screen.

there are 2 extensions to select options.

select-options s_bukrs for t001-bukrs no-extension.

select-options p_bukrs for t001-bukrs no intervals.

hope this helped u.

Read only

Former Member
0 Likes
630

run this

tables : mara.

select-options : s1 for mara-matnr no intervals.

Read only

Former Member
0 Likes
630

in options no option to hide. Instead, you can use parameter ...

eg.

SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.

PARAMETERS : p_bukrs LIKE bsis-bukrs OBLIGATORY, "cocode

p_gjahr LIKE bsis-gjahr OBLIGATORY

DEFAULT sy-datum+0(4). "Year

SELECTION-SCREEN: END OF BLOCK b1.

SELECTION-SCREEN: BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.

SELECT-OPTIONS : s_budat FOR bsid-budat OBLIGATORY,

s_blart FOR bsid-blart NO-DISPLAY,

S_hkont FOR bsis-hkont OBLIGATORY. "G/L

SELECTION-SCREEN: END OF BLOCK b2.