‎2009 Oct 07 11:01 AM
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
‎2009 Oct 07 9:45 PM
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.
‎2009 Oct 08 7:31 AM
Hi Sandra,
Would you please explain in detail reagrding option that you have suggested ?
Thanks,
Akash
‎2009 Oct 08 7:59 AM
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
‎2009 Oct 08 4:01 PM
you don't know what is a hotspot? Just search the forum. Run program BCALV_TEST_GRID_FIELDS