Image should work as hyper link in smartform

Hi,
I am able to convert smartform with images in to HTML format and able to send as e-mail using the program similar to SF_XSF_DEMO_MAIL.
As soon as the user receives e-mail, he should able to click on images and should redirect to other webpage. (Image should work like hyper link).
Can you please suggest how to work on this issue ?
Thank you very much.
Regards
Badari

Using smart form we can not send image as hyper link. This functionality is not available using smartform.
Instead of using smart form written the HTML Code and used the following function module  'SO_NEW_DOCUMENT_ATT_SEND_API1' and works fine for me.
wa_objtxt-line ='</body>'.
  APPEND wa_objtxt TO t_objtxt.
  wa_objtxt-line = '</html>'.
  APPEND wa_objtxt TO t_objtxt.
  HTML close
  wa_objtxt-line = '</body> </html> '.
  APPEND wa_objtxt TO t_objtxt.
Document data
  DESCRIBE TABLE t_objtxt      LINES w_tab_lines.
  READ     TABLE t_objtxt      INTO wa_objtxt INDEX w_tab_lines.
  wa_docdata-doc_size =
      ( w_tab_lines - 1 ) * 255 + STRLEN( wa_objtxt ).
Packing data
  CLEAR wa_objpack-transf_bin.
  wa_objpack-head_start = 1.
  wa_objpack-head_num   = 0.
  wa_objpack-body_start = 1.
  wa_objpack-body_num   = w_tab_lines.
  we will pass the HTML, since we have created the message
  body in the HTML
  wa_objpack-doc_type   = 'HTML'.
  APPEND wa_objpack TO t_objpack.
*ENDFORM.                    " CREATE_TITLE_DESC_BODY
*&      Form  fill_receivers
      Filling up the Receivers
*FORM fill_receivers .
  wa_reclist-receiver = I_email. "p_email.
  wa_reclist-rec_type = 'U'.
  APPEND wa_reclist TO t_reclist.
  CLEAR  wa_reclist.
*ENDFORM.                    " fill_receivers
*&      Form  send_message
      Sending Mail
*FORM send_message .
Send Message to external Internet ID
  CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
      document_data              = wa_docdata
      put_in_outbox              = 'X'
      commit_work                = 'X'     "used from rel.6.10
    TABLES
      packing_list               = t_objpack
      object_header              = t_objhead
      contents_txt               = t_objtxt
      receivers                  = t_reclist
    EXCEPTIONS
      too_many_receivers         = 1
      document_not_sent          = 2
      document_type_not_exist    = 3
      operation_no_authorization = 4
      parameter_error            = 5
      x_error                    = 6
      enqueue_error              = 7
      OTHERS                     = 8.
  IF sy-subrc NE 0.
    E_STATUS = 'Sending Failed'.
  ELSE.
    E_STATUS = 'Sending Successful'.
  ENDIF.
Edited by: Badari Narayana1 on Oct 6, 2009 10:09 PM
Edited by: Badari Narayana1 on Oct 6, 2009 10:09 PM
Edited by: Badari Narayana1 on Oct 6, 2009 10:10 PM

