cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problems with F4 help for dates

Former Member
0 Likes
182

Hi all.

In a redesign project we use a new structure for the bsp pages. Since the redesign every F4 help for dates is giving us a java script error.

Row: 689

Column: 3

Error: 'document.all.sapDate.style' is NULL or no object

Code: 0

URL: http://<server>:<port>/wbw(bD1..)/main.do

In the first version it was a view with some page fragments included containing the F4 helps.

The new application is a main view containing a changing view over command <bsp:call comp_id="...

Does the difference in place used matter?

I also removed the attribute themeRoot from <htmlb:content ...

Thanks for every hint,

Timo.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

I have exactly the same problem, someone can tell me how to fix it please ?

Here is my code for the "date" field :

CASE p_column_index.

        WHEN 1.

          DATA: tv_col1_inputfield TYPE REF TO cl_htmlb_inputfield.
          CREATE OBJECT tv_col1_inputfield.
          tv_col1_inputfield->id    = p_cell_id.
          tv_col1_inputfield->cellvalue = 'TRUE'.
          tv_col1_inputfield->value = '20000131'.
          tv_col1_inputfield->type = 'DATE'.
          tv_col1_inputfield->showhelp = 'TRUE'.
          tv_col1_inputfield->disabled = 'FALSE'.
          p_replacement_bee      = tv_col1_inputfield.

Edited by: BB.Fethi on Feb 8, 2010 2:10 PM

Ok sorry for this post, i haven't see the "remove tag htmlb:page"....

Edited by: BB.Fethi on Feb 8, 2010 2:13 PM

Former Member
0 Likes

It seems that the DatePicker encounters some serious problems if it is used in a htmlb:page construct. After removing the htmlb:page tags everything worked fine.