Skip to Content
author's profile photo Former Member
Former Member

Data base XSTRING image to BSP Application.

Hi Bsp Guru's

Please let me know, How to display the image in xstring in data base table to BSP page layout.

Correct answer is rewarded with points.

Regrds,

Raju

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 16, 2009 at 07:27 AM

    Hi,

    Try to create a simple BSP/HTML page that will do something like <%= wv_xstring %>, and set the mime type of this page to image/jpeg (or whatever encoding is your image).

    Then, in the page that is supposed to display the image, just do something like : < i m g s r c = "previous_bsp_here" / >

    I think this should work.

    Good luck and have fun.

    Edited by: Thomas Villarubias on Sep 16, 2009 9:28 AM (hints to display HTML code...)

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 17, 2009 at 02:40 AM

    Hello Raju,

    In HTMLB there is

    <HTMLB img src>

    tag......

    by this you can display..it in the layout..

    or

    once you upload a image into to Database it will generate the LINK...you need to pass the link to that source.....

    Hope this will be helpfull..let me know if you have any more concerns

    Thanks

    kalyan.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 17, 2009 at 03:52 AM

    Hi,

    This [LINK|image-in-bsp;may help you!!

    OR

    [LINK2|how-to-upload-image-to-mime-object-using-fileuploa;

    Thanks,

    Sreekanth

    Edited by: Sreekanth on Sep 17, 2009 3:56 AM

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 29, 2009 at 08:09 AM

    Hi,

    i've almost the same question...

    I have a BSP application (CRM Webclient) where I need to set the customer picture.

    I call a Web Service (with the clientnumber) and I get the picture back in an xstring.

    Currently, I have:

    WS:=> In Model

    CALL FUNCTION 'Z_PICMAN_SERVICE'

    EXPORTING

    clientnumber = lv_clientnr

    IMPORTING

    resultstring = lv_photostring.

    Img tag: (In BSP)

    <htmlb:image src = "<%= model->lv_photostring %>"

    height = "150"

    width = "120" />

    But the picture is not displayed at the screen.

    Any idea's?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.