Adding Hyperlink to a Field

Hi,
Newbie here. I'm trying to figure out how to add a hyperlink to a field in a report. There are five fields in the table and I'm trying to allow the user to click on one of the fields to bring up a new report or a page.
I've looked into using srw.set_hyperlink but is having trouble associating the wanted field with the hyperlink. Any help would be appreciated. Thank you.
<function name="beforereport">
<textSource>
<![CDATA[function AfterReport return boolean is begin
               SRW.SET_HYPERLINK('#F_FID&<' || LTRIM(TO_CHAR(:F_FID)) || '>');
               return (TRUE);
  end;]]>
</textSource>
</function>
Do I need to specifically call the function in my jsp?

Its me again. I did a search and found some examples of appending a html a href=... tag in the Select statement. But I'm getting a improperly terminated query error. I believe the error has to do with the single quotes.
Any help would be greatly appreciated. Is there any document on protocol for JDBCQuery?
SELECT
'ahref="http://somesite.com"' || f.fid || '/a',
FROM table f
WHERE ...
This query is working fine when I execute it in DBVisualizer.

Similar Messages

  • Adding hyperlinks to CP4 text

    Can anyone help with advise on how to add a hyperlink to text
    in Captivate 4. The hyperlinks from PowerPoint seem, to work, but I
    can't see a way to add a hyperlink in the text field to an external
    website.

    Hi
    Ok I was trying to record it, not working
    Make sure that you've copied or saved the pdf files are in the web site folder first
    1 insert text,
    2 with this text, create a fake link, blue and underline
    3 click on Click box in the tools box
    4 resize the click box over the fake link, I only keep the hint Type hint here (I deleted the 2 others) and I type Click on the link, in French Cliquez sur le lien
    5 click box is still selected, then in the left menu select Action tab
    6 In drop-down menu On success select Open url or file
    7 Click to browse, click on file or type the url
    8 Click on the drop down menu (arrow), click and select New so that way it will opens in a New browser window.
    When you export in swf
    You will have, at the end of the exportation, to copy paste manually the files in the web folder where is the swf file.
    Now we have a new problem. I didn't have this problem with all the projects published, but it happened once. Also, once on the server, the link would not open for that reason, see this blog. Still working on it. 
    http://sorcererstone.wordpress.com/2009/06/19/when-captivate-links-don t/
    sophie
    Date: Mon, 6 Sep 2010 19:21:40 -0600
    From: [email protected]
    To: [email protected]
    Subject: Adding hyperlinks to CP4 text
    Can someone provide me to the steps of adding hyperlinks
    to CP4?
    >

  • Having problems when adding new Curency value field + currency field.

    I need to add a new Currency field (CURR, length 15, 2 decimal places) plus the Currency field itself to a view. 
    I'm really struggerling. I have looked at the existing SAP fields in the Component workbench and I have to admit I can not see how a field is linked/related to the currency itself. Is this link established purlely at the disctionary level?.
    Has anyone added their own Z field value  and Z currency field before. I can create both fields and display them, but what I can not work out is how I related them within the component workbench, or is this done from the dictionary?.
    Any help would be greatly appreciated.
    I should have been able to look at an existing SAP example and work out how it's done, but so far I can not see/determine how this is achieved, even though someone has mentioned that it's controlled via the GET_I_field method. Looking at this method I was expecting to see some mention of both the Currency value field and the Currency field. But as I don't see these confusion reigns.
    Jason

    That's correct, but am I right in thinking that you can't actually create the currency key field itself?.
    I am aware that currency value fields can be created which reference a currency key field, but can see nothing that allows me to create a currency key field to be referenced.
    I hope that makes sense.
    Also, I have amended the structure, changing my value fields from Decimal 15,2 to Currency 15,2  and have created a new currency key field in the structure and referenced this from the Currency value field.
    Witin the Component/view/context node I can see this new currency key field, but it appears as STRUCT.fieldlabel whereas my currency value field appears in the context node as EXT.fieldlabel, because it was created in the AET.
    My problem is that when attempting to add the currency key field onto the screen I don't have it to select from within the list of structures/attributes. All the others attributes in the context node seem to be there, except the new currency key field/attribute.
    The attribute has a SET_fieldlabel, GET_fieldlabel, GET_M_Fieldlabel and a GET_I_Fieldlabel, which I believe is all that should be required.
    Does anyone know what my problem could be?.
    Jason

  • Hyperlink in dynapro field

    Hi, experts,
    How can I create hyperlink in dynapro fields. So that by double click on that field I can open regarding module.
    If any one response, it will be too much helpfull for me.
    Never mind for forum points.
    Thanks in advance
    Rajiv singh.

    Do you want a double-click or a hyperlink?  For the latter, you will probably need to include a custom container and an HTML control within it plus fill it with the relevant URL etc. 
    If you want double-click to work, then make sure you have defined the "F2" button (Choose / Select) in the PF-STATUS for the screen... you should then be able to pick up this sy-ucomm / OKcode in the user-command in the PAI logic (you may also need to use "get cursor field l_which_field." type logic to tell what was double-clicked on.
    Jonathan

  • Problem in adding custom table's field in MM46

    Hi,
    I have a complex requirement of adding fields of custom table in MM46 for mass maintance.
    I did most of the part but dont know what is missed.
    Steps that i followed
    1. used tcode MASSOBJ- I Added Ztable name to application table for Object type - BUS1001001.Here i dont know what to provide in other attributes of entry example Number, DB table etc. [SCREENSHOT OF MASSOBJ|https://plus.google.com/photos/114088763388693559922/albums/5704943614516268609]
    2. Used tcode OMSR- I added entry of Ztable'field  here i gave selection group as 211, maint status as KDEVALBQPSZXCFG
    alv group- blank. [screen shot of OMSR |https://plus.google.com/photos/114088763388693559922/albums/5704943614516268609]
    After doing these steps Table name and field of table is visible in mm46. But problem is  Field is not editable that is in display mode only. 
    Pleae see this snapshot - [error image|https://plus.google.com/photos/114088763388693559922/albums/5704938582830478801]
    Please help me by telling what i missed and am i adding right attributes for entries in MASSOBJ AND OMSR?
    Thanks.
    Waiting for expert's comments.
    Reagards
    Rahul
    Please do not use words like 'urgent'
    Edited by: Rob Burbank on Feb 3, 2012 11:31 AM

    Hi Rahul,
    Wellcome to SDN. Perhaps you know it, and although it's for older releases, perhaps it could help you. Please, see SAP Note 381942 - Mass changes for logistics data in the article master.
    I hope this helps you
    Regards
    Eduardo

  • Adding code to additional fields in Ad Hoc Query

    Hello,
    I am trying to add code to existing additional fields available in IT0001 - Field SYHR_A_P0001_AF_PL_CTRY.
    I have added code in the field code section, but the field does not get populated.
    I also tried to add code to Start of selection / Record processing sections, but the values are not populated.
    What am I doing wrong?
    Thanks,
    Vaishali

    Hi Vaishali,,
       Your question is not clear, no probs. you plz check  this code !!
      FUNCTION zhrintf_om_pernr_info_adhocqry .
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(FI_PERNR) TYPE  PA0001-PERNR
    *"     VALUE(FI_BEGDA) TYPE  PA0001-BEGDA
    *"  EXPORTING
    *"     VALUE(L_MC_STEXT) TYPE  HRP1000-MC_STEXT
      DATA: dep_text(40) TYPE c,
            l_plans TYPE pa0001-plans,
            l_sobid TYPE hrp1001-sobid,
            l_mc_short TYPE hrp1000-mc_short.
    Get Employee Position ID
      SELECT SINGLE plans
        FROM pa0001
        INTO l_plans
        WHERE pernr = fi_pernr
              AND begda LE fi_begda
              AND endda GE fi_begda.
      l_sobid = l_plans.
    Check if OU is Department
      IF ( l_sobid NE '00000000' ) AND ( l_sobid NE '99999999' ). " Terminated Employee
        WHILE NOT ( ( l_mc_short(1) EQ '2' ) OR ( l_mc_short(1) EQ '1' ) OR ( l_mc_short(1) EQ 'X' ) ).
          SELECT SINGLE sobid FROM  hrp1001
                 INTO l_sobid
                 WHERE  objid  = l_sobid
                 AND    rsign  = 'A'
                 AND    sclas  = 'O'
                 AND    begda LE fi_begda
                 AND    endda GE fi_begda.
          SELECT SINGLE mc_short mc_stext FROM  hrp1000
                 INTO (l_mc_short, l_mc_stext)
                 WHERE  otype  = 'O'
                 AND    objid  = l_sobid
                 AND    begda LE fi_begda
                 AND    endda GE fi_begda.
    Empty l_mc_stext if OU is not Department
          IF NOT ( ( l_mc_short(1) EQ '2' ) OR ( l_mc_short(1) EQ 'X' ) ).
            l_mc_stext = ''.
          ENDIF.
        ENDWHILE.
      ENDIF.
    ENDFUNCTION.
      Regards
    Zulfikhar Ali

  • Hyperlink on a field in BI report in CRM UI leading to CRM transaction

    Hi Experts,
    Can any one please suggest on how to we accomplish this task in CRM UI
    provision of hyperlink on a field in BI Report leading to the corresponding activity in CRM for
    maintenance
    Thanks and Regards,
    Kiran

    Did you try to set the context in the code ? Something like
    IdcContext userContext = new IdcContext("sysadmin"); //user I eat my words...this is more specific to UCM ..sorry

  • The recent upgrade for i-tunes prevents me from adding and using the Field, "Show". How can I add this field in i-tunes?

    The recent upgrade for i-tunes prevents me from adding and using the Field, "Show". How can I add this field in i-tunes?

    Hold down shift as you right-click > Get Info to get the old style dialog box.
    tt2

  • Adding Hyperlinks to photos in iWeb

    Using a photo template in iWeb, I am having trouble adding hyperlinks to photos as well as to the 'captions' beneath the photos... is adding hyperlinks simply not possible in a photo template or available only on selected templates?
    Appreciate any help.

    Try this old technic:
    http://discussions.apple.com/thread.jspa?messageID=4888047&#4888047

  • Hyperlink a customer field on the sourcing screen

    Does the capability exist to hyperlink a customer field that will appear on a web template?  For this example I need to hyperlink a customer field on the sourcing cockpit screen.
    There is a customer field called prev PO.  This field should hyperlink to the Process Purchase Order transaction similar to how the shopping cart, auction and bidding number hyperlink to there respective displays.
    Thanks,
    Nancy

    Hey Nancy,
    Did you solve this post? I have the same doubt about Hiperlink in CUF.
    Anybody knows?
    Tks,
    Sev. Lampiao

  • Adding hyperlinks to Flash Executable files

    I'm using a demo version of Flash 5 to see if I'd like to
    invest in a copy of Flash. I added hyperlinked text to to a flash
    movie I produced, and when I uploaded the html added to a webpage,
    when I click on the hyperlink it successfully takes me to the
    correct website. However, when I try clicking on the executable
    file version of the same flash movie, published at the same time,
    although I get the usual little hand when the put the cursor over
    the hyperlink I'm not taken to any webpage.
    Can anyone tell me what's going wrong?

    HI
    You need to use FlashJester JStart
    http://jstart.flashjester.com
    Download a FREE evaluation copy and try it.
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. - www.flashjester.com
    "This has been one of the most impressive and thoroughly
    pleasant
    experiences of customer support I have ever come across -
    astounding!"
    Director - hedgeapple

  • Adding hyperlinks to objects in 3D PDF

    Hi everyone,
    I'm trying to figure out if 3D PDF has the capability to import a number of individual machine models (made in SolidWorks) to create a 3D layout of a facility, and then make it so people viewing this layout can click (or doubleclick) on a machine and have that open a web page (or another .pdf file)...are there javascript routines that get called when one of the objects is clicked/doubleclicked? If so, can that script be used to open up a url?
    Any help would be appreciated,
    Thanks,
    Jon Fournier

    On second thought, here is the an example code for adding hyperlinks to objects. It will be very tedious to do this for a huge number of parts. If metadata could be stored (no such luck) in the u3d file, this process would be very easy.
    - Greg
    http://www.immdesign.com
    The u3d file and pdf example are available using the links:
    http://www.immdesign.com/templates/hyperlink.pdf
    http://www.immdesign.com/templates/robotHand.u3d
    Parts of the code below were given to me by Grayson Lang.
    The code below must be added as a document level javascript
    use the menu - Advanced->Javascript->Document Javascript...
    // -------- Start of Document Script
    initialize3D = function ()
    var a3d = getAnnots3D(0)[0];
    var c3d = a3d.context3D;
    if ( a3d.activated )
    app.clearInterval( timeout );
    c3d.runtime.doc = this;
    c3d.runtime.app = app;
    var timeout = app.setInterval( "initialize3D()", 200 );
    // -------- End of Document Script
    // -------- Start of 3D Script
    // Save this code in as a .js file and use it as the default
    // script when inserting the u3d file into your PDF file
    // ugly code to add hyperlinks on selection of an object
    // this will only work with URLs and will not work for
    // just openning any old file
    // format for the hyperlink array -
    // hLinks["the object's name"] = "file URL"
    var hLinks = new Array;
    hLinks["fingertip-1"] = "http://www.immdesign.com"
    hLinks["fingertip-2"] = "http://www.myroombud.com"
    hLinks["fingertip-3"] = "http://www.adobe.com"
    function onSelection( objName ) {
    if ( typeof( hLink = eval( "hLinks['" + objName + "']" ) ) != 'undefined' ) {
    if (runtime.app) { runtime.app.launchURL(hLink); }
    // ack! we have to create our own "pick" function since there is no way
    // to get the selected object from the Acrobat pick right now
    var downX = -999999999999;
    var downY = -999999999999;
    var mouseDown = 0;
    myMouseHandler = new MouseEventHandler();
    myMouseHandler.onMouseDown = true; //this prop is true by default
    myMouseHandler.onMouseUp = true; //this prop is true by default
    myMouseHandler.onMouseMove = true;
    myMouseHandler.reportAllTargets = false;
    myMouseHandler.onEvent = function(event)
    // capture mouse down location
    if ( event.isMouseDown ) {
    downX = event.mouseX
    downY = event.mouseY
    mouseDown = 1;
    else {
    // check if mouse up is the same location as mouse down
    if ( event.isMouseUp ) {
    if ( downX == event.mouseX && downY == event.mouseY ) {
    if ( event.hits.length ) {
    objName = event.hits[0].target.name;
    onSelection( objName );
    downX = -999999999999;
    downY = -999999999999;
    mouseDown = 0;
    //Register the handler and turn the mule on
    runtime.addEventHandler(myMouseHandler);
    // ------ End of 3D Script

  • Adding hyperlinks to word report generated using Report Generation Toolkit (RGT)

    Hi All,
    I am generating a word report using LabVIEW RGT. I would like to add Hyperlinks to the files in the local PC to the word report. I found few links which explain adding hyperlinks to Excel report but not word report.
    Please help me with this.
    Anandelamaran Duraisamy,
    Senior Project Engineer,
    Soliton Technologies (P) Ltd,
    www.solitontech.com
    Solved!
    Go to Solution.

    Hi Srikrishna,
    Thanks for your effort to reply. I think you are suggesting it for Excel report. 
    It seems that we can use the below shown VI to add Hyperlinks to a word report,
    I initially thought it will only work for HTML reports.
    Anandelamaran Duraisamy,
    Senior Project Engineer,
    Soliton Technologies (P) Ltd,
    www.solitontech.com

  • Adding Hyperlinks to other projects (Merged)

    I am running into an issue with adding Hyperlinks to other projects.  I have several projects that I have merged into one Master project.  I have generated all the child projects into their corresponding Merged Project folders in the master file.  All I am trying to do is link one project to another.  So in "Child Project A" I have a hyperlink to "Child Project B". I am linking to a "File" which is Project B's HTML file in the Master Project (Merged Folder).  When I do this, I get a message in project A that:
    "This action will create an external link to the help system.  The link may not function when the help system is moved to other systems. Create link anyway?"
    So I create the link and generate Project A, but when I generate the Master Project, the link does not work. How do I fix this?  Links that I have to pages within a project work just fine, but not when linked externally even though all the projects linked have been merged within the Master Project.

    My link is showing in the HTML like this:
    <a href="../../../MasterMerge/mergedProjects/ChildProject2/ChildProject2.htm">test link</a>
    Where "MasterMerge" is the name of the folder that I have given to generate the master project to.  I was expecting RoboHelp to convert my absolute path to a relative path that looks like this:
    <a href="../ChildProject2/ChildProject2.htm">test link</a>
    as you suggested.  I can't figure out why it is changing my absolute path to a relative path that is so long..and still the link is not working.  The work-around for this is that I go into the HTML and just paste in my absolute path.  I don't want to continue doing this.
    Note that my actual path looks something like this:
    Q:\QA\Application Documentation\MasterMerge\mergedProjects\ChildProject2\ChildProject2.htm
    Do I have too many folders?  If so, I'm not sure what to do about this since my project needs to reside on a specific drive and folder at work that other departments don't have access to.
    Thanks for responding!  I'm just so frustrated with this because it seems the little details are causing me the most trouble.

  • Tutorial: 8 Adding a Conditionally Dependent Field

    Hi,
    I am trying to implement chapter 8 Adding a Conditionally Dependent Field. However, the Commission percentages stays enabled no matter what the value of the jobid is.
    Is this a bug or am I doing something wrong here?
    Thanks, Joep

    Joep,
    If you send your testcase for the LOV problem, we will also look at this issue.
    The conditionally dependent items work for me, so may be you made some typo.
    Steven Davelaar,
    JHeadstart Team.

Maybe you are looking for

  • This document enabled extended features in Adobe Reader. The document has been changed...

    I am trying to distribute an interactive order form to approx. 50 recipients with Acrobat X Standard which I purchased recently.  Computer is Windows 7. I can go through the form editing and distribution as usual, but when I (or a recipient) opens up

  • Email addresses in Mail into Address Book

    Is there a quick way to export all the email addresses from my emails stored in Mail into my Address Book? Thanks in advance, Jamie

  • X11 cursor not generated correctly with xcursorgen

    I need some help with the animated cursors... running:     sudo xcursorgen left_ptr_watch.config watch from the source directory generates no errors, but does not create a file for the cursor? The folder layout is: ~/Path to cursor/source/left_ptr_wa

  • Inckuding run time engine in installer

    Hi, I 'd like to know if it is possible to include the LV run time engine using application builder under LV 7.1.1 in an installer file, and if it is where should I find  the options in the application builder parameters. Thanks olivier

  • Special Prices for Customer with Base Price amount

    Hi all Please help to correct my Query below.  It shouldn't shows so many duplicated results with different Base Prices.  You can simply run this in any Demo Database. SELECT T0.[ItemCode],T1.[ItemName], T4.[ItmsGrpNam], T0.[CardCode], T2.[CardName],