Displaying hyperlinks in excel?

Hi all,
I am creating an application using BSP wherein i have to export the data to the Excel sheet through the BSP application. I am able to export the data from tables to the excel but there are some hyperlink entries in the database tables which i need to fetch and display in the excel. The problem is excel is not displaying those web addresses like "www.sap.com" as hyperlink.I tried to concatenate it with ' http:// ' , but its not converting the values into hyperlinks. Can anybody please suggest how to display the hyperlink values from database table into the excel sheet?
Thanks in Advance,
Mahima.

Hi Anita,
Please have a look at the following piece of code that i am using for concatenating hyperlink values with
"=HYPERLINK....". But, still its not converting the values into hyperlink.
the code is as below:
  data: s1 type c length 60 value  '=HYPERLINK("http:// ',
          s2 type c length 20 value  '","sap")'.
      SELECT SINGLE VALUE INTO WA_VALUE FROM ZGKB_ASSCI WHERE PAFID =  
      WA_FEATURE-PAFID AND COUNTRY_INDIC = WA_COUNTRY-LAND1.
      Append wa_value to itab_pdf.
***********For displaying the hyperlinks in excel.
        if wa_value CP ' www.. '
            concatenate s1 wa_value s2 into wa_value.
        endif.
          LOOP AT ITAB_COUNTRY INTO WA_COUNTRY.
           SELECT SINGLE VALUE INTO WA_VALUE FROM ZGKB_ASSCI WHERE PAFID = 
           WA_FEATURE-PAFID AND COUNTRY_INDIC = WA_COUNTRY-LAND1.
           CONCATENATE L_STRING   wa_value
           CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB INTO L_STRING SEPARATED BY
           CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
          endloop.
I think it's almost similar to what your code is doing.But it is not converting the values to hyperlink.
Could you please help me with this.
Thanks and Regards,
Mahima.

