cancel
Showing results for 
Search instead for 
Did you mean: 

Javascript Error in InputField Date Type

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Sent an OSS message to SAP.SAP found the problem and fixed the issue and will be available in NW2004s SPS9.

Jojo