Web report colors
Hi
Any one can tell me how to change the colors of web report.
I searched forums but I dint get relevant answer.
thnaks in advance
Nikitha
Hi Nikitha,
If you want to change the chart color do the following.
Right click on chart ->select Edit Chart->Select ur chart->Click Next 2 times->You can see all series->here you can give individual colors to each series.
Hope it will work...!!
Assign points pls.......
Best Regards,
SG
Similar Messages
-
Unable to change the background color of a webi report in the infoview
Hi,
Can someone please me help me with the below issue.
Environment Details:
BusinessObjects XI3.1 SP1SP2SP3
BusinessObjects XIR2 SP5
.Net infoview
IE 7
JRE versions used as;
On BOXI3.1 SP3 Server -1.6.0_03
On BOXIR2 SP5 Server -1.4.2_02
On the client machine -1.6.0_14
Issue Description:
-Open an existing webi report in the infoview.
-In the report,I am not able to change the background and the font color for the column headings from the properties tab in the left navigation panel.
-I can change the color after hitting the color tab for multiple times.Also the color was getting changed when the color code was manually changed.
-The reports background color was getting changed,but not the font color.
-I tried to create a test report,where I was able to change the color.
I have;
-Installed the Java update 14 on BOXI3.1 server machine,here I was able to change the background and font color.
-However on the client machine,with the same Java update 14,the background and the font color for the column headings was not getting changed.
-Same behaviour is observed on BOE XIR2 SP5 machine.
Is there any limitations for using Java update 14 or am I required to do any other settings.
Regards,
PankajHi Pankaj,
It is a strange behavior. You also stated that when you create a test report it works fine.
Can you create a copy of this report and then try on the new copy?
One thing you can do as a test to refresh the universe and then try it. And change some columns - add some column and then save and ten remove and save and make changes like this and trying changing color.
I think there is a problem with this report this is why it is behaving like this on all machine.
Regards,
Bashir Awan -
How can I change the color of chart in webi report
Hi :
I create one Webi report including one table and chart In BO 4.0.
The chart display the relationship between sales-amount and profit amount . I do not want to use the default color but want to specify the red color for sales-amount and yellow color for profit amount . How can I do it ??
Thanks Very Much
Emily MAHi,
You can change the color very easily. It's simple & straight forward which I found it couple of days back. (Sometimes simple things are hard to find :-p )
Select the area in the Chart that you want to change color, then go to Format > Style > Background color. Now select the color that you want. In the attached picture, I have selected Yellow color for a piece of pie chart. -
What is the color number in HTML of the result line in the web reports
Hi guys,
what is the color number in HTML of the result line in the web reports, its like a yellow, but i m looking for the exactly number color to make some modifications, pleasethe same should correspond to a CSS class definition. You execute the report - view source and ideally you should be able to find the class associated with the result cells. You can also go an check out the CSS directly.
-
Convert a web report into pdf and print (in BW 3.5)
Hello gurus,
i have few web reports ( created using WAD). i am looking for a possibility to convert a web report (viewed in a browser by a user) into pdf and print them and this should be done by pressing a button.
Is it possible in BW 3.5 version?.
could anyone please help me?
Any how to docs. would be really helpful.
thanks and regards
kumarHere it is
<HTML>
<!-- BW data source object tags -->
<object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="SET_DATA_PROVIDER"/>
<param name="NAME" value="DATAPROVIDER_1"/>
<param name="DATA_PROVIDER_ID" value=""/>
DATA_PROVIDER: DATAPROVIDER_1
</object>
<object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="SET_PROPERTIES"/>
<param name="TEMPLATE_ID" value="ZPD_ADHOC_PAGE"/>
<param name="MENU_BACK" value=""/>
<param name="MENU_BACK_TO_START" value=""/>
<param name="SUPPRESS_WARNINGS" value="X"/>
<param name="MENU_FILTER" value=""/>
<param name="MENU_FILTER_ON_AXIS" value=""/>
<param name="MENU_SELECT_FILTER" value=""/>
<param name="MENU_FILTER_ON_AXIS_CHART" value=""/>
<param name="MENU_FILTER_CHART" value=""/>
<param name="MENU_FILTER_DRILL_DOWN" value=""/>
<param name="MENU_DRILL_UP_GIS" value=""/>
<param name="MENU_DRILL_DOWN" value=""/>
<param name="MENU_EXCHANGE_OBJECTS" value=""/>
<param name="MENU_REMOVE_DRILL_DOWN" value=""/>
<param name="MENU_SWITCH_AXIS" value=""/>
<param name="MENU_HIERARCHY_NODE_DRILL" value=""/>
<param name="MENU_HIERARCHY_DRILL" value=""/>
<param name="MENU_HIERARCHY_STATE" value=""/>
<param name="MENU_SORT" value=""/>
<param name="MENU_CALCULATE_RESULT" value=""/>
<param name="MENU_CALCULATE_VALUE" value=""/>
<param name="MENU_CUMULATE_VALUE" value=""/>
<param name="MENU_DISPLAY_DOCUMENTS" value=""/>
<param name="MENU_DOCUMENT_CREATE" value=""/>
<param name="MENU_DISPLAY_DOCUMENT_PROP" value=""/>
<param name="MENU_DISPLAY_DOCUMENT_SELEC" value=""/>
<param name="MENU_RRI" value=""/>
<param name="MENU_EXPORT_TO_CSV" value=""/>
<param name="MENU_EXPORT_TO_XLS" value=""/>
<param name="MENU_BOOKMARK" value=""/>
<param name="MENU_CHARACTERISTIC_PROPERTIES" value=""/>
<param name="MENU_VALUE_PROPERTIES" value=""/>
<param name="MENU_QUERY_PROPERTIES" value=""/>
<param name="MENU_VARIABLE_SCREEN" value=""/>
<param name="MENU_CURRENCY_CONVERSION" value=""/>
<param name="MENU_ENHANCED" value=""/>
TEMPLATE PROPERTIES
</object>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft DHTML Editing Control">
<TITLE>SAP BW Reporting Print Page</TITLE>
<link href="/sap/bw/Mime/BEx/StyleSheets/BWReports.css" type="text/css" rel="stylesheet"/>
<script type"text/javascript">
<!--
// Global Variable Definition
var dataTable = "";
var pageRowCnt = 0;
var prevPage = 0;
var ColumnCnt = 0;
var PrintDateTimeStamp = new Date();
var rptWidth = 0;
//DATE STAMP FUNCTION
function datestamp(){
var Today = new Date()
document.write(Today);
function getReportTitle() {
var myQueryString = window.location.search;
var startOfRptTitle = myQueryString.indexOf("QTITLE=");
if (startOfRptTitle != -1)
var endOfRptTitle = myQueryString.indexOf("&", startOfRptTitle + 7);
var myTitle = unescape(myQueryString.substring(startOfRptTitle + 7, endOfRptTitle));
var rpttitle = "";
for(i=0;i<myTitle.length;i++){
if (myTitle.substring(i,i+1) == "+"){
rpttitle = rpttitle + ' ';
else
rpttitle = rpttitle + (myTitle.substring(i,i+1));
else
var rpttitle = "Unspecified Query Title";
return rpttitle;
queryTitle=getReportTitle();
function getHeading2() {
var myQueryString = window.location.search;
var startOfHdr2 = myQueryString.indexOf("HDR2=");
if (startOfHdr2 != -1)
var endOfHdr2 = myQueryString.indexOf("&", startOfHdr2 + 5);
var myHdr2 = unescape(myQueryString.substring(startOfHdr2 + 5, endOfHdr2));
var hdr2 = "";
for(i=0;i<myHdr2.length;i++){
if (myHdr2.substring(i,i+1) == "+"){
hdr2 = hdr2 + ' ';
else
hdr2 = hdr2 + (myHdr2.substring(i,i+1));
else
var hdr2 = "#";
return hdr2;
header2=getHeading2();
function getHeading3() {
var myQueryString = window.location.search;
var startOfHdr3 = myQueryString.indexOf("HDR3=");
if (startOfHdr3 != -1)
var endOfHdr3 = myQueryString.indexOf("&", startOfHdr3 + 5);
var myHdr3 = unescape(myQueryString.substring(startOfHdr3 + 5, endOfHdr3));
var hdr3 = "";
for(i=0;i<myHdr3.length;i++){
if (myHdr3.substring(i,i+1) == "+"){
hdr3 = hdr3 + ' ';
else
hdr3 = hdr3 + (myHdr3.substring(i,i+1));
else
var hdr3 = "#";
return hdr3;
header3=getHeading3();
function getAsOfDate() {
var myQueryString = window.location.search;
var startOfRelevance = myQueryString.indexOf("ASOFDATE=");
if (startOfRelevance != -1)
var endOfRelevance = myQueryString.indexOf("&", startOfRelevance + 9);
var myRelevance = unescape(myQueryString.substring(startOfRelevance + 9, endOfRelevance));
var asof = "";
for(i=0;i<myRelevance.length;i++){
if (myRelevance.substring(i,i+1) == "+"){
asof = asof + ' ';
else
asof = asof + (myRelevance.substring(i,i+1));
else
var asof = "";
return asof;
asofDateTime=getAsOfDate();
function getPaperSize() {
var myQueryString = window.location.search;
var startOfPaperSize = myQueryString.indexOf("PSIZE=");
if (startOfPaperSize != -1)
var endOfPaperSize = myQueryString.indexOf("&", startOfPaperSize + 6);
var myPaperSize = unescape(myQueryString.substring(startOfPaperSize + 6, endOfPaperSize));
var psize = "";
for(i=0;i<myPaperSize.length;i++){
psize = psize + (myPaperSize.substring(i,i+1));
else
var psize = "0"; // default if none supplied (normal 8x11)
return psize;
varPaperSize=getPaperSize();
var PaperSizeParamString='&PSIZE=' + escape(varPaperSize);
switch(varPaperSize){
case "0": // Landscape - Letter
var WidthMax = 910;
var RowsPerPageMax = 38;
break;
case "1": // Landscape - Legal
var WidthMax = 1190;
var RowsPerPageMax = 38;
break;
case "2": // Portrait - Letter
var WidthMax = 660;
var RowsPerPageMax = 54;
break;
function getTotalColumns() {
var myHTML = dataTable.rows[1].innerHTML;
var TotalTDs = 0;
var nextTD = 0;
for (i=0;i<myHTML.length;i++) {
nextTD = myHTML.indexOf("<TD", i);
if (nextTD != -1) {
i=nextTD;
TotalTDs++;
else break;
return TotalTDs;
function GetPageHeadings() {
var headingHTM = "";
var leftspancnt = 0;
var rightspancnt = 0;
var headingspancnt = 2;
if (header2 != '#') headingspancnt = headingspancnt + 1; // adjust for extra headings
if (header3 != '#') headingspancnt = headingspancnt + 1;
if (currPage > 1) {
headingHTM += '<TR style="page-break-before:always; display:none; visibility:hidden; "><TD Colspan="' + ColumnCnt + '"></td></tr>';
else {
headingHTM += '<TABLE id="THEREPORT" name="MYREPORT" cellSpacing=0 cellPadding=0 width=' + WidthMax + ' border=0>';
if (ColumnCnt == 1) {
headingHTM += '<TR><TD vAlign=top align=left nowrap><font Size=3><STRONG>';
headingHTM += queryTitle;
headingHTM += '</STRONG></font></TD><TD Rowspan="' + headingspancnt + '" align="right" vAlign="top"><input type="image" border="0" name="SAPLogo" src="/sap/bw/Mime/Customer/Images/images.jpg" alt="SAP Logo"></TD></TR>';
if (header2 != '#') headingHTM += '<TR><TD vAlign="top" align="left"><FONT Size=1>' + header2 + '</FONT></TD></TR>';
if (header3 != '#') headingHTM += '<TR><TD vAlign="top" align="left"><FONT Size=1>' + header3 + '</FONT></TD></TR>';
headingHTM += '<TR><TD vAlign="top" align="left"><FONT Size=1>' + asofDateTime + '</FONT></TD></TR>';
headingHTM += '<TR><TD vAlign="top" align="left" Colspan="2"><hr size=2 color=black align=left></TD></TR>';
headingHTM += '<tr>' + dataTable.rows[0].innerHTML + '<TD> </TD></TR>';
else {
leftspancnt = Math.floor(ColumnCnt/2);
rightspancnt = ColumnCnt - leftspancnt;
headingHTM += '<TR><TD vAlign=top align=left nowrap Colspan="' + leftspancnt + '"><font Size=3><STRONG>';
headingHTM += queryTitle;
headingHTM += '</STRONG></font></TD><TD Rowspan="' + headingspancnt + '" Colspan="' + rightspancnt + '" align="right" vAlign="top"><input type="image" border="0" name="SAPLogo" src="/sap/bw/Mime/Customer/Images/images.jpg" alt="SAP Logo"></TD></TR>';
if (header2 != '#') headingHTM += '<TR><TD vAlign="top" align="left" Colspan="' + leftspancnt + '"><FONT Size=1>' + header2 + '</FONT></TD></TR>';
if (header3 != '#') headingHTM += '<TR><TD vAlign="top" align="left" Colspan="' + leftspancnt + '"><FONT Size=1>' + header3 + '</FONT></TD></TR>';
headingHTM += '<TR><TD vAlign="top" align="left" Colspan="' + leftspancnt + '"><FONT Size=1>' + asofDateTime + '</FONT></TD></TR>';
headingHTM += '<TR><TD vAlign="top" align="left" Colspan="' + ColumnCnt + '"><hr size=2 color=black align=left></TD></TR>';
headingHTM += '<tr>' + dataTable.rows[0].innerHTML + '</TR>';
return headingHTM;
function GetPageFooting() {
var footingHTM = "";
var leftspancnt = 0;
var rightspancnt = 0;
if (ColumnCnt == 1) {
footingHTM += '<TR><TD vAlign="top" align="left" Colspan="2"><hr size=2 color=black align=left></TD></TR>';
footingHTM += '<TR><TD vAlign="top" align="left" nowrap><FONT Size=1>Prepared: ';
footingHTM += PrintDateTimeStamp;
footingHTM += '</FONT></TD><TD vAlign="top" align="right"><FONT Size=1>';
footingHTM = footingHTM + 'Page ' + currPage.toString() + ' of ' + varPageTotal.toString();
footingHTM += '</FONT></TD></TR>';
else {
leftspancnt = Math.floor(ColumnCnt/2);
rightspancnt = ColumnCnt - leftspancnt;
footingHTM += '<TR><TD vAlign="top" align="left" Colspan="' + ColumnCnt + '"><hr size=2 color=black align=left></TD></TR>';
footingHTM += '<TR><TD vAlign="top" align="left" nowrap Colspan="' + leftspancnt + '"><FONT Size=1>Prepared: ';
footingHTM += PrintDateTimeStamp;
footingHTM += '</FONT></TD><TD vAlign="top" align="right" Colspan="' + rightspancnt + '"><FONT Size=1>';
footingHTM = footingHTM + 'Page ' + currPage.toString() + ' of ' + varPageTotal.toString();
footingHTM += '</FONT></TD></TR>';
return footingHTM;
function GetReportFooting() {
var footingHTM = "";
footingHTM += '</TABLE>';
return footingHTM;
function formatToPrint() {
var PrintHTM = "";
PrintHTM += GetPageHeadings();
if (ColumnCnt != 1) {
for (var i=1;i<dataTable.rows.length;i++) {
(currPage > prevPage)?prevPage=currPage:""; //increment current page count
if ((pageRowCnt + 1)>RowsPerPageMax){
PrintHTM += GetPageFooting();
pageRowCnt = 0;
currPage++;
if (prevPage != currPage) {
PrintHTM += GetPageHeadings();
else
PrintHTM += '<tr>' + dataTable.rows<i>.innerHTML + '</tr>';
pageRowCnt++;
PrintHTM += GetPageFooting();
PrintHTM += GetReportFooting();
return PrintHTM;
function DisplayPrintNotice() {
// Paper Size "0" is Letter with Landscape
// Paper Size "1" is Legal with Landscape
// Paper Size "2" is Letter with Portrait
if (varPaperSize == "0") {var varMessage ="nn From your browser File Menu, select Page Setup and do the following: nn 1) Adjust the Printer Orientation to Landscape n 2) select Print menu, then select the Print button.";}
if (varPaperSize == "1") {var varMessage ="nn From your browser File Menu, select Page Setup and do the following: nn 1) Adjust the Paper Size to Legal n 2) Adjust the Printer Orientation to Landscape n 3) select Print menu, then select the Print button.";}
//if (varPaperSize == "2") {var varMessage ="nn From your browser File Menu, select Page Setup and do the following: nn 1) Adjust the Paper Size to Letter n 2) Adjust the Paper Source (if necessary) n 3) Adjust the Orientation to Portrait (default) n 4) Select the Okay button nn Again select the File Menu, select Print, then select the Print button.";}
alert(varMessage);
//window.print()
/* SAP BW Reporting Stylesheet Revisions */
function writeStyleRevisions() {
function writeDynamicFontRevisions(dynafont) {
//Writes the Dynamic Stylesheet
-->
</script>
</HEAD>
<BODY>
<TABLE id="tp1" cellSpacing=0 cellPadding=0 width=660 border=0 >
<TR>
<TD vAlign=top align=left nowrap>
<object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="GET_ITEM"/>
<param name="NAME" value="MYQUERY"/>
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
<param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
<param name="GENERATE_CAPTION" value=""/>
<param name="GENERATE_LINKS" value=""/>
<param name="WIDTH" value="660"/>
<param name="BORDER_STYLE" value="NO_BORDER"/>
<param name="SUPPRESS_REPETITION_TEXTS" value=""/>
<param name="BLOCK_SIZE" value="3500"/>
<param name="SHOW_PAGING_AREA_TOP" value="X"/>
<param name="TARGET_DATA_PROVIDER_1" value="DATAPROVIDER_1"/>
ITEM: MYQUERY
</object>
</TD>
</TR>
</TABLE>
<SCRIPT type="text/javascript">
<!--
var tbls = document.body.getElementsByTagName("TABLE");
for (var i=0;i<tbls.length;i++) {
if (tbls<i>.name == "MYQUERY"){
var dataTable = tbls<i>;
break;
document.title = queryTitle;
rptWidth = dataTable.clientWidth;
rptHeight = dataTable.clientHeight;
originalRptWidth = rptWidth;
originalRptHeight = rptHeight;
originalRowHeight = Math.floor(rptHeight/(dataTable.rows.length+1));
rptPageHeightMax = 580; //660 less basic header and footer of 80
if (header2 != '#') rptPageHeightMax = rptPageHeightMax - 20; // adjust for extra headings
if (header3 != '#') rptPageHeightMax = rptPageHeightMax - 20;
if (dataTable.rows.length == 1) {
ColumnCnt = 1; //No Applicable Data found message
else {
ColumnCnt = getTotalColumns();
startingFont = 65;
varFontSize = startingFont;
if (rptWidth > WidthMax) {
while ((rptWidth > WidthMax) && (varFontSize > 15))
writeDynamicFontRevisions(varFontSize);
rptWidth = dataTable.clientWidth;
rptHeight = dataTable.clientHeight;
varFontSize = varFontSize - 5;
// calculate max rows per page
rowHeight = Math.floor(rptHeight/(dataTable.rows.length+1)) + 1; // add 1 for 2 row heading, add 1 for padding
RowsPerPageMax = Math.floor(rptPageHeightMax/rowHeight) - 2; // adjust for column headings
if (dataTable.rows.length == 1) {
varPageTotal = 1; //No Applicable Data found message
else {
totalRows = dataTable.rows.length-1; // total rows less headings
varPageTotal = Math.floor(totalRows/RowsPerPageMax); // compute total pages
if (totalRows != (varPageTotal * RowsPerPageMax)) {
varPageTotal = varPageTotal + 1; // if not a complete last page, add 1 for partial page
currPage = 1;
document.write(formatToPrint());
document.all.tp1.style.display = "none";
document.all.tp1.style.visibility = "hidden";
// DisplayPrintNotice();
-->
</SCRIPT>
<STYLE>
input.ie55 { display: none }
</STYLE>
<!-- special style sheet for printing -->
<STYLE media=print>
.noprint { display: none }
</STYLE>
<script defer>
function window.onload() {
if (!factory.object) {
return
else {
// factory.printing.header = "SAP"
// factory.printing.footer = "SAP"
if ( varPaperSize == "2" ) { factory.printing.portrait = true; }
else { factory.printing.portrait = false; }
factory.printing.Print(true);
// enable control buttons
/* var templateSupported = factory.printing.IsTemplateSupported();
var controls = idControls.all.tags("input");
for ( i = 0; i < controls.length; i++ ) {
controls<i>.disabled = false;
if ( templateSupported && controls<i>.className == "ie55" )
controls<i>.style.display = "inline";
</script>
<P>
<div id=idControls class="noprint" style="VISIBILITY: hidden">
<input disabled type="button" value="Print this page"
onclick="factory.printing.Print(true)">
<input disabled type="button" value="Page Setup..."
onclick="factory.printing.PageSetup()">
<input class=ie55 disabled type="button" value="Print Preview..."
onclick="factory.printing.Preview()">
<input class=ie55 disabled type="button" value="Landscape"
onclick="factory.printing.portrait=false">
<input class=ie55 disabled type="button" value="Portrait"
onclick="factory.printing.portrait=true">
</div>
</BODY>
</HTML> -
Display Comments in Webi Report
Hi All,
We have a requirement, to display comments (2 or 3 paragraph in each page of report).The text needs to preserve the format (bold, bullets and colored text) i.e the format from the source data should be retained when displayed in the webi report.
Say for example the source is the excel and the text is coloured red or green , some part of the text is bold, all these formats should be preserved in the webi report also.
Can you please suggest, how to implemet this in webi report?
Thanks,
Sudhayou can take the formatted text in a word document, take a screen shot, put it in mspaint and select the required part. now place this picture in the blank cell's background image. this will preserve the formats of all kinds.
but u cant change the text dynamically.
usually we do this to give users an introduction page(tab1 in report followed by report tabs.) describing the application.
Thanks,
karthik -
Webi report issue(BO Infoview)
Hi Gurus,
I created a webi report in BO infoview using an universe. But when I run the report it does not display any data , it shows only blue and yellow color table in the report display panel. Any help I would appreciate it.
Thanks
LizaIt appears to be a java version issue:
The specified item was not found. -
Print Preview in web report problem
After Clicking Print buttonn on the web report, i select Print Preview from IE Explorer and here the variable values passed to the print function in web template, are getting displayed and actually it is part of URL , getting displayed in the Print Preview.
any ideas ..
i have already cleared the value of title and footer in page setup.
and this is a junk data in the header in the print preview
it will be something like this,
User%20ID:%xyz%20printed%20 etc...
actually i am passing below values to the print function,
&P_FOOTER_RIGHT='+SYUSER + '&P_HEADER_LEFT='+REPTXTLG +
'&P_FOOTER_LEFT=' +INFOCUBEDo you use a field for coloring a column or cell?
If the coding is not too large it could be helpfull to post the coding as well.
Regards,
John. -
Change the colour of a cell text depending on the value Web Reports (NW04s)
Hi all,
does anyone know how to change the color of the text of a cell depending on its value on Web Reports? For example red text for values smaller than zero and blue for values bigger than zero?
I know you can create exceptions, but that changes the background color of the cell and not the text color
I have tried modifying the theme but the property "negative text" doesn't related to cell values.
Thanks
C
PD: Point will be awarded!
Message was edited by:
Carles PruneraThis function changes all numeric fields to blue if no css style is set.
[code]
function turnblue(){
var cells =document.getElementsByTagName('a');
for ( i=0; i<cells.length; i++){
if ( cells<i>.className == '' ){
var changeColor = checknumber(cells<i>.innerHTML);
// additional condition on value
if (changeColor) {
cells<i>.style.color = '#0000FF'
function checknumber(cNumber){
var x= cNumber
var anum=/(\d+$)|(\d\.\d$)/
if (anum.test(x))
testresult=true
else{
testresult=false
return (testresult)
[/code]
hope it helps -
Hi All,
My webi report have two date prompt i.e start date & end date.During report refresh if I give the dates which doesn't have any data/wrong data then I'm getting standard error as "NO data to Fetch".
1.Here My concern is how and where do it.
i.e Changing "NO data to Fetch". to custom one. e.g Dates (start date & end date) doesn't have any data like that...
2. In the same report if it is in tabular format with given prompts have no data then empty table structure is displayed. When I change this table to any chart(pie or bar or line..) nothing is displayed for the same prompts. i.e. How can we display empty structure of chart similar to that of table if given prompts are wrong/ not having any data.
Any help is highly appreciated..
Cheers,
Suresh Aluri.Hi Suresh,
Here is the complete explaination:
Consider the scenario that you have 1 data provider in the report lets name it DP, which is not returning any row for the selected date range.
1. Union the main query with the dummy Select 'A','B','C',0,0,0 from dual - (Eg given for oracle)
When the main query returns no row, this dummy query will return 1 row, which will suppress the default pop-up
of - "no data to retreive"
2. Place a cell in the report, with the desired error message written. Background white and no borders and font white.
3. Place the block above this cell i.e. one above the other. Check the property to hide block when empty.
4. Create alterer to make the font black or to any other color and apply it tto he cell created in step 2.
Enable the alerter when DP returns only 1 row.
I hope the steps are clear.. and solution helps you.
Regards,
Rohit
Edited by: rohit12 on Apr 28, 2010 11:36 AM -
Hi Friends,
I have 2 tables in query1 in Infoview. I want to hide table 1 and column1(out of 2 columns) in table 2.
Please reply with step by step details
Thank you.You cannot hide the block or columns in Webi thinking that you are accessing Webi reports through infoview. You should make the report invisible by matching the table/column borders and the text color with the back ground color. And align the tables appropriately so that it doesnt appear as empty space in the report.
But why are you having table 1 when you want to hide the table. Similarly with column 1 of table 2. Just get the data you need in the report. -
Hi All,
Please can you some one let me know how to add colours for sub totala in web report.
Thanks,
SudhakarThe color is located within the stylesheet you're using for the web template. The color for overall result is located under item "SAPBEXaggItem"
-
Please help: User cannot see webi report data
Hi,
I've got a wired problem here in my webi report. Basically I am located in Singapore and produced a webi report for our user in UK. The report looks totally fine with all the data shown correctly. But when our report user logged into the dashboard from UK, she could only see partial data and some of the information are missing(blank cells in the report).
To verify the cause I've done the following test:
1. I remote control her computer and log into dashboard using my account, the result is I get same problem and I cannot see some of the data.
2. I let her remote control my pc and log into dashboard using her account, she no longer has this problem and can see complete data.
We use same version of IE, same JAVA version. And the report data is not time sensitive, so different time zone might not the possible cause.
This problem is killing me. Can anyone please help and let me know any possible solution? Thanks so much.
Edited by: Sinsin Tan on Jul 14, 2010 5:59 AMHi Sinsin, what version of BusinessObjects are you using? Is it XI 3.1?
I don't know if it is the same problem or not, but I have seen that before when a user cannot view the data, change the font and/or background color and the data becomes visible. Reinstalling the client fixed that problem. If you couldn't figure out the root cause, you might want to consider this option.
If you are using the BusinessObjects tool, you should join [ASUG|www.asug.com] -
Hiding webi report row in output context
Hello,
I wanted to know if there is a way to hide a webi report row. ( I am not interested in filtering at query level).
Now for example, say a query returns say
USA 800
UK 200
APAC 100
JAPAN 50
Now i want to hide the row with JAPAN in the report output context. I am wondering if this is possible using some formulae.
I am not interested in hiding data with say alerter and cell color, that will only create an empty row look when exported to PDF or Excel.
Thanks in advance for your help.Hi,
Yes it is possible if you write down a formula in that column.
If "Country" = "JAPAN" then ""
This will show nothing in the column and thn you can set column property to hide if there is nothing.
Regards,
Bashir Awan -
HI,
How to Write Web Reports in SAPHI,
Try this code:
REPORT zwebreport .
TABLES:spfli.
DATA:qstring LIKE w3query OCCURS 10 WITH HEADER LINE,
myhtml LIKE w3html OCCURS 10 WITH HEADER LINE,
mymime LIKE w3mime OCCURS 10 WITH HEADER LINE.
DATA:funct(100).
START-OF-SELECTION.
GET spfli.
REFRESH qstring.
qstring-name = 'CARRIED'.qstring-value = spfli-carrid.
APPEND qstring.
qstring-name = 'CONNID'.qstring-value = spfli-connid.
APPEND qstring.
WRITE:/'o' HOTSPOT COLOR = 5,
spfli-carrid,
spfli-connid,
spfli-cityfrom,
spfli-cityto.
CALL FUNCTION 'WWW_SET_URL'
EXPORTING
offset = 0
length = 1
func = 'secondary_list'
TABLES
query_string = qstring
EXCEPTIONS
invalid_table = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
WRITE:/ 'error in that line'.
ENDIF. END-OF-SELECTION.
AT LINE-SELECTION.
IF sy-cucol = 2.
CALL FUNCTION 'WWW_GET_URL'
IMPORTING
func = funct
TABLES
query_string = qstring .
IF sy-subrc NE 1.
CALL FUNCTION funct
TABLES
query_string = qstring
html = myhtml
mime = mymime.
IF sy-subrc = 1.
WRITE'error'.
ENDIF.
ENDIF.
ENDIF.
Reward Points if found helpfull..
Cheers,
Chandra Sekhar.
Maybe you are looking for
-
How to install j2re on Linux (newbie, non-developer)
Forgive me for this stupid newbie question, but I'd like to know where to put my j2re package. I downloaded the .bin file, and extracted it into the folder where I downloaded it. Does it just stay there? Is it installed? I hope not, because it's in m
-
Photo Sync with new iPhoto Library
I created a new iPhoto-Library. This one is now set as "standard". But if i try to sync the photos from this new library to the iPhone, iTunes still shows the pictures from the old iPhoto-Library. How can I tell iTunes to use the new library?
-
"The windows installer service could not be accessed" on windows 7 64x
Hello, I'm trying to install an application and i get the following error" "The windows installer service counld not be accessed. This can occur if the Windows installer in not correctly installed. Contact your support personnel for assistance". When
-
I have reported this previously in the forum and I've seen some other posts on this and was hoping that there is either a solution or workaround for this real workflow issue. I read that this is a known bug inserted with the update to 6.0.1. It is no
-
I keep trying to open app and it just keeps crashing. I have tried shutting iPad down and re starting and neither are working. Any suggestions?