on 02-25-2014 4:26 PM
Hi Group,
I need to add hyperlink to a box displayed in ESS side. The webdynpro application I am looking into is HRESS_A_PER_US_ONLINE_W2. In the election tab, I need to add a hyperlink inside 'Additional Information' box.
I tried to create a GENERAL TEXT in SE61 and insert a link which works fine in the preview in SE61 but this doesn't show up as a hyperlink in the ESS side. It just displays the command for the hyperlink as such.
Requesting your input on this.
Thanks,
María
Hi,
You have to use Link to URL/ Link to Action UI element to display hyperlink in Web Dynpro ABAP.
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Maria,
I think you are not very much familiar with the object navigator and Webdynpro component's structure. I suggest you take the help of a developer who is familiar with WDA.
You need to enhance the standard component to achieve your requirement.
Your requirement can be achieved as below
- Open the standard WDA component in SE80 and go to the respective view
- Enhance the view and go to the view layout
- Add UI element LinkToUrl or LinkToAction
- To set the link text from data element documentation,
- Go to the POSTEXIT of wddomodifyview( ) method of view
- Get the documentation text by using function module DOCU_GET_FOR_F1HELP
- Get the link ui element from view like
data lo_view_element type ref to if_wd_view_element.
lo_view_element ?= VIEW->GET_ELEMENT( 'LINK' )
- Set the text, by using method
lo_view_element->set_text( lv_doc_text ).
Hope this helps you.
Regards,
Rama
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.