01-30-2007 2:19 PM
How to display the selection screen with icons as well as with texts (written in text elements) for PlantDate, OrderType,WareHouse..
01-30-2007 2:21 PM
Check out in this way ..
type-pools: icon.
selection-screen begin of block b1 with frame title text-001.
parameters: p_check.
selection-screen comment 40(20) icon1.
selection-screen end of block b1.
at selection-screen output.
* Write pushbutton text
write icon_configuration as icon to icon1.
concatenate icon1 'Your Icon' into icon1
separated by space.
start-of-selection.
01-30-2007 2:21 PM
Check out in this way ..
type-pools: icon.
selection-screen begin of block b1 with frame title text-001.
parameters: p_check.
selection-screen comment 40(20) icon1.
selection-screen end of block b1.
at selection-screen output.
* Write pushbutton text
write icon_configuration as icon to icon1.
concatenate icon1 'Your Icon' into icon1
separated by space.
start-of-selection.
01-30-2007 2:23 PM
slight modification to Rich Code
report zrich_0001 .
type-pools: icon.
selection-screen begin of line.
selection-screen comment 1(5) text_001.
<b>selection-screen comment 8(10) text-002.</b> " double click on text-002 and give the description
parameters: p_werks type marc-werks.
selection-screen end of line.
initialization.
write ICON_PLANT as icon to text_001.
01-30-2007 2:23 PM
declare type-pools: icon.
parameters: p_werks type t001w-werks.
now in initialization u need to write the following code which will display icon as well as text.
initialization.
write ICON_PLANT as icon to text-001.
Message was edited by:
Ramesh Babu Chirumamilla
01-30-2007 2:24 PM
Report zex33.
type-pools: icon.
selection-screen begin of line.
selection-screen comment 1(20) text_001.
parameters: p_werks type marc-werks.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 1(20) text_002.
parameters: p_whouse(10).
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 1(20) text_003.
parameters: p_auart like vbak-auart.
selection-screen end of line.
initialization.
write ICON_PLANT as icon to text_001.
concatenate text_001 text-001 into text_001 separated by space.
write ICON_WAREHOUSE as icon to text_002.
concatenate text_002 text-002 into text_002 separated by space.
write ICON_ORDER as icon to text_003.
concatenate text_003 text-003 into text_003 separated by space.
01-30-2007 2:25 PM
Hi,
<b>Take a look at the following eg :</b>
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(20) text-lgo FOR FIELD p_lgort.
PARAMETERS : p_lgort LIKE mard-lgort.
SELECTION-SCREEN END OF LINE.
+
Create text-lgo ( text Symbol ) with content : "@A1@ Warehouse"
To know all available icon, please use program <b>RSTXICON</b>
Hope this helps,
Erwan
01-30-2007 2:27 PM
Using the code from your other thread.............
report zrich_0001 .
type-pools: icon.
selection-screen begin of line.
selection-screen comment 1(20) text_001.
parameters: p_werks type marc-werks.
selection-screen end of line.
initialization.
* First write the icon, then concatenate the text element into that variable.
write ICON_PLANT as icon to text_001.
concatenate text_001 text-001 into text_001 separated by space.
Regards,
Rich Heilman