Problem with execution of JavaScript in HTML control with SAPGUI 6.20

I have added some lines of code JavaScript in a modified class copy of the class CL_DD_DOCUMENT, that is executed well in frontend SAPGUI 6.40, but it is not executed in SAPGUI 6.20 with patch level 65 or 38.
Somebody knows because it is passing this?
I really need to know what is the problem. Any help will be welcome...
thanks,
Robert.

HI,
May be the below from SAP documentation is useful to you.
Implementation considerations
The interface of the SAP HTML Viewer is the same for all platforms, but its functions will depend on the underlying HTML browser. Under SAPGUI for Windows , it uses Microsoft Internet Explorer 4.0 as an external browser. Under SAPGUI for Java, it uses the Ice Browser, which is installed with the GUI.
http://help.sap.com/saphelp_47x200/helpdata/en/c9/147a36c70d2354e10000009b38f839/frameset.htm
Thanks
Ramakrishna

Similar Messages

  • Display PDF Dokument in HTML control with Adobe Reader X - hide toolbar

    Hello,
    I am reading a document from a content repository via Archive Link Interface. I get the content by the function module SCMS_HTTP_GET. Afterwards the content will be displayed in a html control in the method SHOW_URL  in class
    CL_GUI_HTML_VIEWER by calling the url SAPR3://SAPR3CMS/get/012/XX/0050568700A51EE0BDC6F305DFEDDF57/ with the following code.
    CALL METHOD call_method
       EXPORTING
         method  = 'ShowUrl'
         p_count = 2
         p1      = url
         p2      = frame
       IMPORTING
         RESULT  = m_result.
    If I had a standard url like http//:...test.pdf it would be possible to hide the Adobe Reader X toolbar by the additional command &#toolbar=0
    The SAP url SAPR3://SAPR3CMS/get/012/XX/0050568700A51EE0BDC6F305DFEDDF57/&#toolbar=0 is not working. Can anybody give me a hint how to get the toolbar hidden?
    Thanks and regards
    Joerg

    I don't believe you answered the question. I have the same problem in that when I upgraded to Reader X my Toolbar disappeared and you responded to my post with a fix. Last week I installed updates to both Acrobat 8 and Reader X and in the process lost my toolbar and the floating toolbar. After "repairing" both Reader and Acrobat numerous times I find that at least the floating toolbar is back and F8 will of course deliver the traditional fixed, top of the page toolbar, but only for that specific open document. When I open a new document (from the web) I must F8 to get my traditional toolbar back. Below are the settings I am using to achieve this (I have tried every combination to try and make this work). Any help to get my toolbar back is very much appreciated.

  • JVC KSPD100 problems will not charge and no ipod control with ipod touch 2G

    I just got a new ipod touch 2G and when I connect it to my JVC car stereo KD-HDR1 through a KSPD100 ipod adapter the ipod shows charging is not supported on this device and I can not control the ipod through the radio. Also I can only setup the radio for EXT in and not Ipod.

    try hold home and power button till apple logo shows up
    or try to put it into recovery mode, turn it off hold home button till itunes logo shows up that will cause the comp to recognize it if it still doesnt try resetting the apple mobile device support on the comp  http://support.apple.com/kb/TS1567

  • HTML Controls in ABAP (not ITS)

    Hello...   
    How to build a HTML form and post it by internet inside SAPGUI (ABAP Program)....???  It's possible....???

    Yes, its possiable.   Check out the demo program
    SAPHTML_EVENTS_DEMO.  This uses an "internal" html page which interacts with the ABAP program using HTML control.
    I've never done it, so I can't offer any simpler examples.
    Regards,
    Rich Heilman

  • Web service data control with complex input parameter problem

    Hi!
    I'm making ADF web app, using JDev 11.1.1.2.0. I have to call a web service (using a data control), which has complex input parameter (array of complex objects).
    I followed steps from Susan Duncan blog: http://susanduncan.blogspot.com/2006/09/dealing-with-complex-input-params-in.html , but I ran into a problem.
    As Susan wrote, I changed submit's button action binding to an operation in a managed bean, which returns array of objects and everything works fine. I can call a WS and my table shows the result.
    The problem is, that after I change button's action binding to my manage bean, row selection in result table doesn't work anymore (I allways get NullPointerException).
    What can be done here?
    Can somebody please help?

    Hi,
    I also have similar type of problem where I need to invoke a Web service with Complex input parameters.
    I followed Susan's blog but I stuck at a point where methos getItem is created.
    Can anyone tell me how to get that method for my requirement.
    If possible can you guys share your solutions here.
    Thanks in advance.

  • [AIR] Drag Problem (parent & children can receive d&d and HTML Control)

    Hi,
    I have a problem regarding drag and drop in AIR. The d&d involving parent & children that can receive d&d event and the children can contain HTML control. You might want to copy and paste the code below to get a better idea.
    The objectives are:
    1. If you drag the green object and drop it in the black area, it should alert "Parent Drop"
    2. If you drag the green object and drop it in the magenta (purple) color, it should alert "Child Drop"
    3. If you drag the green object and drop it in the white (HTML control) color, it should alert "HTML Drop"
    The problems:
    1. drag green object to black area, to magenta area, and back again to black area. Drop it, the alert is not shown
    2. drag green object to the white area (HTML control). Drop it, the alert is not shown
    Many thanks.
    The Code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()">
         <mx:VBox verticalGap="0" x="50" y="50" width="200" height="200" backgroundColor="#000000" horizontalAlign="center" dragEnter="onParentDragEnter(event)" dragDrop="onParentDrop(event)">
              <mx:Canvas id="canvas1" width="50" height="50" backgroundColor="#00ff00" mouseMove="onMouseMove(event)"/>
              <mx:HTML id="html" width="50" height="50" dragEnter="onHtmlDragEnter(event)" dragDrop="onHtmlDrop(event)"/>
              <mx:Canvas id="canvas2" width="60" height="50" backgroundColor="#ff00ff" dragEnter="onChildDragEnter(event)" dragDrop="onChildDrop(event)"/>
         </mx:VBox>
         <mx:Script>
              <![CDATA[
                   import mx.controls.Alert;
                   import mx.events.DragEvent;
                   import mx.managers.DragManager;
                   import mx.core.DragSource;
                   public function init():void
                        html.htmlText = '<div style="font-size:small">HTML Control</div>';
                   public function onMouseMove(event:MouseEvent):void
                        var dragInitiator:Canvas = event.currentTarget as Canvas;
                        var ds:DragSource = new DragSource();
                        ds.addData("item", "item");
                        DragManager.doDrag(dragInitiator, ds, event, dragInitiator);
                   public function onChildDragEnter(event:Event):void
                        trace("onChildDragEnter");
                        DragManager.acceptDragDrop(event.currentTarget as Canvas);
                   public function onParentDragEnter(event:Event):void
                        trace("onParentDragEnter");
                        DragManager.acceptDragDrop(event.currentTarget as VBox);
                   public function onChildDrop(event:DragEvent):void
                        trace("onchilddrop");
                        Alert.show("Child Drop");
                   public function onParentDrop(event:DragEvent):void
                        trace("onparentdrop");
                        Alert.show("Parent Drop");
                   public function onHtmlDragEnter(event:DragEvent):void
                        DragManager.acceptDragDrop(event.currentTarget as HTML);
                   public function onHtmlDrop(event:DragEvent):void
                        Alert.show("HTML Drop");
              ]]>
         </mx:Script>
    </mx:WindowedApplication>

    The parent drop issue is because there can only be one drag acceptor and you don't get another dragEnter event when the mouse leaves the child (since technically, it never left the parent). This isn't as big an issue as it might seem, since generally you wouldn't have both a parent and a child that could take the drop. The ways to fix this are to use the dragOver event in addition to dragEnter or you could handle the dragExit event dispatched by the child and set the drag acceptor back to the parent.
    The HTML control issue is a bit trickier. HTML content has its own drag-and-drop system that operates a bit differently than the ActionScript version. I don't think there is a way to intercept the events before they are handled by the WebKit HTML engine. You can accept a drop in HTML/JavaScript code as described here: http://help.adobe.com/en_US/as3/dev/WS6717AA0A-2B7D-4728-86DC-7D60F919E6B4.html.

  • Problem saving Reader extended PDF created in Livecycle with Javascript functions built in

    Afternoon
    I have created an interactive PDF in Livecycle with built in Javascript functionality.  I need users to be able to complete and save the PDF so have saved it as a Reader extended PDF.  The problem I'm having is that when a user completes the form,saves it, and then opens it again the Javascript functionality is not showing despite showing the original selection that the user has made.  The Javascript is simply a dropdown menu that will show a different table based on the selection so isn't anything major.
    I've trawled forums and this is driving me mad so I'd appreciate some help.
    I am using Adobe Pro XI.
    Thanks in advance
    Ben

    At the moment I can't sorry.  I've run the Javascript debugger in Adobe Pro and it seems there are some errors
    Acrobat EScript Built-in Functions Version 11.0
    Acrobat SOAP 11.0
    ReferenceError: Table is not defined
    1:XFA:form1[0]:TextFieldContainer[0]:#subform[3]:#area[1]:Button1[0]:initialize
    ReferenceError: Table is not defined
    1:XFA:form1[0]:TextFieldContainer[0]:#area[2]:Button1[1]:initialize
    ReferenceError: Table is not defined
    1:XFA:form1[0]:TextFieldContainer[0]:#area[3]:Button1[2]:initialize
    ReferenceError: Table is not defined
    1:XFA:form1[0]:TextFieldContainer[0]:#area[4]:Button1[3]:initialize
    Basically the form has been built in Livecycle Designer and have drop down menus that show or hide tables depending on the selection but when I Reader Enable the form and users make a selection and then save the form it is not showing the table when it is opened again.
    I appreciate your help

  • Javascript and html menu to be used with ADF/JSF using JDeveloper

    I have a menu for a webpage that was originally built using html and javascript. I need to convert it to be used with JSF and ADF. In the html, the menu items used an unordered list inside of a div tag.
    It looks something like this:
    <!--<div id="shademenu" class="shadetabs">
    <ul>
    <li>Item1</li>
    <li>Item2</li>
    <li>Item3</li>
    <li>Item4</li>
    <li>Item5</li>
    <li>Item 6</li>
    </ul>
    </div> -->
    AND
    the submenu(s) have links that look something like:
    <!--<div id="dropmenu0" class="dropmenudiv">
    Data
    Data
    Data
    </div>-->
    It is unclear to me how to work with my javascript menu to get the same look and feel with JSF or ADF as I did with html. Any insights would be great. Thanks.
    Daniel
    Message was edited by:
    dannyc

    Hello,
    If you do not find any existing JSF component (in ADF Faces/Trinidad, or any other JSF library) you can for sure extend/create your own component with specific renderer that will be the HTML/Javscript that you want.
    So here some interesting pointers about the subject:
    - Buildin Custom JSF component (Chris Schalk)
    - Build Custom JSF Components) (Jonas Jacobi
    - Extending Default Render (and lot of other JavaEE blueprints)
    These links will give you a starting point.
    Regards
    Tugdual Grall

  • Problem Printing html page with JEditorPane...

    Hello All,
    I Have a problem in printin html file with JEditorPane...
    My Html file contains a Table on it..
    Problem is that JEditorPane displays the html file correctly but
    it prints the file without print that Table..
    So pls help me...
    Thanx in advance,..
    Amit
    [email protected]

    I think you would know how to retrieve content of an HTML page using the URL object. Just in case.
    My apology if this short note doesn't help you at all.

  • Html tables with javascript pop up windows

    I have two tables with different table-id in html, that are as follows -
    table-header - consists of dynamic week wise days + resources
    table-data in with same nnumbers of columns...
                          for Img - http://i.stack.imgur.com/Gwvoq.png
    The Assign Task is a Button in every cell of table-data , What I need is , whent I click any button, the Pop-up window ( Kendowindow which is I m using right now in Javascript preferably) should display respective Cell row's 1st cell i.e resource's name and Id and cell column's 1st cell i.e. Date string.
    Please suggest the solutions.... Help is kindly appreciated.
    P.S. -- Please don't suggest Kendo Grid or Scheduler, because I can't able produce this kind of format, If you can do pls share your code and procedure.

    This forum is about JavaScript in PDF files, not in HTML pages.

  • Having problems: can't open an html file with textedit to change code

    Hi. I have been trying to open up both my index.html and my Welcome.html files with textedit in order to change the HTML codes for them - but it doesn't seem to work. When I open them using text edit I still get a discomboblutaed form of the web page and no html codes. HOWEVER when I open them with Word I can get at the HTML code. Will changing the code in Word work or must I use textedit to do it? ULtimately does anyone know how to fix the fact that your web URL always gets redirected to the home page because of the index file. For Instance, my web site is www.zanzibarhotelbeach.com but when you type that in it redirects to the opening page www.zanzibarhotelbeach.com/Home.html which is a problem for when you want to submit your web site to be found on the net. Any help would be MUCH appreciated! Cheers!

    Give TextWrangler a try. It's a free editor by the makers of BBEdit and is very well suited for editing HTML.
    But as far as your URL in the window, unless you have URL forwarding with masking you will always get the page name at the end of the URL in the browser's window. That's just how it works. With masking you will only get www.zanzibarhotelbeach.com in every window of the site. BUT visitors will only be able to bookmark the first page of your site. My tutorial site, http://toadstutorials.info/ is set up that way.
    This thread discusses how the different domain name forwarding works:
    http://discussions.apple.com/thread.jspa?threadID=1164519&tstart=0
    OT

  • Jumpy scrowl control with mouse.Only with Firefox, not Internet explorer. Problem fixed when I updated to 6. 0.2 but problems returned after about a week.. 0.2

    Jumpy scroll wheel control with mouse. Only with Firefox, not Internet explorer.Even pushing the scroll wheel and trying to adjust for a smooth easy scroll the text stops and starts. Problem fixed itself when I updated to 6. 0.2 from an older version but the problem returned after about a week.. The problems go away when I go to web site and scroll but is back when I return to my home page (mozilla firefox)

    Good post, and glad to hear you had a solid transition. Mine went well too, though I think I beat the rush.
    It's worth noting that the vast and overwhelming majority of headaches people were experiencing were related to download and activation servers (as well as credit check servers for some mobile carriers) being crushed and overwhelmed.
    To give you an idea of just how crushed, here are some numbers. In the last year, something in the neighborhood of 8 million iPhones have been sold. That's just shy of 22,000 per day. So the typical traffic is around 22,000 times a day, someone is hitting the server for update/activation.
    This weekend, Apple sold 1 million iPhones. In other words, 333,333 phones per day. Holy crap!
    As if that wasn't enough, there are 8 million of us out there with the first generation iPhone. Not only do we need to download the new firmware, but we have to install it. The installation process requires hitting the activation server again, to validate the phone. Mind you, not everybody upgraded this weekend, but a few million did. For the sake of argument, we'll assume that's 1 million a day. So, instead of the normall traffic of 22K phones a day, those activation servers got SLAMMED with 1.33 million activations per day.
    It ***** that some people had delays and hiccups and a hard time and everything, but completely understandable. With luck things will run more smoothly from here on out.
    Trilo

  • Problem with Adobe Reader 9 and HTML Help, IE 7 and Firefox

    Hello everyone
    I have some Problems with the Adobe Reader 9.1.0 and different browsers.
    If I want to open a PDF document in one of these browser the browser-window freezes for 30 seconds and the document is built-on line by line.
    The Trouble is that if the document is comlete loaded an i want to scroll down, the windows freezes again and the document starts again with built-on...
    I have tried to open the documents with Reader 8.1.3 and this works fine, but i need to open the documents with Reader 9.1.0 because this is a customer preference to open the document with the newer version!
    Sorry for my english but i hope my problem is understandable :-)
    Does anyone know how to solve this problem?
    kind regards
    Marcel

    1. It happens with any file i want to open in browser.
    2. The Problem is specific to browser. When I open a document in the Reader application everithing works fine.
    kind regards
    Marcel

  • Javascript from Java - calling html control functions

    i have called the attributes of an html control from java using this method
    private JSObject iframeObject;
    iframeObject=(JSObject)win.eval("parent.document.getElementById('"+popupIFrame+"')");
    iframeObject.setMember("src", "../Applet/Popup.html");but how can i call the functions of a control
    for example the focus() function of a textbox or someother controls???

    its ok i got it.
    win.eval() can do it

  • AIR HTML/JavaScript becomes Slower / Sleep with time

    Hi,
    This strange behavior is observed on the 2 applications I tryed.
    I've developped WikiDrop (http://wikidrop.encausse.net) a really basic TextEditor for DropBox.
    - Build with Air 2.6
    - Use HTML/JS API
    - Used on Windows Vista
    The application is launch for a long time waiting on a given computer.
    Strange Behaviors:
    - After couple of hours, displaying the main window seems to "wake up" webkit like if it was sleeping. It hang a little bit, or si slow.
    - When editig few lines of text the TextArea seems to be "slow" it's not fluid like it could be on Chrome.
    => I do not setup complexe event handler.
    => I do not have listener or keystroke on TextArea.
    Question:
    - Is there known memory leaks with HTML/JS API ?
    - Is there a Sleep/WakeUp mechanism on Adobe AIR ?
    - Is there setup/parameters to improve performances ?
    - Is there known issues about TextArea ? And workaround ?
    - May be conflicting application ? (I know Vista is bad)
    I've seens on this forum question about edition on large text file or many images but my use is really basic: only few lines of text. I got the same kind of issues with a little chat application. Text type in textarea for chat was sooo slow.
    Best Regards,
    Jp

    Hi,
    Thank you for reporting this. The internal bug number for the issue is #2740755. The issue is currently under review and will be investigated by one of AIR team members.
    Regards,
    Catalin

Maybe you are looking for