Tooltip in webdynpro
hi,
Is there any way by which we can increse the time for which the tooltip is displayed on portal?
Hi,
the duration that tooltips are displayed is managed only by the browser. if there is any chance to enhance the time, try the browser settings (maybe a registry key, but i'm not sure)
regards
ingo
Similar Messages
-
Hi,
I put a tooltip on every cell of my ALV Table.
I used this code:
DATA: lr_input_field TYPE REF TO cl_salv_wd_uie_input_field.
CREATE OBJECT lr_input_field
EXPORTING
value_fieldname = lv_name_day.
lr_input_field->set_tooltip_fieldname( lv_name_desc ).
Unfortunately my tooltip is not long enough. The shown tooltip text is only about 20 chars long.
When I try the tooltip on a "normal" InputField, the text can be longer.
Do you have any idea what to do?
Thanks a lot!
LucieHi,
I just do the same things, what it is work for me. I think the problem is not about the length of tooltip, but the length of your field name ( lv_name_desc ).
Just check the length of your field name that you used as tooltip. Maybe the length of your tooltip field just around 20 characters.
Regards,
$=====$
Are you newbie? Check this out: [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] -
Tooltip for each series of Business Graph in webdynpro
Hi Experts,
Here In the Business Graph of webdynpro, on x-axis am taking sales order&corresponding purchase orders on each day
and in the y-axis am taking Prices...Iam able to display successfully,Here the requirement is whenever the user place on
the peak point of the column(or tooltip of each series or at edge of the column either it is purchase order or sales order).We need to maintain
the sales order amount(if the column is sales order) or purchase order amount(if the column is purchse order)....
anyone could suggest me suitable solution for this...thanks in advance....OK! Its done! The solution does not help exact, but it gives my the way! With the coordinates of the MouseEvent I can get the Value of the current table row and set the ToolTip text new. Teh ToolTipManager automatically repaints the ToolTip whit the new text and position.
-
Hi Experts,
Is there any way to increase the time of tooltip in Ui elements.
Thankx In AdvanceThe display of tooltips is a completely browser controlled property. - If you inspect what is happening in the rendered HTML - The WD rendering is just setting the title property of the relevant HTML element. The browser then interprets this to provide you with the little tooltip box that you are used to seeing.
There is no control in WD over the timing/display of these tooltips. It might be that when accessibility mode is turned on that the handling is different. But in normal usage, you're basically in the hands of the browser implementation, not something you can control in WDA.
Hope that makes it clear for you.
Cheers,
Chris -
How to add Image dynamically in Webdynpro ABAP
Hi Experts,
How to add Image dynamically in Webdynpro ABAP.
My requirement is i maintain all the images in a table.
image source has to pick the table URl dynamically and display.
is that possible in webdynpro?
and also please give the suggesion,
without using MIME objects is that anyway to get images?
Thanks in advance.
Regrads,
JeyanthiHi,
are those icons wou want to display then. he following code will be useful.
data : lo_IMG type ref to CL_WD_IMAGE.
LO_IMG = cl_wd_IMAGE=>new_IMAGE( id = img_id SOURCE = 'ICON_BW_APD_TARGET' tooltip = sts_tltp ).
lo_cont->add_child( the_child = lo_img ).
here lo_cont is the container where you want to add the image dynamically and source is the attribiute through which you can change the ICON image. this thing you can getit from data base table and change accordingly.
Regards,
Anil kumar G -
Mouse Over Event handling - Webdynpro
Hi,
We are working on a sample Webdynpro application. We want to show a pop up window on Mouse over of a control. Is this possible in WebDynpro? Do we have a handle for the mouse over event!?
Kindly help.
Best Regards,
Anushahi anusha,
If it is simply a tooltip that you would like to be displayed then there is a tooltip attribute that can be set when using the HTMLb controls, or the method setTooltip("my tooltip"); when using the APIs. If you need more of a mouse over event, then I would personally use standard HTML instead. You can use the same css classes that are used when creating HTMLb components so that the button would look the same, but it would be more under your own control
some code snippets are there in this link if you are using bsp.
Clicking a htmlb:button via Java Script
thanks
vishal -
Tooltip on checkbox object in table_column
Hai Experts,
i have a table with columns on a view within my webdynpro, one of the columns contains a checkbox without the text property filled. I want to add a tooltip on mouseover the checkbox.
I find out the tooltip is not shown in the browser allthought it is shown in se80.
When i add text to the checkbox the tooltip is shown in the browser on mouseover the text.
In my case i do want a plain checkbox without text and a tooltip on mouseover the checkbox, is this possible?!
Grtz RichardHi Richard,
Its simple, create check box, dont give any text for that, u have tooltip property for that check box, in that give your
desire text, that will display on browser. Hope it solves.
Cheers,
Kris. -
Hi Experts,
I have to create a value help for an icon in a table.
The full story is:
There is a table with a filed, which has the proper standard value help, which works perfectly
The problem is that this column in the table is just a "technical" field, becase it isn't displayed by the webdynpro, because in the next column an icon is displayed for the field.
Example:
FieldName = ready
Possible values: 0, 1.
The AWD display the "red Light" icon for value 0 and "Green light" icon for value 1 in the table
I'd like to display the value help for this field (it's an information for the user, what does the green/red light means)
How can I do that? Is this even possible?
Thanks
N.Is it possible to have both thing in my field (display the icon and use the value help)
No - not really...
you can launch the value help from the link to action (in the action handler call the value help - I think I've posted on how to do this before - have a search, but if you can't find it post another question)- but it won't display that nice little dropdown icon and I'm guessing you want two types of interaction - one on click and one just to explain/choose the current value. I'd probably go with the previously mentioned solution of using a tooltip - although again you have the issue of not being able to have anything other than text in a tooltip. Alternately I'd have the custom value help launched on click of the icon and then have another button to launch any other actions
A legend somewhere in your screen might be useful - but perhaps your screen layout won't like that very much.
If you're looking for a more graphical representation of a multi state option - you might want to consider the [Threshold Slider|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/dc/a65ca1b6054f06929ee40ac59f8a40/frameset.htm] rather than your own icons - but I guess it depends on your requirement.
Cheers,
Chris -
Hi
All
I have one requirement that i have to plott two curves in one GRAPH in ABAP WEBDYNPRO.
One curve shows standard baby growth in months on X-axis and height on Y-axis.On the same graph
i have to show particular baby growth on the same X-axis and height on Y-axis in another curve.
Please help me regarding this.
Thanks and regards
VenkateswarYou want to show Particular baby growth and standard baby growth on the same graph am i right?
I have a simple question for you.do you know how many babies are there during the design time?
if you dont know how many are there during the design time then you have to create the Serieses dynamically.
This is the code to create dynamic graph.
method wddomodifyview .
data:lr_graph type ref to cl_wd_business_graphics,
lr_cat type ref to cl_wd_category,
lr_series type ref to cl_wd_simple_series,
lr_container type ref to cl_wd_uielement_container,
lr_flow type ref to cl_wd_flow_data.
lr_container ?= view->get_element( 'ROOTUIELEMENTCONTAINER' ).
lr_graph = cl_wd_business_graphics=>new_business_graphics(
* BACKGROUND_COLOR = BACKGROUND_COLOR
* BIND_CATEGORY_SOURCE = BIND_CATEGORY_SOURCE
* BIND_ENABLED = BIND_ENABLED
bind_series_source = 'SERIES'
* BIND_TOOLTIP = BIND_TOOLTIP
* BIND_VISIBLE = BIND_VISIBLE
chart_type =
cl_wd_business_graphics=>e_chart_type-columns
customizing = 'chart1.xml'
* DIMENSION = E_DIMENSION-TWO
* ENABLED = ABAP_TRUE
* FONT_FAMILY = FONT_FAMILY
height = 300
id = 'GRAPH2'
* IGS_URL = IGS_URL
* IMAGE_SOURCE = IMAGE_SOURCE
* MAP_SOURCE = MAP_SOURCE
* ON_ACTION = ON_ACTION
* TOOLTIP = TOOLTIP
* TRANSPARENT_COLOR = TRANSPARENT_COLOR
* VIEW = VIEW
* VISIBLE = E_VISIBLE-VISIBLE
* WIDTH = 300
lr_cat = cl_wd_category=>new_category(
bind_description = 'SERIES.COMP1.DESCRIPTION'
* BIND_EVENT_ID = BIND_EVENT_ID
* BIND_TOOLTIP = BIND_TOOLTIP
* EVENT_ID = EVENT_ID
id = 'CAT1'
* TOOLTIP = TOOLTIP
* VIEW = VIEW
lr_graph->set_category( the_category = lr_cat ).
lr_series = cl_wd_simple_series=>new_simple_series(
bind_value = 'SERIES.COMP1.COMPANY1'
* CUSTOMIZING_ID = CUSTOMIZING_ID
* EVENT_ID = EVENT_ID
id = 'SERIES1'
* LABEL = LABEL
* TOOLTIP = TOOLTIP
* VIEW = VIEW
lr_graph->add_series(
* INDEX = INDEX
the_series = lr_series
lr_flow = cl_wd_flow_data=>new_flow_data( element = lr_graph
lr_container->add_child( lr_graph ) .
endmethod.
To customize the chart
1. Create a chart through Chart desiner and save as XML file.
2. Import this XML into your Web Dynpro component through MIME.
also check this link to know how to create gragh
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ca932ebc-0901-0010-68a0-b4dd81a4bf81
Thanks
Suman -
How to call Call Contracts in SRM from webdynpro?
Hi experts ,
I have requirement where in one custom developed (Z)webdynpro component offers users a Link ( Link to action ) This link should open the SAP Contract in SRM 5.0 (ITS)
Please provide hints or solution how proceded ?
Thanks in advance
Bidyut Duttahi bityut.
If i am not wrong then u want to open some SRM page through webdynpro application by using link to url element.
If yes then its very easy .Just use that elemnt with following properties.
Properties (LinkToURL)
ID LINK_CP
enabled 1
imageFirst 1
imageHeight
imageSource
imageWidth
reference new_format.htm*(here u write down the url of page which u want to open) *
target _blank
text View new format
textDirection inherit
tooltip
type navigation
visible Visible
wrapping 0
Layout Data (FlowData)
cellDesign rPad
vGutter none -
Dynamic Tooltip Text over Business Graphics
Hello,
I would like to know if there is a possibility to display dynamically point coordinates (or other tooltip text) in a Business Graphics when the mouse is going over the gragh or when clicking ?
Thanks a lot
MarcHello Marc,
WebDynpro Point, Series and SimpleSeries elements have a tooltip property that you can define whether in design time or runtime.
Please see the details here http://help.sap.com/saphelp_nw04/helpdata/en/dd/65d79bb3b2e34e8b68f59129e7d811/frameset.htm
Best regards,
Dmitry -
Displaying image in webdynpros
Hi
Im new to webdynpros. I went through the tuorial but unfortunately I do not understand the context part of it.
I created a component and all i want to do is add an image. I insert child : Image. In the Element properties of the Image, in source..how do i add the image here?
Any help is much appreciated
ThanxHi Namira,
The "source" should be the path of the image and the "alt" should be the tooltip text
1. You can copy the image files to the following directory "C:\usr\sap\J2E\JC00\j2ee\cluster\server0\temp\webdynpro\web\sap.com\tcwddispwda\global\sapIcons" and you can mention the source as "~sapicons/<<img file name>>"
2. Or you can create a folder in your server hard drive and maintain all your images in that folder. Create a HTTP alias and point the image to that folder. You can use the "http://servername:port/<<alias name>>/<<image file name>>"
For creating HTTP alias refer the following, refer the forum thread
https://www.sdn.sap.com/sdn/collaboration.sdn?node=linkFnode6-1&contenttype=url&content=https://Re: Problem with PDF show
You can use the approach mentioned by Armin, but if you would like to use the images across all your applications, then you can follow the steps what I mentioned, so that the images will be maintained at one location.
If you require some clarification do let me know.
Regards,
Santhosh.C
Message was edited by: Santhosh Chandran -
Hi Gurus,
I am trying to create a tooltip for one of the element of WEBDYNPRO ABAP for e.g. Checkbox.For us the required lenght is 1000 characters but at run time the tooltip length is getting truncated to around 512 characters.Is there any solution for this.
Thanks,
Ritikhi
the tooltip property must always be set, for example, to provide more semantic information about the UI element.
u can refer the UI elements Tree or ProgressIndicator , to knw hw to use the tooltip
to fix ur issue , as it is getting truncated after 512 chars, use can alternatively use OTRs
Go to transaction SOTR_EDIT -> long text.
Give a text name and create an long OTR text message.
give that OTR test alias in the UI element property
I hope it shud help
rgds,
amit -
Tooltips for icons in the MIME repository
Dear community,
when using the "old icons", i.e. those starting with 'ICON_', (which - I know - I shouldn't do), each icon comes with some sort of automatical tooltip. Whereever I use the icon, the tooltip is also there.
My questions:
- Is there a way to attach (translatable) tooltips to my own icons that I upload into the MIME folder of a webdynpro component?
- Is there a better place to put my icons to (where I could attach a tooltip)?
- And finally: Is there a way to change the tooltip of an icon?
Any hint is greatly appreciated.
Best regards,
ChristophHi Lekha,
oh, that is a misunderstanding! I certainly know about the tooltip-property for images.
My question refers to this "automatic" tooltip functionality that occurs whenever you use one of the ICON_* icons.
Consider the following example:
I have a table with a column containing always exactly on of several icons. To realize this I use the Image cell editor and bind the source property to a context attribute that contains the icon source.
Similarly, I could also bind the tooltip property of the cell editor to a context attribute that contains the tooltip text. The down side of this is that I have to introduce (and maintain) an additional context attribute, although the tooltip for one specific icon is always the same. This especially hurts if you have many tables with icons and extensive context mappings.
In contrast, if you just refer to an ICON_* icon, you ALWAYS get a tooltip automatically, e.g. ICON_DUMMY gives you the tooltip "placeholder icon".
Any hints here?
Best regards,
Christoph -
Assiginig Tooltip for iviews and roles
Dear Experts,
We have a scenario under which we have to display the tooltip(display whenever cursor is kept over it, it should give some info about the iview/tab) whenever a user puts cursor on any ivew or a role, as we generally get whenever we take the cursor to logoff tab..
Waiting for your early responce...
Thanks and Best Regards
ShashankShashank Saxena ,
I don't think we can make such tool tip option by editing iView properties. But its possible if we can modify the portal content for any application developed using Webdynpros or portal component or J2EE applications.
Ram
Maybe you are looking for
-
Many Chapters - How Best to Setup Project in Encore?
Im starting work on a DVD of footage ripped from a clients family VHS tapes. Ill be doing the editing in PP2 and then authoring in EncoreDVD 2. I do not have the structure of the DVD planned out yet, but will probably have a few dozen Chapters, of th
-
What is S_ALR_87012087 & how to do changes in it
Hi, What is S_ALR_87012087 & how to do changes in it ?? i want to do below changes in it. Please revise the Vendor Address Report S_ALR_87012087 as follows: - Add State - City field - adjust to pick up the City. Currently the field indicates a state
-
Reg: Diference between two Financial Statements(F.01)
Hi, Documents have been posted in 31.03.2010 those have been updated in 2009 (FSV - F.01). Same documents amounts is showing in 2010 while checking FSV through profit center. Can anybody give me solution how the balance is appear in 2010 FSV. Like
-
Filename length affects Acrobat review success
When I initiate a shared Acrobat review to my company's server, the e-mailed copy doesn't always get sent via Outlook (although the "_review" PDF and associated XML folder gets saved to the server, as normal). The problem is related to the origina
-
Generate Report based on Select List
Hi , I have a drop down list those are the column names and a corresponding value i will enter in input text . so based on these two values how can i generate a report in Apex i am using apex 4.0.2. Means in where clause dropdown value will become co