on 06-16-2015 6:41 AM
Hi Experts,
I have a requirement where I want to mark UI element with something to show that tool tip is visible. I am thinking to mark UI element with underline if tool tip is there to display field.
I have tried explanation property to set it but it seems it does not working.
Does any body have some suggestion or some previous thread for it.
Thanks.
Shiv
Hi,
You need to follow the documentation link provided by Jozef Vaklavek. At first time you will not get indication.
To get the indication, you need to follow the below steps after binding explanation property of that UI Element.
You to rightclick the UI element on the screen and select display quick help. Then it will show you the indication that tooltip/explation text has been maintained.
PFB The snapshots for the same.
And if you want to show it my default after launching/executing the application,You can use the following code in WDDOMODIFYVIEW. It will never let user disable the quick help and display it by default.
DATA api_main TYPE REF TO if_wd_view_controller.
DATA component TYPE REF TO if_wd_component.
DATA application TYPE REF TO if_wd_application.
api_main = wd_this->wd_get_api( ).
component = api_main->get_component( ).
application = component->get_application( ).
application->set_show_explanation( abap_true ).
Hope this helps you.
Thanks
KH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Why you want to show indication i.e to mark UI element with underline?.If you maintain tool-tip for your UI element and on cursor position, it will automatically show the tooltip.
As per my suggestion, no need to show any indication.
Thanks
KH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you will probably not manage it with a tooltip. The explanation should however work.
Explanation Property - Web Dynpro for ABAP - SAP Library
Also search for an example
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.