SELECT-OPTIONS
Hi Friends
I want to create selection screen like SM37 selection screen, in that there are fields like Date & time with icons and time is not having any label i.e. How can I include icons in Select-options.
And for date also not having any label but specified from and to .
And also how can we restrict the width of the selection-screen block.
These are things i didnt get, plez... guide me for achieving this type of selection screen.
Thanks In Advance.
A.R.S.Gupta.
The initial screen of the transaction in not the selection screen generated by SAP from the Parameters or Select-options statements. It is however a dialog program calling a screen. The required fields are then put on the screen along with the icons and text. Check in other examples on how to use a screen field as a 'select-option' type field.
Hi,
You could also try to play around with this. This small sample
will provide som icons in front of select-option.
REPORT ytest .
TABLES: btch2170.
INCLUDE <icon>.
SELECTION-SCREEN BEGIN OF BLOCK urval WITH FRAME TITLE text-so0. "Test
*..Line with Date Selection
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1( text-so4. "Fr.
SELECTION-SCREEN COMMENT 10(4) ico_date.
SELECT-OPTIONS:
so_date FOR btch2170-from_date NO-EXTENSION.
SELECTION-SCREEN END OF LINE.
*..Line with Time Selection
SELECTION-SCREEN BEGIN OF LINE.
SELEYTION-SCREEN COMMENT 10(4) ico_time.
SELECT-OPTIONS:
so_time FOR btch2170-from_time NO-EXTENSION.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK urval .
*..Initialization
INITIALIZATION.
MOVE icon_date TO ico_date.
MOVE icon_time TO ico_time.
// Fred