cancel
Showing results for 
Search instead for 
Did you mean: 

How to display archive link picture in pdf

Former Member
0 Kudos

Hi, Experts

I create a pdf form using tcode SFP, and create a graphics element in the form,

but i don't want to use the MIME object to disaplay,because our pictures are archive link.

How to display archive link picture in pdf form?

Thanks you very much!

Ken.li

Accepted Solutions (0)

Answers (2)

Answers (2)

OttoGold
Active Contributor
0 Kudos

Hello,

I can recommend you go through the tutorial called How Tou2026 Integrate ADOBE form on WebdynPro for ABAP and Deploy it on portal by Bhawanidutt Dabral. Ignore the fact it uses WD, I have tried the proposed solution how to load in the picture on a simple offline/ print form. Look around for this tutorial.

It propose to use the FM as follows:

CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp

EXPORTING

p_object = c_graphics

p_name = lv_pernr1

p_id = c_bmap

p_btype = c_bcol

RECEIVING

p_bmp = ls_z_if_test_cv-im_photo

EXCEPTIONS

not_found = 1

internal_error = 2

OTHERS = 3.

It passes the picture as XSTRING into the form and there you bind this data stream to a Image Field (not an Image!!! check this twice). Don´t forget to check the checbox to include picture data into the form file.

Hope this helps, Otto

Former Member
0 Kudos

Hi,

Try with Lanch URL UI element in webdynpro native library .

Kind Regards,

Mukesh

Former Member
0 Kudos

Hi, Mukesh

Thank you for your replay!

I don't use the web dynpro, i display PDF form using html in gui screen.

I try to read archive picture and convert to xstring variable,but i run the

program, the pdf form displayed like binary code,not a picture.

Ken.li