My recirculating pump in sub vi simulation link doesnt work in the second iteration .It opens for maybe half a second whereas i gave the time delay for 5 secs..plz help very urgent

Hi,
     I have attached my simulation loop.In the model attached i hav eone main pump with constant rpm which drives the 5 smaller pumps and fills the tank at the same time.As soon as the tanks reach their 90% level,the valves of the five pumps close(SP1,SP2,SP3,Sp4,Sp5).After that the recirculating pumps opens for 5 secs of the first tank.As soon as the recirculation finishes,the drain valve(SV1) for tank 1 open and the volume goes to interim storage.This happens for all the remaining tanks.
My simulation works the first time,but when the second time the loop starts,it skips the recirculation pump even though i gave a time delay for 5 secs.Plz help ..I have attached the simulation.
Thanks,
Rami
Attachments:
Spatial Logic_2_Final.vi ‏223 KB

Rami,
I suspect that you have a race condition. The widespread use of local variables frequently leads to race conditions. Your subVI (Spatial Logic Sub_2.vi was not included) so I cannot run the VI. You have no way of knowing whether the subVI or the inner case structure will execute first, because there is no data dependency between them.
I think a shift register or a few and some dataflow thinking would allow you to eliminate the inner case structure, the local variables, and, probably, most of your problems.
Some of the SPi are indicators and some are controls. How are they used?
The last case of the inner loop retursn to Case 1. Would case 0 be better?
As for the second time through issue, it may be related to the Elapsed time function Auto Reset. From the help file: "Resets the start time to the value in Present (s) when the Express VI reaches the Time Target (s)." If more than 5 seconds elapses between the first time you use this and the next, it will exit immediately on the subsequent calls.
Lynn

