In order to display the icon on ABAP selection screen just pass the name of the icon or ID of the icon to the variable used in the SELECTION-SCREEN COMMENT statement.
You can find all the icon names and icon IDs in type pool ICON.
TYPE-POOLS: icon. *&---------------------------------------------------------------------* *& Selection screen *&---------------------------------------------------------------------* SELECTION-SCREEN BEGIN OF LINE. SELECTION-SCREEN COMMENT 1(15) text_001. SELECTION-SCREEN COMMENT 16(10) text_002. PARAMETERS p_in TYPE pathextern. SELECTION-SCREEN END OF LINE. SELECTION-SCREEN BEGIN OF LINE. SELECTION-SCREEN COMMENT 1(15) text_003. SELECTION-SCREEN COMMENT 16(10) text_004. PARAMETERS p_out TYPE pathextern. SELECTION-SCREEN END OF LINE. *&---------------------------------------------------------------------* *& Initialization *&---------------------------------------------------------------------* INITIALIZATION. text_001 = 'Excel Filename'. **Pass Icon name text_002 = icon_xls. text_003 = 'Error Log File'. **Pass Icon ID text_004 = '@1B@'.