07-06-2006 8:33 AM
hi!
i need to add print icon in selection screen near the execute icon.
how do i do it?
and how do i treat it afterwards?
regards
yifat
07-06-2006 8:36 AM
REPORT ZNEGI12 .
TABLES: sscrfields .
INCLUDE <icon> .
SELECTION-SCREEN FUNCTION KEY 1 .
parameters: pc(1) .
INITIALIZATION .
CONCATENATE icon_next_object 'test button at applicatin toolbar'
INTO
sscrfields-functxt_01 .
AT SELECTION-SCREEN.
IF sscrfields-ucomm EQ 'FC01' .
break sy-uname .
ENDIF .
07-06-2006 8:36 AM
REPORT ZNEGI12 .
TABLES: sscrfields .
INCLUDE <icon> .
SELECTION-SCREEN FUNCTION KEY 1 .
parameters: pc(1) .
INITIALIZATION .
CONCATENATE icon_next_object 'test button at applicatin toolbar'
INTO
sscrfields-functxt_01 .
AT SELECTION-SCREEN.
IF sscrfields-ucomm EQ 'FC01' .
break sy-uname .
ENDIF .
07-06-2006 8:59 AM
hI yIFAT,
YOU ARE NOT talking about the ICON in selection screen, i think you are talking about the PRINT button Beside to EXECUTE button in selection screen
if so you have to do this way..
REPORT ZTEST .
TABLES sscrfields.
PARAMETERS: P_TEXT(10).
<b>INITIALIZATION.
set pf-status 'AAA'.</b> "Here add EXECUTE,PRINT, and enable BACK,CANC,EXIT buttons.
"Handling the Buttons..
AT SELECTION-SCREEN.
IF sscrfields-ucomm = 'PRINT'.
ENDIF.
Regards
vijay