Application Development 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: 

Hide Select Ranges from Multi Selection

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Phillip_Morgan
Contributor
0 Kudos

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...

Former Member
0 Kudos

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

Thank you anyway !

0 Kudos

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

0 Kudos

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

kesavadas_thekkillath
Active Contributor
0 Kudos

I guess you should have a look at fm SELECT_OPTIONS_RESTRICT

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi,

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

Regards,

Ramya V

Former Member
0 Kudos

Dear experts,

Supriya solution worked perfectly.

Thank you. Points awarded.

0 Kudos

Thank you.