cancel
Showing results for 
Search instead for 
Did you mean: 

BSP - display icon

nu_dang
Explorer
0 Kudos

Hello,

I am a new to BSP and trying to create a BSP to search

for master contract and it's attachment list. In the display of the attachment document, I would like to display the icon symbol for the document type extention i.e. excel, word, pdf acrobat.

I appreciate

if you coould provide direction/sample codes. I tried reading from table ICON for the icon but does not work.

Please help.

Thanks,

nu

Accepted Solutions (0)

Answers (2)

Answers (2)

RieSe
Contributor
0 Kudos

Hi,

try this:

<img src="<%= CL_BSP_MIMES=>SAP_ICON( id = 'ICON_PAGE_RIGHT' ) %>">

The name of the id coresponds to the output of report SHOWICON.

Best regrads,

Stefan

PS: don't forget the reward points.

Former Member
0 Kudos

> The name of the id coresponds to the output of report

> SHOWICON.

Again use the webpage I gave (example in your system) and you won't have to worry about running other reports and at the top of the page it shows you the various ways of accessing those images inside your applications.

nu_dang
Explorer
0 Kudos

Thank you for the reply.

Former Member
0 Kudos

Does it work for Nu Dang? If so remember to mark that little yellow star next to the replies you received.

Former Member
0 Kudos

http://[hostname].[domain]:[port]/sap/bc/bsp/sap/it00/mime_sap_icons.htm

Check out that page should be in your system as well.

At the top it shows you how to display a SAP Icon.