Application Development and Automation 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: 
Read only

Provide image attachment functionality in table control column

Former Member
0 Likes
650

Hi Experts,

I got a requirement in which we have to provide image attachment functionality to user in a screen's table control column.

Basically the requirement is that user should be able to attach an image in a particular column of a particular record of table control and then the column should contain thumbnail image or image link so that user can also open the attached image from there.

Can any body suggest / tell me how can i provide such functionality ?

Thanks in advance,

Akash

4 REPLIES 4
Read only

Sandra_Rossi
Active Contributor
0 Likes
551

you cannot insert a picture in a table control, but you may add a hotspot (one-click clickable text) which acts like a command key. If it's clicked, you may easily display a popup containing the picture.

Read only

Former Member
0 Likes
551

Hi Sandra,

Would you please explain in detail reagrding option that you have suggested ?

Thanks,

Akash

Read only

0 Likes
551

hi,

Give a button in the ALV Column and write the remaining logic in the click of that button.

You can refer Rich's code for uploading image in the below link;

=> FM for uploading Image to SAP

You can refer the following link for a relevant example to show a picture;

http://www.abap-tutorials.com/sap-abap/display-oaer-pictures-on-screen/

Hope it will be useful for you.

Regards

Karthik D

Read only

0 Likes
551

you don't know what is a hotspot? Just search the forum. Run program BCALV_TEST_GRID_FIELDS