Method in WF not executing..

Hi, Can anyone tell me whether to include Delegated Object (ZDISCON) or Standard Object(DISCONNECT)  in the  activity step type of my Workflow (WS9000009).
The issue is:
The reciever is being called while trying to create a event in SWUE. But the Function module inside the ZDISCON is not executing.
BEGIN_METHOD CREATE CHANGING CONTAINER.
DATA:
   DISCONNECTIONREASON LIKE EDISCDOC-DISCREASON,
   REFERENCEOBJECT TYPE SWC_OBJECT,
   REFOBJTYPE      LIKE EDISCDOC-REFOBJTYPE,
   REFOBJKEY       LIKE EDISCDOC-REFOBJKEY,
   ETYPE           LIKE REGEN-EXIT_TYPE,
   WEDISCDOC       LIKE EDISCDOC,
   setexitreturn   LIKE regen-kennzx.
   SWC_GET_ELEMENT CONTAINER 'DisconnectionReason' DISCONNECTIONR
   IF SY-SUBRC <> 0.
     EXIT_RETURN '0002' 'DisconnectionReason' SPACE SPACE SPACE.
   ENDIF.
   SWC_GET_ELEMENT CONTAINER 'ReferenceObject' REFERENCEOBJECT.
CALL FUNCTION 'ISU_S_DISCDOC_CREATE'
     EXPORTING
           X_DISCREASON   = DISCONNECTIONREASON
          X_REFOBJTYPE   = REFOBJTYPE
          X_REFOBJKEY    = REFOBJKEY
          X_UPD_ONLINE   = 'X'
     IMPORTING
         Y_EXIT_TYPE    = ETYPE
          Y_NEW_EDISCDOC = WEDISCDOC.
CALL FUNCTION 'Z_SEND_MAIL'
   EXPORTING
     DISCNO        =  WEDISCDOC-DISCNO.
ENDMETHOD.

