Hi,
first of all I would like to express my hope that this SAPDN becomes rather populated... (counter++ 😉 )
Currently I'm trying to develop my first bsp with htmlb extension. The bsp is no big deal, mainly consists of one big form with some TextEdits and some InputFields. But I do have some problems with JavaScript:
1.) I would like to have the valueHelp for two InputFields. In the htmlb_samples BSP the Help for DateFields works fine. In my one BSP a click on the valueHelp-symbol throws a JavaScript-Error in IE ("Objekt erforderlich"). I can't find any differences between the htmlb_samples and my own bsp. Is there something I should have a look on?
2.) Clicking the submit-button in my form throws a JavaScript-Error, too. Same errormessage, same problem, I do not know where to look for the problem...
Current SupportPackage is SAPKB62023, htmlbDesign is CLASSIC...
Thx,
Alex
Hallo Alex,
First, before kicking off with your "problem" the general reminder that problems should be reported via OSS/CSN. This allows us to help you at higher priority (support still comes before SDN!).
But I suspect that you do not have a real "problem", just a configuration situation. What you describe usually happens when specific nodes in ICF tree that are used to load javascript files are not active. The browser will attempt to load the JS, and just silently fails if it could not find the file. Later you get the JavaScript errors. In SP27, we have added a proactive test for this, and then render directly out to the browser a message if we detect this situation. For the moment I would recommend transaction SICF and definitely read OSS/CSS note 517484.
While you are at it, also read note 616900, and specifically the attachment. It is a BSP FAQ document. However, we will replace as much as FAQ information in better structured weblog articles. So, while reading answer, look at the top of the page for "Weblogs". There you will find also a BSP topic. Currently listed are 5 articles. Another 5 are in the pipeline over the next two weeks.
Two final remarks:
(1) When in doubt about your own programs, always check that ours work first! See HTMLB_SAMPLES, SBSPEXT_HTMLB and SBSPEXT_XHTMLB.(From SP30, you can also look at SBSPEXT_PHTMLB.)
(2) Switch into DESIGN2002.
Yes, we also hope that SDN becomes quite popular. At the the moment it is only quiet.
brian
Add a comment