Skip to Content
avatar image
Former Member

Quick Help with a Hyperlink

Hello Colleague,

I have a requirement where i need to create a QUICK HELP with a hyperlink in it.

I use EXPLANATION element to create quick help in WD ABAP. I want to know how can i add a Hyperlink in the text.

Example.

My name is Piyush Deora.

Here, Piyush Deora is a Hyperlink that traverses to a WebPage.

Thank you in advance.

Regards,

Piyush Deora

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jul 09, 2009 at 08:53 AM

    Use "Link to URL" element.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 09, 2009 at 09:00 AM

    Hi piyush,

    use the element 'LINK TO ACTION' to access th link and include this piece of code in the 'on action' event.

    DATA: api_component TYPE REF TO if_wd_component,

    window_manager TYPE REF TO if_wd_window_manager,

    window TYPE REF TO if_wd_window.

    api_component = wd_comp_controller->wd_get_api( ).

    window_manager = api_component->get_window_manager( ).

    window = window_manager->create_external_window(

    url = url

    modal = abap_false ).

    window->open( ).

    Pass the desired web page URL to the 'URL" field.

    Hope this will be needful.

    Thanks,

    Martina

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      HI Piyush,

      You cannot add URL in the explanation text,instead of that insert a 'TEXT' element and 'LINK TO ACTION' element in a 'TRANSPARENT CONTAINER' element with flow layout and include the piece of code..

      Regards,

      Martina

  • Jul 09, 2009 at 12:38 PM

    For security reasons you can do what you describe. Any text output via the Explanation or Quickinfo (or many other UI elements), goes through safe encoding to make sure it doesn't contain any HTML or JavaScript.

    Add comment
    10|10000 characters needed characters exceeded