2012 Feb 07 3:46 PM
Dear Experts,
I want to hide Select Ranges tab from a Multi Selection matchcode (from a Selection-Screen). Is this possible?
Thank you.
2012 Feb 08 6:27 AM
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.
2012 Feb 07 4:09 PM
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...
2012 Feb 07 4:28 PM
Yeah, I know the options you say, but what I want is to hide the tab !
Thank you anyway !
2012 Feb 08 6:04 AM
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
2012 Feb 08 6:34 AM
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
2012 Feb 08 5:54 AM
I guess you should have a look at fm SELECT_OPTIONS_RESTRICT
2012 Feb 08 6:27 AM
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.
2012 Feb 08 7:39 AM
Hi,
You can try options SCREEN-INTENSIFIED or SCREEN-INVISIBLE in the loop.
Regards,
Ramya V
2012 Feb 08 11:03 AM
Dear experts,
Supriya solution worked perfectly.
Thank you. Points awarded.
2012 Feb 09 11:26 AM