#### 's displayed instead of null values of infobject in report
In my REport i have an infobject 0PAYSCALEGR , but in cube that infobject having nodata.
When executing the report the entries under that object are displayed like 10###.
Why it is happening like that how to make those #### to Blank
Thanks
prakash
Hi,
Since 0PAYSCALEGR has compounding attributes you MUST supply their values during load into the cube. Check if you do it.
Best regards,
Eugene
Similar Messages
-
How to receive a valid value instead of " null " value
Hi people,
I'm making this SELECT statement:
SELECT I.id_cd, I.cantor_cd, I.titulo_cd, I.videoclip_cd, SUM(T.vezes_cd) as
VEZES, MAX(T.dt_cd) as DATA from t_indicetmp I LEFT JOIN t_tocado T ON
I.id_cd=T.id_cd
GROUP BY I.id_cd, I.cantor_cd, I.titulo_cd, I.videoclip_cd ORDER BY
SUM(T.vezes_cd) DESC
So, I got this result
id_cd.........cantor_cd.........titulo_cd.........videoclip_cd.........vezes.........data
3...............cantor1.............titulo1............S........................9................09/03
1...............cantor2.............titulo2............N........................8................09/03
2...............cantor5.............titulo5............n........................<null>.........<null>
The question is, is there a way to receive for example "0" instead of "<null>" value?
It's happening because there's no registry for the id_cd=2 in the "t_tocado" table.
thank's very much,The question is, is there a way to receive for example "0" instead of "<null>" value?1) NVL function
http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96540/functions88a.htm#91645
2) DECODE function
http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96540/functions33a.htm#1017439
3) CASE statement
http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96540/expressions5a.htm#1033394
Rgds. -
Value "null" is displayed when retrieving null values from database
Hi,
I'm retrieving a record from Oracle database using a ResultSet rs and displaying the values on screen. Some of the columns do not have any data.
The statements are:
ResultSet rs
st=con.createStatement();
rs=st.executeQuery(............)
out.println("<input name='punch_line' type='text' value='"+rs.getString(7)+"'>");
The problem is that there is no value in the database column rs.getString(7). Ideally when the value is null, the field should not display anything. But in my case it is displaying the text "null".
Can anyone let me know how can I display a blank value instead of displaying the text "null"?
Thanks,
Sridharapi >
String getString(int columnIndex)
Gets the value of the designated column in
column in the current row of this ResultSet object as
a String in the Java programming language.
so null is returned as string object..NO.
http://java.sun.com/j2se/1.5.0/docs/api/java/sql/ResultSet.html
Returns:
the column value; if the value is SQL NULL, the value returned is null
The Java literal null is returned, not the String "null". The JDBC API provides a method wasNull() to detect if the previous accessed column returned a SQL NULL. -
Display columns for Null Values in Crosstab
Hi All,
I have developed a crosstab in CR based on SAP BW Query. Report requirement demands to display all columns even though data is not present for those columns. However this report doesn't show the columns when there is no data. Can you please help to resolve this issue !!!
Regards,
SamirSamir,
As Abhilash stated, the crosstab rows/columns are like groups.
If you do not have a value to create a column, it will not show in the crosstab. Do you have a table that lists all the values you wish to show in the columns? Is it used in the report? Perhaps you can use it to create the columns by using a left outer link from the table with all the values to data table you are reporting on, and use it for your columns
If the columns are dates, and you do not have data for a particular date, that can be done.
[This post has a solution for a SQL server|How to dynamically create a table to join with;.
[Here is another solution|Generating Calendar Months for the year;.
There are other posts regarding this issue. I can not think of one at the moment for building a table for values other than a date but I am pretty sure I have seen one.
Debi -
Null value in parameter form.
In parameter form I want to leave blank option in order to print a report for all the values in the parameter form. I am writing the query for the parameter LOV that it fetches the values and making a union with 'select to_char(null) from dual.
I am getting a blank and the required output when the report is run using the report builder but the this blank space or null value disappears when the report is run on application server 10g. It seems to be a small problem but I am not able to get a solution for this. Please, suggest something.Hi,
Instead of a Null, why not use '-ALL-',
union all
select '-ALL-'
from dualthen in your query, you will have,
where column_1 = decode(:param1, '-ALL-', column_1, :param1) that way it will be more clearer for the users that if they picked '-ALL-' in the LOV that they will get all records and will eliminate the problem you are having with null when you deploy your report in application server.
-Marilyn -
Null value of fax and Null value of email is not reflecting in SRM
Hi
If you change the Vendor fax and email to null value in SAP(transaction XK02 in communication for address) and replicate the vendor in SRM 5.0 with transaction BBPUPDVD, still in manage business partners BBPMAININT as vendor I am able to see old fax number and email id instead of null value in Contact for Business Partner area.
Where as if we change vendor fax and email to new fax and email , after replication we wre able to see new fax and email id in manage business partners transaction as vendor.
Regards
Dayalsolved!
-
Report is showing "null" string for null values.
hi ,
I am new to BI Publisher and creating a report in BI Publisher. In the result set for null values, report is printing as "null". I checked the query , it gives blank (empty value) data for null values. But in report it is coming as "null" value (string "null"). I require to show the report as blank data for null values. Can you please help me to find solution for this ?.
Thank you very much in advance.
Regards
Gayathri.it shouldnt happen like that
try these
<?xdoxslt:ifelse(ADDRESS3!='',ADDRESS3,'')?>
or
<?xdoxslt:ifelse(ADDRESS3!='null',ADDRESS3,'')?>
if those didnt work send me your template and xml to my email i can try that at my side .
Email [email protected] -
Crystal Reports 2008: "convert DB null values to default"
All:
Quick question on CR 2008;
Which default value will be set when you enable u201Cconvert DB null values to defaultu201D using report option in CR - based on Database default value setting or Crystal Report's?
Thanks.
Sathish.So it is Crystal Reports settings NOT database default value settings that Crystal Reports uses, correct?
Thank you! -
Checking value and displaying blank instead of null
Hi,
I was wondering how do I check in the code if the value is null then display a blank as suppose to displaying the word null??
what I have now is:
column1 column2
24 null
want
24
I've tried:
if ("".equals(string))
out.println(" ");
if (string.equals(""))
if (string.equals(null))
thanks,
WillUse s == null to test if the String s is null, then if yes, replace it with the blank string "". See the code bellow:
class MyString {
String[][] sa={{"column1", "column2"},
{"24", null},
{"want", "24"},
public String toString() {
String result = "";
for (int i=0; i < sa.length; i++) {
for (int j=0; j < sa.length; j++) {
if (sa[i][j] != null) {
result += sa[i][j];
else {
result += "";
result += "\t";
result += "\n";
return result;
public static void main(String[] args) {
MyString ms = new MyString();
System.out.println(ms.toString()); -
A page is using PL/SQL script to display data. There are 2 display variables. Instead of bringing initial set of data, it displays NULL values. It "fixes" itself after changing variable values from a drop down menu. Why is that and how to fix it?
If you plan on performing all of the work under the Click event, then you won't need to worry about assigning a Script scope to the variables, but if you are planning on using those variables outside of the Event, then David's answer is the way to go.
Another option is to use a hash table as it also works around the issue with variable scope in a UI Event.
#Define at beginning of script
$hashtable = @{}
$OKButton.Add_Click({$hashtable.SelectedTemplate=$Something})
Boe Prox
Blog |
Twitter
PoshWSUS |
PoshPAIG | PoshChat |
PoshEventUI
PowerShell Deep Dives Book -
Not to display the null values from data base
Hiiii.
In a jsp file i have ten check boxes.The jsp file is mapped to a servlet file for parameter requesting and to
store it in DB.
The unchecked box values has null values.All the values are store in a Mysql DB table.
Again i have to display it in a jsp page from table.
The problem am facing was,how can i display only the values in a row.it must not display the null values and the crresponding column name.
Or any other way is their like below
How i can retrieve only the selected check boxes from tht jsp file.and store in backend.
Thanks in Advance
regards,
satheesh kannanHere is a rough example that may give you some ideas:
On the JSP page:
<%if(myData.getFirstName()!=null){%>
Your First Name'
<input type="text" name="firstName" value="<%=myData.getFirstName()%>">
<%}%>
In the servlet:
String firstName= request.getParameter("firstName");
if(firstName!=null){
//write it to the database
} -
Prevent null values from displaying in answers OBIEE 11g
Is there any possibilities in OBIEE to Prevent null values from displaying in answers
For example, If i have two records in table
TV cost=NULL(having agg rule sum in BMM layer)
RADIO cost=10(having agg rule sum in BMM layer)
in answers i get two records
TV NULL
RADIO 10
but i want to get one, only with not null costJust want to clarify your question,You want to eliminate the NULL values from the report am i right? If that is the case then put the filter COST <> NULL.
Do let me know the updates?
Thanks, -
How to display empty space in place of null values
Hi all,
In my application, i am reteiving values from db and printing thm in a jsp page. Right now, when there is a null value in db for a particular column, i am getting the same null value in my jsp page also. I don't want to print this null value and want to keep those particular fields as blank.Where should i make this change. Can anyone help me out.Use JSTL c:out tag for that.
Try to omit scriptlets as much as possible. Use JSPs for view only and load the data using a servlet and DAO class. To display data and doing some conditional logic, you can use the JSTL tag library for that. -
Text Box issue - displays XML tag instead of the value in EBS
I need to use a textbox (or a autoshape with text) to place a data element in a specific position on the page in an RTF template. I tried using tables and it didn't help. This layout needs some elements to be placed at specific location and using an autoshape or a text box is easy. When I preview the pdf output on my desktop, it works fine. Once I upload the template into EBS XML Publisher, the value in the text box shows up as an XML Tag instead of the value in that tag. The same XML data when loaded and previewed locally shows the data instead of the tag.
Any thoughts on this? Is there a patch or something we might need for this in EBS?
Thanks,
VinayThanks Tim for the quick response.
Yes - the versions are same. Also, I tried giving the complete path. The issue is that it is not even reading the text in the text box as an XML tag. It seems to think the whole text box is an object and hence just display that text as is. If it was reading and not able to resolve it, I guess it would have displayed blank (and not the tag as is). Again as I mentioned it works fine in local preview on my machine. -
Grouping to display null values for all the missing dates
Hi SAP,
I am trying to display '0.00' value for all the missing dates in my crystal reports as follows:
17-Jan-14 40.00
18-Jan-14 0.00
19-Jan-14 0.00
20-Jan-14 80.00
However, my crystal report is showing as follows:
17-Jan-14 40.00
18-Jan-14 0.00
19-Jan-14
20-Jan-14 80.00
The missing dates with no data are group together and my '0.00' value is not. Kindly advise me the solution. The formula is shown as per attached.
Thank you.
Regards.Hi,
Thanks for your reply.
Fyi, I am using a formula field in crystal report to display "0.00" for days in between as follows:
whileprintingrecords;
if Days_Between({Command.DocDate},next({Command.DocDate}),'dd-MMM-yy') = "" then "" else "0.00"
There is another formula field in crystal report to display the missing dates in between as follows:
whileprintingrecords;
Days_Between({Command.DocDate},next({Command.DocDate}),'dd-MMM-yy')
Below is my report custom functions:
Function Days_Between (datefield as datetime, nextdatefield as datetime, format as string)
' This function is only used to display what data is missing within a specified date range...output type is text
dim thisdate as date
dim nextdate as date
dim output as string 'output is the text display
dim daysbetween as number
dim looptimes as number
looptimes = 0
daysbetween = 0
output = ""
thisdate = datevalue(datefield) + 1
nextdate = datevalue(nextdatefield)
if nextdate - thisdate > 1 then daysbetween = nextdate - thisdate else daysbetween = 1
do
if nextdate - thisdate > 1 _
then output = output + totext(thisdate, format) + chr(10) _
else _
if nextdate - thisdate > 0 _
then output = output + totext(thisdate, format)
looptimes = looptimes + 1
thisdate = thisdate + 1
loop until looptimes = daysbetween
Days_Between = output
End Function
The issue arise when when there is more than one missing dates in between but the null values ("0.00") displayed is only for the first missing dates and not for all the missing dates.
Regards,
Ting Wei
Maybe you are looking for
-
Hi, I bought an Ipod touch in Dubai. When I upated to iOs 6, everytime I would download an app it will says that it's not available in the emirates store and I should change to the US store. But before i updated to iOs 6 i have been successfuly down
-
Problems moving distribution from one environment toanother
Hi all, Problems moving distribution from one environment to another Initially we have the environment as below:- Production :- Server1 : AIX Environment manager (dealing with conductor, web, db) Server2 : NT Node manager (dealing with outlook) Devel
-
Good morning to everyone! I am still very new to XML. Currently, I have a problem in integrating 2 different systems. In my hand , I have an asset management system that written in J2EE environment and from here I need to integrate with SAP system. B
-
Should every SQL query have its own event and command?
Hello, I am developing an application using Cairngorm. My app uses SQL databases. I'm creating a separate event and command for each SQL query my application requires. I end up with many events and commands - twenty different event/command pairs and
-
I use Indesign CS5 for Windows XP So I need 2 scrpts similar a Caption. 1 - Script with Caption with this setup > Clipboard text (instead metadata) if it´s possible > Position and Style: Alignment: Right of Image Offset: 3 mm Pagagraph