Hyperlink to module

Hi,
I want to have a hyperlink to a module (not a html <a href
> link) in a nice format (fully justified) in a sentence. I
tried using <mx:TextArray> and <mx:Text> but I have to
break a sentence into several texts and adjust width of each item,
and still cannot get the alignment look all right. Is there a
simple way of doing that?

Hi Salle123,
Try this.
<mx:Label selectable="true" color="blue"
click="yourmethod();" >
<mx:htmlText >Any Text</mx:htmlText >
</mx:Label>
Thanks,
Giri

Similar Messages

  • Web modules: return hyperlink not generated

    Designer Version 10.1.2.0.2 (shipped with ODS10gR2):
    When generating web modules, the preference "Build return hyperlinks (MODBRL)" doesn't show the expected behaviour. No return hyperlinks are generated at all. I didn't use web module generator with earlier releases, so, I don't know if it was different there.
    regards
    Thomas Dombrowski

    This feature uses a cookie to save the return hyperlinks that are to be displayed on the subsequent screens. Unfortunately, many people disable cookies in their browsers for security reasons. That could be why you aren't seeing the return hyperlinks. The feature does in fact work, but not for everyone, which is why I started hand coding return hyperlinks in the user text instead. It is more work, but more reliable.

  • Is there any function module for converting text to hyperlink?

    Hello all,
              I am designing an application in BSP wherein the user can enter hypertext values for some
              of the data enteries in the database table. Is there any function module available for converting
              text into hypertext. Eg. if the user enters 'www.mypersonalwp.com' then it should convert this
              text value into a hyperlink.
    Thanks in advance.
    Gurmahima.

    Hi,
    Refer the given below link
    http://help.sap.com/saphelp_erp2004/helpdata/EN/85/ce25c2d7ae11d3b56d006094192fe3/content.htm
    Hope it helps you
    Thanks
    Arun Kayal

  • Function module for hyperlink

    function module for hyperlink

    REPORT  zkb_test.
    DATA: v_string TYPE string VALUE 'http://sap.com'.
    START-OF-SELECTION.
      WRITE / v_string HOTSPOT ON.
    AT LINE-SELECTION.
      CALL FUNCTION 'CALL_BROWSER'
        EXPORTING
          url                    = 'http://sap.com'
        EXCEPTIONS
          frontend_not_supported = 1
          frontend_error         = 2
          prog_not_found         = 3
          no_batch               = 4
          unspecified_error      = 5
          OTHERS                 = 6.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Regards
    Kathirvel

  • Hyperlink in OO-ALV to Sap-Business- Workplace-Dokuments

    Hello specialists,
    I  have implemented hyperlinks to an oo-based ALV-List
    ( please see sample code later ). Now we have the problem that these hyperlinks only work in a local network-area.
    But we have also foreign-departments on our SAP-system, that have no access to our network.
    Now the question: is it also possible to create hyperlinks
    assigned to SAP-Business-Workplace-documents ?
    Do you have a solution for this problem ?
    Thank' s in advance !
    Best regards !
    Oliver Perthen / Germany
    *& Modulpool         ZBWS_TESTSZENARIEN_LINK                           *
    INCLUDE Z_LINK_TOP                              .                      "
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'ZTEST'.
      SET TITLEBAR 'ZX'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
          text
    MODULE USER_COMMAND_0100 INPUT.
      CASE SY-UCOMM.
        WHEN 'BACK'.
          LEAVE TO SCREEN 0.
        WHEN 'CANCEL' OR 'ABORT'.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Module  create_object  OUTPUT
          text
    MODULE CREATE_OBJECT OUTPUT.
      CHECK G_CUSTOM_CONTAINER IS INITIAL.
      CREATE OBJECT G_CUSTOM_CONTAINER EXPORTING
      CONTAINER_NAME = 'CONTAINER'.
      CHECK ALV_GRID IS INITIAL.
      CREATE OBJECT ALV_GRID EXPORTING
      I_PARENT = G_CUSTOM_CONTAINER.
    ENDMODULE.                 " create_object  OUTPUT
    *&      Module  read_data  OUTPUT
          text
    MODULE READ_DATA OUTPUT.
      SELECT * FROM ZBWS_TESTSZENARI INTO TABLE ZTEST WHERE TESTER EQ
    'RW#9952'.
    ENDMODULE.                 " read_data  OUTPUT
    *&      Module  transfer_to_alv  OUTPUT
          text
    MODULE TRANSFER_TO_ALV OUTPUT.
      REPORT = SY-REPID.
      CLEAR LAYOUT.
      CLEAR FIELDCAT_D.
      REFRESH FIELDCAT_D.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
           EXPORTING
                I_STRUCTURE_NAME   = 'ZBWS_TESTSZENARI'
                I_BUFFER_ACTIVE    = 'X'
                I_BYPASSING_BUFFER = 'X'
           CHANGING
                CT_FIELDCAT        = FIELDCAT_D[].
      FIELDCAT-FIELDNAME = 'HL_FNAME'.
      FIELDCAT-NO_OUT = 'X'.
      APPEND FIELDCAT TO FIELDCAT_D.
      LOOP AT FIELDCAT_D INTO FIELDCAT.
        FIELDCAT-SELTEXT = FIELDCAT-FIELDNAME.
        FIELDCAT-REPTEXT = FIELDCAT-FIELDNAME.
        CASE FIELDCAT-FIELDNAME.
          WHEN 'TESTDATEI'.
            FIELDCAT-WEB_FIELD = 'HL_FNAME'.
        ENDCASE.
        MODIFY FIELDCAT_D FROM FIELDCAT.
      ENDLOOP.
      LOOP AT ZTEST.
        ZTEST-HL_FNAME = SY-TABIX.
        LS_HYPE-HANDLE = SY-TABIX.
        LS_HYPE-HREF = ZTEST-TESTDATEI.
        APPEND LS_HYPE TO GT_HYPETAB.
        MODIFY ZTEST.
      ENDLOOP.
      LAYOUT-NO_KEYFIX = 'X'.  " Schlüssel nicht Fixieren
      LAYOUT-INFO_FNAME = 'COLOR'."Farbstufen
      LAYOUT-SEL_MODE = 'D'.   "Markierungsspalte
      LAYOUT-SGL_CLK_HD = 'X'. "Sortierung per Click
      LAYOUT-CWIDTH_OPT = 'X'.
      CALL METHOD ALV_GRID->SET_TABLE_FOR_FIRST_DISPLAY
       EXPORTING
        I_STRUCTURE_NAME = 'ZBWS_TESTSZENARI'
        IS_LAYOUT = LAYOUT
        I_SAVE = 'A'
        IT_HYPERLINK = GT_HYPETAB
       CHANGING
      IT_OUTTAB = ZTEST[]
      IT_FIELDCATALOG = FIELDCAT_D.
    ENDMODULE.                 " transfer_to_alv  OUTPUT

    Hi.
    I'll try it.
    Thanks.

  • Function modules or BAPIs for ESS MSS

    Hi Experts,
    I am new to HR (ESS/MSS & who's who). I am looking for standard BAPI's and Function Modules that would give me information about an employee's upper level's and lower levels (reporting).
    My requirement is to build an Webdynpro Application with taking employee id as user input and display his uplevel's and downlevel's. Also, hyperlink on employee should help me to further navigate to the corresponding employee's information.
    Note: I tried to search this forum, but unable to narrow down the required business functions that i require.
    Thanks,
    Gaurav.

    https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=190743879
    RH_GET_MANAGER_ASSIGNMENT

  • Hyperlink in Work-flow activity

    Hi all I want to pass a hyperlink in Work-flow activity
    I am getting problem when my URL is more then 66 0r in sometime 77 characters it that.
    It is adding %20%20 in between the URL if it is having more then 66 characters .
    Please help me for resolving the issue

    Hi,
    As there some some charecter limitation to send the link, you need to use the FM SO_NEW_DOCUMENT_SEND_API1. Please see the follwing sample code. Write the code in method and call it within the Task.  Make suer that all the required data should be passed to method through binding.
    DATA:
          lt_user_IDS type STANDARD TABLE OF SWHACTOR,
          ls_user_IDS type SWHACTOR,
          lt_EMAIL_ADDRESSES TYPE STANDARD TABLE OF ADR6-SMTP_ADDR,
          ls_EMAIL_ADDRESSES  type ADR6-SMTP_ADDR,
          lv_STATUS TYPE CFS_STATUS-STATUS_ID,
          Lv_Object_ID type crmd_orderadm_h-object_id,
          ls_document_data TYPE sodocchgi1,
          lt_text TYPE solisti1 OCCURS 0,
          l_document_data TYPE sodocchgi1,
          lt_receivers TYPE somlreci1 OCCURS 0,
          ls_wa_receive TYPE somlreci1,
          ls_text TYPE solisti1,
          lv_link_title  TYPE char50 'Please click here'.
    DATA: lv_link TYPE char200 VALUE 'http://sdfkndggfhjgasdfhasdfhgjhdgfhjasdkljhsdhfjkhjsdfjklhsddfjklhsaddkjghasdjksjkhfjkhjkhsdfjkhasdjkfhjkhsdfkjhjkhsdajklfhjkhkjfhjkh.com'.
    CONCATENATE '<A HREF=' lv_link '>'
       INTO ls_text.
    APPEND ls_text TO lt_text.
    CLEAR : ls_text.
    CONCATENATE  '<H5>' lv_link_title '</H5></A>'
    INTO ls_text.
    APPEND ls_text TO lt_text.
    * Receiver
    Loop at lt_user_IDS into ls_user_IDS.
    ls_wa_receive-rec_type = 'G'.        "SAP User
    ls_wa_receive-receiver = ls_user_IDS. "Mail Address
    APPEND ls_wa_receive TO lt_receivers.
    Endloop.
    Loop at lt_EMAIL_ADDRESSES into ls_EMAIL_ADDRESSES.
    ls_wa_receive-rec_type = 'U'. "Internet User
    ls_wa_receive-receiver = ls_EMAIL_ADDRESSES. "Mail Address
    APPEND ls_wa_receive TO lt_receivers.
    Endloop.
    *This function module is used to send mail
    CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
      EXPORTING
        document_data              = ls_document_data
        document_type              = 'HTM'
        put_in_outbox              = 'X'
        commit_work                = 'X'
      TABLES
        object_content             = lt_text
        receivers                  = lt_receivers
      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 Mail Send Successful
    IF sy-subrc EQ 0.
      COMMIT WORK.
    *   Push mail out from SAP outbox
      SUBMIT rsconn01 WITH mode = 'INT' AND RETURN.          "#EC CI_SUBMIT
    ENDIF.
    Thanks and regards,
    SNJy

  • 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

  • Hyperlink issue in Smartform PDF

    Hi  All,
               I am facing below issue with Smartform after it converted to PDF. The PDF file has below link
    (http://www.vocakiri.co.uk/_assets/media/StandardTC3_(including_REG_31_Requirements).pdf) in footer window.
    But when i am selecting the hyperlink it is getting truncated as "http://www.vocakiri.co.uk/_assets/media/StandardTC3_" .it opens window with truncated
    web address which leads to error.
    could you please let me know what is the problem or is there any note need to be applied.
    Thanks and Regards,
    Prasanna B

    Hi Prasanna B,
    See thread http://scn.sap.com/thread/1819587.
    You can try using the callback method described in the following Notes:
    622718 - SF Web Forms: Callback for the URL format
    707931 - Web Forms: Incorrect URL address with the HTML output
    You can get a different title of the link by using a kind of user exit for the URL processing, which is described in Note 622718.
    You must create your own function module with the following interface:
    *"  CHANGING
    *"     REFERENCE(DATA) TYPE  TTXCTOKEN
    Data: i_data type STXCTOKEN,
    (see note 622718; TTXCTOKEN is an internal table of type STXCTOKEN)
    Now when you call the function module of the Smart Form, you should fill the parameter OUTPUT_OPTIONS-URLCALL with the name of the new function module. As a result your function module is called, when the URL is processed by the Smart Forms composer.
    This method allows you to use a shorter alias for a longer URL link.
    Regards,
    Aidan

  • Menu bar button hyperlink to open a new page?

    I want to know if there is a way to add a hyperlink to a Menu bar button to open a new page showing a pdf file?

    To open url on button click, you can use the following example, that I used in one of my cases...
    Z P/L analysis
        ls_button-text     = 'P/L analysis monitor'.
        ls_button-tooltip = 'P/L analysis monitor'.
        lv_string1 = 'javascript:window.open( "'.
        lv_string2 = '" );'.
        CONCATENATE lv_string1
        lv_url2
        lv_object_id
        lv_string2
        INTO lv_string3.
        ls_button-on_client_click = lv_string3.
        ls_button-page_id  = me->component_id.
        ls_button-enabled  = abap_true.
        APPEND ls_button TO rt_buttons.
        CLEAR ls_button.
    Comments:
    - lv_string3 represents the URL
    - lv_url2 contains the url of bsp component, which you can build manualy or read from any table with select single statement
    - lv_object_id represents the id of opportunity which you can read from BOL or with one of crm_order_read function modules
    Regards.

  • Word import - hyperlinks work in one document, not in another

    Hi all,
    I am aware that much has been written about broken links after importing, but there is a strange pattern to my problem I have not seen before.
    I have three language versions of one document (English, French, German). So I set up three independent RoboHelp 8 projects and imported (linked) the corresponding Word documents. English and German are no problem, but in the French project, some (10%) cross-refs are not converted to hyperlinks. The involved titles have no accents, so it is probably not a character set problem. If I update the Word link or force update, it is always exactly the same cross-refs that are not converted correctly.
    The cross-refs in Word look like this:
    {HYPERLINK \I " title "}
    The cross-refs that do convert correctly have the same format, I see no difference between cross-references that work in RH and those that don't.
    Any ideas about this?

    Sometimes, but it does not seem to affect the function. There are working links with spaces at the end.
    On the other hand, there are strange things like this:
    I have two chapter titles named "Système de désignation des modules de fonction" and"Système de désignation des connexions".
    When I create hyperlinks, then Word inserts these fields:
    {HYPERLINK \l " Système de désignation"}
    {HYPERLINK \l " Système de désignation "}
    -> The titles are cut off in the middle, the text markers differ only by an extra space. These hyperlinks work in Word, but not in RoboHelp.

  • Problem launching Excel sheet from Button hyperlink

    Re: Access 2010 / Excel 2010 on Win 7 Professional
    The Problem:
    =============
    When I try to launch an Excel file (Dashboard sheet) from a hyperlink in a command button in an Access app, I get this error in the form of two message boxes:
    Message box:
    "You can't exit <application name> now".
    "If you're running a Visual Basic module that is using OLE or DDE, you may need to interrupt the module."
    (I simply clicked 'OK' on this first message)
    2nd Message box displayed at the same time from Microsoft Access:
    "A potential security concern has been identified.  This location may be unsafe.
    "MySheet1.xlsx".  Hyperlinks can be harmful to your computer and data.  To protect your computer, click only those hyperlinks from trusted locations.  Do you want to continue?"
    Yes/No
    At this point, if I answer 'yes' on this 2nd message, the spreadsheet will open normally.
    The Background:
    ================
    The button that launches the Excel app is on a simple blank form.  No other controls are on this form and there is no VBA code behind the form, just a hyperlink property is set in the hyperlink property in the button that points to the Excel file.
    In Access, under Options/Client Settings"
    These two are checked:
      -- Ignore DDE requests
      -- Enable DDE refresh
    I have a command button that has a hyperlink to an Excel sheet on my local drive.  (Both the database application and the Excel file are on my local drive)  The hyperlink of the button points to the Excel file on the local drive.
    The Excel file comes up fine by itself outside of the application, no problem.
    The Question:
    ==============
    How do I disable these two messages mentioned above so the user is not inundated with them everytime they want to launch the Excel dashboard sheet from the command button?  The button in the Access app has no VBA code behind it, just a hyperlink set in
    the "Hyperlink Address" property.   Is there a way to launch it with VBA code and not get these messages?   Both the Access app and the Excel file exist in the same directory on the local C drive.
    Thank you for your assistance....
    RLN

    Hi,
    Thank you for posting in the MSDN Forum.
    Since the issue is more relate to the end-user, I'd like to move it to Office 2010 - IT Pro General Discussions forum.
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thanks for your understanding.
    Best regards
    Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Create Hyperlink when sending mail via Outlook

    Hi all,
    I want to mail a hyperlink from within function module via outlook. Creating the hyperlink and starting function <new mail> in outlook works just fine. But when the document (word, pdf, etc.) contains blanks, the hyperlink gets interrupted.
    For example:
    h:\temp\word1.doc (this will work just fine).
    h:\temp\word 1.doc (error when displaying hyperlink in body of new mail).
    I know that sometimes on the internet blanks are displayed as %20. But how to insert this in an ABAP statement using CONCATENATE?
    Best regards,
    Micky.

    Hi Micky,
    Try using replace command... to replace SPACE with %20
    Regards,
    Raj
    See the example below:
    REPLACE
    Basic form
    REPLACE f WITH g INTO h.
    Addition
    ... LENGTH len (length specification for field f )
    Effect
    Replaces the first occurrence of the contents of field f in field h with the contents of field g . All fields are handled in their defined length; this means that closing blanks are not ignored.
    The return code value indicates whether the string f was found in h and replaced by g :
    SY-SUBRC = 0 String replaced.
    SY_SUBRC = 4 String not replaced.
    Example
    DATA FIELD(10).
    MOVE 'ABCB' TO FIELD.
    REPLACE 'B' WITH 'string' INTO FIELD.
    returns:
    FIELD = 'AstringCB', SY-SUBRC = 0

  • To Get Hyperlink in the email content using report program

    Hi All,
    Using report program i'm sending an email with some content. Some part of the content should be hyperlinked. How we can do this? Is there any Function Module to do this?
    Thanks,
    Anil.

    Hi,
    if you are using SO_NEW_DOCUMENT_ATT_SEND_API1 then
    Just append the link(say www.google.com) directly to the messages internal table. It will automatically take it as link.
    aRs
    Message was edited by:
            aRs

  • InDesign Server crashing on hyperlinks - HYPERLINKS.RPLN

    When trying to access properties of a hyperlink it causes InDesign to crash. I can assign properties of the hyperlink but if I try and retrieve properties it hangs and crashes resulting in the error below. I'm using InDesign Server 64bit version 7.0.4.553. What's interesting is this works completely fine when testing using InDesign CS5 client version.
    I have used Extend script toolkit to try and debug the issue but you can't even use the databrowser to look at the hyperlink properties as it'll crash there as well. But if I debug using toolkit with client version of InDesign it works fine. It really seems like an issue with InDesign Server and I'm not sure what I can do to work around/fix this problem.
    Example script -
    var myDoc = app.open([document path]);
    for (i = 0; i < myDoc.hyperlinks.length; i++)
         var myHyperlink = myDoc.hyperlinks[i];  
         var newDestination = myHyperlink.destination; // - this causes indesign to crash
         //Do some processing...
    Faulting application name: InDesignServer.exe, version: 7.0.4.553, time stamp: 0x4d891c6d
    Faulting module name: HYPERLINKS.RPLN, version: 7.0.4.553, time stamp: 0x4d891ef9
    Exception code: 0xc0000005
    Fault offset: 0x000000000006e33b
    Faulting process id: 0x1dfc
    Faulting application start time: 0x01ccd52e23e3216c
    Faulting application path: C:\Program Files\Adobe\Adobe InDesign CS5 Server x64\InDesignServer.exe
    Faulting module path: C:\Program Files\Adobe\Adobe InDesign CS5 Server x64\Required\HYPERLINKS.RPLN
    Any help would be great! I can post more information if needed.

    I think I may have found the problem...
    It appears that the particular document I'm working with has a shared link that is contained in another document (in InDesign if you look at the hyperlink details it is a shared destination and for "document" it specifies a different document then the current one. This would probably happen when the hyperlink is copied from a different document. When trying to access that shared link it is unable to get the properties of it because there is actually no reference to it as the other document isn't open on the server.
    This is an interesting problem because I'm not sure where to go with this... I need to be able to get the hyperlink but with the given scenario I can't figure out a way to do that.

Maybe you are looking for

  • How do I load a playlist onto my 4th gen shuffle using itunes 11?

    I have a 4th generation shuffle, and just installed itunes 11. It's ludicrous that the shuffle doesn't allow you to reorder your music (or in my case audiobooks) manually, or even to resort by album/disc/track #.  Even so, at least in iTunes 10 you c

  • Different cpuspeednw on two different hosts with same cpu config. Why?

    Hi, there are two hosts. They are different, but have same CPU configuration (I guess it from the output below). Host1: Solaris 10, 4 cpu, 4 core in each cpu. psrinfo -v Status of virtual processor 0 as of: 03/04/2010 08:57:45 on-line since 12/25/200

  • How do I import raw CR2 files from camera into LR5? I get an error message

    I'm trying to import raw CR2 files from my camera into LR5. I get a message "Files appear to be unsupported or damaged." I know they are not damaged. Does LR5 support raw files? I can do this in Bridge and it converts them to dng files. This would be

  • Managing components

    Hi Gurus, Issue is like this. My client has procured one equipment eg:say turbine which is having material code and they procured through PO. Now according to them the turbine will have sub components(they are not mainatining any item codes ) which w

  • Evaluation paths MANASS, MSSDIREC and MSSREPS

    What is the major difference in Evaluation Paths : MANASS, MSSDIREC and MSSREPS ? Is there any location, that I can get the help on the standard SAP evaluation paths created ? Regards, Srikanth