cancel
Showing results for 
Search instead for 
Did you mean: 

How to display image?

Former Member
0 Kudos

Hi all,

How to display image from the database table in the adobe form by using web dynpro abap?

I want to display image in the adobe interactive form by using web dynpro abap.

Please help me.

Regards,

srini

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Srini, Check this article which shows how to display a user's photograph in the Adobe form; [https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/7783] [original link is broken] [original link is broken] [original link is broken];. Hope it helps! Regards, Radhika.

Former Member
0 Kudos

Hi radhika,

Thanks for posting.

But it need to display the image from the dictionary table.

Regards,

srini

Former Member
0 Kudos

Hi Srini, If you go through the article you might have seen the following piece of code

*** Send the values back to the node
  lo_el_z_if_test_cv->set_static_attributes(
    EXPORTING
      static_attributes = ls_z_if_test_cv ). 
" here ls_z_if_test_cv has the image in XSTRING format which has beeen retrived using METHOD get_bds_graphic_as_bmp of CLASS cl_ssf_xsf_utilities
" In  your case you need to just use the select query n fetch it from your table; ( provided your image is store in XSTRING format )
How is your image stored in your database table ? Regards, Radhika.

Former Member
0 Kudos

Hi radhika,

I fetched from the table and assigned. I am not getting the image.

Image stored in the table is in RAWSTRING format.