Display image in BSP page,images are on a web server outside of SAP

Hi,
I am creating a BSP page for employee profile.The page needs to show an emp picture along with other info.The images are not in the MIME repository,they are stored in a separate web server.I am able to display the page using
<img border="0"                     src="http://.com/xyz/xyz.bmp" >
However this is a non secured test server. If the images are on a secured server,I am assuming,an id ,pswd authentication will be required.Can I get the authentication done automatically so that the page is rendered seamlessly for the end user?
Would SSO help if this web server is a portal server?what if the web server is not a portal server?

Hi Manidipa,
The Http class in SAP can also be used in passing the required authentication information to the non-SAP portal system.
http://searchsap.techtarget.com/whitepaperPage/0,293857,sid21_gci1084087,00.html
There is an article written by Angeli Axel which does the same. The article has got ABAP HTTP classes and methods to get and post the parameters to the non-SAP portal system.
The same solution can be done by passing the credentials in the url. The custom solution would be to pass the required credentials in the url and the receiving application should grab those information from the url and confirm the authentication. After that it should be able to provide you the image. After getting the image it can be simply displayed in your BSP using iframe tag.
For eg if the receiving side is in java, then the following code can be used to receive the username and password. Once you get this you can verify the validity depending on the datasource whether LDAP(MS-ADS, Sun one, Novell edirectory) or ordinary database(Oracle, MS SQL Server .. etc) is used for storing the credentials.
try {
          String userName = request.getParameter("username");
          String password = request.getParameter("password");
          if (validateUser(userName, password)) {
             response.sendRedirect("mainpage.jsp");
The main page here you display the image
} catch (Throwable t) {
The above code should be considered as pseudo code for any server side language.
Please let me know if this helps.
With regards,
Rajesh Khanna Venkatesan.

Similar Messages

  • Display image in Smart camera web interface

    Hi!
    I need some assistance with LV-RT. 
    What I have succeeded is to enalble the web server on NI 17XX camera and successfully displayed a VI with Image Display on it. I thikn I got the hang of it. 
    What I would like to know is there another way to display images on the camera web page. I really do not need the whole VI up there just an image and a string with serial number. One way I know would work is to write an image file to the system memory and then embed that image to the web page, but I am not sure that is the best solution as writing process takes time and it is not recommended to write too often to the program memory (am I right?).
    So, is there some way to assign some object to say a memory bank and display it (without having to install the runtime maybe) on the page?
    Thank you for your attention,
    Mart

    Hey Mart,
    Going back to your original question; are you looking to stream images to a web page from your smart camera or simple see what your camera is seeing when you go to a particular site? Take a look at the sample project below. It is sort of a work around, but it posts an image to a web service. Essentially it snaps an image, saves it, and then posts the saved image to a web service. You will have to change the file path for the image, then build and deploy the webservice from the project view. Also, it would be beneficial to take a look at the webservice build specifications. The webbing to view the snapped image from your local machine would then be viewable from your web browsers at the address : "http://localhost/Stream_Service/ShowImag"
    Let us know if you have trouble getting this example working. Also, perhaps another visit to what your end goal is would be helpful. What was it that you had working?
    Hope this helps
    -Ben
    Message Edited by BCho on 04-10-2009 02:27 PM
    Hope this helps.
    -Ben
    WaterlooLabs
    Attachments:
    SnapWebService.zip ‏14 KB

  • HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

    Well this morning I woke up to see that my site hosted on Windows Azure was producing 50X errors and in general being incredibly slow (up to 60 seconds response time).
    Now after looking through the DetailedErrors folder I see that the error received is:
    HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
    I tried creating a new test website and host it and guess what? I receive the exact same error here as well.
    What could be causing this?

    hi,
    Do you use windows azure website in Europe ? According to azure dashboard shown,
    Some customers may experience intermittent time out errors or slow response when accessing their web sites. Please see this image: 
    And now, you could try it again.
    If I misunderstand, please let me know.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • What are the minimum hardware Server requirement for SAP BI BO

    I would be thankful if someone can please tell me  What are the minimum hardware Server requirement for SAP BI BO. if a separate Desktop is used for the server or local server purpose.
    In the Desktop
    I have 8 GB RAM
    2.60 Ghz Processor ( CPU)
    System type: 64 bit OS
    regards
    ranendra

    Hi,
    Refer the attached PAM for BO 4.0 and 4.1.Minimum hardware details are listed there.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0134dbb-8f10-3010-5084-cf90dbb35284?QuickLink=index&overridelayout=true&58879706677537
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/507d3365-009b-3010-04b0-e5abc8f00c91?QuickLink=index&…
    I haven't try with your similar specification but  in the below link some one tried with similiar one.
    What are the minimum system requirements to install SAP BO 4.0/4.1
    Amit

  • How to download data displayed in a BSP page into Excel sheet

    Hi,
    I'm displaying an internal table data into tableview of a BSP page. I want to provide a feature to download the tableview contents to Excel sheet from Internet Explorer.  How do I do it?  Can someone guide me.
    Kedhar.

    Hi Kedhar,
    welcome to SDN. You should try to use the Search functionality here. Then you will find this Weblog:
    <a href="/people/thomas.jung3/blog/2004/09/02/creating-a-bsp-extension-for-downloading-a-table">Creating a BSP Extension for Downloading a Table</a>.
    You can award points if this answer was helpfull.
    Regards
    Gregor

  • Can anyone tell me how to speed up the image downloads in iPlanet Web Server 6.0?

    I am running iPlanet Enteprise Web Server v6.0 SP1 and I have a page that has quite a few images and they load extreemly slow. If I load the same page and images on version 4.1 SP7 it runs really fast. Help?

    Just a suggestion: Try using iWS6.0SP2, it has some performance improvements.

  • How to save uploaded image file to Apache Web Server from Tomcat

    Hi guys,
    Perhaps this is not an appropriate topic to ask under this forum but I really don't know where should I post my question. Hope you understand.
    Ok, I need to know if my web application is running in Tomcat5 and user uploading some image file where I need to save these image files to the other server, which is running Apache Web Server. Should I ftp to there or other better method ?
    Anyone got a better idea on doing this kind of process pls advice. Many Thanks !
    regards,
    Mark

    if your Apache server is running in the same computer and if your servlet have write access to the folder in apache under which you want to save the file you can just write the file there but you will have to address concurrency issues.
    Otherwise you will have to do ftp but since apache does not have abuilt in frp server you will need a seperate FTP server for this

  • Display image in Report from File Server

    Hi
    As the logo of the company is changing every 3 - 4 months, i need a solution for this..
    my approach is to replace the new logo in file server
    call the logo in the oracle reports... using oracle reports 6i...
    but i am not able to do so ( which objects to be used like formula column, link file, ole) ... any help from your side will be good.
    Regards
    Yram

    You may put the logo into db as a blob column and retrieve it onto report. One update in db would update all calling reports.

  • Content not displayed on webcenter spaces page tiIl I login to UCM server.

    Hi Yannick,
    I have created an html file which loads the flash file and checked in to the UCM server. I have added a content presenter on the page runtime and selected the html file as the content.
    Now when I load the page, I couldnot see the content. The content gets displayed on the page once I login to the UCM server and refresh the webcenter page.
    Please suggest the solution. I am working with Avitek Demo VM. I have stored the file in the public_images folder.
    Thanks,
    SK

    You need to assign application (spaces) role "Administrator" to your user for Admin link to see (by default weblogic user is assigned to this role)
    To add it
    Login to Fusion Middleware Control -> WebCenter -> WebCenter Spaces -> Right Click on WebCenter -> Security -> Application Role
    Add your user to role “Administrator”
    Atul Kumar
    http://onlineAppsDBA.com

  • Displaying different currency(different from sales area data) in Web shop

    Hi
    I have a B2B scenario where only one sales area is maintained for the sold to party. And the currency is maintained for the sold to party is USD.
    the requirement is to show a different display currency(EUR) for contact persons of the sold to party ordering through webshop.
    I have tried changing the Product catalog variant currency, also added the currency 2 field in the product catalog variant.
    But the currency is still being picked from the Sold to party sales area master data. I am not able to figure out any usage of currency 2.
    Is there any other workaround available to display a different currency? (I am ruling out the option of Creation of new sale area as thats not possible in this scenario)
    regards
    Subhasis

    Subhasis,
    I think you have to maintain the different currencies in customer master data.
    If it is not possible  you can do the following method.
    Create a custom field to show different currencies after selecting the currencies convert that into the currency which is maintained in the customer master data.
    Thanks and Regards
    shanto aloor

  • Newbie: displaying images

    I'm new to working withing ColdFsion and to IIS, and
    hopefully this is an easy one for someone here. I have my
    ColdFusion pages displaying, but can't display images, even with a
    direct URL. Do I need to set something in ColdFusion to allow
    images to display? IIS has jpg and gif registered as mime type, do
    I need to also register them for the added web site (seems they
    would inherit)? Or is something else blocking images that I'm
    missing? I'm allowing "Web Services" through the server's firewall
    settings, and get no images even with the firewall off, so that's
    not it. Maybe a file permissions issue? I've tried a lot of things
    and searched for a long time, so thought I'd post in hopes of help
    or some direction.
    My setup: Windows Server 2003, IIS 6.0, ColdFusion MX
    6,1,0,83762, Windows Firewall
    Any help greatly appreciated,
    Eric

    Unless you are doing something very sophisticated, ColdFusion
    has
    nothing to say about the displaying of images.
    ColdFusion creates the HTML (including any image tags) to be
    sent to the
    browser as a response to a request. The browser parses this
    HTML and
    makes any requests for image files it needs to the web
    server. The
    browser incorporates the delivered image content from the web
    server
    into the rendered page.
    Take a look at the generated HTML code for the page. Post
    relevant
    parts here if you need help interpreting the code. Most
    likely you are
    not correctly generating <img ...> tags for some
    reason.
    P.S. Yes CF can and does do more then HTML responses these
    days, but
    for this discussion, the HTML response is what is of concern.

  • Upload and display image in webside

    Hello Friends,
    I am developing an auction web site ,and facing some problem so I need your help.
    There is some confusion about uploading and displaying images in website .In web based
    application if I want to upload images than where have to store the images database or server
    side any folder .I have not idea about that please send your ideas and sussesions.
    Second problem is What is the best way to display images in webside either giving a direct
    path of server side image folder or I need to retrieve all images from database .
    I have no idea about it please send me your guideline which are usefull for me to implement in my
    website.
    what is the correct way to upload and display images in website ?
    Thanks . Have a nice day.

    If you are using a Container you just leave your image files in the home directory of your web application. And forget this idea about database. It´s not necessary in this case.
    To display the images just use HTML, <img src="url">.

  • Displaying image from database table.

    Hi All,
       I am very new to Web Dynpro ABAP.
      I am developing an application to display an image in "Image" UI Element.
      For this I have one table consisting of fields image id, image data and image name. here image id is primary key field.
    Now i want to display an image from that table in "Image" UI Element. For this i am using "Filedown load" UI element.
    But by using filedownload ui element i can diaplay image in another new page.
    But my requirement is to display image in the same web page without creating a new one.
    (I want to display the image in "Image" UI element without storing that image in MIME objects.)
    Can anyone help me.
    Thanks in Advance!
    Regards,
    Sreelakshmi.

    What you describe is completely possible.  Since you have the image data (XSTRING) in the context you have everything you need.  You don't need to store the content into the MIME Repository, but you do need to get it somewhere where it has an externally accessible URL.  Remember you need to supply image UI element with a URL.  This URL is processed on the client side by the web browser.  Therefore just giving it a path to the context won't work as that isn't externally accessible.
    I would suggest instead that you place the image content into the ICM cache temporarily.  This lets you basically generate a temporary URL for the image that can be used by the Image UI element. 
    Here is some example code that pushes images into the ICM Cache:
    ****Create the cached response object that we will insert our content into
      DATA: cached_response TYPE REF TO if_http_response.
      CREATE OBJECT cached_response
        TYPE
          cl_http_response
        EXPORTING
          add_c_msg        = 1.
       try. " ignore, if compression can not be switched on
          call method cached_response->set_compression
            exporting
              options = cached_response->co_compress_based_on_mime_type
            exceptions
              others  = 1.
        catch cx_root.
      endtry.
    ****set the data and the headers
      DATA: l_app_type TYPE string.
      DATA: l_xstring TYPE xstring.
          cached_response->set_data( me->gx_content ).
          l_app_type = me->gx_mimetype
      cached_response->set_header_field( name  = if_http_header_fields=>content_type
                                         value = l_app_type ).
    ****Set the Response Status
      cached_response->set_status( code = 200 reason = 'OK' ).
    ****Set the Cache Timeout - 60 seconds - we only need this in the cache
    ****long enough to build the page and allow the Image on the Client to request it.
      cached_response->server_cache_expire_rel( expires_rel = I_CACHE_TIMEOUT ).
    ****Create a unique URL for the object
      DATA: guid TYPE guid_32.
      CALL FUNCTION 'GUID_CREATE'
        IMPORTING
          ev_guid_32 = guid.
      CONCATENATE i_path '/' guid '.' i_format INTO r_url.
    ****Cache the URL
      cl_http_server=>server_cache_upload( url      = r_url
                                           response = cached_response ).

  • Displaying images from url connection

    I'm working on an application that extracts information from html content (textual, colors, images...) and evaluates rates of emotion and personality.
    I need to access and display images contained in a web page.
    How can I add an image to a pane and display it knowing its url,
    for example I want to display image.jpg knowing http://www.website.com/image.jpg

    The ImageIcon class in javax.swing can accept a URL in the constructor:
    public ImageIcon(URL location)

  • Displaying images from url's (9i)

    Is it possible to some how display images retrieved from a url within an image item? I know its possible to display images from within the database and from a file but these images are stored on another server and all i have is a web address, can it be done? Also is it possible to dislpay a series of images that are retrieved in this way in a report?
    Any help is much appreciated.

    Hi,
    this would require a Java Bean to be written. Its not natively possible in Forms
    Frank

Maybe you are looking for

  • Separate project for each ADF task flow?!

    Hi, We have a BPM process application which is having a few human tasks. The form for each of the human tasks is similar. We'd like to be able to share some page fragments or code between them and create single web application to handle all the human

  • Work around for radio tuner service not working

    A work around for the lack of radio tuner service that has appearently hit Itunes versions lower than 11. We all hope that Apple will restore Radio Tuner Service for us legacy products users soon, but I've been thrown under the bus more than once by

  • Adding a button before the TOC button in a WebHelp Pro navigation bar

    My client wnats to add a "Home " button to the left of the TOC button in the navigation bar. I can ad buttons to the right of the "standard buttons": TOC, Search, Print, and Glossary, but even if I go and edit the skn file and add the "Home" botton b

  • BSP - BW Webtemplate Session destroy

    Hi, all I have a question. We use webtemplate by EP. webtemplate is called by BSP. Flow : EP -> BSP -> Web Template 1. EP SSO Method : User Mapping 2. BSP Session : Stateful Problem is.. In BSP page, p_page = '/sap/bw/BEx?sap-language=KO&bsplanguage=

  • Changing UCM Server IP Address

    I built an Oracle  Linux 6.6 VirtualBox VM with Oracle DB, WLS and WCC 1.1.1.8 on our office network giving the VM box the static IP of 192.168.2.60 on a bridged network with the host which is my laptop. I want to use it for demos but when the host I