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 Select Ranges from Multi Selection

Former Member
0 Kudos
2,923

Dear Experts,

I want to hide Select Ranges tab from a Multi Selection matchcode (from a Selection-Screen). Is this possible?

Thank you.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Kudos
1,178

Hello Raymond,

To hide ranges tab in multiple selection try for this code.


tables: mara.
SELECT-OPTIONS : s_matnr for mara-matnr.
AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.
  IF screen-name cs 'S_MATNR-HIGH'.
       SCREEN-ACTIVE = 0.
       MODIFY SCREEN.
  ENDIF.
  ENDLOOP.

This will hide the single and multiple ranges tabs in multiple selection.

Regards,

Supriya.

9 REPLIES 9
Read only

Phillip_Morgan
Contributor
0 Kudos
1,178

Hi,

As far as I can tell, you can limit by hiding the "to" field with "NO INTERVALS", but if you click on the button you still have all the tabs available.

Another option is to use "NO-EXTENSION" which gives you From / To but no access to popup and tabs for multiple selection.

But I may not have understood entirely your request...

Read only

Former Member
0 Kudos
1,178

Yeah, I know the options you say, but what I want is to hide the tab !

Thank you anyway !

Read only

0 Kudos
1,178

Hi,

If what you want is to hide the select options itself use clause NO-DISPLAY. If you just want to limit the range use NO-INTERVALS.

Regards.

Aswatha

Read only

0 Kudos
1,178

Hi,

Try the following ,

TABLES vbak.
SELECTION-SCREEN BEGIN OF BLOCK a WITH FRAME TITLE text-001.
SELECT-OPTIONS s_sel FOR vbak-vbeln NO INTERVALS NO-EXTENSION.
SELECTION-SCREEN END OF BLOCK a.

You can also refer function Module SELECT_OPTIONS_RESTRICT

Refer the following link

<link farm removed>

Thanks,

Renuka S.

Edited by: Suhas Saha on Feb 8, 2012 12:07 PM

Read only

kesavadas_thekkillath
Active Contributor
0 Kudos
1,178

I guess you should have a look at fm SELECT_OPTIONS_RESTRICT

Read only

Former Member
0 Kudos
1,179

Hello Raymond,

To hide ranges tab in multiple selection try for this code.


tables: mara.
SELECT-OPTIONS : s_matnr for mara-matnr.
AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.
  IF screen-name cs 'S_MATNR-HIGH'.
       SCREEN-ACTIVE = 0.
       MODIFY SCREEN.
  ENDIF.
  ENDLOOP.

This will hide the single and multiple ranges tabs in multiple selection.

Regards,

Supriya.

Read only

Former Member
0 Kudos
1,178

Hi,

You can try options SCREEN-INTENSIFIED or SCREEN-INVISIBLE in the loop.

Regards,

Ramya V

Read only

Former Member
0 Kudos
1,178

Dear experts,

Supriya solution worked perfectly.

Thank you. Points awarded.

Read only

0 Kudos
1,178

Thank you.