CALL METHOD ABAP run SQL wrong

Dear All
         I have a problem in ABAP connect SQL,Below is my code snippet sentence.
CONCATENATE 'Insert Into [timportcortrol]'
                '(zucode,zstate,zdate,zkind) Values('''
                  VG_PCID ''','''
                  '1'','''
                  SY-DATUM ''','''
                  '1' ''')'
                 INTO SQL.
    CALL METHOD OF REC 'Execute'
     EXPORTING #1 = SQL
     #2 = CON
     #3 = '1'.
IF NOT SY-SUBRC = 0.
    MESSAGE I000 WITH 'Download  to [timportcortrol] failure,Please Check the SQL Connect!!! '.
    EXIT.
  ENDIF.
Con:is the connect SQL String ,the connect SQL is Okay.
I debug this code,when I used u2018Select u2026sentenceu2019,the program can work.if I  use u2018insert intou2019 then canu2019t work,but I copied the SQL of the u2018inset Into sentenceu2026u2019run it into SQL server then it can work also.
And I found the SY-SUBRC eq u20182u2019.whatu2019s mean about of the sy-subrc eq u20182u2019.
I think the insert into sentence in abap I have write the wrong ,but I canu2019t assurance.
The Insert Into Sentence is:u2019 Insert Into [timportcortrol](zucode,zstate,zdate,zkind) Values('20080807094713','1','20080807','1')u2019
Could you give me some advice for this issue?
Thanks of all
Sun.

Have you checked whether it's a problem with mixed case?  Some SQL dialects are case sensitive.
The not very helpful meanings of the sy-subrc value can be found in ABAP help.
0 Successful processing of the method meth.
1 Communication Error to SAP GUI.
2 Error when calling method meth.
3 Error when setting a property.
4 Error when reading a property
matt

Similar Messages

  • Please help How to clear session after calling method..is anything wrong

    I am facing issue while adding and removing text fields, looks like somehow textfields values are stored in session.
    Please help, is there anything wrong in the code...
    Example Detail :
    a) I am genereating textfields dynamicaaly using ui:repeat
    If I add 3 textfields say with Values "AAAA", "BBBB" and "CCCC" in a row.
    b) When I click on remove link against "BBBB" row, on the UI it removes "CCCC" BUT I checked the backend methods which handles this, it looks like it is removing correct "BBBB" in ProjectHome.removeTreatmentLink().
    c) Even if "CCCC" is removed, assuming 2 rows with "AAAA", "BBBB" are left on clicking "Add treatment link" it adds a row but displays value as "CCCC"
    There is no database interaction at this point.
    Log on clicking "ProjectHome.removeTreatmentLink()" link:
    +[STDOUT] ProjectHome.removeTreatmentLink(), compare reagent hashcode : reagentEnitty[0]16784247, HASCODE FROM FORM UI=16784247+
    +[STDOUT] ProjectHome.removeTreatmentLink(), Size of T=3+
    +[STDOUT] ProjectHome.removeTreatmentLink(), FINAL Comp name left = AAAA+
    +[STDOUT] ProjectHome.removeTreatmentLink(), compare treatment hashcode 2 : TreatmentEntity[1]5700104, HASCODE FROM FORM UI=5700104+
    +[STDOUT] ProjectHome.removeTreatmentLink(), TreatMent.CompName TO REMOVE =BBBB+
    +[STDOUT] ProjectHome.removeTreatmentLink(), FINAL Comp name left = CCCC+
    +[STDOUT] ProjectHome.removeTreatmentLink(), outside for, reagent.getTreatment() = [com.entity.Treatment@b4818[+
    treatmentCompoundName=AAAA
    +.......+
    +], com.entity.Treatment@56fa08[+
    treatmentCompoundName=BBBB
    +.....+
    +], com.entity.Treatment@127d1b4[+
    treatmentCompoundName=CCCC
    +......+
    +]]+
    XHTML:------
    <ui:repeat value="#{projectHome.reagent.treatment}" var="itreat">
    <h:inputText value="#{itreat.treatmentCompoundName}"/>
    </ui:repeat>
    <h:commandLink action="#{projectHome.removeTreatmentLink}"
      value="Remove"
      onclick="if (!confirm('Are you sure you want to remove this treatment?')) return false;">
    <f:param name="re_hashcode" value="#{info.hashCode()}"/>
    <f:param name="tr_hashcode" value="#{itreat.hashCode()}"/>
    </h:commandLink>
    ProjectHome.java----------------
    @Name("projectHome")
    public class ProjectHome extends EntityHome<Project> {
    public String removeTreatmentLink(){
      javax.faces.context.FacesContext facesContext = (new org.jboss.seam.faces.FacesContext()).getContext();
      javax.servlet.http.HttpServletRequest hsr=(javax.servlet.http.HttpServletRequest)facesContext.getCurrentInstance().getExternalContext().getRequest();
      String reagentHashcode=hsr.getParameter("re_hashcode");
      String treatmentHashcode=hsr.getParameter("tr_hashcode");
      for(int i=0;i<reagent.length;i++){
          System.out.println("ProjectHome.removeTreatmentLink(), compare reagent hashcode : reagentEnitty["+i+"]"+reagent.hashCode()+", HASCODE FROM FORM UI="+reagentHashcode);
    if(reagent[i].hashCode()==Integer.parseInt(reagentHashcode)){
    int sz=reagent[i].getTreatment().size();
    Treatment t[] = new Treatment[reagent[i].getTreatment().size()];
    for(int k=0;k<t.length;k++){
    t[k]=reagent[i].getTreatment().get(k);
    System.out.println("ProjectHome.removeTreatmentLink(), Size of T="+t.length);
    Treatment t1[] = new Treatment[t.length-1];
    ArrayList<Treatment> al= new ArrayList<Treatment>();
    for(int j=0;j<t.length;j++){
    if(t[j].hashCode()==Integer.parseInt(treatmentHashcode)){
    System.out.println("ProjectHome.removeTreatmentLink(), compare treatment hashcode 2 : TreatmentEntity["+j+"]"+t[j].hashCode()+", HASCODE FROM FORM UI="+treatmentHashcode);
    System.out.println("ProjectHome.removeTreatmentLink(), TreatMent.CompName TO REMOVE ="+t[j].getTreatmentCompoundName());
    }else{
    System.out.println("ProjectHome.removeTreatmentLink(), FINAL Comp name left = "+t[j].getTreatmentCompoundName());
    al.add(t[j]);
    System.out.println("ProjectHome.removeTreatmentLink(), outside for, reagent[i].getTreatment() = "+reagent[i].getTreatment());
    reagent[i].getTreatment().clear();
    reagent[i].setTreatment(al);
    break;
    return "";

    In the future, you should be posting JSF related questions at the JSF forum.
    I see in your message history that you already posted one there some days ago. Since I saw it again, yes I recall your topic and I also recall that I initially ignored it because you marked it as urgent. [That was not so smart|http://www.catb.org/~esr/faqs/smart-questions.html].
    val_123 wrote:
    Please help, is there anything wrong in the code... According to your problem: you need to preserve exactly the same datamodel during the apply request values phase of the form submit request as it was during the render response phase of the initial display request. This is also told several times in all of those countless "commandlink dont work in datatable" topics in the JSF forum. The same story goes on other UIData components like ui:repeat as well.
    Edited by: BalusC on 1-dec-2008 14:47

  • ABAP connect SQL run SQL insert into Error

    Dear All
             I have a problem in ABAP connect SQL,Below is my code snippet sentence.
    CONCATENATE 'Insert Into [timportcortrol]'
                    '(zucode,zstate,zdate,zkind) Values('''
                      VG_PCID ''','''
                      '1'','''
                      SY-DATUM ''','''
                      '1' ''')'
                     INTO SQL.
        CALL METHOD OF REC 'Execute'
         EXPORTING #1 = SQL
         #2 = CON
         #3 = '1'.
    IF NOT SY-SUBRC = 0.
        MESSAGE I000 WITH 'Download  to [timportcortrol] failure,Please Check the SQL Connect!!! '.
        EXIT.
      ENDIF.
    "Con:is the connect SQL String ,the connect SQL is Okay.
    I debug this code,when I used u2018Select u2026sentenceu2019,the program can work.if I  use u2018insert intou2019 then canu2019t work,but I copied the SQL of the u2018inset Into sentenceu2026u2019run it into SQL server then it can work also.
    And I found the SY-SUBRC eq u20182u2019.whatu2019s mean about of the sy-subrc eq u20182u2019.
    I think the insert into sentence in abap I have write the wrong ,but I canu2019t assurance.
    The Insert Into Sentence is:u2019 Insert Into [timportcortrol](zucode,zstate,zdate,zkind) Values('20080807094713','1','20080807','1')u2019
    Could you give me some advice for this issue?
    Thanks of all
    Sun.

    Hi
    I think the problem is with the date format "20080807094713". You should know first how the date is stored in the underlying database. In that format we have to pass the date in the SQL DML statements.
    Try "07-Aug-2008' for example and check.
    Hope it helps.
    Murthy

  • Is it possible to call method in AM from PL/SQL?

    Hi All,
    I have a really strange requirement i.e. I want to know if I can call a method in an existing AM which is in OAF from the apps database.
    Basically the method is called and runs fine from the controller but we also want to run some batch process and want to know
    if we can somehow call the same AM method from PL/SQL passing the parameters which we pass throgh the controller....?
    If this cannot be done, can anyone give me some alternatives.....any help would be really appreciated.
    Thanks

    Hi
    Not able to understand correctly what you are trying to achieve.But if you want to call a method of AM.What you can do is register a Java Concurrent Program in Apps & then call that concurrent program from front end or through FND_REQUEST.SUBMIT_REQUEST...From front end you can even schedule that program too..
    Hope it helps!!
    Thanks
    AJ

  • Call java method from pl/sql

    Hello,
    i have library written in java and i need call one method from this lib in pl/sql. it's returning string. Is it possible? If, yes can you direct me to some docs about this topic? We have oracle version 8 and 10.
    Thanks a lot.

    i think java support was added to oracle from 8i. is you package is in the form of jar file or java code.?
    you can you jdeveloper the best one i found for writing java and sqlj stored procedures
    you can use loadjava here is a cut and paste from a example i have on my system
    REM Server-side translation, execution of SQLJ program
    REM
    REM Environment setup:
    REM - have sqlj and javac in your PATH
    REM - SQLJ libaries in your CLASSPATH
    REM
    REM In the directory having the SQLJ demo for the server,
    REM execute the following commands
    REM Drop any previously-loaded demo classes
    sqlplus scott/tiger @Dropl
    REM Load the SQLJ source directly
    call loadjava -oci8 -resolve -force -user scott/tiger ServerDemo.sqlj
    REM Publish SQL wrapper and run the demo on the server using SQL*Plus
    sqlplus scott/tiger @Run.sql
    REM In sqlplus, it should print
    REM Hello! I'm SQLJ in server!
    REM Today is <date>

  • How to call methods from within run()

    Seems like this must be a common question, but I cannot for the life of me, find the appropriate topic. So apologies ahead of time if this is a repeat.
    I have code like the following:
    public class MainClass implements Runnable {
    public static void main(String args[]) {
    Thread t = new Thread(new MainClass());
    t.start();
    public void run() {
    if (condition)
    doSomethingIntensive();
    else
    doSomethingElseIntensive();
    System.out.println("I want this to print ONLY AFTER the method call finishes, but I'm printed before either 'Intensive' method call completes.");
    private void doSomethingIntensive() {
    System.out.println("I'm never printed because run() ends before execution gets here.");
    return;
    private void doSomethingElseIntensive() {
    System.out.println("I'm never printed because run() ends before execution gets here.");
    return;
    }Question: how do you call methods from within run() and still have it be sequential execution? It seems that a method call within run() creates a new thread just for the method. BUT, this isn't true, because the Thread.currentThread().getName() names are the same instead run() and the "intensive" methods. So, it's not like I can pause one until the method completes because they're the same thread! (I've tried this.)
    So, moral of the story, is there no breaking down a thread's execution into methods? Does all your thread code have to be within the run() method, even if it's 1000 lines? Seems like this wouldn't be the case, but can't get it to work otherwise.
    Thanks all!!!

    I (think I) understand the basics.. what I'm confused
    about is whether the methods are synced on the class
    type or a class instance?The short answer is; the instance for non-static methods, and the class for static methods, although it would be more accurate to say against the instance of the Class for static methods.
    The locking associated with the "sychronized" keyword is all based around an entity called a "monitor". Whenever a thread wants to enter a synchronized method or block, if it doesn't already "own" the monitor, it will try to take it. If the monitor is owned by another thread, then the current thread will block until the other thread releases the monitor. Once the synchronized block is complete, the monitor is released by the thread that owns it.
    So your question boils down to; where does this monitor come from? Every instance of every Object has a monitor associated with it, and any synchronized method or synchonized block is going to take the monitor associated with the instance. The following:
      synchronized void myMethod() {...is equivalent to:
      void myMethod() {
        synchronized(this) {
      ...Keep in mind, though, that every Class has an instance too. You can call "this.getClass()" to get that instance, or you can get the instance for a specific class, say String, with "String.class". Whenever you declare a static method as synchronized, or put a synchronized block inside a static method, the monitor taken will be the one associated with the instance of the class in which the method was declared. In other words this:
      public class Foo {
        synchronized static void myMethod() {...is equivalent to:
      public class Foo{
        static void myMethod() {
          synchronized(Foo.class) {...The problem here is that the instance of the Foo class is being locked. If we declare a subclass of Foo, and then declare a synchronized static method in the subclass, it will lock on the subclass and not on Foo. This is OK, but you have to be aware of it. If you try to declare a static resource of some sort inside Foo, it's best to make it private instead of protected, because subclasses can't really lock on the parent class (well, at least, not without doing something ugly like "synchronized(Foo.class)", which isn't terribly maintainable).
    Doing something like "synchronized(this.getClass())" is a really bad idea. Each subclass is going to take a different monitor, so you can have as many threads in your synchronized block as you have subclasses, and I can't think of a time I'd want that.
    There's also another, equivalent aproach you can take, if this makes more sense to you:
      static final Object lock = new Object();
      void myMethod() {
        synchronized(lock) {
          // Stuff in here is synchronized against the lock's monitor
      }This will take the monitor of the instance referenced by "lock". Since lock is a static variable, only one thread at a time will be able to get into myMethod(), even if the threads are calling into different instances.

  • Calling a abap method in a javascript

    Hi all,
    I've been browsing a bit through this forum, but there has no answer been completely covering my problem...
    I would like to call an abap method in the javascript in order to check some values...
    This is what I have done:
    <script language="JavaScript" defer="defer">
        function do_checks(htmlbevent)
            try
                  var doubles = "<%= controller->check_doubles( )%>";
                  if(doubles == true){
                      var Check = confirm("Test??");
                      if(Check == false){
                        htmlbevent.cancelSubmit = true;
            catch(e)
      </script>
    The method has the following code:
    mehod check_doubles. " returning parameter = rv_double of type flag
      rv_double = abap_true.
    endmethod.
    the button is defined like this...
    <htmlb:button
                              id      = "Save"
                              onClick = "save"
                              onClientClick = "do_checks(htmlbevent);"
                              text    = "<%= otr(crm_ic_appl/Save) %>"
                              />
    The funny thing is, that the controller->check_doubles( ). is already processed at load of the page (although there is no on_load used somewhere...
    If I leave out the " if(doubles == true){ } ", the javascript reacts as foreseen..., but when I keep the " if(doubles == true){ } ", the javascript doesn't go through the method anymore...
    Can anybody help me out here???
    Thanks!!
    Micha

    Hi,
    You can call them FM inside the javascript something like below...
    <script language="JavaScript">
    function yourFM()
    <%
       DATA: guid TYPE GUID_32.
       CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_32 = guid.
    %>
    </script>
    <b>To call the class & method:</b>
    <script language="JavaScript">
        function yourFM()
          <% CLASS cl_bsp_login_application DEFINITION LOAD. %>
          var EXIT_URL  = "<%= CL_BSP_LOGIN_APPLICATION=>GET_SESSIONEXIT_URL( page = page ) %>";
      </script>
    But i am not clear what do you want to achieve. I didnt understand what you are trying to do with you code. Could you give more detail?
    <i>* Reward each useful answer</i>
    Raja T
    Message was edited by:
            Raja Thangamani

  • ABAP OO Doubt - validate call method.

    Hi experts
    I'm beginer in ABAP OO and i created this code :
    output-cep = ch_adrc_struc-post_code1.
                 TRY.
                     CREATE OBJECT lr_cep.
                   CATCH cx_ai_system_fault .
                 ENDTRY.
                 TRY.
                     CALL METHOD lr_cep->si_servico_cep_out
                       EXPORTING
                         output = output
                       IMPORTING
                         input  = input.
                   CATCH cx_ai_system_fault .
                 ENDTRY.
    My doubt is : How to know the call method worked?
    In call function i use = if sy-subrc = 0 for check the return but can i use it after call method ?
    thanks a lot.

    there is an importing which is used to get back data.
    once you process input then you can decide whether method worked or not.

  • Calling method of a custom infotype from ABAP

    Hi Experts,
    I am working on an application where i need to call a method of a custom defined infotype.
    I have done this -->
    1. Create a custom infotype 9111
    2. SAP creates a class of that infotype ZCL_HRPA_INFOTYPE_9111
    3. Inside this method there are few inherited method which provide me functionality of insert , update , delete
    i want to call methods IF_HRPA_INFTY_BL~MODIFY,
    IF_HRPA_INFTY_BL~INSERT
    However when i call these method from abap report this method does not work.
    where as when i try to insert an entry using PA30 transaction it works.
    Does anyone know why does this happen and what is the solution?
    Regards,
    Ashish Shah

    Had the same problem (probably copied from the same program). The answer is that you need to commit the work at the end using something like
    * Commit
    CALL METHOD busilog->flush
      EXPORTING
        no_commit = space.
    Here is an example of my code for IT0002 which works.
    *& Report  Z_TEST2
    REPORT  z_test2.
    DATA: a_masterdata_bl TYPE REF TO if_hrpa_masterdata_bl,
          p0002         TYPE p0002,
          lo_0002 TYPE REF TO cl_hrpa_infotype_0002,
          ls_p0002_ref TYPE REF TO data,
          container_tab    TYPE hrpad_infty_container_tab,
          container  TYPE REF TO if_hrpa_infty_container,
          message_handler TYPE REF TO cl_hrpa_message_list,
          infotype_logic TYPE REF TO if_hrpa_infty_bl,
          update_mode TYPE hrpad_update_mode VALUE 'XXX',
          lt_0002_container TYPE REF TO cl_hrpa_infotype_container,
          key TYPE pskey,
          l_is_ok          TYPE boole_d.
    FIELD-SYMBOLS <p0002> TYPE p0002.
    * get business logic from masterdata factory
    CALL METHOD cl_hrpa_masterdata_factory=>get_business_logic
      IMPORTING
        business_logic = a_masterdata_bl.
    * CATCH cx_hrpa_violated_assertion .
    *ENDTRY.
    *TRY.
    CALL METHOD a_masterdata_bl->read
      EXPORTING
        tclas           = 'A'
        pernr           = '508'
        infty           = '0002'
        begda           = sy-datum
        endda           = sy-datum
        no_auth_check   = 'X'
        message_handler = message_handler
      IMPORTING
        container_tab   = container_tab
        is_ok           = l_is_ok
    * CATCH cx_hrpa_violated_assertion .
    *ENDTRY.
    READ TABLE container_tab INTO container INDEX 1.
    lt_0002_container ?= container.
    TRY.
        CALL METHOD lt_0002_container->primary_record_ref
          IMPORTING
            pnnnn_ref = ls_p0002_ref.
      CATCH cx_hrpa_violated_assertion.
    ENDTRY.
    ASSIGN ls_p0002_ref->* TO <p0002>.
    MOVE-CORRESPONDING <p0002> TO key.
    break stantric.
    <p0002>-vorna = 'Rick'.
    container ?= lt_0002_container->modify_primary_record( <p0002> ).
    TRY.
        CREATE OBJECT lo_0002
          EXPORTING
            tclas = 'A'
            infty = '0002'.
      CATCH cx_hrpa_violated_assertion .
    ENDTRY.
    CREATE OBJECT message_handler.
    TRY.
        CALL METHOD lo_0002->get_specific_bl
          EXPORTING
            versionid      = '01'
            tclas          = 'A'
            pskey          = key
          IMPORTING
            infotype_logic = infotype_logic.
      CATCH cx_hrpa_violated_assertion .
    ENDTRY.
    TRY.
        CALL METHOD infotype_logic->modify
          EXPORTING
            old_container   = lt_0002_container
            massn           = space
            massg           = space
            update_mode     = update_mode
            no_auth_check   = 'X'
            message_handler = message_handler
          IMPORTING
            is_ok           = l_is_ok
          CHANGING
            container       = container.
      CATCH cx_hrpa_violated_assertion .
    ENDTRY.
    * Commit
    CALL METHOD a_masterdata_bl->flush
      EXPORTING
        no_commit = space.

  • Is it possible to call methods of JAVA objects from ABAP?

    Hi all,
    Does anyone know if it is possible to call methods of java classes from ABAP?
    Regards,
    Sukru

    Hi,
    Yes we can access the classes of JAVA in ABP.
    This is posible from version ECC 6 onward with NETWEAVER atrhcitecuture.
    Pls go through this link-
    http://help.sap.com/saphelp_nw04s/helpdata/en/84/54953fc405330ee10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/e1/b5443e02a9ab4186a6e1240a9a2455/frameset.htm
    Here also we use the JCO connector  objects
    These clearly show the methods to use JAVA.
    <removed_by_moderator_together_with_points>
    Regards
    Chandralekha
    Edited by: Julius Bussche on Jul 8, 2008 5:58 PM

  • ABAP OOP / Calling Method  ...Help

    Trying out few oop codes....
    While calling class instance methods and passing parameters, when to use the following syntax.
    data: cvar  type ref to class1.
             cvar->method( exporting variable1 = value )
           (or) some time i see sample codes with out key  word 'exporting'
                  cvar->method(  variable1 = value  ) .
           (or)
                  cvar->method(  value  ) .
           (or) some times with key word CALL  METHOD
       CREATE OBJECT cvar
       CALL METHOD cvar->method
       EXPORTING
       variable1 = value. 
    Tried out a uniform way of calling ,but getting errors.Any inputs please..
    Thanks,
    Bvan

    Bhavan,
      First  declare the class.
      Implement the class.
    Declare the Class reference variable
    Create the class object.
    call the method.
      data: cvar type ref to class1.
              CREATE OBJECT cvar
    Calling Methods
    To call a method, use the following statement:
    CALL METHOD <meth> EXPORTING... <ii> =.<f i>...
                       IMPORTING... <ei> =.<g i>...
                       CHANGING ... <ci> =.<f i>...
                       RECEIVING         r = h
                       EXCEPTIONS... <ei> = rc i...
    The way in which you address the method <method> depends on the method itself and from where you are calling it. Within the implementation part of a class, you can call the methods of the same class directly using their name <meth>.
    CALL METHOD <meth>...
    Outside the class, the visibility of the method depends on whether you can call it at all. Visible instance methods can be called from outside the class using
    CALL METHOD <ref>-><meth>...
    where <ref> is a reference variable whose value points to an instance of the class. Visible instance methods can be called from outside the class using
    CALL METHOD <class>=><meth>...
    where <class> is the name of the relevant class.
    When you call a method, you must pass all non-optional input parameters using the EXPORTING or CHANGING addition in the CALL METHOD statement. You can (but do not have to) import the output parameters into your program using the IMPORTING or RECEIVING addition. Equally, you can (but do not have to) handle any exceptions triggered by the exceptions using the EXCEPTIONS addition. However, this is recommended.
    You pass and receive values to and from methods in the same way as with function modules, that is, with the syntax:
    ... <Formal parameter> = <Actual parameter>
    after the corresponding addition. The interface parameters (formal parameters) are always on the left-hand side of the equals sign. The actual parameters are always on the right. The equals sign is not an assignment operator in this context; it merely serves to assign program variables to the interface parameters of the method.
    If the interface of a method consists only of a single IMPORTING parameter, you can use the following shortened form of the method call:
    CALL METHOD <method>( f).
    The actual parameter <f> is passed to the input parameters of the method.
    If the interface of a method consists only of IMPORTING parameters, you can use the following shortened form of the method call:
    CALL METHOD <method>(....<ii> =.<f i>...).
    Each actual parameter <f i > is passed to the corresponding formal parameter <i i >.
    Pls. mark if useful

  • Error while running SQL Developer from a network drive.

    I get following error when I start SQL Developer from an un-mapped network drive
    java.lang.NoClassDefFoundError: oracle/classloader/util/AnnotatedNoClassDefFoundError
         at oracle.dmt.dataminer.mviewer.dtree.DecisionTreeEditorAddin.getEditorWeight(Unknown Source)
         at oracle.ideimpl.editor.EditorAddinRegistry.getAddinsImpl(EditorAddinRegistry.java:182)
         at oracle.ideimpl.editor.EditorAddinRegistry.getAddins(EditorAddinRegistry.java:154)
         at oracle.ideimpl.editor.EditorManagerImpl.getAddins(EditorManagerImpl.java:828)
         at oracle.ideimpl.editor.TabGroupState.loadStateInfo(TabGroupState.java:958)
         at oracle.ideimpl.editor.TabGroup.loadLayout(TabGroup.java:1959)
         at oracle.ideimpl.editor.TabGroupXMLLayoutPersistence.loadComponent(TabGroupXMLLayoutPersistence.java:31)
         at oracle.ideimpl.controls.dockLayout.DockLayoutInfoLeaf.loadLayout(DockLayoutInfoLeaf.java:123)
         at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:631)
         at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:628)
         at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:614)
         at oracle.ideimpl.controls.dockLayout.DockLayout.loadLayout(DockLayout.java:302)
         at oracle.ideimpl.controls.dockLayout.DockLayoutPanel.loadLayout(DockLayoutPanel.java:128)
         at oracle.ideimpl.editor.Desktop.loadLayout(Desktop.java:406)
         at oracle.ideimpl.editor.Desktop.loadLayout(Desktop.java:430)
         at oracle.ideimpl.editor.EditorManagerImpl.init(EditorManagerImpl.java:2022)
         at oracle.ide.layout.Layouts.activate(Layouts.java:814)
         at oracle.ide.layout.Layouts.activateLayout(Layouts.java:195)
         at oracle.ideimpl.MainWindowImpl$6.runImpl(MainWindowImpl.java:728)
         at oracle.javatools.util.SwingClosure$1Closure.run(SwingClosure.java:50)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Below I am also attaching the long console log if I run
    \\mt000xvrpt91\tools\SQLDeveloper\sqldeveloper\bin\sqldeveloper.exe
    One thing I noticed in that log is the file path
    file:////mt000xvrpt91/tools/SQLDeveloper/ide/extensions/oracle.ide.db.jar
    that is wrong it should be file://///mt000xvrpt91/tools/SQLDeveloper/ide/extensions/oracle.ide.db.jar
    ie, 5 "/" after "file:" instead of 4 "/"
    If I run SQL developer after Mapping the network drive to "S" I get following.
    S:\SQLDeveloper\sqldeveloper\bin>sqldeveloper
    Registered TimesTen
    log4j:ERROR setFile(null,true) call failed.
    java.io.FileNotFoundException: S:\SQLDeveloper\sqldeveloper\extensions\oracle.datamodeler\log\datamodeler.log (Access is denied)
    at java.io.FileOutputStream.openAppend(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
    at org.apache.log4j.FileAppender.setFile(FileAppender.java:273)
    at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:156)
    at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:152)
    at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
    at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:210)
    at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:140)
    at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153)
    at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415)
    at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:384)
    at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783)
    at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666)
    at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
    at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602)
    at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
    at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
    at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:697)
    at oracle.dbtools.crest.util.logging.Logger.init(Unknown Source)
    at oracle.dbtools.crest.util.logging.Logger.<init>(Unknown Source)
    at oracle.dbtools.crest.fcp.DataModelerAddin.<clinit>(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at oracle.ideimpl.extension.AddinManagerImpl.createAddin(AddinManagerImpl.java:433)
    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManagerImpl.java:212)
    at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(AddinManagerImpl.java:128)
    at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1949)
    at oracle.ide.IdeCore.startupImpl(IdeCore.java:1573)
    at oracle.ide.Ide.startup(Ide.java:703)
    at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
    at oracle.ideimpl.Main.start(Main.java:184)
    at oracle.ideimpl.Main.main(Main.java:146)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.PCLMain.callMain(PCLMain.java:62)
    at oracle.ide.boot.PCLMain.main(PCLMain.java:54)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
    at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:189)
    at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:89)
    at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:65)
    at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:54)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.Launcher.invokeMain(Launcher.java:713)
    at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
    at oracle.ide.boot.Launcher.launch(Launcher.java:68)
    at oracle.ide.boot.Launcher.main(Launcher.java:57)
    log4j:ERROR setFile(null,true) call failed.
    java.io.FileNotFoundException: S:\SQLDeveloper\sqldeveloper\extensions\oracle.datamodeler\log\datamodeler.log (Access is denied)
    at java.io.FileOutputStream.openAppend(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
    at org.apache.log4j.FileAppender.setFile(FileAppender.java:273)
    at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:156)
    at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:152)
    at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
    at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:210)
    at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:140)
    at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153)
    at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415)
    at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:384)
    at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783)
    at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666)
    at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
    at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602)
    at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:697)
    at oracle.dbtools.crest.util.logging.Logger.init(Unknown Source)
    at oracle.dbtools.crest.util.logging.Logger.<init>(Unknown Source)
    at oracle.dbtools.crest.fcp.DataModelerAddin.<clinit>(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at oracle.ideimpl.extension.AddinManagerImpl.createAddin(AddinManagerImpl.java:433)
    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManagerImpl.java:212)
    at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(AddinManagerImpl.java:128)
    at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1949)
    at oracle.ide.IdeCore.startupImpl(IdeCore.java:1573)
    at oracle.ide.Ide.startup(Ide.java:703)
    at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
    at oracle.ideimpl.Main.start(Main.java:184)
    at oracle.ideimpl.Main.main(Main.java:146)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.PCLMain.callMain(PCLMain.java:62)
    at oracle.ide.boot.PCLMain.main(PCLMain.java:54)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
    at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:189)
    at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:89)
    at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:65)
    at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:54)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.Launcher.invokeMain(Launcher.java:713)
    at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
    at oracle.ide.boot.Launcher.launch(Launcher.java:68)
    at oracle.ide.boot.Launcher.main(Launcher.java:57)
    ===================================================================
    Console Log if I run
    \\mt000xvrpt91\tools\SQLDeveloper\sqldeveloper\bin\sqldeveloper.exe
    ========================================================================
    Mar 30, 2011 4:36:37 PM javax.ide.extension.spi.DefaultElementContext getMacroValue
    SEVERE: jar:/file:////mt000xvrpt91/tools/SQLDeveloper/ide/extensions/oracle.ide.db.jar!/META-INF/extension.xml:22: Unable to find resource bundle class: oracle.ideimpl.db.resource.UIBundle
    Mar 30, 2011 4:36:37 PM javax.ide.extension.spi.DefaultElementContext getMacroValue
    SEVERE: jar:/file:////mt000xvrpt91/tools/SQLDeveloper/ide/extensions/oracle.ide.db.jar!/META-INF/extension.xml:23: Unable to find resource bundle class: oracle.ideimpl.db.resource.UIBundle
    Mar 30, 2011 4:36:37 PM javax.ide.extension.spi.DefaultElementContext getMacroValue
    SEVERE: jar:/file:////mt000xvrpt91/tools/SQLDeveloper/ide/extensions/oracle.ide.db.jar!/META-INF/extension.xml:26: Unable to find resource bundle class: oracle.ideimpl.db.resource.UIBundle
    Mar 30, 2011 4:36:37 PM javax.ide.extension.spi.DefaultElementContext getMacroValue
    SEVERE: jar:/file:////mt000xvrpt91/tools/SQLDeveloper/ide/extensions/oracle.ide.db.jar!/META-INF/extension.xml:26: Unable to find resource bundle class: oracle.ideimpl.db.resource.UIBundle
    Mar 30, 2011 4:36:37 PM javax.ide.extension.spi.DefaultElementContext getMacroValue
    SEVERE: jar:/file:////mt000xvrpt91/tools/SQLDeveloper/ide/extensions/oracle.ide.db.jar!/META-INF/extension.xml:43: Unable to find resource bundle class: oracle.ideimpl.db.resource.UIBundle
    Mar 30, 2011 4:36:37 PM javax.ide.extension.spi.DefaultElementContext getMacroValue
    SEVERE: jar:/file:////mt000xvrpt91/tools/SQLDeveloper/ide/extensions/oracle.ide.db.jar!/META-INF/extension.xml:46: Unable to find resource bundle class: oracle.ideimpl.db.resource.UIBundle
    Mar 30, 2011 4:36:37 PM javax.ide.extension.spi.DefaultElementContext getMacroValue
    SEVERE: jar:/file:////mt000xvrpt91/tools/SQLDeveloper/ide/extensions/oracle.ide.db.jar!/META-INF/extension.xml:50: Unable to find resource bundle class: oracle.ideimpl.db.resource.UIBundle
    Mar 30, 2011 4:36:38 PM javax.ide.extension.spi.SAXManifestParser$Handler endElement
    SEVERE: jar:/file:////mt000xvrpt91/tools/SQLDeveloper/sqldeveloper/extensions/oracle.sqldeveloper.jar!/META-INF/extension.xml:316: Exception processing manifest: oracle.classloader.util.AnnotatedNoClassDefFoundError:
    Missing class: oracle.dbtools.raptor.controls.grid.IRaptorGridModel
    Dependent class: oracle.dbtools.raptor.controls.grid.IResultSetTableModel
    Loader: ide-global:11.1.1.0.0
    Code-Source: //mt000xvrpt91/tools/SQLDeveloper/sqldeveloper/extensions/oracle.sqldeveloper.jar
    Configuration: extension jar in \\mt000xvrpt91\tools\SQLDeveloper\sqldeveloper\extensions
    The missing class is not available from any code-source or loader in the system.
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
    Missing class: oracle.dbtools.raptor.controls.grid.IRaptorGridModel
    Dependent class: oracle.dbtools.raptor.controls.grid.IResultSetTableModel
    Loader: ide-global:11.1.1.0.0
    Code-Source: //mt000xvrpt91/tools/SQLDeveloper/sqldeveloper/extensions/oracle.sqldeveloper.jar
    Configuration: extension jar in \\mt000xvrpt91\tools\SQLDeveloper\sqldeveloper\extensions
    The missing class is not available from any code-source or loader in the system.
    at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2387)
    at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1546)
    at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:226)
    at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
    at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1728)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1689)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1674)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
    at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2364)
    at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1546)
    at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:226)
    at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
    at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1728)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1689)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1674)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
    at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2364)
    at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1546)
    at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:226)
    at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
    at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1728)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1689)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1674)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at oracle.dbtools.raptor.controls.grid.RSTModelHook$ProviderChildVisitor.end(RSTModelHook.java:64)
    at javax.ide.extension.spi.SAXManifestParser$Handler.endElement(SAXManifestParser.java:138)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1359)
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:376)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:322)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:226)
    at javax.ide.extension.spi.SAXManifestParser.parse(SAXManifestParser.java:87)
    at javax.ide.extension.spi.SAXManifestParser.parse(SAXManifestParser.java:57)
    at javax.ide.extension.ExtensionRegistry.loadExtension(ExtensionRegistry.java:295)
    at oracle.ideimpl.extension.ExtensionManagerImpl.loadExtension(ExtensionManagerImpl.java:701)
    at javax.ide.extension.ExtensionRegistry.loadExtensions(ExtensionRegistry.java:275)
    at oracle.ideimpl.extension.ExtensionManagerImpl.loadExtensions(ExtensionManagerImpl.java:612)
    at javax.ide.extension.ExtensionRegistry.loadExtensions(ExtensionRegistry.java:171)
    at oracle.ideimpl.extension.ExtensionManagerImpl.loadExtensions(ExtensionManagerImpl.java:510)
    at javax.ide.extension.ExtensionRegistry.initialize(ExtensionRegistry.java:381)
    at oracle.ideimpl.extension.ExtensionManagerImpl.initialize(ExtensionManagerImpl.java:954)
    at javax.ide.Service.getService(Service.java:68)
    at javax.ide.extension.ExtensionRegistry.getExtensionRegistry(ExtensionRegistry.java:400)
    at oracle.ide.ExtensionRegistry.getExtensionRegistry(ExtensionRegistry.java:191)
    at oracle.ide.IdeCore.startupImpl(IdeCore.java:1384)
    at oracle.ide.Ide.startup(Ide.java:703)
    at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
    at oracle.ideimpl.Main.start(Main.java:184)
    at oracle.ideimpl.Main.main(Main.java:146)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.PCLMain.callMain(PCLMain.java:62)
    at oracle.ide.boot.PCLMain.main(PCLMain.java:54)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
    at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:189)
    at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:89)
    at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:65)
    at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:54)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.Launcher.invokeMain(Launcher.java:713)
    at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
    at oracle.ide.boot.Launcher.launch(Launcher.java:68)
    at oracle.ide.boot.Launcher.main(Launcher.java:57)
    And more........... I exceeded 30000 character limit at this form

    I am OK to ignore the error. But better option will be SQL Developer take care of this situation.
    My intention is to keep SQL Developer on a readonly share folder and send the path to end users.
    Ideally I wish I could use UNC path so that I dont have to worry about the drive mapping.

  • Error calling methods CL_GUI_FRONTEND_SERVICES

    Hi all,
    I have a requirement in BAPI (integrating solman to portal) to download file from app. server to local directory. I used the below FM to get temp directory of presntation server.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>GET_TEMP_DIRECTORY
       CHANGING
         TEMP_DIR             =  LV_TEMP_DIR
       EXCEPTIONS
         CNTL_ERROR           = 1
         ERROR_NO_GUI         = 2
         NOT_SUPPORTED_BY_GUI = 3
         others               = 4.
       CALL METHOD cl_gui_cfw=>flush.
    It works fine in R3, but when i called it from portal it shows Access not possible using 'NULL' object reference with a short dump .
    st22 shows
    Error in ABAP application program.
    The current ABAP program "CL_GUI_FRONTEND_SERVICES======CP" had to be
    terminated because one of the
    statements could not be executed.
    This is probably due to an error in the ABAP program.
    An exception occurred. This exception is dealt with in more detail belo
    . The exception, which is assigned to the class 'CX_SY_REF_IS_INITIAL',
    neither
    caught nor passed along using a RAISING clause, in the procedure
    "GET_TEMP_DIRECTORY" "(METHOD)"
    Since the caller of the procedure could not have expected this exceptio
    to occur, the running program was terminated.
    The reason for the exception is:
    Attempt to access a component using 'NULL' object reference (points
    to nothing).
    An object reference must point to an object (an instance of a class)
    before you can use it to access components (variable:
    "CL_GUI_FRONTEND_SERVICES=>HANDLE").
    Either the reference has not yet been set, or it has been reset to
    'NULL' by a CLEAR statement.
    When i put external break point and the dump comes during execution of CALL METHOD cl_gui_cfw=>flush.
    Is it not possible to use CL_GUI_FRONTEND_SERVICES in RFC ??.
    thanks and regards
    Jijo

    Hi,
    the dump is because you cannot use that function from a BSP application, which runs in internet or intranet. The procedure in this case is different:
    DATA: flights  TYPE flighttab,
            flight   LIKE LINE OF flights,
            appl     TYPE string,
            filetype TYPE string,
            output   TYPE string,
            output2  TYPE xstring,
            response     TYPE REF TO if_http_response,
            l_len        TYPE i,
            seatsmax     TYPE string,
            seatsocc     TYPE string.
      appl = 'application/msexcel'.
      filetype = 'attachment;filename=mi archivo.xls'.
      SELECT * FROM sflight
         INTO TABLE flights
         UP TO 20 ROWS.
      LOOP AT flights INTO flight.
        seatsmax = flight-seatsmax. CONDENSE seatsmax.
        seatsocc = flight-seatsocc. CONDENSE seatsocc.
        CONCATENATE output
        flight-carrid cl_abap_char_utilities=>horizontal_tab
        flight-connid cl_abap_char_utilities=>horizontal_tab
        flight-fldate cl_abap_char_utilities=>horizontal_tab
        flight-planetype cl_abap_char_utilities=>horizontal_tab
        seatsmax cl_abap_char_utilities=>horizontal_tab
        seatsocc cl_abap_char_utilities=>horizontal_tab
        cl_abap_char_utilities=>cr_lf
        INTO output.
      ENDLOOP.
      response = runtime->server->response.
      response->delete_header_field( name = if_http_header_fields=>cache_control ).
      response->delete_header_field( name = if_http_header_fields=>expires ).
      response->delete_header_field( name = if_http_header_fields=>pragma ).
      response->set_header_field( name = if_http_header_fields=>content_type
                                  value = appl ).
      response->set_header_field( name = 'content-disposition'
                                  value = filetype ).
      CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
        EXPORTING
          text     = output
          mimetype = 'text/unicode; charset=utf-16le'
        IMPORTING
          buffer   = output2.
      CONCATENATE cl_abap_char_utilities=>byte_order_mark_little
                  output2 INTO output2 IN BYTE MODE.
      l_len = XSTRLEN( output2 ).
      response->set_data( data = output2
                          length = l_len ).
      navigation->response_complete( ).
    This is the code for downloading an Excel file.

  • Exception while calling stored procedure in SQL server

    Hi,
    I run into a problem while calling a proc in SQL server. I am using a database control to do so. The proc returns a integer. This is the first time I use SQL server. Any thoughts? Thanks in advance.
    My method call is:
    int createAccount(SQLParameter[] param)
    The sql is:
    {call espsiCompany(?, ?, ?)}
    The error is:
    java.lang.NullPointerException
    at com.bea.wlw.runtime.core.control.DatabaseControlImpl.getStatement_v2(DatabaseControlImpl.jcs:1885)
    at com.bea.wlw.runtime.core.control.DatabaseControlImpl.invoke(DatabaseControlImpl.jcs:2691)
    at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:373)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:423)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:396)
    at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:388)
    at services.OnyxDBControl.createAccount(OnyxDBControl.ctrl)
    at services.OnyxDBControlTest.createAccount(OnyxDBControlTest.jws:18)

    Hi. That's not the signature of the procedure. What I'd like to see is
    the SQL used to create the procedure, eg:
    create procedure myProc @foo int, @bar varchar(30) ....
    as
    begin
    end
    Jun Li wrote:
    Here you go. Thanks for your time.
    DECLARE @RC int
    DECLARE @iSiteId int
    DECLARE @iCompanyId int
    DECLARE @chLanguageCode char(4)
    DECLARE @vchAssignedId varchar(255)
    DECLARE @vchCompanyName varchar(255)
    DECLARE @vchAddress1 varchar(255)
    DECLARE @vchAddress2 varchar(255)
    DECLARE @vchAddress3 varchar(255)
    DECLARE @vchCity varchar(255)
    DECLARE @chRegionCode char(4)
    DECLARE @chCountryCode char(4)
    DECLARE @vchPostCode varchar(40)
    DECLARE @vchPhoneNumber varchar(40)
    DECLARE @vchEmailAddress varchar(255)
    DECLARE @vchURL varchar(255)
    DECLARE @iCompanyTypeCode int
    DECLARE @iCompanySubTypeCode int
    DECLARE @iFamilyId int
    DECLARE @iParentId int
    DECLARE @iPrimaryContactId int
    DECLARE @vchContactFirstName varchar(255)
    DECLARE @vchContactLastName varchar(255)
    DECLARE @iDivisionCode int
    DECLARE @iSICCode int
    DECLARE @iMarketSector int
    DECLARE @vchTaxId varchar(255)
    DECLARE @vchDunnsNumber varchar(255)
    DECLARE @iPhoneTypeId int
    DECLARE @iAddressTypeId int
    DECLARE @iSourceId int
    DECLARE @iStatusId int
    DECLARE @bValidAddress tinyint
    DECLARE @iAccessCode int
    DECLARE @bPrivate tinyint
    DECLARE @vchUser1 varchar(255)
    DECLARE @vchUser2 varchar(255)
    DECLARE @vchUser3 varchar(255)
    DECLARE @vchUser4 varchar(255)
    DECLARE @vchUser5 varchar(255)
    DECLARE @vchUser6 varchar(255)
    DECLARE @vchUser7 varchar(255)
    DECLARE @vchUser8 varchar(255)
    DECLARE @vchUser9 varchar(255)
    DECLARE @vchUser10 varchar(255)
    DECLARE @chInsertBy char(10)
    DECLARE @dtInsertDate datetime
    DECLARE @tiLockRecord tinyint
    DECLARE @tiRecordStatus tinyint
    DECLARE @tireturnType tinyint
    -- Set parameter values
    EXEC @RC = [ONYXPROD].[dbo].[espsiCompany] @iSiteId, @iCompanyId OUTPUT , @chLanguageCode, @vchAssignedId, @vchCompanyName, @vchAddress1, @vchAddress2, @vchAddress3, @vchCity, @chRegionCode, @chCountryCode, @vchPostCode, @vchPhoneNumber, @vchEmailAddress, @vchURL, @iCompanyTypeCode, @iCompanySubTypeCode, @iFamilyId, @iParentId, @iPrimaryContactId, @vchContactFirstName, @vchContactLastName, @iDivisionCode, @iSICCode, @iMarketSector, @vchTaxId, @vchDunnsNumber, @iPhoneTypeId, @iAddressTypeId, @iSourceId, @iStatusId, @bValidAddress, @iAccessCode, @bPrivate, @vchUser1, @vchUser2, @vchUser3, @vchUser4, @vchUser5, @vchUser6, @vchUser7, @vchUser8, @vchUser9, @vchUser10, @chInsertBy, @dtInsertDate, @tiLockRecord, @tiRecordStatus, @tireturnType

  • Reg : SDCCN / USMM tcode abap run time error

    Dear Friends,
    Runtime Errors : DBIF_RSQL_SQL_ERROR
    Exception : CX_SY_OPEN_SQL_DB
    When I run a T.Code SDCCN and USMM, got abap run time error
    "SQL error in the database when accessing a table" that errors are below.
    Internal Call code is ..........[RSQL/OPEN/TBTCO]
    "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
    "SAPLBTCH" or "LBTCHF19"
    "EXECUTE_BP_JOB_SELECT"
    The exception must either be prevented, caught within proedure
    "EXECUTE_BP_JOB_SELECT" "(FORM)", or its possible occurrence must be declared
      in the  RAISING clause of the procedure.
    This kind of errors found.
    what can i do ? Pls give me solution

    No cross posting
    Read the "Rules of Engagement"
    Regards
    Juan

Maybe you are looking for