Hi,
If you Delegate the Custom BO to Std. BO, you can use the std. BO then custom BO methods will automatically come.
The reciever is being called while trying to create a event in SWUE. But the
Function module inside the ZDISCON is not executing.
This happen because Delegation is not correct.
Refer this [Link1|https://wiki.sdn.sap.com/wiki/x/JQD1Aw ] & [Link2|https://wiki.sdn.sap.com/wiki/x/8YBVAw ] for delegation.
Regards,
Surjith

Similar Messages

  • Method BUS2012 - Release  not executing in the workflow

    hi all!
    I hope you can help me out with the following:
    I have created a workflow to release a PO. The approver will see a decision task with Approve and Decline. When he approves the PO, the workflow should release the PO in the background with the method BUS2012.RELEASE. The strange thing is when I test this method in SWO1, for my instance (my PO) and method Relase, I only have to enter the release code and I get the perfect returns (RELSTATUSNEW and RELINDICATORNEW).
    When I have this task in my testworkflow (with only the RELEASE task) it get into ERROR with the following message Release outside field of responsibility W5 105.
    I have searched within the OSS notes but nothing found, so I hope you can help me out!
    Hope to hear from you soon!
    Best regards,
    Raj

    Hi Rick,
    There is no error in the workflow... Yes the workflow is completing...
    Whenever the user Rejects the PR, the flow is not passing through the 'REJECTION_START' branch instead of that its going into the 'SIGNIFICANTLYCHANGED' branch... This is the problem i am facing...
    Why the 'SIGNIFICANTLYCHANGED' event is called instead of 'REJECTION_START'...
    Thanks,
    Srikag
    Edited by: SRIKAG on Nov 4, 2011 10:29 PM
    Edited by: SRIKAG on Nov 4, 2011 10:34 PM

  • Public method of javabean not executed when invoked with FBEAN.INVOKE_NUM

    Hi,
    i write a trivial javabean with public method named 'somme' that return int value and take no arguments.
    i my PL/SQL trigger code, i register an instance of the bean and take a call to the public method 'somme' that return a int value that i display in display item of my form.
    the java bean is well registered and i verified that the code in the constructor is well executed. But the call to the public methode dont work.
    thank you for your help.

    Hello,
    it's a mistake for me. when i instanciate the javabean from another java classe in jdev, the execution is well and the process exited with code 0.
    but when i instanciate it from pl/sql the problem occurs.
    i commented all the lines of my code except the line that register the javabean
         FBean.Register_Bean(hBean, 1, 'amar.FbeanExemple');
    and i have the same problem even though the code in the constructor is executed.
    the error occurs after the code in the concstructor is executed.
    i folllow all the information about this error:
    Contenu de la console Java
    JInitiator: Version 1.3.1.18
    Utilisation de la version JRE 1.3.1.18-internal Java HotSpot(TM) Client VM
    Répertoire d'accueil de l'utilisateur = C:\Documents and Settings\amsai1
    Configuration du proxy : aucun proxy
    JAR cache enabled
    Location: C:\Documents and Settings\amsai1\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://sit-p-amsai1.sit.ulaval.ca:8889/forms90/java/banicons.jar from JAR cache
    Loading http://sit-p-amsai1.sit.ulaval.ca:8889/forms90/java/bannerui71.jar from JAR cache
    Loading http://sit-p-amsai1.sit.ulaval.ca:8889/forms90/java/banspecial.jar from JAR cache
    Loading http://sit-p-amsai1.sit.ulaval.ca:8889/forms90/java/banorep71.jar from JAR cache
    Loading http://sit-p-amsai1.sit.ulaval.ca:8889/forms90/java/bannerid71.jar from JAR cache
    Loading http://sit-p-amsai1.sit.ulaval.ca:8889/forms90/java/f90all_jinit.jar from JAR cache
    Loading http://sit-p-amsai1.sit.ulaval.ca:8889/forms90/java/missing.jar from JAR cache proxyHost=null proxyPort=0 connectMode=HTTP, native. La version Forms Applet est : 9.0.4.0
    *** VBean null PropertyManager for id = FOREGROUND
    *** VBean Got FOREGROUND = null
    *** VBean null PropertyManager for id = BACKGROUND
    *** VBean Got BACKGROUND = null *** VBean Setting debugMode to ALL *** VBean Setting beanName to amar.FbeanExemple
    Loading http://sit-p-amsai1.sit.ulaval.ca:8889/forms90/java/fbeanexemple.jar from JAR cache
    Instance hhhjhyu du bean est créée op1 = 0 op2 = 0
    *** VBean Failed to instantiate class: amar.FbeanExemple java.lang.ClassCastException: amar.FbeanExemple
    Ma classe Java
    package amar;
    public class FbeanExemple
         private int op1;
         private int op2;
    public FbeanExemple()
    System.out.println("Instance hhhjhyu du bean est créée");
    System.out.println("op1 = " + this.op1);
    System.out.println("op2 = " + this.op2);
    public int additionner()
    return this.op1 + this.op2;
    public int soustraire()
    return this.op1 - this.op2;
    public int sommer(int a, int b)
    return a + b;
    public void faire()
    System.out.println("je suis passe par ici");
    public void setOp1(int a)
    this.op1 = a;
    public void setOp2(int a)
    this.op2 = a;
    public int getOp1()
    return this.op1;
    public int getOp2()
    return this.op2;
    Mon code PL/SQL
    declare
         hBean ITEM := Find_Item('CTL.BEAN_AREA4');
         result INTEGER;
    begin
         FBEAN.SET_LOGGING_MODE(hBean,1,FBEAN.LOG_ALL);
         FBean.Register_Bean(hBean, 1, 'amar.FbeanExemple');
         result := FBean.Invoke_Num(hBean, 1, 'additionner');
         :CTL.R := result;
    end;
    Thank you for your help.

  • MDG Cross entity validation using enrichment spot is not executed.

    I have configured the enrichment sport for cross entity validations and used BRF to validate the data, but looks like validations are
    not executed. I have the check activated for the step in the configuration and I can see my custom class is being picked in method GET_ENRICHMENTS of class CL_USMD_DQ_ACCESS_ENRICHMENT for that request type and step. I have flag relevant  selected and option “Execute Always” (will change this to “Execute when data changed).
    I am trying to figure out if SAP MDG standard code will execute my custom class code or not. I had put break point in my custom class constructor and this is called when an instance for enrichment is created in method GET_ENRICHMENTS of class CL_USMD_DQ_ACCESS_ENRICHMENT. However my code in below method is not executed (and hence BRF is not called)
      IF_USMD_ENRICHMENT_FEEDER~GET_ADAPTER_DATA
      IF_USMD_ENRICHMENT_FEEDER~IS_RELEVANT
    Now I am trying to figure out a place from where these enrichment class methods will be executed. I feel this will be from EXECUTE_ENRICHMENT
    of class CL_USMD_DQ_ACCESS_ENRICHMENT. But this method is also not executed when I hit on Check button. Am I looking wrong standard class?
    Is there anything I am missing in configuration? Or we need to implement any SAP note? I tried to find one, but no luck.

    Hello, I am not using cress entity BADI for Validation. I am using this BADI for cross entity derivations and they are working fine.
    I had a requirement to do cross entity validations, and I have rules written using the BRF+.
    I had used enrichment sport functionality to have a custom class used to call BRF functions and prepare the context with required entity data.
    Validations are supposed to happen based on the enrichment spot defined and the configuration for that enrichment sport on the process step level. This is not happening. let me know if you need more information on it,

  • Finally block not executed!

    Hello,
    I have something strange with the code below:
    the try block of the method B throw a nullPointerException. This exception isn't catched by the catch block of the method B but by the catch block of method A. That's OK.
    The strange thing is that the finally block of the method B is not executed!
    Why??
    Is someone has an idea?
    Thanks
    Sylvain
    method A {
    try {
    B();
    } catch (Throwable e) {
    method B {
    try {
    } catch (oneClassException t) {
    } finally {
    }

    This code also works as expected.
    public class A {
      public A() {
        try {
          new B().createError();
        } catch (Exception e) {
          System.out.println("Exception caught in A: " + e.getClass().getName());
        } finally {
          System.out.println("Finally in A called");
      public static void main(String[] args) {
        new A();
    public class B {
      public void createError() throws Exception {
        try {
          int[] a = null;
          a[1] = 12;
        } catch (Exception e) {
          System.out.println("Caught an exception in B : " + e.getClass().getName());
          throw(e);
        } finally {
          System.out.println("Finally in B called");
    Output:
    Caught an exception in B : java.lang.NullPointerException
    Finally in B called
    Exception caught in A: java.lang.NullPointerException
    Finally in A called
    Java version:
    java version "1.4.1_01"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
    Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)

  • Not executed method

    Hi. I need some help. That's a snippet of the class.
    public constructor ( ChooserListener callback ) {  // that's a constructor
    super();
    Loader.load();
    this.callback= callback;
    JFrame frame = new JFrame();
    frame.getContentPane();
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.add(this);
    frame.setSize(300,330);
    frame.setVisible(true);
    JPanel lectures = new JPanel();
    String items [] ={BLANK,COMP,EIMC,MATH};
    JList list = new JList(items);
    list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    list.addListSelectionListener( listSelectionListener);
    lectures.add(list);
    ListSelectionListener listSelectionListener = new ListSelectionListener() {
    public void valueChanged (ListSelectionEvent e)
    {    // System.out.println(  listSelectionListener);
    System.out.println("Hooray");
    if (e.getValueIsAdjusting()== false)
    // tell(dept[deptList.getSelectedIndex()]);
    tell(COMP);
    } // the end of class
    I can't understand why System.out.println("Hooray"); is not executed. Why execution bypasses that 'valueChanged' method. What's the problem?
    Cheers

    mvezelis wrote:
    What do you mean, &#147;use code tags&#148;? I am new here.When you make your post, you'll see some formatting options above the text input box.
    When you post code, highlight it, and then click the button that says "CODE".
    That way your code will be legible.
    What do you mean, I change the list?I don't know what he was referring to, but I don't see any place where you actually add the listSelectionListener to anything. If that's the case then the code in question would never get executed. Do you understand why?

  • BAdi method not executing - IF_EX_RSR_OLAP_BADI~DEFINE

    dear all,
    I am trying to implement a virtual characteristics using BAdi and the article i'm using is this. However, when i try to put my breakpoint in the code it is not executing in either RSRT or RSRT2. Any idea why? Even if i put my breakpoint in the CASE statement to determine if it is the infocube i want to filter by, that does not get executed. Any idea why?
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90b2babc-15ad-2d10-c4b2-bd3af67d86b1?quicklink=index&overridelayout=true
    thanks in advance for the reply friends.

    any body with any thoughts out there on this? thank you so much in advance for the reply.

  • Payment method(s) are not allowed for this program / Program RFFOAVIS_FPAYM

    Dear Friends,
    In Se38  abap editor, I entered the program RFFOM100, i entered the details program run date,identification future,paying company code,payment methods T, House bank, Account Id and executed the program. I am getting the error 'Payment method(s) are not allowed for this program'.
    Payment method S is not used in F110, It was not mentioned in vendor master or vendor invoice.It is not mentioned in fbzp in bank determination. When i tried to delete payment method 'S' the system shows a message Payment Method S is being used in the company code.
    In  the program RFFOAVIS_FPAYM, i entered the details program run date,identification future,paying company code,payment methods T, House bank, Account Id and executed the program. I am getting the error  'Program RFFOAVIS_FPAYM: No records selected'. But there open items or invoices.
    Please suggest how to resolve the errors.
    Regards
    Sridhar

    Hello,
    Why are you directly executing these programs?
    You will not expect these program to execute directly by going to SE38.
    I would have configured the relevant payment methods in the country with DME structure or classical RFFO* programs, which in turn pick up the inherent programs at the time of running F110.
    For example, if you need to generate BACS file for country GB, either you copy the GB_BACS to ZGB_BACS or use GB_BACS directly in FBZP settings.
    Make sure that you have maintained OBPM1 / OBPM2 / OBPM3 and OBPM4 settings properly.
    The system automatically gives the access to system RFFOAVIS_FPAYM. Prepare a variant against this program in F110. Relevant file gets generated to folder path mentioned in OBPM4 will get generated. The file get generated can be seen in AL11.
    Hope this is informative and solves your issue.
    Regards,
    Ravi

  • For Loop Will Not Execute

    I have been a software engineer for a number of years now, and thus far I have never come across any coding issues that truly merit a post such as this. Someone has almost always run across the issue before, so there is no need to reinvent the wheel, or solution as it were.
    However, a number of times I have run across instances where the JRE simply... does not execute parts of my code, and throws no exceptions.
    The sample code is a simple logging application, watered down to the bare minimum for the purposes of this forum:
    public class Log {
    public static void main(String[] args)    {Log log = new Log();}
    public Log() {Logger.log("Hello World");}
    import java.util.*;*
    import java.io.*;
    import java.text.SimpleDateFormat;
    public abstract class Logger {
    private static final int SIZE = 2;
    private static final SimpleDateFormat DAY = new SimpleDateFormat("EEEE");
    private static final String
      DIR = "logs/",
      EXT = ".log",
      FILTER = ".*log\\z",
      DNE = "DNE";
    private static int i,oldest;
    private static long previous = 0;
    private static FileFilter filter = new LogFilter();
    private static FileWriter out;
    private static File file,directory;
    private static File[] list;
    public synchronized static void log(String param) {
      try {
       directory = new File(DIR);
       file = new File(DIR + getDay() + EXT);
       list = directory.listFiles(filter);
       if (file.createNewFile()) {
        readOnly();
        reconcile();
       write(param);
      catch (Exception exception) {}
    private static void write(String param) throws Exception {
      out = new FileWriter(file, true);
      out.write(param);
      out.close();
    private static void readOnly() throws Exception {
      for (i=0;i<list.length;i++) {list.setReadOnly();}
    private static void reconcile() {
    try {
    previous = list[SIZE].lastModified();
    oldest = SIZE;
    for (i=SIZE;i<=0;i--) {
    if (list[i].lastModified() <= previous) {
    previous = list[i].lastModified();
    oldest = i;
    list[oldest].delete();
    catch (Exception exception) {System.out.println("Skipping reconciliation...");}
    private static String getDay() throws Exception {
    return DAY.format(Calendar.getInstance().getTime());
    private static class LogFilter implements FileFilter {
    public LogFilter() {}
    public boolean accept(File param) {
    try {
    if ((param.getName()).matches(FILTER)) {return true;}
    else {return false;}
    catch (Exception exception) {return false;}
    *The problem*:
    Ok, easy visual, this is the "log/" directory as I run the Log.java application repeatedly and iterate the date on my computer as I do so.
    Thursday
    *log/*
    +Thursday.log+
    Friday
    *log/*
    +Thursday.log+
    +Friday.log+
    Saturday
    *log/*
    +Thursday.log+
    +Friday.log+
    +Saturday.log+
    Sunday
    *log/*
    +Friday.log+
    +Saturday.log+
    +Sunday.log+
    Monday
    *log/*
    +Friday.log+
    +Saturday.log+
    +Monday.log+
    This is the point at which I go ???
    Turns out, the JRE skips the execution of my for loop in the *reconcile()* method when the date rolls over to Monday, and from then on it simply deletes the previous day's log instead of the oldest log.
    Why?  Who knows.
    Things I have tried:
    - Using another variable integer for the *readOnly()* method
    - Removing the synchronized keyword from the *log(String param)* method
    - Second call to *directory.listFiles(filter)* and setting *SIZE* to *3* after the old files have been set to read-only
    - Removing the call to *readOnly()*
    - Verified that the call to *readOnly()* does not alter the +modified+ date on the log files
    - Changed Logger.java from a +static+ class to a +local+ class
    Things I cannot do:
    This log application stores privy information about end-users at locations across the country in the event that there are support issues that need to be resolved, and the agreement is that we store this information no more than three days.  Just wanted to make sure, that the hopefully informed respondants to this issue, know that the obvious solution (storing seven day records), is unfortunately not available to me.
    Edited by: Threadstorm on Jan 8, 2009 8:24 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    HA! Most excellent. The last place I would ever look.
    Yes, seems like Java sorts the files in such a way that everything works fine without the loop until Monday rolls over.
    Now I can have a better appreciation for that second set of eyes.
    I use for loops so frequently that I never look at them (though I did stare at this one myself prior to this post, much to my chagrin now) but the subtracting iteration (which I use once in a blue moon) was necessary for the nature of the code.
    But ok, up and running! (whew) was going to be a long day until now.
    To answer your question though, the Logger is static so I don't have to pass it around to dozens and dozens of other modules but rather just include the package on the fly as I develop new modules that need to log information, and I like to write most mundane things myself if I can, that way I have the freedom to modify them at will.
    Thanks again! I'm now a happy camper once more.
    I'm also thankful that I don't have to chalk up another notch on the wall of cases where the JRE behaves magically and truly ignores code which I have definitely run into before. Something about listCellRenderers and the order of calls made to them, or some such and JRE doesn't read one of the lines. It's been a year or two.
    Edited by: Threadstorm on Jan 8, 2009 8:47 AM

  • F0282 payment method(s) are not allowed to this program*

    Hi.......... every one
    after running app i select systems in menu bar>out put control>press enter and clicked on execute button,then i selected the log and click on the display contents button but the system is giving the error message that
    f0282 payment method(s) are not allowed to this program

    HI,
    The error message F0282 that you are receiving, is not an error but the
    normal system functionality. This would be due to your customising so
    please check the detailed error description provided in detail in this
    reference.
    For example, the detailed error description would be as below
    =====================================================================
       Message no. F0 282
       Diagnosis
       In order to avoid incorrect payment media being able to be created
       with a program specified incorrectly, exactly one program is assigned
       to each payment method.
       System Response
       The list of payment methods(T) may only be processed by other payment
       medium programs. Therefore these payment methods are not processed by
       program RFFOM100.
       Procedure
       Check the payment medium programs allowed in the country IN payment
       method specifications.
    =====================================================================
    In customizing trans. FBZP, you have select the report that you are
    going to use for the payment method. Therefore, for example if you are
    using the RFFOUS_T in customising and afterwards try to use RFFOM100
    separately, you will get this message so you will have to change your
    customizing accordingly..
    xSo please check your customising in FBZP under Payment Method/country
    settings.Hope this info helps you to resolve this issue.
    Regard
    Madhu M

  • Reg msg "Payment method(s) are not allowed for this program".

    Hi...
    I am copying a standard program RFFOES_T (Print program for bank transfer) into a custom program. When i try to execute the custom program it gives me a msg saying
    "Payment method(s) are not allowed for this program".
    Can you please Provide a solution for this problem.
    Regards,
    Indira.

    Indira,
    1.RFFOES_T is using Logical database PYF.Seems you have copied it as it is without changing the attributes of the program.
    2.As it is using logical database PYF  it needs to be tagged to the respective payment methods in FBZP settings as below
    FBZP
    >>Payment methods in Country
    >> in the next screen click on position and give the company code and payment method
    >> in the next screen select the corresponding payment method and click on the details(ctrlshiftf2) ie magnifying glass icon
    >>in the next screen  within  Payment Medium you will get to see two radio buttons as Payment medium workbench(uses DMEE tree structure)  and payment medium programs (uses the standard prog).Here in Payment medium Program either the standard prog or your zprogram should be tagged otherwise you will get the error message as you mentioned.
    3.Once you tag the program in the FBZP setting to the respective payment methods,after the payment run you will be able to run the program.
    4.If you don't want the program to be linked to FBZP settings then as far as my knowledge is concerned you need to avoid using logical database PYF and change the entire code using the regular database tables like reguh,regup,bkpf,bseg etc.(I think this should be the best approach)
    Thanks,
    K.Kiran.

  • Java.sql.SQLException: statement handle not executed

    hello,
    i am calling a stored procedure and its returns a REF CURSOR and i am getting intermittent exceptions below,
    org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not execute query; uncategorized SQLException for SQL [{call
    xxxx_pkg(?,?)}]; SQL state [99999]; error code [17144]; statement handle not executed; nested exception is java.sql.SQLException: statement handle not executed
    and
    org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not execute query; uncategorized SQLException for SQL [{call
    xxxx_pkg(?,?,?)}]; SQL state [99999]; error code [17009]; Closed Statement; nested exception is java.sql.SQLException: Closed Statement
    any clue what could be the issue,
    Regards
    GG

    its pretty simple have a java class calling hibernateTemplate's findByNamedQueryAndNamedParam method by passing the procedure name and binding parameters/values, and here is the stack
    org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not execute query; uncategorized SQLException for SQL [{call
    xxx_pkg(?,?)}]; SQL state [99999]; error code [17144]; statement handle not executed; nested exception is java.sql.SQLException: statement handle not executed
    at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:83)
    at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
    at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
    at org.springframework.orm.hibernate3.HibernateAccessor.convertJdbcAccessException(HibernateAccessor.java:424)
    at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:410)
    at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411)
    at org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)
    at org.springframework.orm.hibernate3.HibernateTemplate.findByNamedQueryAndNamedParam(HibernateTemplate.java:1006)
    Caused by: java.sql.SQLException: statement handle not executed
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:229)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:403)
    at oracle.jdbc.driver.T4CStatement.doDescribe(T4CStatement.java:701)
    at oracle.jdbc.driver.OracleStatement.getColumnIndex(OracleStatement.java:3355)
    at oracle.jdbc.driver.OracleResultSetImpl.findColumn(OracleResultSetImpl.java:2009)
    at oracle.jdbc.driver.OracleResultSet.getString(OracleResultSet.java:494)
    at org.hibernate.type.StringType.get(StringType.java:18)
    at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:163)
    at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:154)
    at org.hibernate.type.AbstractType.hydrate(AbstractType.java:81)
    at org.hibernate.persister.entity.AbstractEntityPersister.hydrate(AbstractEntityPersister.java:2091)
    at org.hibernate.loader.Loader.loadFromResultSet(Loader.java:1380)
    at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1308)
    at org.hibernate.loader.Loader.getRow(Loader.java:1206)
    at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:580)
    at org.hibernate.loader.Loader.doQuery(Loader.java:701)
    at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
    at org.hibernate.loader.Loader.doList(Loader.java:2217)
    at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2108)
    at org.hibernate.loader.Loader.list(Loader.java:2103)
    at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:289)
    at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1696)
    at org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:142)
    at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:152)
    at org.springframework.orm.hibernate3.HibernateTemplate$34.doInHibernate(HibernateTemplate.java:1015)
    at org.springframework.orm.hibernate3.HibernateTemplate$34.doInHibernate(HibernateTemplate.java:1)
    at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:406)

  • The method getBean() is not valid for metadata object /ex/model/remittance/client/common/bc4j.xcfg

    Hi,
    I am getting bellow error when i am running my application. I am using JDeveloper 11.1.2.3
    <Nov 6, 2013 9:52:57 AM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Nov 6, 2013 9:52:57 AM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <BC4JConfigLifeCycleCallBack> <contextInitialized> MDS-01702: The method getBean() is not valid for metadata object /ex/model/remittance/client/common/bc4j.xcfg - it is allowed on only bean metadata objects.
    oracle.mds.exception.MDSRuntimeException: MDS-01702: The method getBean() is not valid for metadata object /ex/model/remittance/client/common/bc4j.xcfg - it is allowed on only bean metadata objects.
      at oracle.mds.core.MetadataObject.getBean(MetadataObject.java:327)
      at oracle.adf.share.jndi.MDSBackingStore.getMOBean(MDSBackingStore.java:558)
      at oracle.bc4j.mbean.RuntimeMXBeanImpl.init(RuntimeMXBeanImpl.java:120)
      at oracle.bc4j.mbean.RuntimeMXBeanImpl.<init>(RuntimeMXBeanImpl.java:110)
      at oracle.bc4j.mbean.RuntimeMXBeanImpl.<init>(RuntimeMXBeanImpl.java:101)
      at oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack.contextInitialized(BC4JConfigLifeCycleCallBack.java:114)
      at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
      at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
      at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
      at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
      at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
      at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
      at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
      at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
      at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
      at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
      at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
      at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
      at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
      at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
      at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
      at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
      at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
      at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
      at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
      at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
      at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
      at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
      at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
      at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
      at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
      at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <Nov 6, 2013 9:53:11 AM AST> <Notice> <LoggingService> <BEA-320400> <The log file C:\Users\maroof\AppData\Roaming\JDeveloper\system11.1.2.3.39.62.76.1\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log will be rotated. Reop
    I seen oracle docs solution
    MDS-01702: The method getBean() is not valid for metadata object {0} - it is allowed on only bean metadata objects.
    Cause: An attempt was made to access the metadata object using the bean API but the metadata object was not a bean metadata object. The schema for the root element may not have been registered with MDS, or the beans were not available on the classpath.
    Action: Regenerate the beans from the schema definitions and ensure that the correct versions are on the classpath. Check that the schemas are registered with the MDS instance.
    Level: 1
    Type: ERROR
    Impact: Configuration
    But i am not getting what i do in my application for removing this error.
    Maroof

    Do you use MDS in your application?
    It's possible that you see a leftover of an earlier deployment.
    Do you get the same error if you only start the integrated server (application server navigator->integrated server->debug or run)?
    IF you don't get it when you only start the server without running your application, the problem is somewhere in your app. If you get the error it's probably an old deployment or a configuration error of your server. In this case stop jdev, rename the DefaultDomain folder C:\Users\maroof\AppData\Roaming\JDeveloper\system11.1.2.3.39.62.76.1\DefaultDomain tp C:\Users\maroof\AppData\Roaming\JDeveloper\system11.1.2.3.39.62.76.1\xxxDefaultDomain and start jdev again. Then use hte application server navigator to create a new integrated server (you should see this option as the DefaultDomain folder is not present) and once the new integrated server is created test again.
    Timo

  • Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed

    Hi there,
    We are getting this error in our BPM:
    Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed
    while sending a message synchronously. This doesn't happen for all the sync send, but I see sometimes. Why do we see this inconsistency in the sync send step of the BPM?
    Has anyone encountered this problem, and fixed it? Your help is greatly appreciated.
    Thanks a lot.
    Karma

    Hi
    First of all check the mapping i.e transformation step in the BPM (Sync mapping). This you can check from the workflow log. Check all these interface mappings are using correct message type and interfaces
    Have a look into these SAP notes-830803,710445
    Regards
    krishna

  • Interactive report jquery not executed on pagination

    recently i fell into another problem when using jquery in an interactive report.
    in the page header i do this
    <script type="text/javascript">
    $(document).ready( function() {
       var pageID = $('#pFlowId').val();
       $('.Artikelinfo').each( function(i) {
                var $item = $(this);
                var get = new htmldb_Get(null,pageID ,'APPLICATION_PROCESS=GET_ARTIKEL_INFO',0);
                get.addParam('x01', $item.attr('artnr'));
                $item.attr('rel', get.url());
                $item.attr('relTitle', $item.html());
                return true;
       $('.Artikelinfo').cluetip({
             arrows: true,
             tracking: true,
             titleAttribute: 'relTitle'
    });in the link attributes of a column i put this:
    target="_blank" class="Artikelinfo" artnr="#NUMMER#" rel="" reltitle=""it works like charm... but only on the first page.
    as soon as a change page the jquery is not executed, the attributes are not set.
    i think this is because while pagination of the IR the actual page is not reloaded.
    how can i achieve that that the jqury part is executed after pagination?
    u can find an example here [http://apex.oracle.com/pls/otn/f?p=19645:1] username "user1" password "abc123"
    hover over the first column u will see a cluetip.
    afer the first pagination, the hoverhelp is lost
    thanks
    peter

    below is from http://api.jquery.com/ajaxComplete/
    "Register a handler to be called when Ajax requests complete. This is an Ajax Event."
    "Whenever an Ajax request completes, jQuery triggers the ajaxComplete event. Any and all handlers that have been registered with the .ajaxComplete() method are executed at this time."
    I'm looking into this now...
    Also need to know how to AJAX refresh the IR report to get the changes I did through an AJAX call... ??????
    Anyone???

Maybe you are looking for

  • JAVA Stack and ABAP Stack not in Sync

    Hi, when i logged into the MI Server(7.0) gonr thru the following navigation : Administration-->Mobile Infrastructure---->Mobile components which i click on the search button i am getting the following error "JAVA Stack and ABAP Stack not in Sync" Al

  • PO output sending to vendor via email by PDF Format

    Hi All, Business needs to send the PO output in PDF Format to multiple vendor contact via email. They also needs soem text in the body of the mail. Is it possible to config via standard SAP or we need to develop a customed program? Suppose If it is p

  • Actual cost not updating in Pm order

    Hi Experts,   We have a requirement from management for Having budget control based on department wise. For that we are trying out substitution rule by which Pm order is replaced with Internal order .we are having a budget profile and budget for inte

  • Hoe to open a file mac doesn't recognise

    I need to open a remote management link on my macbook pro. It won't let me as it says the developer cannot be confirmed. How can I force it open? It's for Samsung.

  • Error "Cannot Create File" when attempting to download Itunes 9.1

    I cannot download Itunes 9.1 because of this weird error - and it has corrupted my current iTunes 9.02 Can anyone help? Is there a way to go back download 9.02 again? My only backup is version 8.2 and will not open my itunes library - is there a work