08-29-2007 9:33 AM
Hello all
i have declared the pushbuttons in the simple report using SSCRFIELDS but in addition to text want icons to be displyed on those pushbuttons ..can we do it ? is it possibles ?
please help
thanks in advance
Nilesh.
08-29-2007 9:55 AM
hi Nilesh,
the way to do it:
declarations
DATA : l_sel_button TYPE smp_dyntxt.
INCLUDE : <ICON>.
selection screen
SELECTION-SCREEN FUNCTION KEY 1.
INITIALIZATION.
l_sel_button-icon_id = icon_hint.
l_sel_button-text = text-v01.
sscrfields-functxt_01 = l_sel_button.
same works for pushbutton, hope this helps
ec
08-29-2007 9:55 AM
hi Nilesh,
the way to do it:
declarations
DATA : l_sel_button TYPE smp_dyntxt.
INCLUDE : <ICON>.
selection screen
SELECTION-SCREEN FUNCTION KEY 1.
INITIALIZATION.
l_sel_button-icon_id = icon_hint.
l_sel_button-text = text-v01.
sscrfields-functxt_01 = l_sel_button.
same works for pushbutton, hope this helps
ec
08-29-2007 9:58 AM
Hi!
You'll need a structure:
DATA: functxt TYPE smp_dyntxt.
And then at INITIALIZATION or AT SELECTION-SCREEN OUTPUT:
functxt-icon_id = icon_change.
functxt-quickinfo = 'Change Sales Order'.
functxt-icon_text = 'Change'.
sscrfields-functxt_01 = functxt.
Regards,
Zoltá
08-29-2007 9:59 AM
Hi,
Check the Demo Program <b>DEMO_DYNPRO_STATUS_ICONS</b>.
Regards,
Padmam.