Issue with Java script associated with WAD template

Hi Experts,
I made some changes in the Java Script in Tcode SE80. I actually downloaded it, made changes, saved it and then clicked on Upload and replace in SE80. When I opened the Web cockpit, the changes were relecting as anticipated.
But the changes are still showing up even after reverting the changes in java scripts and uploading it again.Please let me know what needs to be done to revert the changes such that it will  ot show up in the Web Cockpit.
I think the "Upload and replace option" worked only once in my case. Kindly suggest. Thanks
Regards,
Kavitha Jagannath

I would like to know how to do this process.  I would like my students to complete the module and then enter there name in the certificate line.  Then have them enter their email address so that the certificate can be emailed to them and they can print it off.  I would like to have the certificate be a PDF file so they cannot alter the name of the person who took the course.

Similar Messages

  • Problem with Java Script after upgrade from BW 3.5 to BI7

    Dear Colleagues,
    We're facing the issue with Java Script after upgrade of BW 3.5 to BI7.
    Just after update we checked the basic functionality and it occured that some of web templates that use Java Script don't work. They generate seelction screen, but after selection the screen becomes blank without any error messages.
    We're currently stucked since web templates weren't converted to BI7 version so they should work exactly as before the upgrade.
    We compared the Java code with other environment that was not upgraded - it's perfectly the same.
    The only explanation that comes to my mind is that some Java Script settings on the server level were changed during the upgrade but I have no idea where I can check that.
    Thanks in advance for any suggestions,
    Andrzej Bobula

    Hi Deepu,
    Thanks, it was great to read your reply and then few minutes later talk to you live on SDN Day!
    Unfortunately, http cache clean-up did not help. But there is another funny thing I found - for exactly the same 3.5 webtemplate html code returned from WebAS 3.5 was different then from 7.0.
    Unfortunately, this editor does not allow to paste complete code, even in CODE brackets, but here are main differences:
    <b>3.5</b>
       if (navigator.appName == "Microsoft Internet Explorer")
    <frame src="/sap/bw/BEx?SAP-LANGUAGE=E&PAGENO=1&REQUEST_NO=1&CMD=GET_TEMPLATE"
    name="Content">
    and
    <b>7.0</b>
       if (navigator.appName.indexOf("Microsoft Internet Explorer")!=-1)
    <frame src="/sap/bw/BEx?SAP-LANGUAGE=E&PAGENO=8&REQUEST_NO=0&CMD=GET_TEMPLATE"
    name="Content" 0nLoad="javascript:loadTitle()">
    (I intentionaly put 0 i/o o in 0nLoad, otherwise Forum's editor does not accept the text.
    How about SAP's claim that technical upgrade from 3.x to 7.0 changes nothing?
    Regards,
    Vitaliy

  • Sreaming at the top of my lungs for HELP with Java Script problem!

    Hello,
    I have this strange problem that no one seems to know why or how to fix it.Whenever I encounter a web site that has java scripting for anything pop ups or redirects to url's anything that says java script when I mouse over the link my browsers do nothing.That is for explorer 6.0 beta netscape 4.7 and netscape version 6.I have tried in another forum some suggestions but nothing changed even though I am told nothing is wrong with the java scripting.I used to be able to click java script's with all of these browsers but no longer.That was a few months ago.Now to try something new I tried to see if a new browser would work.I now have the latest version of Opera.It did work but using Opera on some sites limits what I can do so it doesn't solve my problem.Then I tried the Sun JavaHot browser it also worked but limits what I can do on some site's.I have Windows 98 & updated most of my dll's etc & my java is version 2 1.3.1.My java script is enabled in Explorer & netscape's & the security is at a minimum level.Please help me figure out why these other browsers work but the other's do not.I want to edit a web site of mine but I can't because of this problem.I am very frustrated by this and need as detailed help as I can get.Anything of a suggestion would be very much appreciated.But I am also not an expert on the working's of a computer so bear with me.
    Brian

    Hi,
    Well I am thinking that if anyone could know something about Java script it would be java developers.But anyways I had the previous version of explorer 5.0 & the java didn't work in it either.Now how weird is this,I opened netscape 4.7 today & the java scripts are suddenly working.This has me scratching my head wondering if my computer is possesed by some force beyond my capability to know...????Weird as it seems though the explorer still will not respond to a java script.
    Brian

  • Web site with Java Scripts ( on iphone4)

    try to open a web site with Java scripts , but it just show empty on the scripts section , anyone can help ? (on iphone 4 with iOS 4.1)

    Hi, welcome to Apple Discussions.
    Web pages that make use of Javascript should work just fine. Those that have embedded Java applications won't. Java & Javascript are two different animals despite the similarity in the names. Like Flash, Java is not supported on iOS.
    tt2

  • Problems with Java Scripting API

    Hello Everyone!
    Guys, I need help with Java scripting API. A problem is that I cannot understand how can I operate Java Object's fields and methods from the script language. I have chosen embedded javascript to work with. And I can get the fields and methods of in-box java classes (such as ArrayList for example), but I cannot work with methods and fields from my own classes!
    Here is an example:
    public class ScriptingExample {  
        class MyClass {  
            int myfield = 5;  
            int getInt() {return 7;}  
        public void runExample() {  
            ScriptEngineManager mgr = new ScriptEngineManager();  
            List<ScriptEngineFactory> factories = mgr.getEngineFactories();  
            ScriptEngineManager factory = new ScriptEngineManager();  
            ScriptEngine engine = factory.getEngineByName("JavaScript");  
            MyClass mc = new MyClass();  
            try{  
                engine.put("mc", mc);  
                engine.eval("print(mc.myfield); print(mc.getInt())"); // or engine.eval("print(mc.myfield)");
            } catch (Exception e) {e.printStackTrace();}  
    }  If I run the code with the commented part it prints "undefined" instead of "5".
    If I run the code as it is it prints error instead of "7":
    undefinedjavax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: TypeError: Cannot find function getInt. (<Unknown source>#1) in <Unknown source> at line number 1
    at com.sun.script.javascript.RhinoScriptEngine.eval(Unknown Source)
    at com.sun.script.javascript.RhinoScriptEngine.eval(Unknown Source)
    at javax.script.AbstractScriptEngine.eval(Unknown Source)
    at solutiondatabase.ScriptingExample.runExample(ScriptingExample.java:26)
    at solutiondatabase.Main.main(Main.java:49)
    How can I fix it?

    Guys,
    please let me raise this topic because several new questions emerged.
    (1) How can I get all the variables created inside my engine?
    There are two kinds of variables: first kind is Java obejcts put inside the engine and second kind is the variables created in my script, such as 'var a = 4;'. How can I list all the variables of that two kinds?
    (2) Is there is a way to make 'import static' to the engine? I dont want to write MyClass.MyEnum.MyEnumItem every time. Also, I cannot put the whole enum into the engine with engine.put("MyEnum", MyEnum); I can put only enum items separately: engine.put("MyEnum", MyEnum.EnumItemA);. Thats why I ask about static import.
    (3) How can I cast engine variables back to java variables inside my java code?
    Here is my example:
    package mypackage;
    import java.util.ArrayList;
    import java.util.List;
    import javax.script.ScriptEngine;
    import javax.script.ScriptEngineFactory;
    import javax.script.ScriptEngineManager;
    public class Main
         public static void main(String[] args) throws Exception 
              ScriptEngineManager mgr = new ScriptEngineManager();
              List<ScriptEngineFactory> factories = mgr.getEngineFactories();
              ScriptEngineManager factory = new ScriptEngineManager();
              ScriptEngine engine = factory.getEngineByName("JavaScript");
              ArrayList<Double> myList = new ArrayList<Double>();
              myList.add(5.0);                    
              engine.put("MyList", myList);     
              engine.eval("MyVar = MyList.get(0);");
              System.out.println((Double)engine.get("MyVar"));
    }The result is:
    Exception in thread "main" java.lang.ClassCastException: sun.org.mozilla.javascript.internal.NativeJavaObject cannot be cast to java.lang.Double
    +     at mypackage.Main.main(Main.java:28)+
    Is it possible to retrieve my Double java object from the engine?
    Edited by: Dmitry_MSK on Aug 6, 2010 1:56 AM

  • I want to read and assign value of ADF Table rows  with Java Script

    Hi,
    I want to read and assign value of ADF Table rows with Java Script, but I cant true index of current row , so I assign wrong value to anathor column of ADF Table.
    My Code;
    ADF Table items
    <af:column sortProperty="Adet" sortable="false"
    headerText="#{bindings.RezervasyonWithParams1voHarcamaOdeme1.labels.Adet}"
    binding="#{backing_ucret.column2}" id="column2">
    <af:inputText value="#{row.Adet}"
    required="#{bindings.RezervasyonWithParams1voHarcamaOdeme1.attrDefs.Adet.mandatory}"
    columns="10"
    binding="#{backing_ucret.inputText2}"
    id="inputText2" onchange="getTutar('#{bindings.voHarcamaOdeme1Iterator.rangeStart + bindings.voHarcamaOdeme1Iterator.currentRowIndexInRange + 1}','#{bindings.voHarcamaOdeme1Iterator.estimatedRowCount}','#{row.index}')">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.RezervasyonWithParams1voHarcamaOdeme1.formats.Adet}"/>
    </af:inputText>
    </af:column>
    MY JAVA SCRIPT CODE
    <f:verbatim>
    <script language="javascript" type="text/javascript">
    function getTutar(rowkey,totalrow,currentRow){
    alert('rowkey--totalRow--currentRow-->'+rowkey+'--'+totalrow+'--'+currentRow);
    if (currentRow==0) {
    rowkey=totalrow-1;
    }else{
    var rw=totalrow-currentRow-1;
    rowkey=rw;
    alert(document.getElementById('form1:table1:'+rowkey+':inputText8').value);
    alert(document.getElementById('form1:table1:'+currentRow+':inputText8').value);
    var birim_ucret=document.getElementById('form1:table1:'+rowkey+':inputText8').value;
    var adet=document.getElementById('form1:table1:'+rowkey+':inputText2').value;
    document.getElementById('form1:table1:'+rowkey+':inputText3').value=birim_ucret*adet;
    document.getElementById('form1:inputText6').value=0;
    var t;
    var toplam=0;
    alert('before Sum');
    for (var i=0;i!=totalrow-1;i++){
    t = document.getElementById('form1:table1:'+i+':inputText3');
    toplam+=t.value*1;
    document.getElementById('form1:inputText6').value=toplam;
    </script>
    </f:verbatim>

    You can achieve the use case you describe with partial page rendering (PPR), a feature of the ADF Faces framework. Here are a few posts that achieve an interactive behavior using PPR. Off the top of my head I do not know of an exact example, but this should be a good starting point:
    http://thepeninsulasedge.com/blog/2006/09/12/adf-faces-aftableselectmany/
    http://thepeninsulasedge.com/blog/2006/08/31/adf-faces-working-with-aftableselectone-and-the-dialog-framework/
    --RiC                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Coding to send mail but body with java script

    Hi,
    here my requirement is send mail in action but body with java script just tell me how i include java script in coding of mail sending.
    regards,
    ss

    self

  • URL Branch with java script  target fails, but works as button press

    I have a java script that displays a "report is loading" message when the page's submit button is pressed via the optional URL redirect attribute of the button.
    Unfortunately, I had to remove the optional URL Redirect so that I could perform some computations and processes as a result of the button press.
    I tried to put the script link in a branch attached to the button, but it failed with the following error.
    ERR-1777: Page 11 provided no page to branch to. Please report this error to your application administrator.
    Restart Application
    After the branch to the java script, there is an unconditional branch to page 11.
    Any one encounter this issue before and, if so, is there a work around?

    Hi
    Can you not use a URL redirect on the button to call your Javascript function - the Javascript will display the message you want to display, then call
    doSubmit('request_name');
    ...to submit your page, picking up all your processes/computations etc
    You then need to define a branch on your page which is conditional on the value of REQUEST - in this case request would be 'request_name'.
    regards
    Andrew
    UK

  • Help needed :- Regarding multi prompts usage in FF3.0* with java script

    Hey i used the java script given in link :- http://sranka.wordpress.com/2008/11/09/how-to-replace-multi-go-button-prompt-by-one/#comment-96
    to hide multi-go-button in prompts and it works for IE 7 and firefox 2.0* with 10.3.4.1.
    Now since 10.1.3.4.1 is certified with firefox 3.0* ,when i use this same script in firefox 3.0* for my prompts it doesn’t work .
    Any idea why ? Please help me with this,as i want to use this hide go button feature in firefox 3.0* too.
    Are these scripts browser to browser incompatible ? If yes from where can i get the script for firefox 3.0* ?
    Awaiting for the inputs.
    Thanks,
    Nisha

    Quadruple-posting your issue won't get it resolved quicker. Please stop that. If you feel your thread needs to be on top, bump it by adding a "Any input?" post to it or something. Ome would assume that forums are around long enough for this trick to be known.

  • SAVE AS BUTTON WITH JAVA SCRIPT FOR MOUSE UP EVENT

    Please any one help with complete code for "SAVE AS" button to auto save the acrobat form in a user specified path
    with unique name or incremental name.Please post only full script for MOUSE UP event.

    Thanks George but i need an example.my actual need is
    i have created a SAVE INVOICE button.i have set the action"Mouse up" to run a Java script.
    Now i need a scriprt for the same.
    If i press that SAVE INVOICE button.the fie should save on "C:\Users\MUNNA\Desktop" automatically
    with unique name and the name should not remain same for next Save.because it overwrites the previous
    file so please post an example pdf with same.

  • Problems with Java Script in Browsers...

    My problem is that almost no webpage with any kind of javascript is running any more i always get errors like this:
    Event thread: onmouseup
    Error:
    name: ReferenceError
    message: Statement on line 205: Reference to undefined variable: No such variable 'dd'
    Backtrace:
    Line 205 of linked script >Webpage with *.js<
    var d = dd.selectedIndex + 1;
    Line 459 of linked script >Webpage with *.js<
    var departDate = getDepartDate();
    In unknown script
    submitForm();
    At unknown location
    {event handler trampoline}
    I have reinstalled java several times always the same problem i tried IE6 and Opera but it seems Java is causing the problems
    Please help !!!!

    Either you don't understand the difference between java and javascript
    http://www.dannyg.com/ref/javavsjavascript.html
    or we don't understand how you are using java. All those errors look like javascript errors.

  • Is there any color picker component , i tried java script ones with no luck

    Hi
    Thank you for reading my post.
    I tried to use a java script color picker inside my JSC portlet , but it does not works.
    i tried many things , but at least i did not find any solution for it.
    here is color picker that i tried to use :
    http://www.flooble.com/scripts/colorpicker.php?op=get
    http://www.flooble.com/scripts/colorpicker.php
    and also i tried to use this one with no luck . i tried both of them in html files and they works
    http://www.mattkruse.com/javascript/colorpicker/
    can some one with more knowledge about javascript and JSC help me ?

    any comment or advice on this problem ?

  • Drag and Drop Image to PDF with Java Script

    Hi,
    I have to create some PDF reports and contained within these reports there are numerous images, some as many as 30-40. This is really time consuming. Can anyone please advise if there is some java script available so I may Drag & Drop an image onto a button or directly onto the PDF report.
    I have attached an example video of the current process and as you will see the process is very long to say the least. Any assistance would be appreciated.
    Kind Regards
    Terry Lewis

    Hi Gilad,
    Apologies for that I edited the wrong video in my Youtube account.
    You mentioned that its not possible with JS.
    Are you aware of any other options?
    Kind regards
    Terry
    P.S. I have amended the video situation.

  • Web Reporting: Manipulate Description of query rows with JAVA Script

    Hello experts,
    On our webtemplates we have several mandatory fields. Which fields are mandatory depend on several criteria (e.g. webtemplate and choosen filter values)
    We want to mark all row labels of the queries with '*' if it is a mandatory field. The rows of our queries are implemented as a structure.
    Is it possible to include a Java Script in the webtemplate which calls a function module in backend to get the information which row is mandatory? Depending on this information the Java Script should change the row label of the query (add '').*
    If this is possible how can we call the JavaScript?
    How can we access the query cells (row description) with the Java Script?
    Thanks in advance
    Johannes

    Hi Johannes,
    This is possible. Whether or not you should do it is another question. Anyway, let me try to answer your technical question without understanding the functional context of it. Here are parts of the solution:
    1) A Custom Web Item to perform the analysis of checking which field is mandatory or not. The web item can output this information in a hidden DIV tag.
    2) A JavaScript function to read the DIV tag that was generated in #1 and perform the necessary changes.
    Tips:
    You can use a library called jQuery to easily navigate the HTML DOM and make your changes at runtime.

  • Could not create Java class: associated with region:

    Hi All,
    I am extending the standard controller oracle.apps.pos.supplier.webui.SuppSummCO
    With a custom controller xxmycomp.oracle.apps.pos.supplier.webui.XXSuppSummCO
    I have built the project in my local JDEV,
    Compiled the custom controller and put it under $JAVA_TOP
    I have verified the same by ls -l $JAVA_TOP/xxmycomp/oracle/apps/pos/supplier/webui/XXSuppSummCO.class
    I have given full permission to xxmycomp folder under $JAVA_TOP (chmod -R 777 xxmycomp)
    I have done the OC4J core bounce
    After setting the custom controller at site level by personalizing the Region,
    When I am returning to the application I am getting the following error
    oracle.apps.fnd.framework.OAException: Could not create Java class: (xxmycomp.oracle.apps.pos.supplier.webui.XXSuppSummCO) associated with region: (PageLayoutRN). This is probably because the class name is wrong or not included in project.
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1247)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2559)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1894)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at RF.jspService(_RF.java:225)
    The custom controller is for testing only and has only the following code
    public void processRequest(OAPageContext oapagecontext,
    OAWebBean oawebbean)
    super.processRequest(oapagecontext, oawebbean);
    public void processFormRequest(OAPageContext oapagecontext,
    OAWebBean oawebbean)
    super.processFormRequest(oapagecontext, oawebbean);
    I have created the directory xxmycomp under $JAVA_TOP
    I have read only access to other directories under $JAVA_TOP apart from xxmycomp.
    Can anybody help me resolve this error?
    I am doing the same steps in another instance where it is working fine.
    Regards,
    Gourab

    Hi Gourab,
    Double check the the page.xml has referring to the correct CO. Open the page.xml and see which controller is attached to it.
    Also attach the extended controller through personalization to the page/Region.
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • Itunes 8.0.1 won't install to the correct destination folder

    After installing Itunes to the hard drive (I've tried this on both my laptop's hard drive as well as an external hard drive), the destination folder points to the CD Rom drive and won't let you change it. Help?! I've tried installing three different

  • WordPress 3.8 Flash or YouTube Object Code?

    I've been starting my own blog using WP 3.8. I'm not sure it natively supports flash so I've been using the YouTube code provided. However, I'm wondering if there is some way to take my MP4 movie file created with Camtasia Studio and save it to flash

  • Query like Calendar

    Hi, Expert Can i used only select statement to find query .... ( If sysdate is '03-Jul-07' ) like calendar ... Date_No Date_Name 01 SUN 02 MON 03 TUE 14 SAT 15 SUN 16 MON 30 MON 31 TUE Select ... from dual; Best Regard First_Step

  • Unable to see updates through Update Connection, Update Manager is working

    When I bring up Update connection, I see my system has checked in, but I am unable to select (check the box) in the Systems tab. No count of available updates is showing. I have deleted and re-entered, reregistered the system several times and no cha

  • Accessing remote table from another R/3 system

    Hi, We are running our production on ECC 5.0 but we ABAP web dynpro environment on ECC7.0 portal box. We want use ABAP web dynpro for publishing some application through portal. I have read many document regarding accessing remote systems through RFC