Skip to Content

Access Settings - document.write() doesnt work with Integrated ITS -

Hi Experts,

We have migrated our old HTML templates from Standalone to Integrated ITS. We have a template with an input date field. On placing the cursor in the field it gives up a popup displaying the calender from which the user can select a particular date.

Display of calender is acheived through Java Script. (The SAP Screen behind this template doesnt have the date field, so we cannot use the F4 help of SAP screen).

The Java Script creates the popup and then displays the calender using the statement

popUpWindow.document.write(htmlBuffer). .

popUpWindow -> popup window object

htmlBuffer -> variable holding the HTML code for displaying the calender.

But on testing, I found that a BLANK popup window is displayed and the calender is not displayed. I see a "Error on Page" text in the left bottom corner of the browser. On clicking the "Error on Page" it shows "Acess Denied at line 345". Line 345 corresponds to popUpWindow.document.write(htmlBuffer).

The statement and template are working fine in Standalone ITS. It is nicely displaying the calender on placing the cursor in the input field.

I saved the source code of the web page (Right click on the page and select "View Source Code") and executed it from the desktop and suprisingly everything works fine. I dont have any problems with the calender.

Same source code works fine through Standalone ITS and from Desktop. Only if the template is opened through Integrated ITS I have the problem. Am I missing some settings for Integrated ITS? Please let me know.




Edited by: Ravikanth Tunuguntla on Dec 2, 2008 9:35 PM

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 16, 2008 at 05:29 PM


    Looks this OSS (314568). With SAP GUI for HTML, there are several restrictions about office integration and document edition.

    Hope this helps,


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.