Classic Report Tooltip in column header
How can I create a tooltip on the header of the columns in a Classic Report?
Hi,
Here is one example
http://dbswh.webhop.net/htmldb/f?p=BLOG:READ:0::::ARTICLE:1902000346637155
Regards,
Jari
Similar Messages
-
How to give tooltip on column heading of report
Hi im using seibel analytics, i want to give tooltip on column heading of the report.
How is it possible.
Thanks in advance...Hi
have you tested the description filed of presentation layer? -
How to download the output of a report along with column header
Hi,
Could someone please tell me on how to download the output of a report along with column header to .txt format. A download option needs to be given to the user using physical and logical file names .The report basically contains header details and item details and requirement is to download the same format into an .txt format.Hello,
Try this FM:
Data: being of itab occurs 0,
matnr like mara-matnr,
maktx like makt-maktx,
end of itab.
data:begin of fld_tab occurs 0,
fld_name(20),
end of fld_tab.
fld_tab = 'Material'.
append fld_tab.
fld_tab = 'Material Desc'.
append fld_tab.
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
BIN_FILESIZE = ' '
CODEPAGE = ' '
FILENAME = 'C:\1.txt '
FILETYPE = 'DAT'
MODE = ' '
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
COL_SELECT = ' '
COL_SELECTMASK = ' '
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH =
TABLES
DATA_TAB = itab
FIELDNAMES = fld_tab
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_WRITE_ERROR = 2
INVALID_FILESIZE = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
OTHERS = 10
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards,
Naimesh -
Report painter - Choosing column heading text
Hi SDN
I'm having a specific problem with getting the right column heading text into my G/L report painter report created in FGI2/FGI5. In the report painter form I have created the three texts for my column (short, medium and long text). In order for the heading to be meaningful I need the report to show the medium or long text. This is also the case when I run the report as object type Object list. Here the medium text is displayed. However, when I run the report as a Classic drilldown report or a Graphical report output the short column heading text is shown.
Now, I know from running the standard report 0SAPBLNCE-01 in FGI0 that it is possible to have the long column header text shown in the report, so I'm not willing to give up. But can any of you guys help me on how to make the report show the correct text?
Kind rgds
Steen KoefoedHi Anna and thanks for your suggestion. I have tried changing the header text length in the form as you suggested, but it does not seem to affect the display in neither of the three output types of the report. I assume that there must be a way to control the text header length specifically for each of the three output types. But how....
-
Tooltip for column header sorting
If I enable column header sorting, is there a way to put a tooltip (HTML 'title' property, I guess) on the column header saying 'Click here to sort by this column'?
The triangle image shows this alt text but that triangle image is shown only next to the column that is currently sorted, not all the columns.
[My column headings come from a custom PL/SQL function, not declaratively on the Report Attributes page]
ThanksSee
http://htmldb.oracle.com/pls/otn/f?p=24317:28
The following seems to work.
Add this javascript to the Page Attributes Header section
<script type="text/javascript">
function AddTooltip()
var l_link;
var l_hrefs=document.links;
for (var i=0; i < l_hrefs.length; i++) {
l_link=l_hrefs;
if (l_link.href && l_link.href.indexOf('fsp_sort_')>=1) {
l_link.title="This is a tooltip"
</script>
Then call it from the onLoad as follows
onLoad="AddTooltip();"
Seems to work like a charm.
Thanks
BTW, anyone know how to prevent the [ i ] inside a [ pre ] from being interpreted as an italic tag? I thought all text inside a PRE tag is left untouched? -
Interactive Report With No Column Heading
Is it possible to display a column with no heading (label) in an interactive report ?
I have tried to delete the column heading and save, but when I run the report,
it is still there
Cheers
GusGus,
Try a space character or &nbsp;
Vikram -
Report sort by column header question
the column sort in a standard report (RP or Q) does sort the lower case values at the end of the alphabet; how can I integrate the lower case values in to the regular sequence of the alpha letters ?
Example of desc order: it starts with lower case :
ülog Company
swa Company
mobiler AG
freezer.net
dpa Company (*)
ZKL Company
Warner Music
Victors
United Internet
Echo
Dora Co.
Charly
Berta Co.
ABC company
- as I cannot influence the Sorting of the inbuilt sort mechanism - how can I manage to integrate e.g. dpa (*) between Echo and Dora Co. ?
TIA
BernhardBernhard,
use the INITCAP() function for that column (a). Fetch the same column once again without
using the INITCAP function and hide it (b). In the properties of the column a ==> HTML
Expression enter #b# in order to display column b. This way the column will display the text
as is (b) but sort on capital initial letters (a).
However, using a standard report doesn't allow any modification of the columns within the
query. There, you would need a view to query upon. Or you just use a "normal" report.
Denes Kubicek -
How to fix Width of column in classic report.
Dear Friends
i am using Apex 3.2.
i have created Clasic Report and i have summary column in my report that column have description of issue so i want to fix width of that column nn Classic report .
i have try some code in html expression
<span>style="width: 480px; display: block; white-space: normal; font-size: 11px;">#ACTIVITY_SUMMARY#</span>
{code
after apply abovemention code that display me in my summary like this and not manage width of column.
style="width: 480px; display: block; white-space: normal; font-size: 11px;">Dear Cherryl, Greetings !! Thank you very much for the new query and we are pleased to confirm the availability of one single cabin in all the three categories of cabin on M.V. Mahabaahu. We would like to inform you that both the departures 15th Oct 2013 & 29th Oct 2013 (Golden triangle with Cruise) are operational and attached are the prices for your kind consideration. As a special promotion for the 15th Oct 2013 departure only, we are offering USD 100 per person reduction on the Golden triangle portion combined with the cruise. Kindly review and advise us to block the accommodation accordingly. Regards...pankaj
How to fix Width of column in classic report.
ThanksHi,
I'm working an example in APEX 4.2 so YMMV (your milage may vary!).
For Classic Reports, where the Column Attributes "Display As" is set to Display as Text (escape special characters ...:
1) I find that Column width and Element Width setting have no effect to make the column smaller or larger.
2) Here is one way that works:
- In the Region's Region Definition, under Attributes give the Static ID a name (no spaces), say, class-report.
- In the columns you want to affect, place "<div>#ENAME#</div>" in the columns Column Formatting "HTML Expression". Where "ENAME" here is the actual column name.
I'm using the EMP table as an example.
- Finally, in the page's HTML Header put, for example
<style>
#classic-report td.data[headers="ENAME"] div {
width: 200px;
color: blue;
#classic-report td.data[headers="JOB"] div {
width: 50px;
white-space: nowrap;
word-wrap: break-word;
</style>This makes the ENAME column wider and the JOB column smaller and wraps it.
Much more could be said. If you tweak you will find you can also affect spacing above, below and right/left of the data.
#classic-report .report-standard th.header {
border-left: #9fa0a0 1px solid;
padding: 2px 3px 4px 5px; /* top right bottom left margins */
font-size: 11px;
font-weight: bold;
vertical-align: bottom;
#classic-report .report-standard td.data {
border-left: #9fa0a0 1px solid;
padding: 3px 4px 5px 6px;
font-size: 9px;
}Does this help?
Howard -
Interactive Report (IR) column heading: filtered items number & flashlight
Hello everyone
several hours of searching through the forum did not provide me with leads or answers to 2 questions. Both are related to the IR column heading menu and options. Let's start with a copy of the relevant portion of the interactive report help screen:
Column Heading Menu
Clicking on any column heading exposes a column heading menu.
[snip]
Text Area is used to enter case insensitive search criteria (no need for wild cards). Entering a value will reduce the list of values at the bottom of the menu. You can then select a value from the bottom and the selected value will be created as a filter using '=' (e.g. column = 'ABC'). Alternatively, you can click the flashlight icon and the entered value will be created as a filter with the 'LIKE' modifier (e.g. column LIKE '%ABC%').
List of Unique Values contains the first 500 unique values that meet your filters. If the column is a date, a list of date ranges is displayed instead. If you select a value, a filter will be created using '=' (e.g. column = 'ABC').
Q1: Why do I not see a flashlight icon? I looked everywhere in the report definition to "enable" it, to no avail.
Q2: Although we've found IRs to be incredibly useful and embraced by end users, we are having issues when dealing with large datasets. Let's look at searching for people's first/last name in our CONTACTS table. The table is ~28,000 names long. If one attempts to use Column Heading menu to "filter" for any name outside the first 500 unique values, the search does not work. Yes, I know that a workaround is to use Actions Menu icon filter... but, it sure is misleading to have a search which does not go beyond letter B in the list of last names. Furthermore, I do not see a way to DISABLE Column Heading Text Area, and avoid user confusion.
I suspect that "List of Unique Values contains the first 500 unique values" was set for the performance purposes. Is there a way to set that number anywhere? Have it customized for each column? (columns county and state could be <100, for example)
Thanks an advance to any advice.
Vojin@Prabodh: what you say is only changing the default image for the column selector at the search bar level. What i think is being looked for is an icon on the popup when a column header is clicked in an IR. Don't bother: there is none.
@Vojin, Tonibony:
I also ran into this problem with IRs and the useless column header box. If you want to hide the unique values list, it is a bother. First of all, you can't disable the finding of values, this is embedded in the widget ajax code. Then if you want to just hide the list, there is no real event you can hook up to. The poping up of the box is an ajax callback, and is part of the IR javascript, but this callback does not trigger any event (no apexafterrefresh for example, which is understandable). I've worked around this by overriding/extending the method which is called when ajax is done loading within the IR code. Here is a piece of code which does this (call it on page load):
// _Finished_Loading is called when the IR is done with a GET action
// because the posts are synchronous in this report, and no events
// or hooks are available, the best way to preserve functionality
// yet extending it is to override the original function, yet
// keep the base code
// apexafterrefresh cant be used since it is not triggered after
// the widget ajax
var or_Finished_Loading = gReport._Finished_Loading;
gReport._Finished_Loading = function(){
//overriden, but still have to call orinigal!
or_Finished_Loading();
//SORT_WIDGET is the widget containing all the header elements
if(gReport.current_control=='SORT_WIDGET'){
// hide the original dropdown box
$("#apexir_rollover_content").hide();
};If you're interested, i've recently developed a plugin for use in my interactive reports which works around some of these limitations. For me, the headers are much more userfriendly than the actions > filter menu. So what i've done is: hide the orignal dropdown, and turn the searchfield into an autocompletion field, which will progressively search through the distinct column values in the IR with ajax. I've even made an option to have the searching behave like a "contains" or a "like". I'm working on a post about it, with background, documentation and source code. I'll add a post here when i finish it up, you can see if that helps you.
I also would like to add a button later on which will simply add the entered value as a "like %value%" filter. I know how to do this and what to do, i'm just a bit short on time at the moment. I actually think that adding the button in the layout may be the hardest part... :') -
Infinite loop creating new page due to column header overflow.
I have a sub report on the column header which works,
Because my sub report return different records from data source, it fails and get infinite loop error message like above when I have 9 records, it works less than 9 records.
I would like to know my sub report returns records some times more, are there any place for my subreport?
Are there limit for sub report?
Your help and information is great appreciated,
Regards,
Iccsi,Thanks for the message and help,
My sub report link to a data soruce which is a stroed procedure running from MS SQL server.
The stroed procedure returns data based on data base what data in the table.
It looks like the sub report on the Report Builder limited by the length of the report band.
I tried to move to column header, column footer, report footer all the same, when the sub report growth then it fails to generate the reports.
Regards,
Iccsi, -
Report Header and Column Header Removal
Hi,
we wanted remove report headers and Column header in each downloaded report. we are planning on using the Report header specifiers while reading each line, specifiers like "Report Name:","Report Time:","Time Zone:","Report
Filter:", etc.,
Here the question is are these values changes in a given version for each report? OR is it better to go by using line numbers i.e say first 8 lines always represents Report Headers and Next line is always blank and 10th line is always Column Header?
Report Name: Budget Summary
Report Time: 1/18/2015
Time Zone: Various
Last Completed Available Day: N/A
Last Completed Available Hour: N/A
Report Aggregation: Day
Report Filter:
Rows: 615
Date Account number
Account name Campaign name
Currency code
ThanksGood question. Yes the reports all generally follow the pattern you described. I have reached out to the feature team, and will follow up with the suggested best practice.
-
Showing particular row in a color depending on a column in classical report
Hi,
I have a classical report with a column as "Affirmation Status". This column can take three value as "Affirmed, Rejected or NA". My requirement is I have to show all row in one color like red wherever it has value affirmed, and all row in color like green wherever it is rejected.
Pls give some idea.Hi chandra Bhanu,
create PL/SQL Dynamic content region for your report for showing the row in different color on the basis of conditions
i am giving you sample code..you can modify according to your requirement
declare
cursor emp_data
is
select empno,ename,sal,status from emp;
begin
htp.p('<table width="100%" bgcolor="#DCE6F1"><tr>');
htp.p('<td width ="20%"><b>Empno</b></td>');
htp.p('<td width ="20%"><b>Employee Name</b></td>');
htp.p('<td width ="20%"><b>Salary</b></td>');
htp.p('<td width ="20%"><b>Status</b></td>');
htp.p('</tr></table>');
for c_emp_data in emp_data
loop
htp.p('<table width="100%"><tr><td>');
if c_emp_data.status = 'Affirmed' then
htp.p('<TABLE width="100%"><tr bgcolor="#FF0000">');
htp.p('<td width ="25%">'||c_emp_data.empno||'</td>');
htp.p('<td width ="25%">'||c_emp_data.ename||'</td>');
htp.p('<td width ="25%">'||c_emp_data.sal||'</td>');
htp.p('<td width ="25%">'||c_emp_data.status||'</td>');
htp.p('</tr></table>');
elsif c_emp_data.status = 'Rejected' then
htp.p('<TABLE width="100%"><tr bgcolor="#006400">');
htp.p('<td width ="25%">'||c_emp_data.empno||'</td>');
htp.p('<td width ="25%">'||c_emp_data.ename||'</td>');
htp.p('<td width ="25%">'||c_emp_data.sal||'</td>');
htp.p('<td width ="25%">'||c_emp_data.status||'</td>');
htp.p('</tr></table>');
else
htp.p('<TABLE width="100%"><tr>');
htp.p('<td width ="25%">'||c_emp_data.empno||'</td>');
htp.p('<td width ="25%">'||c_emp_data.ename||'</td>');
htp.p('<td width ="25%">'||c_emp_data.sal||'</td>');
htp.p('<td width ="25%">'||c_emp_data.status||'</td>');
htp.p('</tr></table>');
end if;
htp.p('</td></tr></table>');
end loop;
end;Hope this will helps you.
Regards,
Jitendra -
I have a classic report that retrieves data based on the value in an item. When the page first opens the report retrieves properly. However, the strange thing is when I try to sort the rows by pressing the column header, I receive "No Data Found".
The report is just very basic. Selecting a few columns from a table where ID = :P3_ID.
If I change the where clause to be WHERE ID like '%' || :P3_ID, when it initially retrieves, I receive the data for the value in P3_ID. However, when I sort the report by a column header, it retrieves everything. It is as if P3_ID has been set to NULL or a blank eventhough it displays the proper ID.
Any ideas?
Thanks,Hi Brian,
see the following thread Interactive Reports: problem with textfield as parameter for an explanation
Patrick
*** New *** Oracle APEX Essentials *** http://essentials.oracleapex.info/
My Blog, APEX Builder Plugin, ApexLib Framework: http://www.oracleapex.info/ -
Print Logo in Classic Report (Write Method,Not ALV)
Hi All,
I'm currently doing conversion of the All the Classic Report with addition of Header with 'LOGO'.
I'm willing to find out that Function (CALL FUNCTION 'WWW_GET_MIME_OBJECT') is only able for display but not show out during printing.
Is that any method, I can do it(Print with Logo) without conversion to SAP Script or Smartform that was exhausted.
*Please take note is Classic Report with Write Method (Line by Line), Not ALV.
Thank you all in advance
Regards,
Trevor Wong.Hi,
It is possible to include logo in classical report but its not possible to print logo in classical report. It can be done in ALV's.
Write the code in Top-of-page event in ALV.
The following is the code for inserting the logo in ALV.
FORM TOP_OF_PAGE.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
I_LOGO = 'ENJOYSAP_LOGO'
IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.
ENDFORM.
Regards
Purnand -
Help with Select Lists in Classic Report
Hello,
I working with APEX 4.1. Oracle 11.
I have a simple classic report with 4 columns (Username, Role, Read, Update). The Read and Update columns are Select Lists with values of "Yes", "No".
Report looks like this:
Username Role Read Update
JSmith Admin Yes Yes
LJones Dev Yes No
My requirement, is that when a user selects Yes from the Update select list, the value of the associated Read column needs to change to Yes as well for that particular Username. The change has to occur upon selection of Yes from the Update select list.
Im not very strong with javascript, but for testing purposes I applied: onchange="alert('hi');" on the Update column. When I make a change to the Update select list, the alert does pop up.
Can anyone suggest how I can implement the change to the associated Read value of Yes if the Update value chosen is Yes, for that particular row.
Thank you,
LauraLauraK wrote:
I working with APEX 4.1. Oracle 11.
I have a simple classic report with 4 columns (Username, Role, Read, Update). The Read and Update columns are Select Lists with values of "Yes", "No".
Report looks like this:
Username Role Read Update
JSmith Admin Yes Yes
LJones Dev Yes No
My requirement, is that when a user selects Yes from the Update select list, the value of the associated Read column needs to change to Yes as well for that particular Username. The change has to occur upon selection of Yes from the Update select list.
Im not very strong with javascript, but for testing purposes I applied: onchange="alert('hi');" on the Update column. When I make a change to the Update select list, the alert does pop up.
Can anyone suggest how I can implement the change to the associated Read value of Yes if the Update value chosen is Yes, for that particular row.Should be possible to do this using a Dynamic Action without writing any (or much) JavaScript. The complexity in this case is that you're using items in a report rather than standard page items.
Maybe you are looking for
-
Installing Adobe Reader 11 on Windows 8.1
I have trouble installing Reader 11 on my desktop with Windows 8.1. I get and error message: Error 1311. Source file not found: c:\users\...\...\Data1.cab. Verify that the file exists and that you can access it. What do I do?
-
Converting small amount of AS2 to AS3
Hi All, I’m struggling to convert this block of AS2 code into AS3. It is a Netstream video component and I have made the scrubber able to be dragged anywhere inside the player. (Vertical and Horizontal). The scrubber is also coded so that it controls
-
Delete Record server behavior problem
Hi all! I'm such a painful situation, that I can't figure out, why my Delete Record form don't work as supposed. It seems all things work (also gives message "You have successfully deleted the article."), but the problem is that in the MySQL (5) data
-
Hi--- I'm trying to delete photos on my iPad but after I check them to delete-- the delete button doesn't work-- any suggestions would help!! Thanks Mary
-
Surround sound speakers don't work help
I recently bought a new sony bravia t.v. and a sony all in one blu-ray disc/dvd all in one home theater system. We cannot get the surround sound speakers to work watching regular television. Can anyone help solve this problem? Any help is appreciated