Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

adding icons to the SSCRFIELDS pushbuttons .. plz help !!!

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.

Tags:
Former Member
replied

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

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question