Similar Messages

  • Hyperlink in Excel cell

    Is it possible to write hyperlink in each cell of Excel (report 6 and/or 10) in a way to run hyperlink after run report with one mouse click on the cell (active hyperlink) when excel is displayed.
    I was trying with this example below but without succes beside this I can not find any solution on metalink:
    Re: Hyperlink Related Issue
    function F_enameFormatTrigger return boolean is
    begin
    if :ename = 'SMITH' then
    srw.set_hyperlink('http://www.smith.com');
    elsif :ename = 'JONES' then
    srw.set_hyperlink('http://www.jones.com');
    end if;
    return (TRUE);
    end;

    nagornyi, that is the problem, because I must type Enter if I want to make hyperlink active! So it is not enought just writing tekst but type Enter as well. Try to do this and tell me if I'm wrong.

  • Error message when clicking hyperlink in Excel file

    Hi all,
    I am working on SSRS 2012. In main report having hyperlink. When click this hyperlink in browser (IE 11 or Chrome), it open sub report correctly.
    But once i download the main report to Excel 2013 and click hyperlink, it can't open sub report.
    I am getting following error message in Excel file.
    Unable to open "http://...". Cannot download the information you requested.
    In SSRS 2005, it is working fine.
    How can i fix this issue in SSRS 2012?
    Thanks,
    Raja Shekhar Reddy

    Hi Raja,
    After testing the issue in my environment, I can reproduce the error message in Excel 2013. When the user who have no access to the report, it would display the error message that “Unable to open "http://...". Cannot download the information you requested.”
    when he click the hyperlink in Excel. So we can try to directly type the URL in browser to make sure the users have view permission to the report.
    Reference:
    Tutorial: Setting Permissions in Reporting Services
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • 9.3.4 Update Broke HyperLinks to Excel Spread Sheets located on Same Domain.

    I have created company procedural documents in PDF using Adobe Pro 9.3.3.
    These procedures contain hyperlinks to Excel spreadsheets that are located on an Internal Domain File Server. When I click on the Hyperlink using Adobe Reader 9.3.3, Excel launches and opens the spreadsheet . Adobe Reader or Adobe Pro 9.3.4 won’t open the link. Adobe 9.3.4 pops up a Window saying the spread sheet cannot be found, make sure you type the name correctly so on and so on. I Click OK on the first pop up, a second Adobe Pop-up window opens saying "Could Not Open the file" followed by the correct path to the spread sheet. I just tested it on a computer running Adobe Reader 9.3.3 and the hyperlinks worked fine. I then Upgraded Adobe Reader to 9.3.4, absolutely no other changes, and the hyperlinks no longer work..Same pop up..Cannot find .xls"..."Could not open .xls"..
    Hyperlink syntax being used is \\servername\sharename\folder\spreadsheet.xls . So what setting do I need to chase down in 9.3.4 to correct this? What changed in 9.3.4 from 9.3.3?

    We are experiencing a similar problem with Reader 9.3.4
    We have training products produced in Acrobat 6, as PDFs which have hyperlinks to run Flash movies (SWFs). The products are installed from CD onto users' hard drives.
    The products have worked on hundreds of PCs and Macs, but as each customer updates to Reader 9.3.4 they report failure to open the SWFs.
    The SWFs are organised in a hierarchy of folders depending on exact topic. All the movies are inside a "data" folder, then main topic folders, down to sub-topic folders.
    I have found that the PDF hyperlinks will open a copy of the relevant SWF if it is placed in the same folder as the calling PDF, but not when it is in its rightful position down the path.
    The initial error message shown when files are in their correct folders says e.g.  "Cannot find anchoring_one.swf" suggesting that only the filename is called and not the path. However the second message, displayed when the first is acknowledged, says e.g. "Cannot open data/anchoring/anchoring_one.swf" So the hyperlink IS outputting the full path, but somehow it it is being truncated to file name only.
    Seems that the call is produced from the hyperlink correctly, and registers with the system as full path. Then the call is passed forward to a function which should actually open the file and here loses its path, so file-open fails and returns a "Cannot Find" message. The return code from this function is passed back as a failure, to the prior function which still knows the path. This prior function then issues the "Cannot Open" message, including the full path.
    Is is totally impractical for us to rewrite and re-issue the programs in any other format, or stop thousands of independent customers from upgrading to Reader 9.3.4
    I hope Adobe can fix this issue VERY quickly.
    MartinQ
    NauticalSoftware.com

  • Hyperlink in Excel to a file on network drive not working

    In Excel 2010 I created a hyperlink to a word doucment located on our network server.  When I click on the link in Excel in only opens up the main folder not even the sub-folder where the document is located in.  I can't figure out why it
    won't open the specified document even though it shows the document in the hyperlink address.  Thanks for any help!
    Dusty

    Hi,
    Do you mind telling us which link format are you using? Are you linking to a mapped drive letter or a Universal Name Convention (UNC) address?
    Here's the difference:
    The UNC address of a server location may be: \\MyServer\MyFolder
    That server may have been mapped to D:\ 
    A link that uses the UNC address would look like this:
    \\MyServer\MyFolder\MyExcelFile.xlsx
    A link that uses the mapped drive would look like this:
    D:\MyExcelFile.xlsx
    As long as the computer has a mapped D:\ drive, the link should work, if it doesn't, the link is broken.
    I recommend you use the UNC address method.
    More reference:
    http://support.microsoft.com/kb/328440
    Then, we'd better check the really hyperlinks.( Home tab>Insert> Hyperlink> Hyperlink address)
    Tips: The display hyperlink in cell is not really Hyperlink address
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Display data in excel

    Hi, I have program which display data in Excel layout of ALV loaded from internal table..
    It means that in sap i received excel sheet with all its functionality.
    The problem is that sometimes there are missed some rows with data.
    Did someone meet with similar situation?
    Regards,
    Joanna

    HI
    DATA: v_file LIKE rlgrap-filename,
            v_filename TYPE string.
      REFRESH i_matcontrol.
      CLEAR   i_matcontrol.
      TRANSLATE v_exten TO UPPER CASE.
      IF v_exten = 'XLS'.
        v_file = p_p_file.
        CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
          EXPORTING
            i_field_seperator    = 'X'
            i_tab_raw_data       = ws_rawdata
            i_filename           = v_file
          TABLES
            i_tab_converted_data = i_data.
      ELSEIF v_exten = 'TXT'.
        v_filename = p_p_file.
    File upload
        CALL FUNCTION 'GUI_UPLOAD'
          EXPORTING
            filename                = v_filename
            filetype                = 'ASC'
            has_field_separator     = 'T'
          TABLES
            data_tab                = i_data
          EXCEPTIONS
            file_open_error         = 1
            file_read_error         = 2
            no_batch                = 3
            gui_refuse_filetransfer = 4
            invalid_type            = 5
            no_authority            = 6
            unknown_error           = 7
            bad_data_format         = 8
            header_not_allowed      = 9
            separator_not_allowed   = 10
            header_too_long         = 11
            unknown_dp_error        = 12
            access_denied           = 13
            dp_out_of_memory        = 14
            disk_full               = 15
            dp_timeout              = 16
            OTHERS                  = 17.
        CASE sy-subrc.
          WHEN 1.
            MESSAGE e001(00) WITH text-001.
            STOP.
          WHEN 2.
            MESSAGE e001(00) WITH text-002.
            STOP.
          WHEN 0.
            IF i_data IS INITIAL.
              MESSAGE s001(00) WITH text-008.
            ENDIF.
        ENDCASE.
      ENDIF.
      DELETE i_data WHERE matnr IS INITIAL AND
                                  werks IS INITIAL.

  • Hyperlinks from Excel 2010 to external programm

    Hello!
    I have Microsoft Office 2010.
    I am interested in addition hyperlinks to pivot table in Excel, which can mouve to the external web application (Global Specification System - the system of documentation management).
    1. How can I add hyperlinks to pivot table?
    2. When I add hyperlink to ordinary Excel table (to the certain document), the hyperlink mouves me not to the certain document, but to the start page.
    Please let me know if you have any ideas how to realize this.

    We cannot add hyperlinks to pivot Table directly, but we can use some VBA code to create fake hyperlinks in a pivot table,refer to the link below to learn how to get it work:
    http://www.pivot-table.com/2013/11/06/create-fake-hyperlinks-in-excel-pivot-table/
    On your second question, if your hyperlink works fine in browser, please see :
    http://social.technet.microsoft.com/Forums/en-US/512fd9c4-1880-4db7-9959-97510bdd91d1/hyperlink-question?forum=excel
    Please let me know if I misunderstood you.

  • Opening Hyperlinks inside Excel WebAccess webpart in the Same Window

    I was trying to access Excel Web parts hyperlink like below, but this solution is not working for me.
    $(document).ready(function() {
    $(".ewr-sheetcontainer a").each(function(){
    $(this).attr("onclick","openLink(this)");
    function openLink(Atagproperties)
    Atagproperties.target = "_self";
    Problem is .ewr-sheetcontainer has role="Presentation" atttribute,
    which says it will delete the contents from accessible tree. 
    Is this the reason it is not working for me? or Am I missing anything?
    Appreciate your help on this. Thanks, Maddy

    Hi,
    According to your description, my understanding is that you want to set the hyperlink in Excel Access Web Part opening in the same window.
    As the excel access web part is dynamic loading after the page load, so when the page has loaded, the excel web part element has not been loaded completely.
    I suggest you can use setInterval method to run function circularly until the excel access web part has loaded in the page.
    Here is a code snippet for your reference:
    <script src="http://code.jquery.com/jquery-1.10.2.js" type="text/javascript"></script>
    <script type="text/javascript">
    var $a;
    var interval;
    $(document).ready(function(){
    interval = setInterval(ready, 1000);
    function ready()
    $a = $('div.cv-nwl a');
    if($a.html()!=null)
    $a.attr('target','_self');
    clearInterval(interval);
    </script>
    Thanks
    Best Regards,
    Jerry Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • CANNOT DISPLAY A WORD/EXCEL DOC IN BLOB FIELD INTO A PDF REPORT

    We created a report that should display several kinds of documents at one time.
    These documents are stored in BLOB columns in database. We had no problem to
    display txt, gif or jpeg, but we could not display doc, xls, pdf or html
    documents.
    In this report we set three different fields in which display different kinds
    of documents depending on mimetype. The first field has FileFormat property set
    to 'Text' in order to display 'text/plain' and 'text/html' mimetype documents.
    The second field has it set to 'Image', which allow to display 'image/bmp',
    'image/gif', 'image/x-png', 'image/pjpeg' mimetypes. The third field has this
    property set to 'OLE2', and here is where we would like to display other
    mimetype documents as 'application/msword', 'application/vnd.ms-excel',
    'application/pdf'.
    We run the report on the web using:
    http://<server>:<port>/dev60cgi/rwcgi60
    ?server=<report_server>
    &report=<rdf_name>
    &destype=localfile
    &desname=<report_name.pdf>
    &userid=<user>/<password>@orcl9i
    &desformat=pdf
    <6meters>
    I have already read a lot of notes in Metalink but I could not find any
    solution. Is there any way to display a Word/Excel document from database in a
    report?
    We tried to convert Word/Excel docs to html format, but when we tried to
    display an HTML document in the report, we found that Oracle Reports displays
    the source code instead of the HTML format document. So, this did not work.
    What can we do?
    We also read somewhere that a possible solution would be to convert Word/Excel
    documents to a common format like GIF, JEPD or PDF. If processed as gif or jped
    the file could be displayed in the report. If processed as pdf the document
    could be linked in the report.
    I tried to display a PDF in the report but a blank box is displayed. How can I
    do this too?
    Any solutions?

    Hi,
    I have the same problem. I need to show up a BLOB, word file(.doc), in a custom report. I made a simple query, extracting file_date( the column having the blog (.doc) file) from the database, in the report and placed it on a layout by assigning it to a field "F_1". I addressed the file format as OLE2.
    But when I run the Report in APPS, it shows up an error "REP-1814: Report cannot be formatted. Object 'horizontally and vertically' can never fit within 'F_1'.". I also played with the layout by changing its size but the response had no change.
    I am using Reports6i and the output format of the report is PDF. Is there a way to resolve the issue? Please share the solution if you have any for this.

  • How to Download displayed output to Excel Using Bsp Application

    Hi Experts,
    please give me some idea because I am New In BSP.
    How to Download displayed output to Excel Using Bsp Application.
    If any sample code please do send me.
    In my condition I am getting data in  2-3 table view formats on one page and i want download that in Excel.
    please help me.
    Regards & Thanks,
    Yogesh

    Hi,
    This is more a question for the BSP forum.
    Anyway, as such it's realy easy since you can use HTML in order to import to Excel. All you need to do is add
    runtime->server->response->set_header_field( name = 'Contnet-Type'
    value = 'application/vnd.ms-excel' ).
    runtime->server->response->delete_header_field( name = 'Cache-Control' ).
    runtime->server->response->delete_header_field( name = 'Expires' ).
    runtime->server->response->delete_header_field( name = 'Pragma' ).
    Also check threads like
    Download BSP data into Excel
    export bsp-table to excel
    Export BSP Table to Excel
    Eddy
    PS. Reward useful answers and earn points yourself

  • Leading zeros are not displaying in the excel

    Hi Experts,
    Leading zeros are not displaying in the excel
    Here is the situation:
    I have developed one report, which will create the file in Application server with TAB deleimeted. After that I am sending that file via email in the excel format using Email functionality FM.
    Normally our material numbers will start with zeros.
    But when I check the email excel file , leading zeros are not displaying.
    Even I checked the application server (AL11) file, zeros are there.
    I thought program FM was wrong and I tried it manually by downloading the file into excel. Eventhough it is suppressing zeros.
    Could you please advise, how to display leading zeros to the material number in excel file.
    Thanks in advance
    Raghu

    Application server file showing  zeros infront of the material number.
    1200#  0012401387# XXXXXXXX
    Once file created in app server, I am using one custom FM to send that output in excel format / txt format via email.
    when I send txt file via email, I am getting leading zeros. But when I send xls file via email, I am not getting zeros.
    I checked custom FUNCTION MODULE . No mistakes in that.
    ===
    Sudhir,
    As you said, I passed ( ' ) single quote infront of the material number. When I check the excel file, single quote also displaying like this '0000100.
    Application server file showing like below
    1200#  '0012401387# XXXXXXXX
    ===
    Could you please advise anyone how can we acheive this.
    Thanks

  • Create Hyperlink in Excel

    Hi all,
    I looked through the excel examples that ship with labview. I found out how to get data into excel cells and read from them. But I still look out how to create a hyperlink that is connected to a text in an excel cell. I think this could be done without using the report generation toolkit, that I don't have.
    Best Regards,
    Toni

    Hi All,
    here is the solution for it.
    i am able to put a hyperlink into excel now.
    Hope this helps you. 
    Regards,
    Dev
    CLD Certified Engineer
    Attachments:
    Hyperlink.JPG ‏47 KB

  • Using Apache POI 3.2 to create hyperlinks in Excel

    Hello,
    I am new to Java.
    I have written a program that accesses Excel with the Apache POI version 3.2.
    All seems to work until I tried to insert a Hyperlink to a file on the local drive.
    I followed the quick start guide from Apache POI.
    It provides the following code but Java does not appear to find the "createHelper".
    //link to a file in the current directory
    cell = sheet.createRow(1).createCell((short)0);
    cell.setCellValue("File Link");
    link = createHelper.createHyperlink(Hyperlink.LINK_FILE);
    link.setAddress("link1.xls");
    cell.setHyperlink(link);
    cell.setCellStyle(hlink_style);
    Any ideas on how to insert a Hyperlink into Excel would be appreciated.
    Thanks
    Chris

    This seems to be a class in 3.5 beta jar file. Try downloading and using the 3.5 beta

  • Hyperlinks in excel don't allow user to save file in adobe reader

    I created a fillable form for users who have adobe reader. Form works. Users can fill the form in and save it (with same name). When users try to access this same form thru a hyperlink in excel, they are not allowed to save the filled in form using the same name. Can this be corrected?

    Hello,
    Adobe Acrobat is used to design and edit forms, while Adobe Reader is only for reading.
    Once you reader extend any form, actually you enable some usage rights on that particular form and once you open that form in Reader, you will be able to perform the action that you have enabled.
    So the first thing is the end user must have Reader not Acrobat, otherwise no use of reader extending the form.
    Now to your question..
    If you design form in LiveCycle designer, you can use validate element to prevent save, put this in XML source like below.
    <config>
       <present>
          <validate>preSave</validate>
       </present>
    </config>
    If you are designing form in Acrobat itself, you can use script to disable menu items.
    For details please look in this blog.
    http://blogs.adobe.com/dmcmahon/2009/11/11/adobe-reader-how-to-disable-toolbar-buttons-and -menu-items/
    -Vijay

  • Possible to create a hyperlink in excel to a bookmark in a PDF?

    My boss would like to be able to click on a hyperlink in excel, and it would take him directly to a bookmarked item in a PDF.  After searching I've come up empty handed.  Is this even possible?  He swears he's seen it done before, but then again, he's been wrong in the past - so who knows.
    Any help is appreciated!

    No, it's not possible.

Maybe you are looking for

  • Can no longer log in to my computer

    I searched but did not see this problem. I also posted this question the networking forum and i asked that it be removed as this seems like a better place for it. I have 3 iMacs and several PC's in my signshop and we are bound by AD to the main PC se

  • Converting Object to a Date

    Hey guys some one help me out.. 1) How to convert Object to Date and 2) Date to a String in a specified format like "MM : DDD : YYYY". Thanks in Advance :-)

  • Help with texting problems??

    hi Im not sure  what to do. I was texting a good friend of mine the other night and he was texting me back too. The next morning I tried texting him again and it just said sent. But when I tried calling it just rings a ton until it eventually goes to

  • JIT Scheduling Agreement Not getting saved

    Hi Gurus, while saving a JIT scheduling agreement LZJ type in VA31 t-code, i am getting the following error; "Call usages for LP 30075000 and JIT customer SAJ4 do not match. Message no JIT00 801" can anyone of you let me know what setting is missing.

  • How to get trigger-filled-in PK immediately after commit

    Hi You Form Experts, I have two blocks in a form. The two blocks are "linked" by an FK (block2's PK stored in block1's table), but they do not have an exactly "parent-child" relationship. Block1 always has a record and commits first, and there may or