Similar Messages

  • Jaxrpc compilation exception(plz Help very Urgent Plz)

    Hello there....
    while deploying a simple webservice using deploytool i m getting this error while the application that is being deployed is not even using ejbs....
    i m trying to compile the example given on the forum by Qusay H. Mahmoud, so plz help me to get out from this......
    Thank u ....alll
    distribute: C:\Sun\AppServer\apps\Add.war
    deployment started : 0%
    Deploying application in domain failed; Error while running ejbc -- Fatal Error from EJB Compiler -- jaxrpc compilation exception
    ; requested operation cannot be completed
    !!! Operation Failed !!!
    !!! With The Following Failure Messages !!!
    Deploying application in domain failed; Error while running ejbc -- Fatal Error from EJB Compiler -- jaxrpc compilation exception
    ; requested operation cannot be completed
    Error while running ejbc -- Fatal Error from EJB Compiler -- jaxrpc compilation exception
    [Completed (time=24.0sec, status=13)]
    **********************************************************************

    I had a similar problem with Sun App Server.If you can check the domain/log/Server.log.It explains a valid endpoint address is missing in the deployment.To do this open the deployment tool and click the Implementation class in the tree(Bean Shaped).
    You can see a endpoint tab within which you need to configure the Endpoint address.
    The deployment went fine after this.
    Good Luck !!!

  • How to nullify the NullPointerException in my code. plz help  Very Urgent!!

    hi,
    I registered the crystl32.ocx properly and the previous errors were gone.
    thank you for your suggestions.
    and right now I have an error as shown below.
    Exception in thread "main" java.lang.NullPointerException
    at crystal.CrystalReport.aboutBox(CrystalReport.java:4466)
    at javaapplication10.CrystalClient.main(CrystalClient.java:25)
    Java Result: 1
    BUILD SUCCESSFUL (total time: 1 second)
    how to overcome this.

    Thanks a lot mike.
    I have attached some part of the source code here.
    package crystal;
    import com.linar.jintegra.*;
    * COM Class 'CrystalReport'. Generated 11/10/2006 4:16:13 PM
    * from 'C:\WINDOWS\system32\Crystl32.ocx'<P>
    * Generated using com2java Version 2.6 Copyright (c) Intrinsyc Software International, Inc.
    * See  <A HREF="http://j-integra.intrinsyc.com/">http://j-integra.intrinsyc.com/</A><P>
    * Description '<B>Crystal Report Control</B>'
    * Generator Options:
    *   AwtForOcxs = True
    *   PromptForTypeLibraries = False
    *   RetryOnReject = False
    *   IDispatchOnly = False
    *   GenBeanInfo = False
    *   LowerCaseMemberNames = True
    *   TreatInStarAsIn = False
    *   ArraysAsObjects = False
    *   OmitRestrictedMethods = False
    *   ClashPrefix = zz_
    *   ImplementConflictingInterfaces = False
    *   DontRenameSameMethods = False
    *   RenameConflictingInterfaceMethods = False
    *   ReuseMethods = False
    * Command Line Only Options:
    *   MakeClsidsPublic = False
    *   DontOverwrite = False
    public class CrystalReport extends com.linar.jintegra.Ocx implements com.linar.jintegra.RemoteObjRef, crystal.CrystalCtrl {
      private static final String CLSID = "00025601-0000-0000-c000-000000000046";
      protected String getJintegraVersion() { return "2.6"; }
      // Interface delegates
      private crystal.CrystalCtrlProxy d_CrystalCtrlProxy = null;
      /** Access this COM class's crystal.CrystalCtrl interface */
      public crystal.CrystalCtrl getAsCrystalCtrl() { return d_CrystalCtrlProxy; }
      /** Compare this object with another */
      public boolean equals(Object o) {
         if(java.beans.Beans.isDesignTime()) return super.equals(o);
         else return getJintegraDispatch() == null ? false : getJintegraDispatch().equals(o);
      /** J-Integra for COM internal method */
      public com.linar.jintegra.Dispatch getJintegraDispatch() {  return d_CrystalCtrlProxy; }
       * addCrystalReportEventsListener.  Listen to events generated by this class.
       * @param    theListener An object that implements the crystal.CrystalReportEvents interface.
       * @exception java.io.IOException If there are communications problems.
      public void addCrystalReportEventsListener(crystal.CrystalReportEvents theListener) throws java.io.IOException {
        if(d_CrystalCtrlProxy == null) {
          queuedListeners.addElement(new Object[] { "00025603-0000-0000-c000-000000000046", theListener });
        } else {
          d_CrystalCtrlProxy.addListener("00025603-0000-0000-c000-000000000046", theListener, this);
       * removeCrystalReportEventsListener.  Stop listening to events generated by this class.
       * @param    theListener An object that implements the crystal.CrystalReportEvents interface.
       * @exception java.io.IOException If there are communications problems.
      public void removeCrystalReportEventsListener(crystal.CrystalReportEvents theListener) throws java.io.IOException {
        d_CrystalCtrlProxy.removeListener("00025603-0000-0000-c000-000000000046", theListener);
       * Constructs a CrystalReport.
      public CrystalReport() {
        super(CLSID);
        try {
          if (super.getObjRef() == null) {
            return;
          d_CrystalCtrlProxy = new crystal.CrystalCtrlProxy(super.getObjRef());
        } catch(java.io.IOException ioe) {
          throw new RuntimeException("Unexpected: " + ioe);
       * Constructs a CrystalReport.
      public CrystalReport(Object o) {
        super(CLSID, o);
        try {
          if (super.getObjRef() == null) {
            return;
          d_CrystalCtrlProxy = new crystal.CrystalCtrlProxy(super.getObjRef());
        } catch(java.io.IOException ioe) {
          throw new RuntimeException("Unexpected: " + ioe);
      private java.util.Vector queuedListeners = new java.util.Vector();
      public void addNotify() {
        super.addNotify();
        try {
          if (super.getObjRef() == null) {
            return;
          if (d_CrystalCtrlProxy != null) {
            return;
          d_CrystalCtrlProxy = new crystal.CrystalCtrlProxy(super.getObjRef());
          zz_doQueuedSets("d_CrystalCtrlProxy", d_CrystalCtrlProxy);
          for(java.util.Enumeration e = queuedListeners.elements(); e.hasMoreElements(); ) {
            Object[] l = (Object[])e.nextElement();
            d_CrystalCtrlProxy.addListener(l[0] + "", l[1], this);
          queuedListeners.setSize(0);
        } catch(java.io.IOException ioe) {
          throw new RuntimeException("Unexpected: " + ioe);
       * Release a CrystalReport.
      public void release() {
        com.linar.jintegra.Cleaner.release(d_CrystalCtrlProxy);
       * getPropertyByName. Get the value of a property dynamically at run-time, based on its name
       * @return    The value of the property.
       * @param     name The name of the property to get.
       * @exception java.lang.NoSuchFieldException If the property does not exit.
       * @exception java.io.IOException If there are communications problems.
       * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
      public Object getPropertyByName(String name) throws NoSuchFieldException, java.io.IOException, com.linar.jintegra.AutomationException {
        try {
          return d_CrystalCtrlProxy.getPropertyByName(name);
        } catch(com.linar.jintegra.AutomationException automationException) {
          automationException.fillInStackTrace();
          throw automationException;
        } catch(NoSuchFieldException noSuchFieldException) {
          noSuchFieldException.fillInStackTrace();
          throw noSuchFieldException;
       * getPropertyByName. Get the value of a property dynamically at run-time, based on its name and a parameter
       * @return    The value of the property.
       * @param     name The name of the property to get.
       * @param     rhs A parameter used when getting the proxy.
       * @exception java.lang.NoSuchFieldException If the property does not exit.
       * @exception java.io.IOException If there are communications problems.
       * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
      public Object getPropertyByName(String name, Object rhs) throws NoSuchFieldException, java.io.IOException, com.linar.jintegra.AutomationException {
        try {
          return d_CrystalCtrlProxy.getPropertyByName(name, rhs);
        } catch(com.linar.jintegra.AutomationException automationException) {
          automationException.fillInStackTrace();
          throw automationException;
        } catch(NoSuchFieldException noSuchFieldException) {
          noSuchFieldException.fillInStackTrace();
          throw noSuchFieldException;
       * invokeMethodByName. Invoke a method dynamically at run-time
       * @return    The value returned by the method (null if none).
       * @param     name The name of the method to be invoked.
       * @param     parameters One element for each parameter. Use primitive type wrappers.
       *            to pass primitive types (eg Integer to pass an int).
       * @exception java.lang.NoSuchMethodException If the method does not exit.
       * @exception java.io.IOException If there are communications problems.
       * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
      public Object invokeMethodByName(String name, Object[] parameters) throws NoSuchMethodException, java.io.IOException, com.linar.jintegra.AutomationException {
        return d_CrystalCtrlProxy.invokeMethodByName(name, parameters);
       * invokeMethodByName. Invoke a method dynamically at run-time
       * @return    The value returned by the method (null if none).
       * @param     name The name of the method to be invoked.
       * @exception java.lang.NoSuchMethodException If the method does not exit.
       * @exception java.io.IOException If there are communications problems.
       * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
      public Object invokeMethodByName(String name) throws NoSuchMethodException, java.io.IOException, com.linar.jintegra.AutomationException {
        return d_CrystalCtrlProxy.invokeMethodByName(name, new Object[]{});
       * getReportFileName. The filename of the report to be printed
       * @return    The px
       * @exception java.io.IOException If there are communications problems.
       * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
      public String getReportFileName  () throws java.io.IOException, com.linar.jintegra.AutomationException {
        if(d_CrystalCtrlProxy == null) {
          String[] retVal = new String[1];
          zz_get("ReportFileName", retVal);
          return retVal[0];
        try {
          return d_CrystalCtrlProxy.getReportFileName();
        } catch(com.linar.jintegra.AutomationException automationException) {
          automationException.fillInStackTrace();
          throw automationException;
       * setReportFileName. The filename of the report to be printed
       * @param     px The px (in)
       * @exception java.io.IOException If there are communications problems.
       * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
      public void setReportFileName  (
                  String px) throws java.io.IOException, com.linar.jintegra.AutomationException {
        if(d_CrystalCtrlProxy == null) {
          zz_queueSet("d_CrystalCtrlProxy", "setReportFileName", (String)px);
          return;
        try {
          d_CrystalCtrlProxy.setReportFileName(px);
        } catch(com.linar.jintegra.AutomationException automationException) {
          automationException.fillInStackTrace();
          throw automationException;
       * getWindowLeft. The coordinate of the left side of the print window, relative to its parent window
       * @return    The px
       * @exception java.io.IOException If there are communications problems.
       * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
      public short getWindowLeft  () throws java.io.IOException, com.linar.jintegra.AutomationException {
        if(d_CrystalCtrlProxy == null) {
          short[] retVal = new short[1];
          zz_get("WindowLeft", retVal);
          return retVal[0];
        try {
          return d_CrystalCtrlProxy.getWindowLeft();
        } catch(com.linar.jintegra.AutomationException automationException) {
          automationException.fillInStackTrace();
          throw automationException;
       * setWindowLeft. The coordinate of the left side of the print window, relative to its parent window
       * @param     px The px (in)
       * @exception java.io.IOException If there are communications problems.
       * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
      public void setWindowLeft  (
                  short px) throws java.io.IOException, com.linar.jintegra.AutomationException {
        if(d_CrystalCtrlProxy == null) {
          zz_queueSet("d_CrystalCtrlProxy", "setWindowLeft", (short)px);
          return;
        try {
          d_CrystalCtrlProxy.setWindowLeft(px);
        } catch(com.linar.jintegra.AutomationException automationException) {
          automationException.fillInStackTrace();
          throw automationException;
       * getWindowTop. The coordinate of the top of the print window, relative to its parent window
       * @return    The px
       * @exception java.io.IOException If there are communications problems.
       * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
      public short getWindowTop  () throws java.io.IOException, com.linar.jintegra.AutomationException {
        if(d_CrystalCtrlProxy == null) {
          short[] retVal = new short[1];
          zz_get("WindowTop", retVal);
          return retVal[0];
        try {
          return d_CrystalCtrlProxy.getWindowTop();
        } catch(com.linar.jintegra.AutomationException automationException) {
          automationException.fillInStackTrace();
          throw automationException;
       * setWindowTop. The coordinate of the top of the print window, relative to its parent window
       * @param     px The px (in)
       * @exception java.io.IOException If there are communications problems.
       * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
      public void setWindowTop  (
                  short px) throws java.io.IOException, com.linar.jintegra.AutomationException {
        if(d_CrystalCtrlProxy == null) {
          zz_queueSet("d_CrystalCtrlProxy", "setWindowTop", (short)px);
          return;
        try {
          d_CrystalCtrlProxy.setWindowTop(px);
        } catch(com.linar.jintegra.AutomationException automationException) {
          automationException.fillInStackTrace();
          throw automationException;
       * getWindowWidth. The width of the print window
       * @return    The px
       * @exception java.io.IOException If there are communications problems.
       * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
      public short getWindowWidth  () throws java.io.IOException, com.linar.jintegra.AutomationException {
        if(d_CrystalCtrlProxy == null) {
          short[] retVal = new short[1];
          zz_get("WindowWidth", retVal);
          return retVal[0];
        try {
          return d_CrystalCtrlProxy.getWindowWidth();
        } catch(com.linar.jintegra.AutomationException automationException) {
          automationException.fillInStackTrace();
          throw automationException;
       * setWindowWidth. The width of the print window
       * @param     px The px (in)
       * @exception java.io.IOException If there are communications problems.
       * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
      public void setWindowWidth  (
                  short px) throws java.io.IOException, com.linar.jintegra.AutomationException {
        if(d_CrystalCtrlProxy == null) {
          zz_queueSet("d_CrystalCtrlProxy", "setWindowWidth", (short)px);
          return;
        try {
          d_CrystalCtrlProxy.setWindowWidth(px);
        } catch(com.linar.jintegra.AutomationException automationException) {
          automationException.fillInStackTrace();
          throw automationException;
       * getWindowHeight. The height of the print window
       * @return    The px
       * @exception java.io.IOException If there are communications problems.
       * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
      public short getWindowHeight  () throws java.io.IOException, com.linar.jintegra.AutomationException {
        if(d_CrystalCtrlProxy == null) {
          short[] retVal = new short[1];
          zz_get("WindowHeight", retVal);
          return retVal[0];
        try {
          return d_CrystalCtrlProxy.getWindowHeight();
        } catch(com.linar.jintegra.AutomationException automationException) {
          automationException.fillInStackTrace();
          throw automationException;
       * setWindowHeight. The height of the print window
       * @param     px The px (in)
       * @exception java.io.IOException If there are communications problems.
       * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
      public void setWindowHeight  (
                  short px) throws java.io.IOException, com.linar.jintegra.AutomationException {
        if(d_CrystalCtrlProxy == null) {
          zz_queueSet("d_CrystalCtrlProxy", "setWindowHeight", (short)px);
          return;
        try {
          d_CrystalCtrlProxy.setWindowHeight(px);
        } catch(com.linar.jintegra.AutomationException automationException) {
          automationException.fillInStackTrace();
          throw automationException;
       * getWindowTitle. The title of the print window
       * @return    The px
       * @exception java.io.IOException If there are communications problems.
       * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
      public String getWindowTitle  () throws java.io.IOException, com.linar.jintegra.AutomationException {
        if(d_CrystalCtrlProxy == null) {
          String[] retVal = new String[1];
          zz_get("WindowTitle", retVal);
          return retVal[0];
        try {
          return d_CrystalCtrlProxy.getWindowTitle();
        } catch(com.linar.jintegra.AutomationException automationException) {
          automationException.fillInStackTrace();
          throw automationException;
       * setWindowTitle. The title of the print window
       * @param     px The px (in)
       * @exception java.io.IOException If there are communications problems.
       * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
      public void setWindowTitle  (
                  String px) throws java.io.IOException, com.linar.jintegra.AutomationException {
        if(d_CrystalCtrlProxy == null) {
          zz_queueSet("d_CrystalCtrlProxy", "setWindowTitle", (String)px);
          return;
        try {
          d_CrystalCtrlProxy.setWindowTitle(px);
        } catch(com.linar.jintegra.AutomationException automationException) {
          automationException.fillInStackTrace();
          throw automationException;
       * isWindowControlBox. If set to TRUE, the print window will have a control box
       * @return    The px
       * @exception java.io.IOException If there are communications problems.
       * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
      public boolean isWindowControlBox  () throws java.io.IOException, com.linar.jintegra.AutomationException {
        if(d_CrystalCtrlProxy == null) {
          boolean[] retVal = new boolean[1];
          zz_get("WindowControlBox", retVal);
          return retVal[0];
        try {
          return d_CrystalCtrlProxy.isWindowControlBox();
        } catch(com.linar.jintegra.AutomationException automationException) {
          automationException.fillInStackTrace();
          throw automationException;
       * setWindowControlBox. If set to TRUE, the print window will have a control box
       * @param     px The px (in)
       * @exception java.io.IOException If there are communications problems.
       * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
      public void setWindowControlBox  (
                  boolean px) throws java.io.IOException, com.linar.jintegra.AutomationException {
        if(d_CrystalCtrlProxy == null) {
          zz_queueSet("d_CrystalCtrlProxy", "setWindowControlBox", (boolean)px);
          return;
        try {
          d_CrystalCtrlProxy.setWindowControlBox(px);
        } catch(com.linar.jintegra.AutomationException automationException) {
          automationException.fillInStackTrace();
          throw automationException;
       * isWindowMaxButton. If set to TRUE, the print window will have a maximize button
       * @return    The px
       * @exception java.io.IOException If there are communications problems.
       * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
      public boolean isWindowMaxButton  () throws java.io.IOException, com.linar.jintegra.AutomationException {
        if(d_CrystalCtrlProxy == null) {
          boolean[] retVal = new boolean[1];
          zz_get("WindowMaxButton", retVal);
          return retVal[0];
        try {
          return d_CrystalCtrlProxy.isWindowMaxButton();
        } catch(com.linar.jintegra.AutomationException automationException) {
          automationException.fillInStackTrace();
          throw automationException;
       * setWindowMaxButton. If set to TRUE, the print window will have a maximize button
       * @param     px The px (in)
       * @exception java.io.IOException If there are communications problems.
       * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
      public void setWindowMaxButton  (
                  boolean px) throws java.io.IOException, com.linar.jintegra.AutomationException {
        if(d_CrystalCtrlProxy == null) {
          zz_queueSet("d_CrystalCtrlProxy", "setWindowMaxButton", (boolean)px);
          return;
        try {
          d_CrystalCtrlProxy.setWindowMaxButton(px);
        } catch(com.linar.jintegra.AutomationException automationException) {
          automationException.fillInStackTrace();
          throw automationException;
       * isWindowMinButton. If set to TRUE, the print window will have a minimize button
       * @return    The px
       * @exception java.io.IOException If there are communications problems.
       * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
      public boolean isWindowMinButton  () throws java.io.IOException, com.linar.jintegra.AutomationException {
        if(d_CrystalCtrlProxy == null) {
          boolean[] retVal = new boolean[1];
          zz_get("WindowMinButton", retVal);
          return retVal[0];
        try {
          return d_CrystalCtrlProxy.isWindowMinButton();
        } catch(com.linar.jintegra.AutomationException automationException) {
          automationException.fillInStackTrace();
          throw automationException;
       * setWindowMinButton. If set to TRUE, the print window will have a minimize button
       * @param     px The px (in)
       * @exception java.io.IOException If there are communications problems.
       * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
      public void setWindowMinButton  (
                  boolean px) throws java.io.IOException, com.linar.jintegra.AutomationException {
        if(d_CrystalCtrlProxy == null) {
          zz_queueSet("d_CrystalCtrlProxy", "setWindowMinButton", (boolean)px);
          return;
        try {
          d_CrystalCtrlProxy.setWindowMinButton(px);
        } catch(com.linar.jintegra.AutomationException automationException) {
          automationException.fillInStackTrace();
          throw automationException;
       * getPrintFileName. The filename for output when printing to file
       * @return    The px
       * @exception java.io.IOException If there are communications problems.
       * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
      public String getPrintFileName  () throws java.io.IOException, com.linar.jintegra.AutomationException {
        if(d_CrystalCtrlProxy == null) {
          String[] retVal = new String[1];
          zz_get("PrintFileName", retVal);
          return retVal[0];
        try {
          return d_CrystalCtrlProxy.getPrintFileName();
        } catch(com.linar.jintegra.AutomationException automationException) {
          automationException.fillInStackTrace();
          throw automationException;
       * setPrintFileName. The filename for output when printing to file
       * @param     px The px (in)
       * @exception java.io.IOException If there are communications problems.
       * @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
      public void setPrintFileName  (
                  String px) throws java.io.IOException, com.linar.jintegra.AutomationException {
        if(d_CrystalCtrlProxy == null) {
          zz_queueSet("d_CrystalCtrlProxy", "setPrintFileName", (String)px);
          return;
        try {
          d_CrystalCtrlProxy.setPrintFileName(px);
        } catch(com.linar.jintegra.AutomationException automationException) {
          automationException.fillInStackTrace();
          throw automationException;
      }

  • Function group issue in upgrade plz help very urgent

    hi gurus,
    plz help me
    in a big trouble.
    deadline is today.
    when i activated the function group i found this error in an include
    LSVARCLS
    and when i clicked to this field it took me to another include
    LSVARTOP
    here i found
    data: f4_params type onf4_event_parameters_type.
    FYI:
    types: begin of onf4_event_parameters_type.
    types: c_fieldname     type lvc_fname.
    types: cs_row_no       type lvc_s_roid.
    types: cr_event_data   type ref to cl_alv_event_data.
    types: ct_bad_cells    type lvc_t_modi.
    types: c_display       type char01.
    types: end of onf4_event_parameters_type.
    data: f4_params type onf4_event_parameters_type.
    error is :
    Field "F4_PARAMS-C_FIELDNAME" is unknown. It is neither in one of the          
    specified tables nor defined by a "DATA" statement . . . . . . . . . .          
    thanks in  advance

    FUNCTION-POOL ZVAR MESSAGE-ID DB.
    TABLES:
            TADIR,                         " Entwicklungsklasse
            TRDIR,                         " Reportcatalog
            LDBD,                          " logical databases
            VARID,                         " variant properties
            RSVAVA,                        " Variable data in
                                           "  variants( sy-datum)
            RSVAR,                         " new RALDB structure
            RSVARDESC,                     " Report, Variante, Dynnr
            VARIT,                         " variants texts
            VARIS,                         " screennr per variant
            DD23T,                         "
            DFIES,                         "DD-Schnittstelle, get_field
            TPARAT,                        "Texte zu Memory-Ids
            TVARUVN, "#EC NEEDED
            SSCRFIELDS,
            t000.
    DATA  CHOOSE like sy-ucomm value 'PICK'.
    DATA  G_STATUS like sy-pfkey.
    *Includes für Icons
    INCLUDE .
    Include für Symbole
    INCLUDE .
    *Equates für SSCR
    INCLUDE RSDBCOM2.
    *Typen für dynamische Selektionen, verwendet bei RS_REFRESH_...DYNAMICAL
    TYPE-POOLS: RSDS, SYLDB, sydb0.
    data:  GS_TOOLBAR           TYPE STB_BUTTON.
    include lsvarcls.
    Key um unnoetige Datenbankzugriffe zu vermeiden
    DATA: BEGIN OF CHECK_KEY,
          REPORT  LIKE RSVAR-REPORT,
          VARIANT LIKE RSVAR-VARIANT.
    DATA: END OF CHECK_KEY.
    key für get_description
    *DATA: old_key LIKE check_key.
    CATALOG OF VARIANTS, OLD STRUCTURE. WILL BE DELETED BY FIRST
    CALL OF VARIANTS OUT OF FUNCTIONPOOL SVAR.
    INFORMATION WILL BE TRANSFERED TO VARID AND VARIT.
    DATA: VARCAT LIKE RSVARC OCCURS 20 WITH HEADER LINE.
    TEXT (=> VARIT)
    DATA: VARCATT LIKE RVART OCCURS 20 WITH HEADER LINE.
    SAVE INFORMATION ABOUT VARIANTS
    DATA: BEGIN OF SAVEINFO OCCURS 20,
             NAME      LIKE RVARI-NAME,
             NUMB      LIKE RVARI-NUMB,
             PROTECTED LIKE RVARI-PROTECTED,
             FIELDTEXT LIKE RSVAR-FIELDTEXT,
             KIND      LIKE RVARI-KIND,
             TYPE      LIKE RVARI-TYPE,
             VTYPE     LIKE RVARI-VTYPE,
             VNAME     LIKE RVARI-VNAME,
           appendage I= Matchcode, C=Checkbox etc
             APPENDAGE LIKE RSVAR-INVISIBLE,
             VARIS(1),                     " TVARV, FUBAU
           N= Ausgeblendet von Report,X ausgeblendet in Variante
             INVISIBLE,
             USER,
             MEMORYID LIKE RSSCR-SPAGPA,
           nur auf einem Bild vorhanden
             GLOBAL,
             NO_IMPORT,
             SPAGPA,
             NOINTERVALS,
             OBLIGATORY LIKE RSVAR-OBLIGATORY,
             RADIO,
         END OF SAVEINFO.
    DATA: BEGIN OF SAVEINFO_DYN OCCURS 10,
            TABLENAME LIKE RSDSTABS-PRIM_TAB,
            FIELDNAME LIKE RSDSTABS-PRIM_FNAME,
            FIELDTEXT LIKE RSVAR-FIELDTEXT,
            TYPE      LIKE RVARI-TYPE,
            VTYPE     LIKE RVARI-VTYPE,
            VNAME     LIKE RVARI-VNAME,
            VARIS(1),
            PROTECTED LIKE RVARI-PROTECTED,
            GLOBAL(1).
    DATA: END   OF SAVEINFO_DYN.
    data: saveinfo_sav like saveinfo occurs 0 with header line.
    data: saveinfo_dyn_sav like saveinfo_dyn occurs 0 with header line.
    key for import of variants from VARI
    DATA: BEGIN OF $RKEY,
            REPORT  LIKE RSVAR-REPORT,
            VARIANT LIKE RSVAR-VARIANT,
          END OF   $RKEY.
    vari
    DATA: L_VARI LIKE RVARI OCCURS 20 WITH HEADER LINE.
    %_SSCR
    DATA SELCTAB LIKE RSSCR OCCURS 20 WITH HEADER LINE.
    DATA GLOB_SUBMODE(2).
    DATA LOC_SUBMODE(2).
    screenfields
    DATA: XCODE(4).
    DATA: FCODE(4)      TYPE C,
          FUNC(4)       TYPE C.
    DATA: BEGIN OF INFO OCCURS 20,
            FLAG,
            OLENGTH TYPE X,
            LINE  LIKE RSVAR-INFOLINE,
          END OF INFO.
    DATA: VALUTAB LIKE RSPARAMSL OCCURS 40 WITH HEADER LINE.
    Zur allgemeinen Verwendung
    FIELD-SYMBOLS: .
    DATA ILLEGAL_CHAR.                     " Wrong sign in variant
    copy
    DATA: VARIANT2 LIKE RSVAR-VARIANT,
          VARIANT1 LIKE RSVAR-VARIANT.
    *list of parameters and select-options, screenobjects
    DATA: L_SELOP LIKE VANZ OCCURS 20 WITH HEADER LINE.
    DATA: L_SELOP_NONV LIKE VANZ OCCURS 20 WITH HEADER LINE."nonv = non visi
    DATA: L_PARAMS LIKE VANZ OCCURS 20 WITH HEADER LINE.
    DATA: L_PARAMS_NONV LIKE VANZ OCCURS 20 WITH HEADER LINE.
    DATA: SCREENOBJECTS LIKE VANZ OCCURS 20 WITH HEADER LINE.
    list of all variants concerning one report
    DATA: BEGIN OF VARI_LIST OCCURS 40,
                MARKFIELD LIKE RSVAR-MARKFIELD,
                VARIANT   LIKE RSVAR-VARIANT,
                TEXT      LIKE RVART-VTEXT,
                ENAME     LIKE RSVARC-ENAME,
                AENAME    LIKE RSVARC-AENAME,
                PROTECTED LIKE RSVARC-PROTECTED,
                ENVIRONMT LIKE RSVARC-ENVIRONMT,
                XFLAG1    LIKE VARID-XFLAG1.
    DATA: END OF VARI_LIST.
    *Variablen für das Blättern auf den Dynpros 1303 und 306.
    DATA: VARI_LIST_SCROLL LIKE SY-STEPL VALUE '1'.
    DATA: SAVE_OKCODE(4).
    table for  Dynpro 306 (delete variants)
    DATA: BEGIN OF H_VARILIST OCCURS 30,
                MARKFIELD LIKE RSVAR-MARKFIELD,
                FLAG1     LIKE RSVAR-FLAG1,
                FLAG2     LIKE RSVAR-FLAG2,
                FLAG3     LIKE RSVAR-FLAG3,
                VARIANT LIKE RSVAR-VARIANT.
    DATA: END OF H_VARILIST.
    CONSTANTS: C_PDLIST_WIDTH TYPE I VALUE '24',
               C_VARILIST     TYPE I VALUE '10'.
    DATA: CATTOP LIKE SY-TABIX VALUE '3'.  "lines top-of-page in CATALOG.
    *data: listtop like sy-tabix value '3'.  "lines top-of-page in Delete
    "vari
    DATA: PRINT_ALL_VAR.                   "alle Varianten drucken
    DATA: PRINT_CAT_VAR.                   "Katalog drucken
    Systemumgebung
    DATA ENVIRONMENT.                      " S: SAP, C: Customer
    Dynpro 320
    DATA : TEXT0(59).
    *Tables and fields for fitting variants
    *table of variants which must be fitted
    DATA: BEGIN OF FIT_VAR OCCURS 50,
           VARIANT LIKE RSVAR-VARIANT,
           FLAG(1).                        " flag = 'X' => Variante can't be
    DATA: END OF FIT_VAR.                  "fitted.
    DATA: BEGIN OF SINGLE_OPTIONS OCCURS 8,
           OPTION(2),
            TEXT(18).
    DATA: END OF SINGLE_OPTIONS.
    variants which contain variables
    internal table, per line  select-options and parameters which
    use variables
    DATA: BEGIN OF VARIVAR OCCURS 20,
            SELNAME     LIKE RSSCR-NAME,
            SELTEXT     LIKE RSVAR-FIELDTEXT,
            KIND        LIKE RVARI-KIND,
            TYPE        LIKE RVARI-TYPE,
            VTYPE       LIKE RSVAR-VTYPE,
            VTEXT       LIKE RSVAVA-VTEXT,
            FB,
            TVARV,
            VNAME       LIKE RSVAR-VNAME,
            OPTION      LIKE RSVAR-OPTION,
            SIGN(1),
            INFO_TABIX  LIKE SY-TABIX,
            DATES_TABIX LIKE SY-TABIX,
            USER,
            MEMORYID LIKE TPARA-PARAMID,
         END   OF VARIVAR.
    DATA: BEGIN OF VARIVAR_DYN OCCURS 20,
            TABLENAME  LIKE RSDSTABS-PRIM_TAB,
            FIELDNAME   LIKE RSDSTABS-PRIM_FNAME,
            KIND        LIKE RVARI-KIND,
            TYPE        LIKE RVARI-TYPE,
            VTYPE       LIKE RSVAR-VTYPE,
            VTEXT       LIKE RSVAVA-VTEXT,
            FB,
            TVARV,
            VNAME       LIKE RSVAR-VNAME,
            OPTION      LIKE RSVAR-OPTION,
            SIGN(1),
            INFO_TABIX  LIKE SY-TABIX,
            DATES_TABIX LIKE SY-TABIX,
         END   OF VARIVAR_DYN.
    DATA: VARIDATE_S LIKE RSVARIVAR OCCURS 20 WITH HEADER LINE.
    Tabelle der möglichen Datumsberechnungen für Variablen in Varianten
    Parameter
    DATA: VARIDATE_P LIKE RSVARIVAR OCCURS 20 WITH HEADER LINE.
    table of possible TVARV-variables (parameters)
    DATA: TVARV_P LIKE TVARV OCCURS 20 WITH HEADER LINE.
    table of possible TVARV-variables (select-options)
    DATA: TVARV_S LIKE TVARV OCCURS 20 WITH HEADER LINE.
    description of fields  VARIDATES
    DATA: FIDESC_DATES LIKE RSVBFIDESC OCCURS 5 WITH HEADER LINE.
    description of fields TVARV
    DATA: FIDESC_TVARV LIKE RSVBFIDESC OCCURS 5 WITH HEADER LINE.
    description of fields OPTION
    DATA: FIDESC_OPTION LIKE RSVBFIDESC OCCURS 5 WITH HEADER LINE.
    description of fields OPTION
    Feldtabelle für DYNP_VALUES_READ/UPDATE
    DATA DYNPFIELDS LIKE DYNPREAD OCCURS 50 WITH HEADER LINE.
    *desctab
    DATA: DESCTAB LIKE RSBREPI OCCURS 20 WITH HEADER LINE.
    *Hilfsfelder für Übergabeparameter
    DATA:G_SUBRC LIKE SY-SUBRC,
         L_RC LIKE SY-SUBRC.
    *Hilfsfelder für Sperren
    DATA: G_ENQSUB LIKE SY-SUBRC.
    *Hilfsfeld für mandantenabhängiges Löschen von Varianten
    DATA: DEL_ALL_VAR. "=X alle Mandanten, =' ' nur aktueller Mandant
    select variant form list.
    DATA: BEGIN OF VARIANT_TABLE OCCURS 30,
          VARIANT LIKE RSVAR-VARIANT,
          TEXT LIKE VARIT-VTEXT,
          ENVIR LIKE VARID-ENVIRONMNT,
          ENAME LIKE VARID-ENAME,
          AENAME LIKE VARID-AENAME,
          aedat like varid-aedat,
          MLANGU LIKE VARID-MLANGU,
          protected like varid-protected,
          SELSCREEN(80).                  "<= 20 Bilder
    DATA: END OF VARIANT_TABLE.
    DATA: CALL_FLAG.                             "screen 305.
    DATA: MODE_FLAG.
    Print variants  screen 308
    DATA: PRINT_LIST LIKE RSREPVAR OCCURS 30 WITH HEADER LINE.
    parameters in variables
    DATA: BEGIN OF VARIVDAT  OCCURS 5,
                SELNAME LIKE RVARI-NAME.
                INCLUDE STRUCTURE RSINTRANGE.
    DATA: END OF VARIVDAT.
    DATA: VARIVDAT_WORK LIKE VARIVDAT OCCURS 10 WITH HEADER LINE.
    DATA:EXC_SUBC LIKE SY-SUBRC.
    DATA: BEGIN OF LDB_VARIVAR OCCURS 10,
                   MARKFIELD LIKE RSVAR-MARKFIELD,
                   VTEXT     LIKE RSVARIVAR-TEXT,
                   VTYPE     LIKE RSVAR-VTYPE.
    DATA: END OF LDB_VARIVAR.
    *generate subroutinepool
    DATA: BEGIN OF REPDAT_TAB OCCURS 40,
             LINE(72),
          END OF REPDAT_TAB.
    *Tabelle zur Übergabe der alten Selektionswerte wenn sich
    *Parameter oder Select-Options geändert haben.
    *Wird von rs_variant_obsolet benötigt.
    DATA: OLD_SELECTIONS LIKE RSPARAMSL OCCURS 20 WITH HEADER LINE.
    *Flag für Aufruf aus QUERY und Report-Writer.
    *Reportname auf Einstiegsbild nicht sichtbar (not_visible = x)
    DATA: NOT_VISIBLE.
    *Varianten für Query
    DATA: QUERY_SYSVAR.
    *Einstiegsbild mit anderem Titel aufrufen.
    DATA: N_TITLE(40).
    *F4 Hilfe RS_VARIANT_CATALOG mit anderem Titel aufrufen
    DATA: G_TITLE like sy-title.
    *Unterscheidung auf Listdynpro (hauptsächlich 307)
    DATA: CALLER(4).
    *sy-subrc Felder für Import und Export.
    DATA: EXP_SUBRC LIKE SY-SUBRC,
          IMP_SUBRC LIKE SY-SUBRC.
    *Tabellen für dynamische Selektionen
    DATA: DYNSEL_DESC LIKE RSDYNBREPI OCCURS 5 WITH HEADER LINE.
    DATA: DYNS_FIELDS LIKE RSDSFIELDS OCCURS 5 WITH HEADER LINE.
    DATA: DYNSEL_VALUE LIKE RSSELDYN OCCURS 5 WITH HEADER LINE.
    *tabellen für matchcodeselection
    DATA: BEGIN OF MC_DESC OCCURS 5,
                 NAME    LIKE RSSCR-NAME,
                 ID      LIKE MCPARAMS-MCID,
                 OBJECT(10),
                 S_STRING LIKE MCPARAMS-STRING,
                 D_TEXT   LIKE DD23T-MCTEXT,
                 FROM     LIKE VANZ-FROM,
                 TO       LIKE VANZ-TO.
    DATA: END   OF MC_DESC.
    *Tabelle für Umsetzung dynamische Selektionen
    *flag = space -> umgesetzt
    *flag = G     -> Variante z.Z gesperrt
    *flag = I     -> Fehler beim Import
    DATA: BEGIN OF CHANGED_VARIANTS OCCURS 10,
                   NAME LIKE RSVAR-VARIANT,
                   FLAG.
    DATA: END OF CHANGED_VARIANTS.
    *Feld für Ikonen auf Dynpros.
    DATA: IKON(8).
    *Konstanten für Ikonen
    CONSTANTS: POP_WARNING(8) VALUE '@1A@',
               POP_ERROR(8) VALUE '@1B@',
               POP_INFO(8) VALUE '@19@',
               POP_COPY(8) VALUE '@14@',
              c_icon_enter_more(15) value 'ICON_ENTER_MORE',
               C_ICON_DISPLAY_MORE(17) VALUE 'ICON_DISPLAY_MORE'.
    DATA: MORE_ICON LIKE RSSELINT-OPTI_PUSH.
    *Konstanten für Variante ändern, Werte oder Attribute
    CONSTANTS: C_VAL  VALUE 'V'.
    Interne Tabelle für Transport
    DATA: BEGIN OF REP_VAR OCCURS 10,
            MARKFIELD.
            INCLUDE STRUCTURE $RKEY.
    DATA: END   OF REP_VAR.
    DATA: REP_VAR_CURSOR LIKE SY-INDEX VALUE 0.
    Tabelle für RS_SELOPT_INFO -> BBS
    DATA: DEFAULTS LIKE RSPARAMSL OCCURS 10 WITH HEADER LINE.
    Tabelle für Werteanzeige Tvarv.
    DATA: TVARVTAB LIKE TVARV OCCURS 10 WITH HEADER LINE.
    SUBTY-Equates
    INCLUDE RSDBCSTY.
    Textfeld für Dynpro 317.
    DATA: TEXT(4).
    Konstante für Namenskonvention Systemvariante
    CONSTANTS: SYS_VNAME(4) VALUE 'SAP&'.
    CONSTANTS: CUS_VNAME(4) VALUE 'CUS&'.
    Flag für Systemvariante gewünscht.
    DATA: C_SYSVAR.
    data vari_mandt like sy-mandt.
    data sysvar_mandt like sy-mandt value '000'.
    Check für Systemvariante
    DATA: SYSVAR_FLAG.
    Flag für Entwicklungsklasse , Werte Y oder N (aus get_devcalss)
    DATA: NON_LOCAL VALUE 'Y'.
    DATA: TABIX LIKE SY-TABIX.
    *Strutur für freie Abgrenzungen.
    DATA: VARIDYN LIKE RSVARIDYN OCCURS 10 WITH HEADER LINE.
    DATA: VDATDYN LIKE RSVDATDYN OCCURS 10 WITH HEADER LINE.
    DATA: VARIVDAT_DYN LIKE RSVDATDYN OCCURS 10 WITH HEADER LINE.
    DATA: BEGIN OF VARIVDAT_DYN_WORK OCCURS 10,
             TABLENAME LIKE RSVARIDYN-TABLENAME,
             FIELDNAME LIKE RSVARIDYN-FIELDNAME.
             INCLUDE STRUCTURE RSINTRANGE.
    DATA: END OF VARIVDAT_DYN_WORK.
    CONSTANTS: NO_IMPORT VALUE SPACE.
    Teilt IM/EXPORT_VARIANT_STATIC mit, welche übergebeneb Objekte
    im/exportiert werden sollen.
      DATA: BEGIN OF IMEX,
              VARI,
              DYNS,
            END   OF IMEX.
    Tabelle für Selektionsbildnummern
    DATA: DYNNR LIKE RSDYNNR OCCURS 10 WITH HEADER LINE.
    DATA: BEGIN OF CHOOSE_DYNNR OCCURS 10,
            MARKFIELD.
            INCLUDE STRUCTURE RSDYNNR.
    DATA: END OF CHOOSE_DYNNR.
    Sichern vom Selektionsbild, RSVAR_VARIANTT zurücksetzen
    DATA: FLAG_FIRST.     "#EC NEEDED
    DATA: FLAG_PROTECTED. "#EC NEEDED
    Daten für CALL SELECTION SCREEN Varianten
    DATA: HIDE_FLAG.
    DATA: LINE_NUMBER LIKE SY-TABIX.
    DATA: VARISCREENS LIKE RSDYNNR OCCURS 10 WITH HEADER LINE.
    data: variscreens_sav like rsdynnr occurs 10 with header line.
    DATA: FLAG_1000.
    DATA: DYNNR_TFILL LIKE SY-TFILL.
    DATA: VARISCREENS_TFILL LIKE SY-TFILL.
    DATA: DMORE_ICON(40).
    DATA: BEGIN OF  GLOBAL_OBJECTS OCCURS 10,
              NAME LIKE RSSCR-NAME,
          END   OF  GLOBAL_OBJECTS.
    DATA: BEGIN OF DYN_TAB OCCURS 10,
                DBFIELD LIKE RSSCR-DBFIELD,
          END   OF DYN_TAB.
    CONSTANTS: C_P_COLUMN TYPE I VALUE 38,
               C_I_COLUMN TYPE I VALUE 41,
               C_N_COLUMN TYPE I VALUE 44,
               C_S_COLUMN TYPE I VALUE 47,
               C_W_COLUMN TYPE I VALUE 50,
               C_M_COLUMN TYPE I VALUE 53,
               C_O_COLUMN TYPE I VALUE 56,
               MAX_WIDTH_ATTR TYPE I VALUE 77.
    CONSTANTS: MAX_WIDTH_SELVAR TYPE I VALUE 57.
    DATA: FLAG_NOIMPORT.
    DATA: CURR_STATUS(4).
    DATA: SCREEN_TITLES LIKE RSSCRITLE OCCURS 10 WITH HEADER LINE.
    RANGES V_RANGE FOR VARID-VARIANT OCCURS 10.
    DATA: FLAG_ALL_SCREENS.
    CONSTANTS: C_LOW TYPE I VALUE 34,
               C_HIGH TYPE I VALUE 58,
               C_TO   TYPE I VALUE 54,
               C_OUTPUT_LENGTH TYPE I VALUE 26,
               C_DISPLAY_LENGTH TYPE I VALUE 87,
               C_DISPLAY_LENGTH_ATTR TYPE I VALUE 104,
               C_DISPLAY_LENGTH_CAT  TYPE I VALUE 118,
               C_NO VALUE '0',
               C_DYNNR LIKE SCREEN-NAME VALUE 'RSVAR-DYNNR',
               C_ICON_MORE LIKE SCREEN-NAME VALUE 'DMORE_ICON',
               C_SCREEN_1000 LIKE SY-DYNNR VALUE '1000'.
    DATA: BELONGING_DYNNR LIKE RSDYNNR OCCURS 10 WITH HEADER LINE.
    DATA: PREFIX(20).
    DATA: D_320_TEXT(35).
    DATA: OLD_VARI LIKE RSVAR-VARIANT.
    DATA: L_SUBMODE LIKE GLOB_SUBMODE.
    DATA: ICON_1(40), ICON_2(40), ICON_3(40).
    DATA: FLAG_ICON_1, FLAG_ICON_2, FLAG_ICON_3.
    DATA: FLAG_CALLED_FROM_SELSCREEN.
    DATA: VARIVAR_TEXT LIKE RSVAVA-VTEXT.
    DATA: VARIVAR_KIND LIKE RSSCR-KIND.
    DATA: LIST_LINE LIKE SY-LILLI.
    DATA: MOD_LINE LIKE SY-LILLI.
    DATA: G_SP TYPE SYLDB_SP.
    DATA: G_RANGE TYPE RSDS_RANGE,
          G_FRANGE TYPE RSDS_FRANGE,
          G_RSDSSELOPT LIKE RSDSSELOPT.
    DATA: G_ILL_CHAR.
    DATA: FLAG_CHANGE_VARIANT.
    DATA: EXIT_FLAG.
    DATA: COMP_NODI_NAME LIKE RSSCR-NAME.
    DATA: EXCLUDE LIKE RSEXFCODE OCCURS 0 WITH HEADER LINE.
    hidefelder für Attributebild.
    DATA: HIDE(10).
    Feldbeschreibung aufgeklappt oder zugeklappt
    DATA: STATE(4).
    DATA: NO_DISPLAY_VISIBLE TYPE BOOLEAN VALUE 'F'.
    DATA: READ_LINE LIKE SY-INDEX.
    CONSTANTS: C_COLLAPSE(4) VALUE 'COLL',
               C_EXPAND(4)   VALUE 'EXPA',
               C_TRUE VALUE 'T',
               C_FALSE VALUE 'F'.
    CONSTANTS: CAT_LINE_SIZE TYPE I VALUE '127'.
    DATA: G_EXPOREP TYPE SY-REPID.
    DATA: SUBSCREENPROG LIKE SY-REPID,
          SUBSCREENDYNNR LIKE SY-DYNNR.
    data: g_subc like trdir-subc.
    data: status_for_subscreens.
    Data for subscreen processing
    data: begin of g_subscreen,
            ucomm type syucomm,
            submode(2),
            total type i,
            current type i,
            exclude type rsexfcode occurs 0,
            rkey type rsvarkey,
            variscreens type rsdynnr occurs 0,
            sscr type rsscr occurs 0,
         end   of g_subscreen.
    INCLUDE SVARSELO.
    Daten für ALV-GRID
    data:
    GT_TOOLBAR_EXCLUDING TYPE UI_FUNCTIONS,
    GRID1                TYPE REF TO CL_GUI_ALV_GRID,
    GRID2                TYPE REF TO CL_GUI_ALV_GRID,
    alv_fieldcat         TYPE LVC_T_FCAT WITH HEADER LINE,
    EVENT_RECEIVER1      TYPE REF TO CL_EVENT_RECEIVEr1,
    selected             value 'X',
    alv_layout           TYPE LVC_S_LAYO,
    alv_STABLE type LVC_S_STBL,
    ROW_TABLE            TYPE LVC_T_ROW        WITH HEADER LINE,
    alv_container_1      type REF TO CL_GUI_CUSTOM_CONTAINER,
    alv_container_2      type REF TO CL_GUI_CUSTOM_CONTAINER.
    constants: c_search value 'S'.

  • Please i need help very urgent !!! after deleting my exchange account because the company changed the password , I lost 150 200 contacts and i need to get them back very soon ! please help

    Please i need help very urgent !!! after deleting my exchange account because the company changed the password , I lost 150 200 contacts and i need to get them back very soon !  i never backed up on itunes ..please help

    No. The contacts are "owned" by the Exchange server.
    The Exchange server is owned by the company.
    Everything on the Exchange server is owned by the company.
    If you quit or were terminated, and your access to the system has been revoked, then there is nothing you and do at this point. Once you deleted the account from your phone, all of the associated data was deleted.
    NEVER store personal information on company systems.

  • Lsmw issue plz help its urgent

    Hi Experts ,
    i need to create a LSMW using batch input .
    but the requirement is on the basis of conditions my recording need to be changed .
    dat means
    3127POL09 3127POL09-1 CTR 3127-1003E 100 FUL
    3127POL09 3127POL09-2 WBS 3127POL01 60 FUL
    for ctr i ill have to post data in screen number 200
    and for wbs i ill have to post data in screen number 400 .
    can we put some conditions in recording in lsmw ?
    i no we can create multiple recording but how can we use them to fullfill my requirement .
    plz help its urgent
    thanx in advance

    Hi,
    Within LSMW, there is an option to write our own code wherein this code can be incorporated.
    This is in the Field Mapping Option...
    Just go to the Menu Extras->Layout
    and click on the check box Form Routines
    Global Data.
    Here you can define Global Variables and also perform your ABAP Coding.
    Regards,
    Balaji.

  • Migration to an asm instance. plz help me urgent

    RMAN> BACKUP AS COPY DATABASE FORMAT '+DGROUP1';
    Starting backup at 20-AUG-07
    Starting implicit crosscheck backup at 20-AUG-07
    using target database controlfile instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=328 devtype=DISK
    ORA-19501: read error on file "+DGROUP1/sravan/backupset/2007_08_03/nnsnf0_ora_asm_migration_0.260.1", blockno 1 (blocksize=512)
    ORA-17507: I/O request size is not a multiple of logical block size
    Crosschecked 7 objects
    Finished implicit crosscheck backup at 20-AUG-07
    Starting implicit crosscheck copy at 20-AUG-07
    using channel ORA_DISK_1
    ORA-19587: error occurred reading 8192 bytes at block number 1
    ORA-17507: I/O request size 8192 is not a multiple of logical block size
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 08/20/2007 16:53:21
    ORA-19587: error occurred reading 8192 bytes at block number 1
    ORA-17507: I/O request size 8192 is not a multiple of logical block size

    > plz help me urgent
    Adjective
        * S: (adj) pressing, urgent (compelling immediate action) "too pressing to permit of longer delay";So you are saying that your problem is a lot more important than any other person's problem on this forum?
    And you're demanding a quick response from professionals that give you and others assistance here in their free time without getting a single cent compensation?
    Don't you think that this "it is urgent!" statement severely lacks manners?

  • Related Link doesnt work with Multiple Helpsets

    Robohelpx4.1 is used as the authering tool to generate our help files in OHW format. We have different projects creating one helpset file each and it is merged in the ohwconfig.xml. Each helpset has its own link,map,index,Toc files created by robohelp. The link file created by robohelp has the linkitem id created in seq order and names as Link01,Link02,Link03..... .
    The link file of other helpset also has the same structure and ids. (The linkitem id's are not unique across the helpsets)
    But the related link doesnt work properly when more than one helpset is configured, for both the options of combined book and separate books. Links get mixed up and shows topics of other links.
    Is there anyway this can work ?

    Link Problem with Multiple Helpsets

  • Latest Jdeveloper link doesnt work

    Latest Jdeveloper link doesnt work.
    http://download.oracle.com/otn/java/jdeveloper/1013/jdevstudio1013.zip
    errors out .
    With page connot be displayed

    Hello,
    Thank you for reporting this.  It has been fixed and the installer is now downloading.
    Maria

  • Error Pl help-Very urgent!

    Am getting the following error.Please help very urgent
    500 Translator.CompilationFailedExceptionCompiler errors:
    Found 1 semantic error compiling "D:/JRun4/servers/default/default-ear/default-war/WEB-INF/jsp/jrun__quicklinks2ejspf.java":
    502. for (Enumeration e = prioLinkBean.getGlobalTop() ; e.hasMoreElements() ;)
    <---------->
    *** Error: "prioLinkBean" is either a misplaced package name or a non-existent entity.
    Translator.CompilationFailedExceptionCompiler errors:
    Found 1 semantic error compiling "D:/JRun4/servers/default/default-ear/default-war/WEB-INF/jsp/jrun__quicklinks2ejspf.java":
    502. for (Enumeration e = prioLinkBean.getGlobalTop() ; e.hasMoreElements() ;)
    <---------->
    *** Error: "prioLinkBean" is either a misplaced package name or a non-existent entity.

    prioLinkBean.getGlobalTop();
    are u sure this method returns an Enumeration ???
    post ur code!
    [email protected]

  • Pls help (very urgent)... hit exception on runtime...

    hi,
    hope my help can come in time...
    its pretty urgent as my final presentation is on this coming friday(singapore time)...
    i had coded a class where i can connect to the public UDDI. now i want to get the WSDL document location. but i could not get what i want. then, i used the Service class from the javax.xml.rpc where it has the getWSDLDocumentLocation() function.
    but when i implement it in my class, when i compile, it does not have any errors, but when i run it, it hit the following error:
    java.lang.ClassCastException: com.sun.xml.registry.uddi.infomodel.ServiceImpl
    at FYPJ.NaicsQuery.executeQuery(NaicsQuery.java:131)
    at FYPJ.FYPJ.jButton1ActionPerformed(FYPJ.java:409)
    at FYPJ.FYPJ.access$200(FYPJ.java:22)
    at FYPJ.FYPJ$3.actionPerformed(FYPJ.java:220)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:258)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:227)
    at java.awt.Component.processMouseEvent(Component.java:5021)
    at java.awt.Component.processEvent(Component.java:4818)
    at java.awt.Container.processEvent(Container.java:1380)
    at java.awt.Component.dispatchEventImpl(Component.java:3526)
    at java.awt.Container.dispatchEventImpl(Container.java:1437)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
    at java.awt.Container.dispatchEventImpl(Container.java:1423)
    at java.awt.Window.dispatchEventImpl(Window.java:1566)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
    the following is my class for public UDDI connection:
    package FYPJ;
    import javax.xml.registry.*;
    import javax.xml.registry.infomodel.*;
    import java.net.*;
    import java.util.*;
    import java.lang.*;
    public class NaicsQuery
    private Connection m_conn;
    private int cntServices = 0;
    Vector servicesAva = new Vector();
    // empty constructor
    public NaicsQuery()
    public void makeConnection(String conn)
         Properties props = new Properties();
         props.setProperty("javax.xml.registry.queryManagerURL", conn);
         props.setProperty("javax.xml.registry.factoryClass",
    "com.sun.xml.registry.uddi.ConnectionFactoryImpl");
         try
    ConnectionFactory factory = ConnectionFactory.newInstance();
    factory.setProperties(props);
    this.m_conn = factory.createConnection();
    System.out.println("Connection to UDDI created");
         catch (Exception e)
    e.printStackTrace();
    if (this.m_conn != null)
              try
    this.m_conn.close();
              catch (Exception eb)
    public void executeQuery(String serviceName)
         RegistryService rs;
         BusinessQueryManager bqm;
         BusinessLifeCycleManager blcm;
    try
    // Get registry service & managers
    rs = m_conn.getRegistryService();
    bqm = rs.getBusinessQueryManager();
    blcm = rs.getBusinessLifeCycleManager();
    System.out.println("Got registry service, query manager, and life cycle manager.");
    Collection classifications = new ArrayList();
    classifications.add(serviceName);
    BulkResponse response = bqm.findOrganizations(null, classifications, null, null, null, null);
    Collection orgs = response.getCollection();
    // Display info about the organizations found
    Iterator orgIter = orgs.iterator();
    while(orgIter.hasNext())
    Organization org = (Organization)orgIter.next();
    System.out.println("Organization Name: " + org.getName().getValue());
    System.out.println("Organization Description: " + org.getDescription().getValue());
    System.out.println("Organization Key ID: " + org.getKey().getId());
    Collection links = org.getExternalLinks();
    if (links.size() > 0)
    ExternalLink link = (ExternalLink)links.iterator().next();
    System.out.println("URL to WSDL document: " + link.getExternalURI());
    // Display primary contact information
    User pc = org.getPrimaryContact();
    if(pc != null)
    PersonName pcName = pc.getPersonName();
    System.out.println("Contact name: " + pcName.getFullName());
    Collection phNums = pc.getTelephoneNumbers(null);
    Iterator phIter = phNums.iterator();
    while(phIter.hasNext())
    TelephoneNumber num = (TelephoneNumber)phIter.next();
    System.out.println("Phone number: " + num.getNumber());
    Collection eAddrs = pc.getEmailAddresses();
    Iterator eaIter = eAddrs.iterator();
    while(phIter.hasNext())
    System.out.println("Email Address: " + (EmailAddress)eaIter.next());
    // Display service and binding information
    Collection services = org.getServices();
    Iterator svcIter = services.iterator();
    while(svcIter.hasNext())
    Service svc = (Service)svcIter.next();
    System.out.println("Service name: " + svc.getName().getValue());
    System.out.println(" Service description: " + svc.getDescription().getValue());
    //Collection linkURL = svc.getExternalLinks();
    //System.out.println(" WSDL document: " + linkURL.toString());
    javax.xml.rpc.Service rpcSvc = (javax.xml.rpc.Service)svcIter.next();
    System.out.println(" WSDL location: " + rpcSvc.getWSDLDocumentLocation());
    cntServices ++;
    servicesAva.add((String)svc.getName().getValue() + " (" + org.getName().getValue() + ")");
    Collection serviceBindings = svc.getServiceBindings();
    Iterator sbIter = serviceBindings.iterator();
    while(sbIter.hasNext())
    ServiceBinding sb = (ServiceBinding)sbIter.next();
    System.out.println(" Binding description: " + sb.getDescription().getValue());
    System.out.println(" Access URI: " + sb.getAccessURI());
    Collection specLinks = sb.getSpecificationLinks();
    Iterator slIter = specLinks.iterator();
    while(slIter.hasNext())
    SpecificationLink spLink = (SpecificationLink)slIter.next();
    System.out.println(" Usage description: " + spLink.getUsageDescription());
    Collection useParam = spLink.getUsageParameters();
    Iterator useIter = useParam.iterator();
    while(useIter.hasNext())
    String usage = (String)useIter.next();
    System.out.println(" Usage Parameter: " + usage);
    System.out.println("-----------------------------------");
    System.out.println("*****************************************************************");
    catch(Throwable e)
    e.printStackTrace();
    finally
    // At end, close connection to registry
    if(m_conn != null)
    try
    this.m_conn.close();
    catch(JAXRException jaxre)
    public int getNumServices()
    return cntServices;
    public Vector getServicesAva()
    return servicesAva;
    ur help will be greatly appreciated...
    thanx in advance...
    - eric

    Eric ,
    You are trying to cast a javax.xml.registry.infomodel.Service to javax.xml.rpc.Service. This is not right
    This is causing the problem.
    There is an article on how to use the different Java Web services developer pack technologies using the example of the employee portal at
    http://developer.java.sun.com/developer/technicalArticles/WebServices/WSPack2/index.html
    That may give you an idea on how to go about doing it.
    Thanks,
    Bhakti
    hi,
    hope my help can come in time...
    its pretty urgent as my final presentation is on this
    coming friday(singapore time)...
    i had coded a class where i can connect to the public
    UDDI. now i want to get the WSDL document location.
    but i could not get what i want. then, i used the
    Service class from the javax.xml.rpc where it has the
    getWSDLDocumentLocation() function.
    but when i implement it in my class, when i compile,
    it does not have any errors, but when i run it, it hit
    the following error:
    java.lang.ClassCastException:
    com.sun.xml.registry.uddi.infomodel.ServiceImpl
    at
    at
    at
    t FYPJ.NaicsQuery.executeQuery(NaicsQuery.java:131)
    at
    at
    at FYPJ.FYPJ.jButton1ActionPerformed(FYPJ.java:409)
    at FYPJ.FYPJ.access$200(FYPJ.java:22)
    at FYPJ.FYPJ$3.actionPerformed(FYPJ.java:220)
    at
    at
    at
    t
    javax.swing.AbstractButton.fireActionPerformed(Abstract
    utton.java:1767)
    at
    at
    at
    t
    javax.swing.AbstractButton$ForwardActionEvents.actionPe
    formed(AbstractButton.java:1820)
    at
    at
    at
    t
    javax.swing.DefaultButtonModel.fireActionPerformed(Defa
    ltButtonModel.java:419)
    at
    at
    at
    t
    javax.swing.DefaultButtonModel.setPressed(DefaultButton
    odel.java:257)
    at
    at
    at
    t
    javax.swing.plaf.basic.BasicButtonListener.mouseRelease
    (BasicButtonListener.java:258)
    at
    at
    at
    t
    java.awt.AWTEventMulticaster.mouseReleased(AWTEventMult
    caster.java:227)
    at
    at
    at
    t
    java.awt.Component.processMouseEvent(Component.java:502
    at
    at
    at
    t
    java.awt.Component.processEvent(Component.java:4818)
    at
    at
    at
    t
    java.awt.Container.processEvent(Container.java:1380)
    at
    at
    at
    t
    java.awt.Component.dispatchEventImpl(Component.java:352
    at
    at
    at
    t
    java.awt.Container.dispatchEventImpl(Container.java:143
    at
    at
    at
    t
    java.awt.Component.dispatchEvent(Component.java:3367)
    at
    at
    at
    t
    java.awt.LightweightDispatcher.retargetMouseEvent(Conta
    ner.java:3214)
    at
    at
    at
    t
    java.awt.LightweightDispatcher.processMouseEvent(Contai
    er.java:2929)
    at
    at
    at
    t
    java.awt.LightweightDispatcher.dispatchEvent(Container.
    ava:2859)
    at
    at
    at
    t
    java.awt.Container.dispatchEventImpl(Container.java:142
    at
    at
    at
    t java.awt.Window.dispatchEventImpl(Window.java:1566)
    at
    at
    at
    t
    java.awt.Component.dispatchEvent(Component.java:3367)
    at
    at
    at
    t
    java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
    at
    at
    at
    t
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(E
    entDispatchThread.java:190)
    at
    at
    at
    t
    java.awt.EventDispatchThread.pumpEventsForHierarchy(Eve
    tDispatchThread.java:144)
    at
    at
    at
    t
    java.awt.EventDispatchThread.pumpEvents(EventDispatchTh
    ead.java:138)
    at
    at
    at
    t
    java.awt.EventDispatchThread.pumpEvents(EventDispatchTh
    ead.java:130)
    at
    at
    at
    t
    java.awt.EventDispatchThread.run(EventDispatchThread.ja
    a:98)
    the following is my class for public UDDI connection:
    package FYPJ;
    import javax.xml.registry.*;
    import javax.xml.registry.infomodel.*;
    import java.net.*;
    import java.util.*;
    import java.lang.*;
    public class NaicsQuery
    private Connection m_conn;
    private int cntServices = 0;
    Vector servicesAva = new Vector();
    // empty constructor
    public NaicsQuery()
    public void makeConnection(String conn)
         Properties props = new Properties();
         props.setProperty("javax.xml.registry.queryManagerURL"
    conn);
    props.setProperty("javax.xml.registry.factoryClass",
    "com.sun.xml.registry.uddi.ConnectionFactoryImpl");
         try
    ConnectionFactory factory =
    y factory = ConnectionFactory.newInstance();
    factory.setProperties(props);
    this.m_conn = factory.createConnection();
    System.out.println("Connection to UDDI
    ion to UDDI created");
         catch (Exception e)
    e.printStackTrace();
    if (this.m_conn != null)
              try
    this.m_conn.close();
              catch (Exception eb)
    public void executeQuery(String serviceName)
         RegistryService rs;
         BusinessQueryManager bqm;
         BusinessLifeCycleManager blcm;
    try
    // Get registry service & managers
    rs = m_conn.getRegistryService();
    bqm = rs.getBusinessQueryManager();
    blcm = rs.getBusinessLifeCycleManager();
    System.out.println("Got registry service,
    ry service, query manager, and life cycle manager.");
    Collection classifications = new
    tions = new ArrayList();
    classifications.add(serviceName);
    BulkResponse response =
    response = bqm.findOrganizations(null,
    classifications, null, null, null, null);
    Collection orgs =
    tion orgs = response.getCollection();
    // Display info about the organizations
    ganizations found
    Iterator orgIter = orgs.iterator();
    while(orgIter.hasNext())
    Organization org =
    anization org = (Organization)orgIter.next();
    System.out.println("Organization Name:
    anization Name: " + org.getName().getValue());
    System.out.println("Organization
    n("Organization Description: " +
    org.getDescription().getValue());
    System.out.println("Organization Key
    rganization Key ID: " + org.getKey().getId());
    Collection links =
    lection links = org.getExternalLinks();
    if (links.size() > 0)
    ExternalLink link =
    ExternalLink link =
    (ExternalLink)links.iterator().next();
    System.out.println("URL to WSDL
    rintln("URL to WSDL document: " +
    link.getExternalURI());
    // Display primary contact
    primary contact information
    User pc = org.getPrimaryContact();
    if(pc != null)
    PersonName pcName =
    PersonName pcName = pc.getPersonName();
    System.out.println("Contact name:
    ntln("Contact name: " + pcName.getFullName());
    Collection phNums =
    Collection phNums = pc.getTelephoneNumbers(null);
    Iterator phIter =
    Iterator phIter = phNums.iterator();
    while(phIter.hasNext())
    TelephoneNumber num =
    TelephoneNumber num =
    = (TelephoneNumber)phIter.next();
    System.out.println("Phone
    stem.out.println("Phone number: " + num.getNumber());
    Collection eAddrs =
    Collection eAddrs = pc.getEmailAddresses();
    Iterator eaIter =
    Iterator eaIter = eAddrs.iterator();
    while(phIter.hasNext())
    System.out.println("Email
    stem.out.println("Email Address: " +
    (EmailAddress)eaIter.next());
    // Display service and binding
    ice and binding information
    Collection services =
    tion services = org.getServices();
    Iterator svcIter =
    rator svcIter = services.iterator();
    while(svcIter.hasNext())
    Service svc =
    Service svc = (Service)svcIter.next();
    System.out.println("Service name:
    ntln("Service name: " + svc.getName().getValue());
    System.out.println(" Service
    t.println(" Service description: " +
    svc.getDescription().getValue());
    //Collection linkURL =
    ollection linkURL = svc.getExternalLinks();
    //System.out.println(" WSDL
    .out.println(" WSDL document: " +
    linkURL.toString());
    javax.xml.rpc.Service rpcSvc =
    pc.Service rpcSvc =
    (javax.xml.rpc.Service)svcIter.next();
    System.out.println(" WSDL
    .out.println(" WSDL location: " +
    rpcSvc.getWSDLDocumentLocation());
    cntServices ++;
    servicesAva.add((String)svc.getName().getValue()
    lue() + " (" + org.getName().getValue() + ")");
    Collection serviceBindings =
    n serviceBindings = svc.getServiceBindings();
    Iterator sbIter =
    Iterator sbIter = serviceBindings.iterator();
    while(sbIter.hasNext())
    ServiceBinding sb =
    ServiceBinding sb =
    b = (ServiceBinding)sbIter.next();
    System.out.println(" Binding
    m.out.println(" Binding description: " +
    sb.getDescription().getValue());
    System.out.println(" Access
    em.out.println(" Access URI: " + sb.getAccessURI());
    Collection specLinks =
    Collection specLinks = sb.getSpecificationLinks();
    Iterator slIter =
    Iterator slIter = specLinks.iterator();
    while(slIter.hasNext())
    SpecificationLink spLink =
    SpecificationLink spLink =
    (SpecificationLink)slIter.next();
    System.out.println(" Usage
    System.out.println(" Usage description: " +
    spLink.getUsageDescription());
    Collection useParam =
    Collection useParam =
    ram = spLink.getUsageParameters();
    Iterator useIter =
    Iterator useIter = useParam.iterator();
    while(useIter.hasNext())
    String usage =
    String usage =
    String usage = (String)useIter.next();
    System.out.println("
    System.out.println(" Usage Parameter: " +
    meter: " + usage);
    System.out.println("----------------------------------
    System.out.println("**********************************
    catch(Throwable e)
    e.printStackTrace();
    finally
    // At end, close connection to registry
    if(m_conn != null)
    try
    this.m_conn.close();
    catch(JAXRException jaxre)
    public int getNumServices()
    return cntServices;
    public Vector getServicesAva()
    return servicesAva;
    ur help will be greatly appreciated...
    thanx in advance...
    - eric

  • Time out error in oracle reports--very urgent

    Hi
    I have this oracle report on 9i which calls 14 other reports and runs them
    via a wrapper report which I run from a URL
    However I get this engine null crashed error or else Engine rwEng-0 is destroyed due to timeout error.
    From what I understand there is a timeout issue happening bcoz reports is taking a long time to run.Hence I increased the value of engineResponseTimeOut but it does not help either.Would you have any other idea to resolve this issue?
    Could someone plz tell me urgently how can this be resolved.This is on Oracle 9i.
    Thanks

    Hi Ravi kanth,
    You are using select * statement which is very time consuming and low performance. Dont use select * instead use select field1 field2.... into table itab  where field1 = s_field.  Use corresponding field names in the select statement.
    Follow the below rules.
    1) Dont use nested select statements
    2) If possible use for all entries in addition
    3) In the where addition make sure you give all the primary key
    4) Use Index for the selection criteria.
    5) You can also use inner joins
    6) You can try to put the data from the first select statement into an Itab and then in order to select the data from the second table use for all entries in.
    7) Use the runtime analysis SE30 and SQL Trace (ST05) to identify the performance and also to identify where the load is heavy, so that you can change the code accordingly
    <b>reward if useful</b>.
    Regards,
    sunil kairam.

  • Problem with Accessing Deployed Servlets Please help, very urgent.

    Inspite of going through lots of Docs. I am not able to access the JSP which is deployed using JDeveloper 3.2 in the browser? What should be the URL and where should I place the JSP and the related files in the Apache Server (Specific directory)?
    Please help, this is very Urgent.
    Could I get some sites where I can get detailed description of how to deploy and access Servlets and JSPS using JDeveloper 3.2 for OAS 9i?
    Thanks in advance,
    Regards,
    Kavita.
    null

    Hi Kativa,
    In answer to your first question: In most apache installs, you want to place all your JSPs under the Apache/htdocs directory. This htdocs directory becomes the root directory of your HTTP request, so, for example, to access the file
    Apache/htdocs/mydir/myJSP.jsp
    you'd point your browser to
    server:port/mydir/myJSP.jsp]http://server:port/mydir/myJSP.jsp
    As to your second question: Do you mean Oracle 9iAS? If so, look at this HOWTO: http://technet.oracle.com:89/ubb/Forum2/HTML/006398.html
    JDeveloper 3.2 does not support deployment to OAS (the predecessor to iAS), but there was no OAS 9i.
    null

  • MySQL Boken Pipe Exception...Plz Help Me Urgently

    Hello Friends....
    When I shifted my Java application which has MySQL(Linux has MySQL - 4.1.21-standard version. ) as a backend on Linux Platform I encountered following exception...
    com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
    ** BEGIN NESTED EXCEPTION **
    java.net.SocketException
    MESSAGE: Broken pipe
    STACKTRACE:
    java.net.SocketException: Broken pipe
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
    at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2692)
    at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2621)
    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1552)
    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1666)
    at com.mysql.jdbc.Connection.execSQL(Connection.java:2994)
    at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:936)
    at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1030)
    at ServerThread.run(ServerThread.java:98)
    ** END NESTED EXCEPTION **
    its working fine when I tested it on Windows patform with MySql 5.0 as backend.
    Plz Help me. I get struck on thi sproblem from last 2 days.
    //PremInd
    Message was edited by:
    Prem_India
    Message was edited by:
    Prem_India

    Thanks for your response....
    I'm developing chat application. In my server side code I called a thered which listen for all request for that user. The exception is occured in thread. Here is sanpshot of code...
    public class ServerThread extends Thread
    // Variable Declaration
    public ServerThread( Server server, Socket socket, String acntName, String opratorID )
        this.server = server;
        this.socket = socket;
        this.accName1 = acntName;
        this.oprID1 = opratorID;
        try
              Class.forName("com.mysql.jdbc.Driver").newInstance();                
            con = DriverManager.getConnection("jdbc:mysql://localhost/livechatdb","root","");
        catch(Exception ee)
             System.out.println("Break in ServerThread Cons "+ee);
        start();
      public void run()
        String savacc="";
        try
          DataInputStream din = new DataInputStream( socket.getInputStream() );
          DataOutputStream dos = new DataOutputStream(socket.getOutputStream());
          String message;              
          while (true)
            System.out.println("Thread Runnnnnning..");
            message = din.readUTF();           
            System.out.println("~~~~ "+message);
           if(message.startsWith("^%%^"))
                   StringTokenizer stok = new StringTokenizer(message,"~");
                   String rmv1 = stok.nextToken();
                   String cID1 = stok.nextToken();
                   String accNm1 = stok.nextToken();
                   String oprID1 = stok.nextToken();
                   String deptNm1= stok.nextToken();              
                   String IPAddress1 = stok.nextToken();
                   String oprName1 = stok.nextToken();
                   PreparedStatement pStmt1;
                     rs.close();
                   try
                           System.out.println(" Line 9999 99999 ");         
                           pStmt1 = con.prepareStatement("Select status from Customer where custID = ? and accName= ? ");
                            pStmt1.setString(1,cID1);
                            pStmt1.setString(2,accNm1);                      
                           rs = pStmt1.executeQuery();       
                          System.out.println(" Line 100 1000 1000000  ");
                           while(rs.next())
                                  String stat = rs.getString("status");
                                  if(stat.equals("Chat Request"))
                                        /* set status to chatting in Cutomer table */
                                        String strStatus = "Chatting : "+oprName1;                                    
                                        pStmt = con.prepareStatement("Update Customer set status = ? where custID = ? and accName= ? ");
                                        System.out.println (" Line 107              107           107");
                                        pStmt.setString(1,strStatus);                                   
                                        pStmt.setString(2,cID1);
                                   pStmt.setString(3,accNm1);                                                                                    
                                 int i = pStmt.executeUpdate();
                                 System.out.println (" Line 112              112           112 "+i);
                                 dos.writeUTF("^%%^"+"~"+"Y"+"~"+IPAddress1);
                                 server.sendUpdateChatOperTbl(deptNm1,accNm1,cID1,"*",strStatus);                                                            
                                  else
                                        dos.writeUTF("^%%^"+"~"+"N"+"~"+IPAddress1);
                 catch (Exception ex)
                        System.out.println (" Line 131  131   131  "+ex);
           else if(message.startsWith("!O!"))  //chat opr connect
                            // other stuff
    After this line exception occured System.out.println(" Line 9999 99999 "); & it catch at this line System.out.println (" Line 131 131 131 "+ex);
    Thanks.
    Waiting for Reply...

  • Goods movement on a mass scale...Plz help, its urgent.

    Hi Gurus,
    I need to do the goods issue to a cost centre on a mass scale. Is there any way to do it in one hit or do i need to to put all the materials manually (around 3000 materials) and then enter the qty to be transfered?
    Kindly help me out, its very urgent...
    Thanks,
    Swati.

    Ask your Abaper to write a BDC Program and give all the details in EXCEL sheet

Maybe you are looking for

  • Hidden tag in a jsp

    I would like to give a hidden tag a value. The value i need to give the hidden tag is from the previous jsp's hidden tag. how do i do this thank you.

  • Installation of Photoshop Elements 9

    Hello how to install my photoshop elements 9 unto my new laptop that hasn't a disc drive? Thanks

  • How to set screen field in ME_PROCESS_PO_CUST?

    Dear all, I need to set this field 'MEPO1317-MWSKZ' to display only by some criteria. I want to know HOW to do it in ME_PROCESS_PO_CUST Thanks for your kindly helpful.

  • Upgrading to a Casio digital camera, EX-S770

    Hello, I'm considering upgrading from my Minolta DiMage X digital camera to a Casio Exilim Card EX-S770. Questions: 1. The Casio camera has USB 2.0. Would it work okay with my USB 1.1 (and iPhoto 2.0.1 in Tiger 10.4.7 in my Quicksilver G4)? 2. My cho

  • G5 w/New VeloRaptor  and WD 1TB drives shut down after 5 min. of inactivity

    We partitioned the VelociRaptor and got it up and running yesterday. Loaded all the programs into it and installed a new WD terabyte scratch disk that holds documents. By yesterday afternoon the computer wowed up with its extremely fast performance.