Javascript Error in InputField Date Type
Hi,
We have migrated the Enterprise Portal Application EP5SP6 to NW2004s SP6.Everything works fine except one issue in a Manager Reports, Where we are using Date type InputField.
Code used:
<hbj:inputField
id="otherdate1"
type="DATE"
showHelp="TRUE"
size="10"
maxlength="10"
jsObjectNeeded="true"
disabled="TRUE"
>
<%
JSP-scriptlet-START----
otherPeriodFrom=myContext.getParamIdForComponent(otherdate1);
JSP-scriptlet-END----
%>
</hbj:inputField>
Javascript Error : Line : 3958 code: 2 Error: 'Undefined' is null or not an object
Above Error appears when the below option in IE is selected.And also, Error appears only when the user enters the date.Also, I cannot ask users to uncheck the settings in IE as most of the users doesn't have administrator access to their amchines
Error doesn't seem to appear when user selects the date from DataPicker component irrespective whether the below option in IE is selected or not.
IE Setting option :
Display a Notification about Every Script Error
I'm not able to find what could be the problem in EP 7.0 as it works perfectly in EP5.0.
Any ideas would be appreciated !!
Thanks,
Jojo
Sent an OSS message to SAP.SAP found the problem and fixed the issue and will be available in NW2004s SPS9.
Jojo
Similar Messages
-
Replicat : GGS ERROR 171 Unknown data type received 0x54 49 .
I am trying to run an initial load as shown in the tutorial at http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/goldengate/11g/GGS_Sect_Config_WinUX_ORA_to_WinUX_ORA.pdf and I am seeing this error in the REPLICAT process.
I have tried using the SOURCEDEFS clause as well (Even though the source and Target structures are exactly similar), but I run into the same issue.
** Run Time Messages **
*2011-04-14 12:02:15 GGS ERROR 171 Unknown data type received <0x54 49>.*
The only other Indication that I see in the report file is the following Warning message
*2011-04-14 12:02:15 GGS WARNING 201 Rounding up LOBWRITESIZE 32528 to be a multiple of LOB chunk size (16324).*
LOBWRITESIZE = 32648 bytes.
Here are the other details. If you need any more information, please let me know
GoldenGate Delivery for Oracle
Version v9.5.1.31 Build 003
HP-UX 11.23 (optimized 64-bit), Oracle 10g on Jun 24 2008 13:43:23
Copyright GoldenGate Software, Inc. 1995-2008
Starting at 2011-04-14 12:02:09
Database Version:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for HPUX: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
I'd appreciate any advice on fixing this issue.
Thanks,
Rajesh.Looks like the error is because we have ASM set up at our place.. and I did not pay enough attention to this part of the tutorial Guide..
Note: When Oracle Automatic Storage Management (ASM) is in use, the TRANLOGOPTIONS ASMUSER and ASMPASSWORD must be set in the Extract parameter file. For more information refer to the GoldenGate for Windows & UNIX Administrator and Reference manuals.
Posting the reply here so that It'd be useful for anyone running into the same issue later.
Cheers!
Rajesh. -
Error While Creating Date type condition query
Hi All,
I am getting following error while creating a multiple condition query.
ERROR:java.lang.IllegalArgumentException: Unexpected field type for D: java.lang.String
I am pasting the scrap of the code for review below.
pls note after removing the condition cond6; it works fine, and cond6 is for date type field.
for(int j=1;j<7;j++){
fd[j] =trd.getFieldDescriptor(arrayHeaderFieldNames[j]);
BasisFieldType bft1 = fd[j].getFieldType();
if (bft1 == BasisFieldType.C) {
filterOperator[j] = RelationalOperatorType.CONTAINS; }
else{
filterOperator[j] = RelationalOperatorType.EQUALS;
order[j] =queryFactory.createSortOrder(fd[j],true);
cond1 =queryFactory.createCondition(fd[1], filterOperator[1], values[0]);
cond2 =queryFactory.createCondition(fd[2], filterOperator[2], values[1]);
cond3 =queryFactory.createCondition(fd[3], filterOperator[3], values[2]);
cond4 =queryFactory.createCondition(fd[4], filterOperator[4], values[3]);
cond5 =queryFactory.createCondition(fd[5], filterOperator[5], values[4]);
cond6 =queryFactory.createCondition(fd[6], filterOperator[6], values[5]);
Condition cond = queryFactory.createCondition(new Condition[]{cond1,cond2,cond3,cond4,cond5,cond6},LogicalOperatorType.AND);
Please Help!
Thanks n regards,
Kapoorchand.Hi,
well that problem is a long time back -. I only have in mind that the date I had to transfer to the quesry was in a "strange" format. Have a lock into the documentation for the date field - your date field is not recognised as a date field from the quesry engine and so this fails - but unfortunately I have no idea at the moment how I fixed it last time - how I converted my date field......
Sorry, thast I can not give you the real point - but I will have a lock into the old code - hopefully I find it soon.
Regards,
Oliver -
In ECC 6 , I AM GETTING ERROR WHILE DECLARING DATA TYPE OF BAPI
HI,
IN ECC 6 , i AM GETTING ERROR" NO READ ACESS RETURN"
EVENTHOUGH I DECLARED DATA TYPE FOR EXAMPLE
DATA: RETURN TYPE BAPIRET2.AND USING IN RFC.
HOW TO CORRECT THE ERROR.
pLZ HELP ME.
REGARDS,
RANIHi Rani,
Could you please post the piece of coding where the error comes from? Maybe we can help you then.
Regards,
John. -
Error While creating Data type from a XSD
Hi,
I am trying to import a XSD into my Data type. I have changed the namespace in the XSD to match that of the target namespace. I am getting the following error.
Global definition Element: http://ls.sbc.com/OMS/ProcessSalesOrderEFE004, orderRequest in the schema to be edited will be ignored
Schema to be edited defines qualified element names (elementFormDefault = 'qualified')
Could any help me out in this regard. I don't have much knowledge about XML and XSD.
Regards,
RavikanthHi Ravi,
please check once again your XSD file.
it should be like this.
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://ls.sbc.com/OMS/ProcessSalesOrderEFE004, " targetNamespace="http://ls.sbc.com/OMS/ProcessSalesOrderEFE004, ">
<xsd:complexType name="DTO_Data type">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
725b8b10c99e11dc8ff3001cc43a8a68
</xsd:appinfo>
Please check the name of data type u mentioned in XSD while imporitng.
regards
mahesh.. -
Replication - Error with real data type
Hi Everybody,
I have a replication problem on a certain SQL Server 2012 build 2100. First of all:
- Tables are the same on Publisher and Subscriber (double-checked)
The problem is 8152 - String or binary would be truncated. Since I know this error, I looked for the command (xact_seqno) and it shows:
{CALL [sp_MSins_tbl2Replicate]
({7B914E3E-25ED-E411-BC82-005056A54F21}
,{BA54EA41-ECE1-4F4B-7A63-08D05A57DCC9}
,{51BEC1B8-F6D2-E411-BC82-005056A54F21}
,1
,NULL
,N'2015-04-27'
,{87766F58-A0C8-41E6-E7D4-08CFE45FE017}
,2
,2.81122997072606E-313
,N'2015-04-27 23:34:59.7600274'
,{87766F58-A0C8-41E6-E7D4-08CFE45FE017}
,NULL
,{0AB7C33E-0B3E-E211-A06F-005056A54F21},NULL,NULL,0,NULL,NULL)}
My problem is the value "2.81122997072606E-313" since this field is a real field. I dont understand that. The Value is way to small and a SELECT in the Publisher-DB shows a "1". Does anybody has an idea?
Thanks
DaveHi,
first of all thanks for your help. Publisher-Table-Schema:
[EV_GUID] [uniqueidentifier] ROWGUIDCOL NOT NULL,
[EV_PV_Profilvariable] [uniqueidentifier] NOT NULL,
[EV_Empfaenger] [uniqueidentifier] NOT NULL,
[EV_EmpfaengerTyp] [tinyint] NOT NULL,
[EV_Gruppe] [uniqueidentifier] NULL,
[EV_ErbrachtDatum] [date] NOT NULL,
[EV_AN_Erbringer] [uniqueidentifier] NOT NULL,
[EV_Zeitwert] [int] NOT NULL,
[EV_Anteil] [real] NOT NULL,
[EV_ErfasstZeitpunkt] [datetime2](7) NOT NULL,
[EV_AN_Erfasser] [uniqueidentifier] NULL,
[EV_SC_Statistikcode] [uniqueidentifier] NULL,
[EV_OE_Auftraggeber] [uniqueidentifier] NOT NULL,
[EV_KST_Kostenstelle] [uniqueidentifier] NULL,
[EV_Bemerkung] [varchar](max) SPARSE NULL,
[EV_Flags] [int] NOT NULL,
[EV_MN_Massnahme] [smallint] NULL,
[EV_Fremdkey] [varchar](100) NULL
Subscriber-Table-Schema:
just the same....
SELECT EV_Anteil FROM tbl2Replicate WHERE EV_GUID = '7B914E3E-25ED-E411-BC82-005056A54F21'
returns "1". The reported value wont fit in a real-field or am I missing something? I tested this and it would fill in a "0" for such a tiny number. Therefore it cant be in the publisher database. Also tested with SELECT MIN(EV_Anteil)
and returned "0.02040816" with another PK of course.
Other Options in Transactional Replication:
Replicate schema changes - True
Copy objects all to false, except clustered index, unique key constraints, Collation and INSERT, UPDATE, DELETE stored procedures
Convert data types = False
Thanks
Dave -
Error while creating data type
Hi
I am creating data type for the scenario from File to IDOC
Namespace urn:xiworkshop:groupxx:legacy is not defined in the software component version NEWPRODUCT , 100 of sap Object Message Type Vendor | urn:xiworkshop:groupxx:legacy references the inactive object Data Type Vendor | urn:xiworkshop:groupxx:legacy
Please help meHi;
First activate your namespace and then create the data type.
Namespace + default datatypes should be activated together.
Then your data type
Mudit -
Receiving Javascript error when viewing data grids in HFM Web
Version 9.2.0.1
JRE 1.4.2
When browsing certain section of balance sheet in several data grids, HFM returns an error Message--Invalid Javascript returned by the Server. This occurs for all users that try to access this section of the grids. The data can be explored fine in HFM desktop client. Anyone encountered this before and know of a solution?
Thanks
JeffI would agree with Kieron, that some element in your metadata has changed.
Try to recreate the exact same Grid from new, and see if the issue occurs. If no, save as the required grid.
You could save as a new grid, extract both and compare the code. This could identify the reason and assist on the other offending grids.
As an aside, if you have a cluster, try direct server IP access (although this is the same as going to the server, but using your workstation).
Log a call with support if this does not work, as it may be something more fundamental. -
i have a table test with column data and datatype is varchar2(35).In this date value is stored
now i want to change the datatype to timestamp(3)
i am changing as below
ALTER table test
ADD testcolumn timestamp(3);
its adding column
UPDATE test
SET testcolumn = data;
but its giving error not a valid monthCheck for
UPDATE test
SET testcolumn = to_timestamp(data,'date formant in which the data is say if it 01/28/2009 then MM/DD/YYYY HH24:MI:SS:ffx');Regards. -
UCCHECK error in upgrade: Data type and structure not mutually convertible.
Hi ABAPers,
We have upgraded our system from 4.6c to ECC 6.0. We are at the unicode check stage. I am getting an error " 'V_LEV' and 'T_RES_TOTALS' are not mutually convertible in a Unicode program."
The structure of T_RES_TOTALS is like this:
BEGIN OF T_RES_TOTALS OCCURS 0,
FLD1TEXT LIKE ZTQ_REPVAL-VTEXT,
FLD1 LIKE ZTQ_VBKA-ZZREP_FLD1,
FLD2TEXT LIKE ZTQ_REPVAL-VTEXT,
FLD2 LIKE ZTQ_VBKA-ZZREP_FLD2,
FLD3TEXT LIKE ZTQ_REPVAL-VTEXT,
FLD3 LIKE ZTQ_VBKA-ZZREP_FLD3,
FLD4TEXT LIKE ZTQ_REPVAL-VTEXT,
FLD4 LIKE ZTQ_VBKA-ZZREP_FLD4,
FLD5TEXT LIKE ZTQ_REPVAL-VTEXT,
FLD5 LIKE ZTQ_VBKA-ZZREP_FLD5,
FLD6TEXT LIKE ZTQ_REPVAL-VTEXT,
FLD6 LIKE ZTQ_VBKA-ZZREP_FLD6,
VTEXT LIKE ZTQ_SRCET-TXT,
SOURCE LIKE ZTQ_SRCET-SOURCE,
NAME1 LIKE KNA1-NAME1,
RAREA LIKE KNA1-KUNNR,
TOTAL TYPE I,
LEV(2) TYPE N,
END OF T_RES_TOTALS,
V_LEV is declared as this:
V_LEV(2) TYPE N,
Below is the code and the line (marked in bold) which gives the error:
LOOP AT T_RES_TOTALS.
*V_LEV = T_RES_TOTALS.*
AT NEW FLD1. PERFORM FLD1_START. ENDAT.
AT NEW FLD2. PERFORM FLD2_START. ENDAT.
AT NEW FLD3. PERFORM FLD3_START. ENDAT.
AT NEW FLD4. PERFORM FLD4_START. ENDAT.
AT NEW FLD5. PERFORM FLD5_START. ENDAT.
AT NEW FLD6. PERFORM FLD6_START. ENDAT.
AT NEW SOURCE. PERFORM SOURCE_HEADER. ENDAT.
AT END OF RAREA. PERFORM RES_AREA_LINE. ENDAT.
AT END OF SOURCE. PERFORM SOURCE_TOTAL. ENDAT.
AT END OF FLD6. PERFORM FLD6_END. ENDAT.
AT END OF FLD5. PERFORM FLD5_END. ENDAT.
AT END OF FLD4. PERFORM FLD4_END. ENDAT.
AT END OF FLD3. PERFORM FLD3_END. ENDAT.
AT END OF FLD2. PERFORM FLD2_END. ENDAT.
AT END OF FLD1. PERFORM FLD1_END. ENDAT.
ENDLOOP.write as below ...
LOOP AT T_RES_TOTALS.
V_LEV = T_RES_TOTALS-LEV. <----
AT NEW FLD1. PERFORM FLD1_START. ENDAT.
AT NEW FLD2. PERFORM FLD2_START. ENDAT.
AT NEW FLD3. PERFORM FLD3_START. ENDAT.
AT NEW FLD4. PERFORM FLD4_START. ENDAT.
AT NEW FLD5. PERFORM FLD5_START. ENDAT.
AT NEW FLD6. PERFORM FLD6_START. ENDAT.
AT NEW SOURCE. PERFORM SOURCE_HEADER. ENDAT.
AT END OF RAREA. PERFORM RES_AREA_LINE. ENDAT.
AT END OF SOURCE. PERFORM SOURCE_TOTAL. ENDAT.
AT END OF FLD6. PERFORM FLD6_END. ENDAT.
AT END OF FLD5. PERFORM FLD5_END. ENDAT.
AT END OF FLD4. PERFORM FLD4_END. ENDAT.
AT END OF FLD3. PERFORM FLD3_END. ENDAT.
AT END OF FLD2. PERFORM FLD2_END. ENDAT.
AT END OF FLD1. PERFORM FLD1_END. ENDAT.
ENDLOOP. -
ORA-01704 error form spatial data type (SDO_UTIL.FROM_WKTGEOMETRY)
I am trying to make a program (C# & ODP.NET)to do the task , get geometry data From sqlserver2008 database and INSERT INTO Oracle11 Spatial Database.
Because of using the Well-Known text (WKT) syntax , so I need to use "SDO_UTIL.FROM_WKTGEOMETRY('POLYGON ((56678400..." to insert geometry data to oracle. When the polygon text is longest than 4000 chr, I got the exception
[ORA-01704: string literal too long]
How can we solve this problem? It's urgent!
Hope to hear from you.
FanTry with bind variables:
oerr ora 1704
01704, 00000, "string literal too long"
// *Cause: The string literal is longer than 4000 characters.
// *Action: Use a string literal of at most 4000 characters.
// Longer values may only be entered using bind variables.Please read http://www.oracle.com/technetwork/issue-archive/2005/05-sep/o55odpnet-101704.html. -
Getting Incorrect data type error while trying to do a CAST in table
Getting an error while trying to compile the following piece of code
CREATE OR REPLACE PACKAGE BODY A_pkg AS
FUNCTION A(O_error_message IN OUT varchar2)
RETURN BOOLEAN IS
--Declaring the local variables and CURSORs used in the program unit
L_attrib_tbl CFA_SQL.TYP_attrib_tbl;
cursor c1 is
select list_first1.number_11
from TABLE (CAST (L_attrib_tbl AS "CFA_SQL.TYP_attrib_tbl")) list_first1;
BEGIN
L_group_id = '22'
IF L_merch_type_value = 'G' OR L_merch_type_value = 'I' THEN
CFA_SQL.QUERY_ATTRIB(L_attrib_tbl,
L_group_id) ;
END IF;
open C1;
Fetch C1 into L_number;
close C1;
return true;
END A;
END;
Also pasting the Spec for CFA_SQL which contains TYP_attrib_tbl
TYPE TYP_attrib_rec IS RECORD
group_id CFA_ATTRIB_GROUP.GROUP_ID%TYPE,
varchar2_1 VARCHAR2,
number_11 number(10,0));
TYPE TYP_attrib_tbl is TABLE of TYP_attrib_rec INDEX BY BINARY_INTEGER;
The error is coming in the line
cursor c1 is
select list_first1.number_11
from TABLE (CAST (L_attrib_tbl AS "CFA_SQL.TYP_attrib_tbl")) list_first1;
with the error as Invalid data type pointing to CFA_SQL.TYP_attrib_tbl as invalid, but I have initialized L_attrib_tbl as of that datatype only. Ahy help would be greatly appreciated.
Regards,
JoydeepHi Kelly,
There is no data that is entered in that period.The data will be entered for that period next month.
POV is also not set to that period,but still the problem persists.
Thanks -
'Master data type User table cannot add row'-DTW error
Hi All,
I am creating a template for user define Master data table from DTW, when i am trying to port data by using that template through DTW. it is giving error like--'Master data type User table cannot add row'
So can any one have solution for this.
Regard's
HariHari,
Please see SAP Note 1234690 on the SAP PartnerEdge Portal. This seems like a similar problem although the example is using the Business One SDK which uses the DI API. The DTW also uses the DI API ... so there may be a relation.
You may want to check the latest patch level for SAP Business One 2007A as the note says it is a known issue.
Eddy -
Error while Importing Data in UDO.
Hello,
I had created one User defined table with Master Datatype.
I register this Table and creating Master type of UDO.
I created template for this UDO throgh DTW.
I am using Following Filed in the template.
Code, Name, Field 1 and Field 2.
While i am importing data using this template through DTW using, i got following error.
Master Data Type user Table can not add row65171.
Regards,
Arpit ShahDear,
Please see the Note 804685 for information about how to
import data into user defined tables linked to an object type.
It is not possible to import data into UDO tables via the DTW.
Regards
Apple -
How to edit/change data type on report that was selected by mistake
Hello there
I created a report in APEX and one column is giving error because the data type of one column supposed to be a varchar2 but somehow the report was created with a Date data type. I want to change the data type without recreating the whote report. Can someone help? I tried to edit the report but couldn't be able to figure out.
HELP....I found a solution for this, thank you.
Maybe you are looking for
-
OBIEE 11g 11.1.1.6.0 installation on Windows 7 64 bit laptop issue
I have managed to install the suite but during the final stages: 13 of 14 configuration process I got an error with the restarting of the Admin Server. I aborted the installation. Now it took hours to get to this point so I was wondering if there is
-
No longer able to download pictures to my iphone or itouch from my pc
i can no longer export pictures from my pc to my Iphone or IPod. Any ideas?
-
How can I get my servlets to work which are using servlet 2.3 API
I am using the classes and new methods that are introduced in servlet 2.3 and I am not able to get them to work. is there a work around or a patch available for this. I have installed Iplanet application server Enterprise Edition version 6.0 SP3 from
-
Changed version of Data Entry Profile imported results in empty worklist
Hi, We've just moved, among other things, changed versions of all of the data entry profiles to our production server. Everything went well however all users get an empty worklist to start with. Do you maybe know why this is? Is this standard behavio
-
FireFox Issue with iTunesU Corse manager
Buttons (learn more/ Sign in) are not able on the sign in screen when using Firefox on pc (windows 7) machine using version 19.0 - 23.0.1. Any one have a solution?