on 11-07-2009 4:47 PM
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 )
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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( )"
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.