|
ABAP code to display SAP icons |
|
|
|
|
Written by Kevin Wilson
|
|
Wednesday, 28 May 2008 |
Below is the ABAP code to produce a list of icons including what they look like, name and code. Also see std. SAP program RSTXICON
*&-----------------------------------* *& Report ZICON *&-----------------------------------* *& Author: KWILSON *& Also see std. SAP program RSTXICON *&-----------------------------------* REPORT zicon LINE-COUNT 54. TABLES: icon. DATA: t_text(4) TYPE c. * Name * Length * Is button? * Is status? * Is message? * Is Function? SELECT-OPTIONS: so_name FOR icon-name, so_len FOR icon-oleng, so_butt FOR icon-button, so_stat FOR icon-status, so_mess FOR icon-message, so_fn FOR icon-function. SELECT * FROM icon WHERE name IN so_name AND oleng IN so_len AND button IN so_butt AND status IN so_stat AND message IN so_mess AND function IN so_fn. WRITE: /1 icon-id+1(2), icon-name. CONCATENATE '@' icon-id+1(2) '@' INTO t_text. WRITE: 35 t_text AS ICON. WRITE: 40 icon-oleng, 50 icon-button, 60 icon-status, 70 icon-message, 80 icon-function. ENDSELECT. TOP-OF-PAGE. WRITE: 40 'Length', 50 'Button', 60 'Status', 70 'Message', 80 'Function'.
Related Items:
|
|
Last Updated ( Wednesday, 28 May 2008 )
|