cancel
Showing results for 
Search instead for 
Did you mean: 

About list dynamic images in ADS for WebDynPro ABAP

Former Member
0 Kudos

Hi All

I find a blog and try it on my server .

I had added theimage in se78, During debugging, everything seems to get filled correctly,

but r the image doesn't display in UI - Image file Q_Q

Please help

the blog is : ( How Tou2026 Integrate ADOBE form on WebdynPro for ABAP and Deploy it on portal )

http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417700)ID0559322050DB00377446485733506510End...

Accepted Solutions (1)

Accepted Solutions (1)

RalfRuth
Employee
Employee
0 Kudos

Hi,

As far as I know, Adobe expects the image data base64 encoded by default (see XML Forms Architecture specification).

So you could do the following:

Convert the image (binary data, xstring) to base64 by using cl_http_utility=>encode_x_base64( ). This method returns a string, so you have to bind it to a context attribute ("IMAGE_DATA") of type string too!

Greetings,

Ralf

Former Member
0 Kudos

Sorry I late >"<

My org. program used the method "cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp"

and i used ls_z_if_test_cv-im_photo ( type is Xstring) to receive export data

the program code is :

CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp

EXPORTING

p_object = 'GRAPHICS'

p_name = 'ENJOY' " Sap logo

p_id = 'BMAP'

p_btype = 'BCOL'

RECEIVING

p_bmp = ls_z_if_test_cv-im_photo

EXCEPTIONS

not_found = 1

internal_error = 2

OTHERS = 3.

in this case , i need using cl_http_utility=>encode_x_base64( ) to conver ls_z_if_test_cv-im_photo ???

and in my sap, i only found METHOD "cl_http_utility=>encode_base64( )"

Answers (4)

Answers (4)

Former Member
0 Kudos

This message was moderated.

OttoGold
Active Contributor
0 Kudos

What exactly is 3q? This is not the first thread closed with this meaningles comment. This is not how we do it here! Your behavior is not welcomed here! Otto

OttoGold
Active Contributor
0 Kudos

Hello, did you get your answer and solve the problem? If so, please close the thread and share your solution and experience with us so the other members of the community benefits from that too. Otto

OttoGold
Active Contributor
0 Kudos

Hello,

please check you don´t use Image but only Image Field element on the form. It was written in the tutorial you mentioned.

Also you´d better check you have checked the "Embed image data" on tab Object - Field on the Image Field.

Hope this helps, because I was successful recreating the form from the mentioned the tutorial, Otto

RalfRuth
Employee
Employee
0 Kudos

Hi,

Unfortunately, I'm not familiar with cl_ssf_xsf_utilities.

CL_HTTP_UTILITY (IF_HTTP_UTILITY->ENCODE_X_BASE64): See note 1242305

Cheers,

Ralf