How to open Image path URL link in OA Framework

Hi Friends
I Have the requirement please suggesh me ur idea
1)I have created a SearchPG with two LOV fields if I select a value from the LOV - example -orderno 1233455
It brings data in my table field for that particular ordernumber
My table has column like for example as below
Order_no,po_no ,cust_name ,address,image_path etc
Here in -Image_path column bring data from my DB like EX : \\mycomp\xxxx\yyyy\4\5\7\7\0204755.tif
here this my requirement
Here the Image_path column should be like a link when we click the link it should open and pring a PDF file
Please suggest me what need to be done for my requirement
Your help will be highly apprerciable
Advance Thanks
AT

Hi
what is the bean type of image_path , if it is not a link bean then u should hide this and create a new field of link bean type through personalization , all other mappings like viewinstance and view attribuets should similar to the image_path fields .
Thanks
Pratap

Similar Messages

  • How to display URL images and URL link (html) from Smartforms?

    Hi Gurus,
    I'm having difficulty on how to display targeted URL images and URL link from the smartforms, after i sending it out as html mail. The mail i sent just can be preview as a plain text, which can't execute the html code that i put inside the smartforms itself. I follow a few step from this very useful blog.. Hopefully, you guys can give me some solutions or ideas on this.
    /people/pavan.bayyapu/blog/2005/08/30/sending-html-email-from-sap-crmerp -thanks to Pavan for his useful blog.
    My code is like this..
    <--- Start Code.
    FORM call_smartforms.
      DATA : lv_subject TYPE so_obj_des,
             lc_true(1) VALUE 'X',
             lw_control_parameters TYPE ssfctrlop,
             lw_output_options TYPE ssfcompop,
             lc_graphics(8) VALUE 'GRAPHICS',
             lw_xsfparam_line TYPE ssfxsfp,
             lc_extract(7) VALUE 'EXTRACT',
             lc_graphics_directory(18) VALUE 'GRAPHICS-DIRECTORY',
             lc_mygraphics(11) VALUE 'mygraphics/',
             lc_content_id(10) VALUE 'CONTENT-ID',
             lc_enable(6) VALUE 'ENABLE',
             lw_job_output_info TYPE ssfcrescl,
             lw_html_data TYPE trfresult,
             lw_graphics TYPE ssf_xsf_gr,
             lt_graphics TYPE tsf_xsf_gr,
             lv_html_xstr TYPE xstring,
             lw_html_raw LIKE LINE OF lw_html_data-content,
             lv_incode TYPE tcp00-cpcodepage VALUE '4110',
             lv_html_str TYPE string,
             lv_html_len TYPE i,
             lc_utf8(5) VALUE 'utf-8',
             lc_latin1(6) VALUE 'latin1',
             lv_offset TYPE i,
             lv_length TYPE i,
             lv_diff TYPE i,
             lt_soli TYPE soli_tab,
             lw_soli TYPE soli,
             lc_mime_helper TYPE REF TO cl_gbt_multirelated_service,
             lv_name TYPE mime_text VALUE 'sapwebform.htm',
             lv_xstr TYPE xstring,
             lw_raw TYPE bapiconten,
             lt_solix TYPE solix_tab,
             lw_solix TYPE solix,
             lv_filename TYPE string,
             lv_content_id TYPE string,
             lv_content_type TYPE w3conttype,
             lv_obj_len TYPE so_obj_len,
             lv_bmp TYPE so_fileext VALUE 'BMP',
             lv_description TYPE so_obj_des VALUE 'Graphic in BMP format',
             lc_doc_bcs TYPE REF TO cl_document_bcs,
             lc_bcs TYPE REF TO cl_bcs,
             lc_send_exception TYPE REF TO cx_root,
             lw_adsmtp TYPE lty_adsmtp,
             lv_mail_address TYPE ad_smtpadr,
             lc_recipient TYPE REF TO if_recipient_bcs,
             lc_send_request TYPE REF TO cl_bcs,
             lv_sent_to_all TYPE os_boolean.
      DATA : v_language TYPE sflangu VALUE 'E',
             v_e_devtype TYPE rspoptype.
      v_form_name = 'ZTEST_EMAIL'.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = v_form_name
        IMPORTING
          fm_name            = v_namef
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
    starting here. ***
    Set title for the output
      lv_subject = 'Smartforms.'.
    Set control parameters to "no dialog"
      lw_control_parameters-no_dialog = lc_true.
    IF lw_service_subject-code = lc_fm1.
    *--- To get output device type
      CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
        EXPORTING
          i_language    = v_language
          i_application = 'SAPDEFAULT'
        IMPORTING
          e_devtype     = v_e_devtype.
      lw_output_options-tdprinter = v_e_devtype.
      lw_control_parameters-getotf = 'X'.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
    Set output options
      lw_output_options-xsf        = lc_true.
      lw_output_options-xsfcmode   = lc_true.
      lw_output_options-xsfoutmode = 'A'.
      lw_output_options-xsfoutdev  = space.
      lw_output_options-xsfformat  = lc_true.
      lw_xsfparam_line-name  = lc_graphics.
      lw_xsfparam_line-value = lc_extract.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
      lw_xsfparam_line-name  = lc_graphics_directory.
      lw_xsfparam_line-value = lc_mygraphics.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
      lw_xsfparam_line-name  = lc_content_id.
      lw_xsfparam_line-value = lc_enable.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
    Get the smartform content
      CALL FUNCTION v_namef
        EXPORTING
          control_parameters   = lw_control_parameters
          output_options       = lw_output_options
    *pass other application specific parameters (eg order number, items ).
      IMPORTING
          job_output_info    = lw_job_output_info
      TABLES
          tt_tabh              = tt_tabh
          tt_tabb              = tt_tabb
          tt_tabf              = tt_tabf
      EXCEPTIONS
          formatting_error = 1
          internal_error   = 2
          send_error       = 3
          user_canceled    = 4
          OTHERS           = 5.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
      lw_html_data  = lw_job_output_info-xmloutput-trfresult.
      lt_graphics[] = lw_job_output_info-xmloutput-xsfgr[].
      CLEAR lv_html_xstr.
      LOOP AT lw_html_data-content INTO lw_html_raw.
        CONCATENATE lv_html_xstr lw_html_raw INTO lv_html_xstr IN BYTE MODE.
      ENDLOOP.
      lv_html_xstr = lv_html_xstr(lw_html_data-length).
      CALL FUNCTION 'SCP_TRANSLATE_CHARS'
        EXPORTING
          inbuff       = lv_html_xstr
          incode       = lv_incode
          csubst       = lc_true
          substc_space = lc_true
        IMPORTING
          outbuff      = lv_html_str
          outused      = lv_html_len
        EXCEPTIONS
          OTHERS       = 1.
    *HACK THE HTML CODE GENERATED BY SMARTFORM TO MAKE THE
    *EXTERNAL IMAGES APPEAR AS <IMG> TAG IN HTML
      REPLACE ALL OCCURRENCES OF '<IMG' IN lv_html_str WITH '<IMG' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '/>' IN lv_html_str WITH '/>' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '</A>' IN lv_html_str WITH '' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '<' IN lv_html_str WITH '<' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '>' IN lv_html_str WITH '>' IGNORING CASE.
    CALL METHOD html_control - >load_mime_object
       EXPORTING
         object_id  = 'ZWN'
         object_url = 'ZWN.GIF'
       EXCEPTIONS
         OTHERS     = 1.
      REPLACE ALL OCCURRENCES OF lc_utf8 IN lv_html_str WITH lc_latin1.
    REPLACE ALL OCCURRENCES OF lc_utf8 IN lv_html_str WITH 'iso-8859-1'.
       break mhusin.
      lv_html_len = STRLEN( lv_html_str ).
      lv_offset = 0.
      lv_length = 255.
      WHILE lv_offset < lv_html_len.
        lv_diff = lv_html_len - lv_offset.
        IF lv_diff > lv_length.
          lw_soli-line = lv_html_str+lv_offset(lv_length).
        ELSE.
          lw_soli-line = lv_html_str+lv_offset(lv_diff).
        ENDIF.
        APPEND lw_soli TO lt_soli.
        ADD lv_length TO lv_offset.
      ENDWHILE.
      CREATE OBJECT lc_mime_helper.
      CALL METHOD lc_mime_helper->set_main_html
        EXPORTING
          content     = lt_soli
          filename    = lv_name
          description = lv_subject.
      LOOP AT lt_graphics INTO lw_graphics.
        CLEAR lv_xstr.
        LOOP AT lw_graphics-content INTO lw_raw.
          CONCATENATE lv_xstr lw_raw-line INTO lv_xstr IN BYTE MODE.
        ENDLOOP.
        lv_xstr = lv_xstr(lw_graphics-length).
        lv_offset = 0.
        lv_length = 255.
        CLEAR lt_solix[].
        WHILE lv_offset < lw_graphics-length.
          lv_diff = lw_graphics-length - lv_offset.
          IF lv_diff > lv_length.
            lw_solix-line = lv_xstr+lv_offset(lv_length).
          ELSE.
            lw_solix-line = lv_xstr+lv_offset(lv_diff).
          ENDIF.
          APPEND lw_solix TO lt_solix.
          ADD lv_length TO lv_offset.
        ENDWHILE.
        CONCATENATE lc_mygraphics lw_graphics-graphics text-001 INTO lv_filename.
        CONCATENATE lc_mygraphics lw_graphics-graphics text-001 INTO lv_content_id.
        lv_content_type = lw_graphics-httptype.
        lv_obj_len      = lw_graphics-length.
    *Add images to the email
        CALL METHOD lc_mime_helper->add_binary_part
          EXPORTING
            content      = lt_solix
            filename     = lv_filename
            extension    = lv_bmp
            description  = lv_description
            content_type = lv_content_type
            length       = lv_obj_len
            content_id   = lv_content_id.
      ENDLOOP.
      TRY.
          lv_subject = lv_subject.
          lc_doc_bcs = cl_document_bcs=>create_from_multirelated(
                   i_subject          = lv_subject
                   i_multirel_service = lc_mime_helper ).
        CATCH cx_document_bcs INTO lc_send_exception.
        CATCH cx_bcom_mime INTO lc_send_exception.
        CATCH cx_gbt_mime INTO lc_send_exception.
      ENDTRY.
    Create send request
      TRY.
          lc_bcs = cl_bcs=>create_persistent( ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
      TRY.
          lc_bcs->set_document( i_document = lc_doc_bcs ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
    Set-up email receiver
      lv_mail_address = '[email protected]'.
    TRANSLATE lv_mail_address TO UPPER CASE.
      TRY.
          lc_recipient = cl_cam_address_bcs=>create_internet_address(
              i_address_string = lv_mail_address ).
        CATCH cx_address_bcs INTO lc_send_exception.
      ENDTRY.
      TRY.
          lc_bcs->add_recipient( i_recipient = lc_recipient ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
    Send smartforms as HTML email
      TRY.
          lc_bcs->send( ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
      COMMIT WORK.
      WRITE:/ 'Mail sent'.
    ENDFORM.                    "call_smartforms
    End Code --->
    Thanks and Regards.

    1- put your images in a directory under the web app directory. Example: app/images/
    2- in your jsp, use: String file = application.getRealPath("/images/"); to get the images directory. See http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletContext.html#getRealPath(java.lang.String)
    3- it's not the right forum to post this kind of question. Post them in the JSP/Servlet JSTL forum instead

  • How to add a new url link in a view of an existing webdynpro component?

    How to add a new url link in a view of an existing webdynpro component?

    hi ,
    refer SAP online hep :
    Implementing Enhancements in a View
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/46/233f2189f74f08e10000000a114a6b/frameset.htm
    To enhance the layout of the view, you can create new UI elements. This procedure is no different u2013 from a technical viewpoint u2013 from creating UI elements in components themselves. All UI elements created within the enhancement implementation can then be processed as usual.
    Enhancements  means inserting user developments into SAP development objects at predefined positions.
    The Enhancement Framework enables you to add functionality to standard SAP software without actually changing the original repository objects, and to organize these enhancements as effectively as possible.
    refernce :
    have a look at this article
    How to Create Enhancement Implementation in Web Dynpro ABAP
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/700317da-bd79-2c10-368e-8f18bf5d8b81&overridelayout=true
    as pointed correctly by Saurav in earlier thread
    regards,
    amit

  • How do I insert a URL link into a text document

    How do I insert a URL link into a Word document

    Don't have Word available to test, but it seems to depend on the program.
    In Pages and TextEdit, if you drag the favicon from the addrss box in your browser into the document, it will be pasted in already formatted as a clickable link expressed in plain text. The favicon (I think that's the name for that element) is this item -
    However, in AppleWorks 6.2.9, all that did was drop the raw URL into the document; and it is non-clickable, just text. In AW 6 you need to type the plain-text name for the link (how you want the underlined bit to appear), select that, then go to the Format menu and select Create Link, from it choosing Internet. In the new screen, the linkname will already be entered in the upper box; paste the URL into the lower box, and it's done.

  • How do I force all url links to open only in Firefox ?

    OS : WindowsXP-Prof_SP3
    FF version 18.0.2
    My default browser is FF, but not quite as expected.
    Url links appearing Outlook 2010 messages or appearing in website pages are mostly still opening another browser (AvantBrowser) instead of Firefox.
    How can I force links to access only FF ?
    In other words how do I prevent to open links in any other browser ?
    Most irritating are links appearing in Outlook 2010 messages.
    Those links always open in AvantBrowser, which I don't want to uninstall for the moment being.
    Despite the fact that I applied both procedures, according Mozilla HELP informations !
    1. Settings within FF itself
    2. Settings within Windows-XP (problem here)
    Windows-XP refuses to modify existent current settings to the choices which I want to remain permanent... (as NOT shown in a screenshot I made ; but apparently can't be uploaded here .
    After OK and closing all windows,including ControlPanel, nothing has been changed.
    Going back to [ControlPanel>...> same window] to check if the option has been changed, my choices are gone and old settings remain unchanged ! Why ???
    Like I wrote already procedure described in http://mzl.la/L8LwDs has already been done.

    This screenshot shows the settings being asked for, but they are not registered by Windows. Each attempt to 'modify' the settings to new choices fails.
    Do I have to restart system or is there some button to confirm the wanted choices ?
    After closing this window and coming back to the same window, the settings which were chosen are lost and back again... as they were before.

  • How to supply events with url links in a public readable event calendar?

    When creating a new event on this calendar, how do I supply a url with
    hypertext links so reader can click on it and lead to a 'more info' page?
    I tried the example supplied by "Reviewer's Guide, iPlanet Calendar Server
    5.0". From chapter 4, Advanced Features, I imported a supplied ical file
    (ba_music.ics) to JSmith's BayAreaMusic calendar, I got no problem when
    importing. Then, when I looked at the calendar, I expected to see hyperlinks,
    yet what I saw were only plain text html, no links, no images( such as -
    <html>
    <a target=ics2 href=http://www.sfsymphony.org/>
    <img src=imf/greynte2.gif align=left width=27 height=28>Symphony Concert<br>
    8:00pm
    </html>
    What did I do wrong?
    Ching-I

    When creating a new event on this calendar, how do I supply a url with
    hypertext links so reader can click on it and lead to a 'more info' page?
    I tried the example supplied by "Reviewer's Guide, iPlanet Calendar Server
    5.0". From chapter 4, Advanced Features, I imported a supplied ical file
    (ba_music.ics) to JSmith's BayAreaMusic calendar, I got no problem when
    importing. Then, when I looked at the calendar, I expected to see hyperlinks,
    yet what I saw were only plain text html, no links, no images( such as -
    <html>
    <a target=ics2 href=http://www.sfsymphony.org/>
    <img src=imf/greynte2.gif align=left width=27 height=28>Symphony Concert<br>
    8:00pm
    </html>
    What did I do wrong?
    Ching-I

  • Firefox will only open websites via url link, does not even attempt to connect through the address bar.

    I can only open Firefox websites by using a url link. If I try to type something in the address bar it will not even attempt to load the page, no loading circle, no error or no connection message. I'm at youtube.com and I type in google.com and slap ENTER. Nothing happens. Nothing. I slap the ENTER key a couple more times to similar effect. I can open blank new tabs, but can't get the address bar to work. I can right click videos and have them open correctly in new tabs or windows, but the address bar refuses to do anything.
    Internet Explorer works perfectly fine though. Despite the ads.
    I've updated reinstalled, disabled my firewall, restarted firefox, restarted my computer, hasn't accomplished diddly jack squat. If anyone has any idea what's going on here I would highly appreciate your help.

    Hello,
    Try clicking on Tool --> Options --> Advanced --> General tab. Uncheck "Use Hardware Acceleration... ". Do you have any add-on like avg safe search installed?
    Hope that helps.

  • How to open a selected text link from the keyboard

    I'd like to be able to search for some text on a screen, and then open the link that it connects to. The catch is that I want to do so via the keyboard, i.e. without moving the mouse. It seems there should be a way to do this. I've tried every combination of <meta-key> + Return, and every combination of <meta-key> + Down Arrow I can think of, since that seems like a natural place to hide such a shortcut, but to no avail. Anyone know how to do this?

    select link =shift+arrow then=>the key next to start and besides cnrtl!

  • How to add an outside url link to a navagation button in Dreamweaver Cs5.5

    How or can I add an outside url link to a navagation button in Dreamweaver Cs5.5. If I try the properties/link it says that the link is an html and not a css.....
    Thank you

    Linking is done in HTML, not CSS (with the exception of a link to a background picture)
    So, if your navigation is a list, you'd have the following in your HTML:
    <nav>
         <ul>
              <li><a href="index.html">Home</a></li>
              <li><a href="about.html">About</a></li>
              <li><a href="books.html">Books</a></li>
              <li><a href="http://www.myexternalwebsitelink.com/inboundfromotherwebsite.html">External Link</a></li>
              <li><a href="contact.php">Contact</a></li>
            </ul>
    </nav>
    Here, in the example above, I'm using the HTML5 <nav>, but that could be an HTML4 <div class="nav"> and you will see a link to an internal page on the same website server for Home, About, Books and Contact with "External Link" pointing to another website external to the one we're on.
    Make sense?

  • How to open image added to Pages doc in Preview app?

    Hello,
    Anyone know hot to open images added to Pages in preview app on Mac? When I click on any image with right mouse button I have in menu these options - "Open in Pixelmator and Capture selection from screen".
    I tried to make my own Automator service "Open img in Preview" and it work well in Finder and other apps (I selected it in Automator option to work in all apps) but this service is not show in Pages > Services.
    Anyone know how to fix it or how to make this service visible in Pages? I tried to found "Open in Pixelmator" workflow on my Mac to rewriting or save my "Open img in Preview" workflof into same folder but no chance. In (Library > Services etc)
    Thank you for you kind, sorry for my English
    Jan.S

    I don't know how Pixelmator created their Service, but I suspect it involves programming that is beyond my abilities.
    The following AppleScript will copy the selection in Pages and open a new preview window from the clipboard. It could be run as a Service with Automator. (It will also leave the image on the clipboard; if that is a problem, it could probably be modified, but I didn't get that sophisticated with it.)
    tell application "System Events"
              tell process "Pages"
                        set frontmost to true
      click menu item "Copy" of menu 1 of menu bar item "Edit" of menu bar 1
              end tell
              tell process "Preview"
                        set frontmost to true
                        click menu item "New from Clipboard" of menu 1 of menu bar item "File" of menu bar 1
              end tell
    end tell

  • Project Center - How to Update / Correct the URL/Link stored in the Project Name field.

    In the Project Center list, the link in the "Project Name" field for some projects take you the the project details page and some display the project schedule. How can I update/correct the links to display the project schedule?

    Reason for this behavior is your enterprise project template which your project manager used for creating project.
    We create Enterprise project template, associate PDP , Schedule, workflow according to our need then we use these Enterprise project template for project creation.
    In your case some of the project manager must have used basic template( default template) for some project, Custom Enterprise template for some project and f you are using workflow then workflow template for some project, that is why you are able to see
    PDP page first for some project and Schedule page for some project. 
    In order to change it you can change default PDP as schedule for Enterprise project template then open project save and publish them.
    kirtesh

  • How do I add a URL link to a JTextArea?

    Hi,
    I have a JTextArea that updates the status of my program.
    How do I make some of the status updates URL links?
    Thanks.
    Vsh

    JEditorPane can provide support for links relatively easily. Read the abstract at the top of the JavaDocs for an example.

  • HT1937 how do i find the url link from a video i recorded on my ipod

    I recorded a video on my ipod touch and i have to send it in to the radio station. All they want is the url link but for the life of me i can't find it on my ipod or when i uploaded it to the computer.

    When you connect your iPod to iTunes and select it from the device pane, does it not show the capacity and amount of space being used by music, videos, and apps?
    You do not have to sync your entire library to your iPod, you can selectively control what does and does not sync.
    No device has the exact stated capacity, this is not specific to iPods.  There is always overhead that must be accounted for in the operating system running the device.  Also, every hard drive is unique in it's capacity.... could you imagine the disaster of marketing if every package had to accurately (to the byte) reflect the capacity of the device? 

  • How do I send a URL link of my own Threads?

    Hi
    Q1). how do I capture a link of all the THREADS relating to a question which I had asked? I need to emil this link to someone. I tried copying the URL of the webpage with the Threads, but when i open it in a new webpage, i see the general page showing questions from all users.
    Q2). We now have this new rule of max 10 open Questions. Where do I see my open questions & how am I supposed to close my "open Questions"?
    pls help.
    SD
    POINTS WILL BE GIVEN

    Hi,
    For your first question,  choose the thread , right click, we have option like " copy short cut " , then paste .
    For second question , after logging into sdn with userid, if click on forums, in that screen, top right hand side ,  your questions link is there. click that link, it will show what ever the threads posted .
    Regards,
    Chendrasekhar.

  • Image with url link

    hi..
    i have an image in my jframe and i want to link the image to an url address.
    can anyone help me with this?
    thanks

    Hi, Find the following code which can help you to invoke the browser. Put these code in the action performed method of your button.
    Process browserprocess = null;
    //browserPath represents the exe path of Internet Explorer
    String browserPath = "C:\\Program Files\\Plus!\\Microsoft Internet\\Iexplore.exe";
    String path = "c:/intellidocresources/demographics/path.PROPERTIES";
    String filePath = "www.google.com;
    String temp = browserPath + " " + filePath;
    browserprocess = Runtime.getRuntime().exec(temp);
    Bye.
    R.Vishnu Varadhan

Maybe you are looking for