Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Add icon into a table in Screen Painter

Jimmy21
Participant
0 Kudos

Hi everyone.

I have a questions, I don't know if possible add an icon inside a table that was created by screen painter.

2 REPLIES 2

Sandra_Rossi
Active Contributor
0 Kudos

Yes it's possible as you can see in your screen capture. At least a four-character text field would suffice, that you fill with special icon text @15@ for instance (list of values in the ICON type pool, or run SHOWICON program; you may call ICON_CREATE to build the icon text). I guess there is some many information in the ABAP documentation or at least in the forum.

Christophe_SW
Participant
0 Kudos

This video shows you how to add an additional column in your table starting from 12:00. (assuming you created a table with the wizzard earlier on )

https://youtu.be/61KYlKSzxZM?t=720

If you want to show icons in this new column, make sure to use char4 as the datatype and make the column read-ony. Like previous comment mentions, the icons are written in the following format "@15@".

Check the following answer for a complete code example:
https://answers.sap.com/answers/4053060/view.html