09-15-2008 11:04 AM
Hi
I have created a button using on tool bar of my selection screen using-
SELECTION-SCREEN FUNCTION KEY 1. "button on the application toolbar
INITIALIZATION.
MOVE 'MAIL HISTORY' TO SSCRFIELDS-FUNCTXT_01.
now i want to have a mail icon in that button.how to do that.
thnx...
09-15-2008 11:07 AM
Look up the structure SSCRFIELDS. It contains more options than define a title
09-15-2008 11:10 AM
Hi,
Plz check :
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-006.
SELECTION-SCREEN PUSHBUTTON 70(4) charly1 USER-COMMAND create.
SELECTION-SCREEN END OF BLOCK b1.
INITIALIZATION.
WRITE icon_display TO charly AS ICON.
thanx.
09-15-2008 11:14 AM
hi,
check this.
[https://forums.sdn.sap.com/click.jspa?searchID=16277589&messageID=5907079]
09-15-2008 11:21 AM
Move internal value of the icon to the text. For example, if you want create icon, just pass
INITIALIZATION.
MOVE '@0Y@' TO sscrfields-functxt_01.
09-15-2008 11:28 AM
You can also try this...
REPORT ztest_conv4.
TABLES sscrfields.
DATA: dyn TYPE smp_dyntxt.
PARAMETERS: p_carrid TYPE s_carr_id.
SELECTION-SCREEN: FUNCTION KEY 1.
INITIALIZATION.
dyn-icon_id = '@1S@'.
dyn-quickinfo = 'Send Mail'.
dyn-icon_text = 'Mail'.
sscrfields-functxt_01 = dyn.