Mouse-over Display Informatin of the Object in WAD
I got this requirement from client saying..
When you move mouse curser on to any of the column headers(characteristics or key figures) of the report in the web in the web application designer(WAD) the corresponding documentation or information regarding to that column header should display in a small box then and there.
(like as when u move your curser on to any of the Microsoft application you get the information in a dropdown box)....
and also i want to know how to include the information or documentation for those objects
I hope you guys understood my requirement...
Please can some one help me out
Thanks and Regards,
Daniel Knapp replied
I will try to guide you to the solution.
The documentation for the table interface can be found at http://help.sap.com/saphelp_nw04/helpdata/en/d8/f3a83adae1a010e10000000a11402f/frameset.htm (english version). What you have to do are the following processes.
1. Open the WAD and open the properties of your table where you want to display the tooltip. The last point in the properties list is reserved for the tableinterface class (param name "MODIFY_CLASS"). This class has to be written by you and it is not that difficult.
2. Implement an ABAP class. Create a class in the ABAP Development Workbench and inherit from class CL_RSR_WWW_MODIFY_TABLE.
3. As you want to modify the caption cell, redefine the method CAPTION_CELL. Now you see several input and output parameters. You need the parameter C_CELL_TD_EXTEND and assign the title-attribute to it (C_CELL_TD_EXTENT = 'title="Your tooltip"'.). If every cell should have a different tooltip, you have to create an if-statement and check e.g. for the position (i_x and i_y) of the cell or its content (c_cell_content).
4. In the table properties set the modify class to the one you've just created.
That should be the solution. Now if you call the web template the tooltip should be given when your mouse is over the caption cell.
Let me know if you need more information.