Invalid month error in WEBI report level
Hi,
I had a issue with date format.I am using oracle10g as a backend database.I have a date object in universe level i used that object in web intelligence report level.I created prompt for date object after select the date from the list i am getting " invalid month error". In database level object datatype is timestamp.
How to solve this issue.can somebody help me to solve the problem.
Hi
Date Objects depends on various formats for different database
Make sure that u format date like MM/dd/yyyy in universe level . and the object should be in date datatype .
In the query level use prompt to select dates.
In report level
create a variable and use a formula like
todate(userresponse("Enter date");"")
Hope this helps U
Sunil
Similar Messages
-
Invalid month error sometimes in SQL Developer
Hi
sometimes I get 'Invalid Month error' in SQL developer when I execute the following query
select TRUNC(TO_DATE('01-JUN-2013','DD-MON-YYYY')) from dual;
But when I dosconnect session and reconnect, It works fine
Any suggestions on how to avoid this issue ?
Thanks872202 wrote:
Hi
sometimes I get 'Invalid Month error' in SQL developer when I execute the following query
select TRUNC(TO_DATE('01-JUN-2013','DD-MON-YYYY')) from dual;
But when I dosconnect session and reconnect, It works fine
Any suggestions on how to avoid this issue ?
ThanksThere's absolutely no reason that that should result in that error.
The SQL is sent to the database and it's perfectly valid SQL, taking a string, and converting it to a date with the correct date format mask, and then truncating the date (which, by default is to the day, which in this case is pointless as it's already truncated), returning a DATE datatype, which SQL Developer will then render using it's date display format. -
Error in web reports (Report 10g r2)
Hi,
I am working on Developer 6i and has started learning 10g.
I created a web report.If i run it in there is an error in web report.
500 Internal Server Error
OracleJSP: oracle.jsp.provider.JspCompileException:
Errors compiling:C:\Users\USER\AppData\Local\Temp\docroot\3000\default\defaultWebApp\persistence\_pages\\_MODULE1000202980.java
Error occurred during initialization of VM Could not reserve enough space for object heap
Please guide me how to resolve this.
Regards
SatyaHi Sathya,
Check this link your issue is already been discussed,
http://stackoverflow.com/questions/9303889/error-occurred-during-initialization-of-vm-could-not-reserve-enough-space-for -
Strange invalid month error.
Hi all,
I have a function which receives a date and then returns a text string saying what day of the week it is, ie Monday Tuesday etc etc
For example sakes I'll say the function is called dayoftheweek and we use the function like 'select somedate, dayoftheweek(somedate) from dual'
Now, the bit within the function that works out the day is as below
SELECT TO_CHAR(TO_DATE(p_date, 'DD/MM/RRRR') ,'DAY') from dual (p_date is the internal function variable for the date passed in.)
Now, if I do this
select dayoftheweek('25-MAY-09') from dual -- this works.
But...
select dayoftheweek('25/05/09') from dual -- this does not work, I get an ora 01843 invalid month error.
So, I assumed it was something to do with the logic that worked out the day of the week.
However, the below works.
SELECT TO_CHAR(TO_DATE('25/05/09', 'DD/MM/RRRR') ,'DAY') from dual
Does anyone know why when passing a date to the function in format 'select dayoftheweek('25/05/09') from dual' does not work but if I use this format within the function logic as above it does work?
Cheers,
rgHello,
Oracle does not know your date format:
select dayoftheweek('25/05/09')I.e, it does not know that the date you are passing in is in the form of 'DD/MM/MM'. You must tell it (since it isn't your default format):
select dayoftheweek(to_date('25/05/09', 'DD/MM/YY'))If all you wanted, however, was the day of the week from a date, then:
TO_CHAR(to_date('25/05/09', 'DD/MM/YY'), 'DAY')Will give you that.
And by the way, this:
SELECT TO_CHAR(TO_DATE('25/05/09', 'DD/MM/RRRR') ,'DAY') from dualIs correct by chance, even though you're getting no error you may get the wrong result, because you're telling oracle you're passing in 4 digits for the year, yet you're only passing in two.
Edit Beware:
SQL> SELECT TO_CHAR(TO_DATE('25/05/09', 'DD/MM/RRRR'), 'YYYY') from dual;
TO_C
2009
SQL> SELECT TO_CHAR(TO_DATE('25/05/09', 'DD/MM/YYYY'), 'YYYY') from dual;
TO_C
0009 -
The action cannot be performed error for Webi Report
HI,
I am getting the error The action cannot be performed error for Webi Report. I am getting this error after i save the report and open it again.This is happening for only 1 particular report. In the end i removed some of the objects from the query and added some new ones.
Strangely it worked! -
Error in WEBI report and MDXTEST when using Dimensions in Prompt
Hi,
I am using BOXIR3.1 SP2, SAPBI 7.0
I m creating a webI report (Universe is on SAP BI Query.) which include following objcets in Query section of WebI pannel:
Business partner, Account Class, Total Arreas count.
The Condition pane of Webi Includes Prompt on object "Account Class".
When I run a report, I get List of values for Dimension Account Class, when I select one of available value eg: Commercial Customer,I get Following Error.
A database error occured. The database error text is: The MDX query SELECT { [Measures].[4EITIDWAFWLLZD2ONIAVCKD56] } ON COLUMNS , NON EMPTY CROSSJOIN( [Z_BPATNER].[LEVEL01].MEMBERS, { [Z_FCACTBP__0UCACC_CLAS].[Commercial Customers] } ) ON ROWS FROM [ZFC_M07/Z_FC_M07_Q002] failed to execute with the error Value Commercial Customers for characteristic Z_FCACTBP__0UCACC_CLAS unknown. (WIS 10901)
I tried running same query in MDXTEST editor of BI. I got same error!!!
Then I tried changing the MDX Query as:
SELECT { [Measures].[4EITIDWAFWLLZD2ONIAVCKD56] }
ON COLUMNS , NON EMPTY CROSSJOIN( [Z_BPATNER].[LEVEL01].MEMBERS, { [Z_FCACTBP__0UCACC_CLAS].[COM] } ) ON ROWS
FROM [ZFC_M07/Z_FC_M07_Q002]
Then it worked Fine!!! If you observe the change is in the value of Prompt Account Class [Z_FCACTBP__0UCACC_CLAS].[COM]
By default Dimension object in Universe shows text value, but when I changed the MDXQuery with Key value (This is one of the value of value is for [Z_FCACTBP__0UCACC_CLAS].[Level01] object in mDX test Editor.) It works fine.
I wonder How do i solve this problem!! List of values available in dimension cannot be changed at universe level.
Please let me know if any solution for this exists.
regads,
Nisha.Hi Ingo,
I am creating the prompt on the dimension "Account Class" at WebI level.
The Technical name of this object is: [Z_FCACTBP__0UCACC_CLAS].[LEVEL01]
Also,
I confirmed that Index Awareness is applied on this dimension as [Z_FCACTBP__0UCACC_CLAS].[LEVEL01].[TECH_NAME].
This Dimension has detail object called "Account Class (Key) "and "Account Class (Medium name)".
MDXtest editor in SAP, shows me text as well as [ Level01] values:
Eg: Account Class InfoObject has values "Commercial Customer " (This is text value)and "[Z_FCACTBP__0UCACC_CLAS].[COM]".
COM Refers to Commercial Customer .
So In WebI when I use Dimension "Account Class" as prompt, I get Text value of this InfoObject which is "Commercial Customer ".
and MDXQuery Fails. But when I modify this query in mDXTEST Editor with value as "[Z_FCACTBP__0UCACC_CLAS].[COM]", It work fine.
I donu2019t understand the reason, since this problem is with almost 90% of Dimension object.
When I delete this object from universe, and refresh the universe then webI works fine.
But, if for some reason I refresh the universe again, the Dimension object as a prompt doesnu2019t work!!!
This error occurs every time I refresh the universe.
We are in UAT phase and soon to go Live!! We cannot afford to delete the object every time I refresh the universe.
Please let me know your inputs.
regards,
Nisha.
Edited by: Nisha Makhija on Oct 15, 2009 4:56 PM -
Dear All,
I have a Webi Report, it is taking too much of time in data retrieval and finally resulting in the following Run time Error:
Microsoft Visual C++ Run time Library
Run time Error!
Program: C\Program Files\Business Objects\....
The application has requested the Run time to terminate in an unusual way.
Please contact the application's support team for more information.
Please help in this.
In this report I am using Division, Year and Calendar day at the Query Filter level with Operators "InList" for Division and Year and "Less than or Equal to" for Calendar Day.
Regards,
ArunHi,
this is a known issue. Please check these corrective notes:
1494404 - Using Webi query filters based on dates using "Greater than" and "Less than" does not work properly when based on SAP BEx.
1467239 - Date prompts produce incorrect result with 'Between', 'Greater than or Equal' or 'Less than or Equal' filter operators when a Webintelligence report is based on OLAP universe
1614245 - Prompts on date ranges return values outside the given range in Web Intelligence reports based on a SAP BW data source.
Regards,
H -
#Datatype error in WebI Reports
Hi,
I am getting #datatype error for the a measure object in webi report.
The same column is displaying as blank in the dev system. But in production system the column is showing #datatype error.
I am using XI3.1. I verified the datatype of the object in database & it is integer. In the universe also the object is parsing fine and is displaying the LOV fine.
But at the report ;level getting error only in prod system.
Could anyone please provide some solution.
Thanks
SindhuHi,
Please check the data type at the universe levele aswell and cast it to number even if it's datatype is number.
Please try this and let us know.If this did not work them please give us the complete error which you are getting.
Cheers,
ravichandra K -
Previous month data in WebI Report
Hi All,
I have a universe created on a Bex Query. I don't have any variables created in the Bex Query. I have to create a WebI report with Calendar Year/Month as selection and depending on what user enters, i have to display Cost for the month entered by the user and cost for (month -1 ). For eg. if the user enters Feb 2009, then the report should display Cost for Jan 2009 and Feb 2009. I have created a filter for Calendar Year/Month. How do i bring previous month data in the report ? I don't have to modify the Bex Query. I have to achieve it on the BO side. Can you guys help on this problem.
Thanks,
SaachiHi,
There is a restriction in BO when you use it with SAP.
When the user filters the data for FEB 2009, you will not be able to get data for JAN 2009 as it does
not go again to the Bex query to fetch this data.
The only workaround as of now to this is to bring all the data using Bex query by having a filter
at the BO Query level where you say Cal year/month key = (From prompt) or
Cal year/month key <> #.
This is because it considers Cal year/month as string and so even at the universe level we will not
be able to create a previous month formula.
I hope this helps.
Thanks,
Kartik -
Error - Generating WebI report with Multi-Source universe (.unx)
Hello ,
While creating WebI report from multisource universe (.unx) , created using
relational connection with SAP BW JCO connector , following JCO exception is
cropping up
Database error: [Data Federator Driver] [Server] [Connector 'Test_RCN_01'] SAP
NetWeaver BW has reported an exception: com.sap.conn.jco.JCoException: (101)
JCO_ERROR_CONFIGURATION: Server configuration for DF_SERV-bitest-3300-NOSNC is
already used for a running server. (IES 10901) (WIS 10901)
Steps followed for Multi-source universe creation
1. creating relation connection ( Passed)
2. Creating Data foundation using this connection (passed)
3. Mapping two parameters (programIDMapping, hostname ) with RFC destination and
BW FQDN ( passed )
4. Creating Business layer for this Data foundation (passed)
5. Open webintelligence with SSO and while creating the reports using the .unx ,
the above error is coming
already implemented SAP note no 1638647
System used
SAP BW 7.1 with EHP 1 and SP 10
SAP BI 4.0 SP2
Data federation service admin tool version 14.0.2
thanks,
RajibHi,
try with this.
Starting the Gateway Service on the Message Server resolved this issue.
There have also been reports of this issue when name resolution issues occur between the client and the Message Server machine. As a test, you can add the Message Server name and IP address to the Windows\System32\Drivers\etc\hosts file.
Or check SAP note 1590518.
Thanks,
Amit -
Error in Web report "Error on Page"
Hello,
When I run a web report I provide values for Company code with option as * with cc value as 100*.
The report runs and gives initial output but I get an Error on page.
After this I am not able to navigate further in the report i.e there is no action when I try to drill down.
Experts please help.
Regards,
KetanHi KT,
You must have used a varialble while designing the query and you must be knowing which type it is.
To be more precise pattern selection is supported for selopt (selection option variables only).
Please note down that the "Contain Pattern" is not supported for the following variable types:
1) Single value variable
2) Multiple values variable
3) Range Value Variable
This feature is only supported by variable type 'Selection option'.
Regards,
Michael -
Error in webi report - ORA-06502
Dear All,
I have create an object in Universe "description" , I am using this object in WEBI report.
When I run the WEBI report I am getting below error:
Database error occurred :the databasr error text is ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at line 1 . (Error: WIS 10901)
This object is working fine in Dev and Quality.
But it is getting above error in the Prod environment in WEBI report.
Actually i think its this "description" object which is the reason
dbms_lob.substr( xyz.DESCRIPTION, 4000, 1 )
Any help is highly appreciatedhello,
yes the DB across the landscapes is same version ...
the failure is due to....see the below test in the field
"cess Code |ZCCONSI| configured "
These 'bar' looking characters are what is causing the failure:
Any ideas on how to fix this.....will string function work at all for this?
Thanks -
Error in webi report while refresh
BO XI 3.1 Sp2
windows server 2003
SAP BW NW 7.0
Reports are working fine till yesterday. Today when we refresh webi reports getting below error
*"A database error occurred. The database error text is: Error getting variable for cube "XXX_XXX/XXX_XXX_XXX". Unknown error (WIS 10901).*
All webi reports are getting same error.
Tried to verify iin CMC. We have two entitlement systems in CMC. QB1, QB2. Verified all username/passwords. And every thing is working fine. Imported all sap roles. Every thing was working fine till yesterday.
But when I verified in user/groups, I am able to see all SAP roles of QB1. Very few sap roles of QB2.
Please help me.
Thanks,Hi,
I think your BASIS may have done something in the BW side, as i've seen this kind of problem when importing wrong transport and overwriting content.
As a test, try hardcoding the Universe connection with a named SAP_ALL user instead of using SAP SSO
FWIW - SP02 is no longer supported . SP03 is no longer maintained (last FP3.8 is due soon)
most reference customers are on XI 3.1 SP04 FP4.1 or XI 3.1 SP05 with BW 7.01 SP09/10
From your description, i can't tell if you are using EhP1 or not. ( you really should be)
Regards,
H -
Hi,
I created a variable in my webi report using below formula. It is validated but when I use this variable in my report giving #ERROR. Not dispalying the value.
=Count([Loan Number]) Where ([Interest Amt]+[Principal Amt] > 0)
Loan Number datatype is varchar2 and other two are number fields.
We are in BOXI R2 version.
Please suggest where I am going wrong.
Thanks,
Ven MenVen Men,
The preferred function in WebI is "if", so here is a stab at re-addressing your test on principle amount + loan amount:
=count(if( [Interest Amt] + [Principal Amt] > 0;[Loan Number]);0)
thanks,
John -
Hi All, While refreshing webi report in Bi 4.0, I am getting the following error: BW System PBP returned state DATA ACCESS PROBLEMS. Message= WARNING Error while retrieving data: JCO_ERROR_SYSTEM_FAILURE: Time limit exceeded. com.sap.ip.bi.bics.dataaccess.resource.impl.bi.exceptions.BICSResourceBwRuntimeException DataAccessproblem. I have executed the same query with same filters in analyzer and RSRT and it works fine but does not work in BO.
Hi
make sure that user had provided the access/authority to use the BW query
and also check the user had provide the right authority to the connection also of BO
Maybe you are looking for
-
Every time I make a new note, or even when I simply update an existing note (this can be a minor change such as one letter) an email is sent to my Gmail. It never shows as an unread new email in my inbox, but it's there, in my "All mail" folder. I no
-
TS3850 How can I connect my mac air to my new Qumi5 to watch photos and movies?
I have a Qumi5 and do not manage to connect my computer to watch movies and photos, can somebody help me?
-
Unable to access EPMA (App Library and Dim Library) from Workspace
Hi All. We're running Planning 11.1.1.3 with Weblogic on Linux and EPMA on Windows. When I login to Workspace with my MS Active Directory admin account, and I try to connect to EPMA (Navigate | Administer | Application Library or Dimension Library),
-
Cleaning VM Manager MySQL Database
Hi, I am looking to clean a server pool completely and recreate it after some issues with heartbeating caused by a network fault caused all sorts of heartbeat / config problems. Have been working through a fix with Oracle support and have cleaned all
-
I de=authorized then re-authorized as sugested. But it still promple me when I try to load a movie I own on my library for authorization. Any sugestions as to why this is?