Similar Messages

  • Hyper Links suddenly stop working ? So does 'ctrl + T/pad'

    Hi everyone,
                         I hope I can explain this for you to uderstand easy.
    I may have 2 or 3 Tabs open and decided to open another, example Amazon. I start to look around and 'say' I want to find a CD cover to make a copy of to paste onto something, I find said CD and then all of a sudden nothing works, no hyper links, zero. The only way I can them to work again is to copy the present page I am on, open a new Tab, paste the link in and all works again ????? But the not the original Tab. Plus if I try the 'ctrl _ T/pad' to open the options you then get ( to then copy subject for one ) nothing, yet I tried this in Google Chrome just to test and see if that works and it does. So what the **** is going on, I have no idea so please can anyone come up with a answer !
    I hope I have this clear enough for someone to help.
    Steve
    PS: As I was even writing this everything suddenly stop, could not even 'highlight' some of the text and copy ( cmd + C )  .........

    Update on my first message.
    I have just tried everything regarding the above on my iMac ( the above problem is on my Macbook Pro' ) and guess what everything works fine ??????
    Went to Amazon for example, found a book cover, pressed 'ctrl + click on mouse' and hey presto it worked ( options open - open link in new tab, download link file, copy image etc ). 
    So can anyone tell me why this does not work on my laptop please !
    Steve

  • Hyper link of public image(hyperlink or image) can not be saved on windows server 2012 and sharepoint 2010 problem

    hyper link of public image(hyperlink or image) can not be saved on windows server 2012 and sharepoint 2010 problem, is this a bug?
    thanks for any reply.
    Rosone

    It is not a bug, you might be using IE in Windows server 2012 and and browser might be restricting your site actions to respond properly.
    Check this in a different browser or access site in a differ OS.
    Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer.

  • Dreamweaver CS5.5 hyper link doesn't work

    I'm using Dreamweaver CS5.5 with a template.  The links in the template work fine. 
    When I click on a link in the body of the page that uses the template, the hyper link text quickly changes to a very small font and back, but does not go to the link.
    This is the page: www.actitservices.com.
    This is the code:
    <p><strong>Read the <a href="http://www.act.com/media/en-us/docs/briefs/Act%21ProductBrief.pdf" target="_blank">product brief</a>. </strong></p>
    I've been doing this for a really long time and I just don't see the problem.
    Thanks for your help.

    BINGO! That fixed everything! 
    Thanks huge!

  • Can't get rollover images to work as links [was: I have a question if someone could answer?]

    I have fixed my page so I can preview it and everything is working fine but now I cant get my rollover images to work as links.  When I go to put in the link like normal the rollover behavior stops working and it is just the original image.  Any way for me to turn it into a link but still keep the rollover image change?
    [Subject line edited by moderator. Please use more meaningful subject lines in future.]

    Can you provide a link to your website so we can see what you're seeing?
    Without one, you're asking for an answer based on guesswork.

  • I created a word document with hyperlinks. When my default browser is Chrome the hyper links work. When the default browser is Safari, the hyperlinks bring to pages that just lines and lines of symbols. I need these links to work in both browsers.

    I created a word document with hyperlinks. When my default browser is Chrome the hyper links work. When the default browser is Safari, the hyperlinks bring to pages that just lines and lines of symbols. I need these links to work in both browsers. Any ideas?

    version 10.6.8

  • In browser editing: Can my client add new images with hyper-links to their websites without having to replace images already there?

    My client would like to be able to add new images to their site themselves and use them as hyper-links to external sites without having to replace an old image with the new one (or blank place holding images - far from ideal). Is there ANY way that this is possible? They do not wish to update and add new images/links regularly and it is certanly not intended to be used as a blog or way of being able to constantly keep content new and fresh otherwise I would set them up with a blog account and add that to the site. It is merely a way of adding links to other local businesses every once in a while.
    Please see the page they wish to update... Friends. (Please excuse the layout... the customer will not be able to resize or edit the images themselves and wishes to add them as-is!)
    Thanks in advance for any help. If anybody knows how I can ask an Adobe official mod, that would be great... that, or make a request for a future addition in an update?
    Warm regards,
    Ben Gathercole

    Hi Andria,
    Changing links is currently not possible with in-browser editing.
    Please post this as a feature request in the following feedback form :
    http://feedback.inbrowserediting.com/?url=
    Regards,
    Akshay

  • Hyper links do not work in mail

    Hi All,  Since updating OSX Hyper links do not work in .mail.  I can find no preferences that would affect this.

    Hyperlinks in mail not working
    Mail links do not open in Safari automatically

  • Email hyper-link not working on mobile

    Hi,
    We have created a report which sends out list of treasury transactions pending release with hyper-links against each transaction. On clicking the hyper-link, an email is created with a pre-defined recipient, subject and body. The user simply sends the email and based on the authorisation set in the inbound mail processing class in SAP, the transaction is approved.
    This is working perfectly in MS Outlook. However, when the approval link is clicked in a mobile handset, the new email is not composed with the pre-defined recipient, subject and body.
    Please let me know how the hyper-link can be created so as to also work with mobile handsets.
    Regards,
    Yusuf Sheikh

    Hi Rahul,
    I have created the hyperlinks in the interactive (html) mode.
    While creating the hyperlink you just need to check one option "Use Complete URL path". This option will enable the hyperlink
    in the pdf mode too.
    FYI.. I am on BO XI 3.1
    Regards,
    Rohit

  • I updated and it kept freezing up. i deleted it. put IE on and have no hyper links now, fire fox won't work at all either, this is on my work comp. please help me now

    i upgraded on my work comp and it kept freezing up. i had to delete it from the comp. i can't us IE because the hyper link process is now missing for some reason, it was there before. i can't put firefox back on because it simply won't work. please help me because this is happening on my work comp.

    A reset may help. Tap and hold the Home button and the On/Off buttons for approximately 10-15 seconds, until the Apple logo reappears. When the logo appears, release both buttons.
    No content is affected by this procedure.

  • Hyper Link in Object attachment in work item

    Hi,
    I am working with workflow for IDOC error resolution.  I need to make hyper link in a workitem in the Object and Attachment section to goto WE02.  How to do this?  do I need to create a new task for this?  what is the use of template attachment in user decision?
    Thanks
    Sunil

    Hi,
    you can create the link by useing following url
    http://<host>:8000/sap/bc/gui/sap/its/webgui?sap-system-login-basic_auth=X&sap-language=EN&~transaction=WE02
    Now pass/create this link in the workitem description in following way...
    <A href="&link&">
    IDOC
    </A>
    where &link& is the variable hold the value of the above link..
    Thanks and regards,
    SNJY

  • Multiple hyper links one image?

    I have a KeyNote that I've built as an 8.5x11 document that I'm hoping to export as a PDF with multiple hyper links. Is this possible?
    Or do I have to have an individule image for each hyperlink?
    thanks

    You can place as may hyperlinks on a slide as you require.
    Each hyperlink must be attached to an individual object or text box on the slide.

  • Hyper links in pdf documents not working on iphone.

    Hello,
    When I view a pdf document with links, the links are not working.
    Are links not supposed to work on the iphone from pdf documents or I am missing something?
    Thank you in advance ... I have an iphone 4 running v4.1.
    Carlos

    Also having this problem: can't use links embedded in the PDF.
    Is there a solution to this?
    Thanks.
    Paul (iPhone 4 v4.2 / iPhone 3GS v4.1

  • Missing important image functions - going for Hype

    I made a product presentation with a meny system and aniamtions using Edge.
    I unfortunatelly found some very important functions were missing.
    So I´m going for Hype now, that has got all of these.
    So all the job has to be doe again :-(
    I didn´t find any feedback area for Edge Animate, so I´m putting it here. The things missing are:
    - Automatic Image optimization (like in Muse)
    - No support for PSD
    - No retina support
    - Can´t replace image, e.g from PNG to JPG (I made it thou by editing the JS-file, but that seems scary)
    These are all small matters for Adobe to fix and I suppose they are doing this in the future.
    I really like Edge Animate thou, but since it lacks important workflow functions I can´t use it in production.

    Hi,
    Thanks. Yes, that worked.
    I actually didn´t find this because in all other Adobe applications, this is done from the Library panel.
    I really stress the importance for you to make your/Adobe applications the same. We users love Adobe apps, but are really not liking the unnecessary different solutions in some of them. It´s frustrating and a complete waste of time.
    I actually remade the whole animation using (Tumult) Hype.
    It´s much easier to work with. Edge seems good to work with Javscript, but with Hype editing Javascripts is not as much necessary since there are pre-made solutions.
    You should also look into some things Hype has that is really important:
    - Automatic generation of Retina images
    - Automatic resampling of images
    - Scenes (a very nice way to work)
    All in all, Hype is much more efficient to work with.
    A thing that I do want in Edge (and Hype) is
    - When using Photoshop originals, it should be possible to set how each image should be exported, i.e as JPG (and setting quality) or PNG.
    In the real practical user world, we do only want ONE image to carry around for different purposes, it.e web, animations, videos, print.
    And when designing (doing layout) in i.e Edge, I do not always from start know if the image could be in JPG or if it must PNG because it is e.g. overlapping.
    The feature of settings export options for Photoshop images, I also would like to see in Muse. As well as Retina support in Muse that i REALLY want.
    I like Edge (and really like Muse), but as it is now, selection Hype is an easy choice over Edge.
    I hope that you do update Edge to support an extremely good workflow - then I will certainly selected Edge, since I already do pay for it anyway
    Best regards
    Bosse Nilsson
    Tel +46 (0)703-233 150
    2014-02-11 kl. 19:28 skrev elainefinnell <[email protected]>:
    Re: Missing important image functions - going for Hype
    created by elainefinnell in Edge Animate CC - View the full discussion
    Hi, man&mouse-
    Please note that there is a way to swap images, though it will try to fit the new image into the old dimensions.
    Select your image element
    In the properties panel, look at the Images section
    Next to the image name, select the double arrow key
    Select your new image (must already be in the Library)
    http://forums.adobe.com/servlet/JiveServlet/downloadImage/2-6110226-548268/437-302/ScreenShot2014-02-11at10.27.07+AM.png
    Hope that helps!
    -Elaine
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6110226#6110226
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6110226#6110226
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6110226#6110226. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Edge Animate CC at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Need a Little Help embedding a Hyper Link in Report  based on Dynamic SQL

    I am trying to have a column in my report link to a document on my network when the column in the report is clicked. I have a table that contains a row for each document I want to link to. The URL to the document is stored in a column named NDDL.DOC_LINK. I would like the text "Linked" to appear as the value in the report column and to be a hyper link to the document.
    The report is a "Classic Report" based on PLSQL retuning a SQL stament. I am on Apex version 4.2.1.00.08
    I have been fighting with the '''''' stuff and can not get it worked out. have pasted the line in question but I can not get it to display correctly so I am hoping someone can help out.
      q := q || '  NDDL.DOC_TITLE as FILE_NAME, ';
      q := q || '  NDDL.DOC_DESC, ';
      q := q || '  ''<a href="http:'' || NDDL.DOC_LINK || ''target="_blank"> </a>'' as LINKED , ';
      q := q || '  NDDL.MOD_DATE, '; 
    ...The # in the line above should be:
    {code}
    http:'' || NDDL.DOC_LINK || ''target="
    Thanks!
    Edited by: Sky13 on Mar 7, 2013 12:45 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I anwered your email. The PL/SQL block is like this:
    /* Formatted on 2013/03/07 23:05 (Formatter Plus v4.8.8) */
    DECLARE
       q   VARCHAR2 (4000);
    BEGIN
       q := 'select * from ( ';
       q := q || 'select ';
       q := q || '  NDDC.NDDC_UID, ';
       q := q || '  NDDC.NDND_UID, ';
       q := q || '  NDDC.LSVL_DOC_CAT_UID, ';
       q := q || '  NDDC.DATE_POSTED, ';
       q := q || '  NDDC.CREATE_DATE, ';
       q := q || '  NDDC.CREATE_BY, ';
       q := q || '  NDDC.MOD_DATE, ';
       q := q || '  NDDC.MOD_BY, ';
       q := q || '  NDDC.MIME_TYPE, ';
       q := q || '  NDDC.FILE_NAME, ';
       q := q || '  NDDC.CHARACTER_SET, ';
       q := q || '  NDDC.BLOB_MOD_DATE, ';
       q := q || '  NULL as DOC_DESC, ';
       q := q || '  NULL as DOC_LINK, ';
       IF :p24_doc_contains IS NOT NULL
       THEN
          q := q || '  score(1) as SCORE ';
       ELSE
          q := q || ' NULL as SCORE ';
       END IF;
       q := q || 'from ';
       q := q || '  NDDC_NODE_DOC NDDC ';
       q := q || 'where ( ';
       q :=
             q
          || ' INSTR(UPPER(CREATE_BY),UPPER(NVL(:P24_SEARCH,CREATE_BY))) > 0  or ';
       q := q || ' INSTR(UPPER(MOD_BY),UPPER(NVL(:P24_SEARCH,MOD_BY))) > 0  or ';
       q :=
             q
          || ' INSTR(UPPER(MIME_TYPE),UPPER(NVL(:P24_SEARCH,MIME_TYPE))) > 0  or ';
       q := q || ' INSTR(UPPER(FILE_NAME),UPPER(NVL(:P24_SEARCH,FILE_NAME))) > 0 ';
       q := q || ') ';
       IF :p24_doc_contains IS NOT NULL
       THEN
          q := q || '  and CONTAINS(document, :P24_DOC_CONTAINS,1) > 0 ';
       END IF;
       q := q || 'union all ';
       q := q || 'select ';
       q := q || '  NULL as NDDC_UID, ';
       q := q || '  NDDL.NDND_UID, ';
       q := q || '  NDDL.LSVL_DOC_CAT_UID, ';
       q := q || '  NDDL.DATE_POSTED, ';
       q := q || '  NDDL.CREATE_DATE, ';
       q := q || '  NDDL.CREATE_BY, ';
       q := q || '  NDDL.MOD_DATE, ';
       q := q || '  NDDL.MOD_BY, ';
       q := q || '  NULL as MIME_TYPE, ';
       q := q || '  NDDL.DOC_TITLE as FILE_NAME, ';
       q := q || '  NULL as CHARACTER_SET, ';
       q := q || '  NDDL.MOD_DATE as BLOB_MD_DATE, ';
       q := q || '  NDDL.DOC_DESC, ';
       q :=
             q
          || '  ''<a href="http:'''
          || '||nddl.doc_link||'''
          || '-.htm" target="_blank"> </a>'' as DOC_LINK , ';
       q := q || '  NULL as SCORE ';
       q := q || 'from ';
       q := q || '  NDDL_NODE_DOC_LINK NDDL ';
       q := q || 'where ';
       q :=
          q
          || '  ( INSTR(UPPER(CREATE_BY),UPPER(NVL(:P24_SEARCH,CREATE_BY))) > 0 ';
       q := q || '  or INSTR(UPPER(MOD_BY),UPPER(NVL(:P24_SEARCH,MOD_BY))) > 0 ';
       q :=
             q
          || '  or INSTR(UPPER(DOC_TITLE),UPPER(NVL(:P24_SEARCH,DOC_TITLE))) > 0 ';
       q :=
             q
          || '  or INSTR(UPPER(DOC_DESC),UPPER(NVL(:P24_SEARCH,DOC_DESC))) > 0 ) ';
       q := q || '  ) ';
       --htp.p(q);
       DBMS_OUTPUT.put_line (q);
    END;Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

Maybe you are looking for