on 11-24-2009 10:30 AM
Hi All,
I have uploaded a tiif image as a standard text.now my requirement is to download the same image, but I am unable to do so.
its showing the details in text format only.
I used Read_text FM and its giving me the text.
Is it possible to download the image.If yes how can I achieve this.
Regards
Lalit
Hello,
why did you save the picture as text? Why not SE78? To get a picture out of SE78 use code:
c_graphics TYPE tdobjectgr VALUE 'GRAPHICS',
c_bmap TYPE tdidgr VALUE 'BMAP' ,
c_bcol TYPE tdbtype VALUE 'BCOL'.
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.
If you really need to to save it as text (i doubt this), convert it. If you do it yourself - the coding - then the decoding (binary - text - binary) will work the opposite way. I guess you can use something like scms_binary_to_xstring.
Regards, Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.