I want to determine the perfect values for the motor ... along with its pid values

I'm ne to labview and this is my second program.... i designed a motor which maintains constan speed with varying load..... the problem is i dont know the real values of any motor. . .  and as the inertia across the load decreases the speed oscillates a lot . . . and i'm even not happy with the current(I(A)) readings ... they dont follow the motor characteristics i think . . .  can someone please point out the mistakes and clarify them for me ... 
thanks in advance
Attachments:
Motor1_4.vi ‏304 KB
Control 10.ctl ‏6 KB

Hi Rahul,
Please find below the require info:
4.6 B                                   ECC 6.0
'POPUP_TO_CONFIRM_STEP'               POPUP_TO_CONFIRM
'TABLE_COMPRESS'                    Not obsolete
'TABLE_DECOMPRESS'                    Not obsolete
'WS_QUERY'
'WS_UPLOAD'                         GUI_UPLOAD”
'DISPLAY_BASIC_LIST'                    Not obsolete
'POPUP_TO_DECIDE'                    POPUP_TO_CONFIRM
'CLPB_EXPORT'                         Use class CL_GUI_FRONTEND_SERVICES
'HELP_VALUES_GET_WITH_TABLE'          F4IF_INT_TABLE_VALUE_REQUEST
'DISPLAY_GRID_LIST'
'WS_DOWNLOAD'                    GUI_DOWNLOAD
'POPUP_TO_GET_VALUE'               Not Obsolete
'POPUP_TO_GET_DATE'     
'DOWNLOAD'                    “GUI_DOWNLOAD”
'WS_FILENAME_GET'                    KD_GET_FILENAME_ON_F4
'READ_EXCHANGE_RATE_N'
'CONVERT_DATE_INPUT'               Not Obsolete
'DB_COMMIT'                    Nott Obsolete
'WS_EXCEL'                         WS_DOWNLOAD and then execute WS_EXECUTE
'STRING_SPLIT'
'HELP_VALUES_GET'               F4IF_FIELD_VALUE_REQUEST
'CHECK_IBAN_ACTIVE'
'POPUP_TO_CONFIRM_WITH_MESSAGE'          POPUP_TO_CONFIRM.
'POPUP_TO_CONFIRM_LOSS_OF_DATA'          POPUP_TO_CONFIRM
'SYSTEM_GET_UNIQUE_ID'                    SYSTEM_UUID_C_CREATE
'TR_RELEASE_COMM'
'GRAPH_DIALOG'
'CONVERT_TO_LOCAL_CURRENCY_N'
'WS_FILE_DELETE'                              GUI_DELETE_FILE
'WWW_GET_MIME_OBJECT'
'GET_FIELDTAB'
'HELP_VALUES_GET_NO_DD_NAME'          F4IF_INT_TABLE_VALUE_REQUEST
'FI_DOCUMENT_ARCH_READ_SINGLE'
Thanks
Piyush
Reward point, if helpfull.

Similar Messages

  • Value for a characteristic changed with an other value in Query Design

    I want to change the value for a characteristic (Type) in Query Design (not the description, the value).
    In my cube I have these values:
    Customer *** Type
    22222********SmallCorp
    22223********SmallCorp
    22224********MedCorp
    The report should like:
    Customer *** Type
    22222********LEGALENTITIES
    22223********LEGALENTITIES
    22224********LEGALENTITIES
    Or only the "SmallCorp" value should be changed in LEGALENTITIES.
    How to do that?
    Thanks,
    Dragos

    You can write an exit to replace Type SmallCorp to LEGALENTITIES.
    But this will reflect in other queries too....
    Or If change in modelling is still an option, you can add one more Type 2 in the cube and update in the transformation with Constant =  LEGALENTITIES. Use the Type 2 in the queries.

  • BAPI for doing MIGO along with capturing excise values.

    i am doing good reciept for stock transfer through MB01  through BAPI_GOODSMVT_CREATE . In BAPI_EXCINV_CREATE_FROMDATA there is no code AVAILABLE as this bapi is not released . HOW TO GET CODE FOR IT
    how to do this with bapi only TO UPDATE EXCISE INV VALUES IN GOOD RECIEPT DOCUMENT
    Edited by: deepika jain on Mar 11, 2010 8:59 AM

    Hi,
      Here is the code for the FM and Country India Version:
    FUNCTION BAPI_EXCINV_CREATE_FROMDATA .
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(OBJ_HEADER) LIKE  BAPI_J_1IEXCHDR STRUCTURE
    *"        BAPI_J_1IEXCHDR
    *"     VALUE(PROCESS_FLAG) LIKE  BAPI_J_1IEXCHDR-REF_INDICATOR
    *"  TABLES
    *"      OBJ_ITEM STRUCTURE  BAPI_J_1IEXCDTL
    *"      RETURN STRUCTURE  BAPIRET2
    ENHANCEMENT-POINT BAPI_EXCINV_CREATE_FROMDATA_G8 SPOTS ES_SAPLJ1IBAPI STATIC.
    $$-Start: BAPI_EXCINV_CREATE_FROMDATA_G8----
    $$
    ENHANCEMENT 5  MGV_GENERATED_SAPLJ1IBAPI.    "active version
    DATA: T_MGV_FNAMES1 LIKE MGVBAPIFNAMES OCCURS 0 WITH HEADER LINE.
    ENDENHANCEMENT.
    $$-End:   BAPI_EXCINV_CREATE_FROMDATA_G8----
    $$
    ENHANCEMENT-POINT BAPI_EXCINV_CREATE_FROMDATA_G6 SPOTS ES_SAPLJ1IBAPI.
    $$-Start: BAPI_EXCINV_CREATE_FROMDATA_G6----
    $$
    ENHANCEMENT 1  MGV_GENERATED_SAPLJ1IBAPI.    "active version
    *{BAPI Begin} generation http://intranet.sap.com/materialversion
    *Do not change coding between begin and end comments. ANI 20050118
    T_MGV_FNAMES1-INT = 'MATERIAL'.
    T_MGV_FNAMES1-EXT = 'MATERIAL_EXTERNAL'.
    T_MGV_FNAMES1-VERS = 'MATERIAL_VERSION'.
    T_MGV_FNAMES1-GUID = 'MATERIAL_GUID'.
    APPEND T_MGV_FNAMES1.
    CALL FUNCTION 'MATNR_BAPI_TABLES_CONVERSION'
    EXPORTING
      INT_TO_EXTERNAL = ' '
    TABLES
      T_FNAMES = T_MGV_FNAMES1
      T_MATNR  = OBJ_ITEM
    *{BAPI End} generation
    ENDENHANCEMENT.
    $$-End:   BAPI_EXCINV_CREATE_FROMDATA_G6----
    $$
    *This function takes input from external system regarding the
    Excise invoice header and item. The process_flag tells whether
    *the invoice is incoming or outging. The transaction type is to be
    *set accordingly. Excise invoice number is generated externally
    *This function generates an internal number, Part 2 numbers and
    *creates an FI document for the CENVAT posting. The logical system
    *details coming from the external application needs to be updated
    *into the excise data as well as accounting data
    ENHANCEMENT-POINT BAPI_EXCINV_CREATE_FROMDATA_G7 SPOTS ES_SAPLJ1IBAPI.
    $$-Start: BAPI_EXCINV_CREATE_FROMDATA_G7----
    $$
    ENHANCEMENT 2  MGV_GENERATED_SAPLJ1IBAPI.    "active version
    *{BAPI Begin} generation http://intranet.sap.com/materialversion
    CALL FUNCTION 'MATNR_BAPI_TABLES_CONVERSION'
    EXPORTING
      INT_TO_EXTERNAL = 'X'
    TABLES
      T_FNAMES = T_MGV_FNAMES1
      T_MATNR  = OBJ_ITEM
    *{BAPI End} generation
    ENDENHANCEMENT.
    $$-End:   BAPI_EXCINV_CREATE_FROMDATA_G7----
    $$
    ENDFUNCTION.
    cheers
    Aveek

  • I want better solution for adjusting the Material stock values for the last

    my Customer  need to adjust( Decrease)  the closing stock values for the following materials / plant wise as on 31.03.2006 for meeting statuary compliance.
    Material1 :  RS: 4149599    QTY : 10181.03 Ltrs
    Material 2  : RS: 1318596     QTY:  2152.76   Ltrs
    As per my knowledge MM posting periods can open current month and Previous month only. For the reason I proposed the solution as follows:
    Step 1 : post FI Journal Entry on 31.03.2006
    Opening Balance G/L  Account Dr 4149599 + 1318596
    Closting Stock a/c                      Cr 4149599 + 1318596
    Step 2.
    Change the Material Price in MM through T.Code: MR21
    ( Posting will be allowed in current or previous months)
    This makes our CO reports accurate.
    Please  suggest the better solution if it is possible in MM for adjusting the Material stock values for the last financial year.
    WIth Best Regards,
    Rajesh
    <b></b>

    Hi Madhavan,
    Unfortunately this forum deals with migrations from non-Oracle
    environments to Oracle. You seem to be dealing with migrations in
    an Oracle environment mainly.
    I would recommend that you contact Oracle Applications and RDBMS
    support directly. They will have the most up to date
    information/advice on performing these actions.
    Regards
    John
    Madhavan (guest) wrote:
    : Hi John
    : Thanks for your reply.
    : Actually I am planning to upgrade the system.
    : 1. I Want to Upgrade Oracle Financials release 10.7 to the
    : latest version (11.x)
    : 2. Oracle 7 database to oracle 8 or 8i.
    : 3. Oracle is running on NT service pack 3. Do I need to upgrade
    : this?. If not what is the impact on Windows NT?
    : 4. Is the majority still running smart client 10.7 and database
    : 7?
    : 5. What is the necessary time to implement these upgrades? What
    : type of consulting I need to have?
    : 6. I have some employees working on it? Will these changes
    : affect them?
    : What type of precautions I need to take on the whole??
    : Thank You
    : Madhavan
    Oracle Technology Network
    http://technet.oracle.com
    null

  • I hired a commercial artist to create a color image for the cover of a self published book. I want a black and white image for the inside. The commercial artist has not responded to this request. How do I determine the format of the color image, I'm guess

    I hired a commercial artist to create a color image for the cover of a self published book. I want a black and white image for the inside. The commercial artist has not responded to this request. How do I determine the format of the color image, I'm guessing it's Illustrator's formatting but I don't know. How can I find out if Illustrator will open the file and allow alterations? The image opens only in Apple's Pages software?

    rons,
    It seems that all you have is a raster image, presumable PNG24 or JPEG, in RGB.
    It may have been created as raster artwork in Photoshop, or it may have been created as vector artwork with the help of Illy, or as a mixture of vector and raster artwork in either application, or both combined.
    If you just need to have a raster representation in black and white based on the current colour image, you may try this, in a new RGB document (View>Smart Guides are your friends):
    1) File>Place the image (you may tick Link or untick and have it embedded);
    2) Create a rectangle with black fill (R = G = B = 0), at least as large as the image, and place it behind the image (you may ClickDrag with the Rectangle Tool between opposite corners, then Ctrl/Cmd+X+B);
    3) Select all and in the Transparnecy palette flyout click Make Opacity Mask with both Clip and Invert Mask ticked.

  • I want to clear the values for the controls

    Hi all,
            After Adding Process, i want to clear the values for the controls in the form.
    Any one help me.

    If you use 2005, you can use the Formdata Event and catch the FORM_DATA_ADD event... In there you can clear the data

  • Creation of a Query to show the values for the current month and the last 12 months data.

    Dear All,
    Good day!
    I have to create a Query with the below requirement.
    I have to create a Query to show the values for the current month and the last 12 months data.
    Can you please guide me how to achieve this ??
    thank you,
    Regards,
    Hema

    Hema
    explain the exact problem..? as you mentioned you want to create query to show values for current month and last 12 months.. so I think you want to show values for 12 months from current data.. you can achive this by multiple way..
    you can have selection screen and field with date .. and restrict based on system current date and 12 months before or you can handle this at your target.. .. I mean there are multiple ways to restrict data by date range..
    for some more hints..
    http://www.forumtopics.com/busobj/viewtopic.php?t=34393&sid=7fba465d0463bf7ff5ec46c128754ed6
    http://businessintelligence.ittoolbox.com/groups/technical-functional/cognos8-l/how-to-display-last-12-months-in-report-based-on-todays-date-3231850
    http://scn.sap.com/thread/3217381
    search on SDN you will get many other ways..
    Thanks,
    Bhupesh

  • What are the default values for the NetStream.multicast***** properties

    I read the api document about NetStream.multicast**** properties, but found no default values were given. Will the default values be changed when FP10.1 release?? Or, the values are always changing at runtime?
    I have a web-tv application, it broadcast some live videos created by my friends, I think that the latency and lag-time can be bigger in my app, I want to know the recommended default values for the multicast*** properties.
    I think the multicastWindowDuration and liveDelay are the keys. And I am confused between NetStreammulticastWindowDuration and NetStream.bufferTime..they like the same...
    Sorry for my poor english, Thanks.

    the publisher can set the multicast properties you listed to be the defaults for all of the subscribers of the stream.  in addition, the publisher can select whether or not "push" mode is used by changing NetStream.multicastPushNeighborLimit.  setting the limit to 0 disables push, setting it to non-zero enables push in the mesh, but only changes the actual push neighbor limit for the publisher.  if push is enabled for the stream, each peer will use push mode, but will start out with the global default limit (which is currently 4).  this is for safety.  we recommend you always leave push enabled.
    each peer (including the publisher) can change the multicast stream parameters dynamically.  changes are local to that peer.
    for the publisher to set the initial parameters for the stream that all peers will inherit as the default, the parameters must be changed on a new NetStream *before* NetStream.publish() is called.  example:
       var ns:NetStream = new NetStream(netConnection, groupSpecification);
       ns.multicastWindowDuration = 10; // change default for everybody
       ns.publish("mystream");
       ns.multicastWindowDuration = 15; // change window duration just for publisher, everybody else will start with 10 for this stream
    each subscriber can override the multicast stream properties locally, but the overrides must be set on the NetStream *after* receiving a NetStream.MulticastStream.Reset NetStatusEvent.NET_STATUS event in order for the override to stick.  overrides must be reapplied each time the NetStream.MulticastStream.Reset event is received.

  • The value for The value for the useBean invalid?

    I get following error when I try to test application in iexplorer.
    org.apache.jasper.JasperException: /guestBookLogin.jsp(12,0) The value for the useBean class attribute com.deitel.jhtp6.jsp.beans.GuestBean is invalid.
    I got this code from a case study and I was testing it. I get
    org.apache.jasper.JasperException: /guestBookLogin.jsp(12,0) The value for the useBean class attribute com.deitel.jhtp6.jsp.beans.GuestBean is invalid.
    error
    I believe this is becaus of version difference but here is my code
    guestBookLogin.jsp
    <!- <?xml version = "1.0"?> -->
    <!-  DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" -->
    <!-- Fig. 27.22: guestBookLogin.jsp -->
    <%-- page settings --%>
    <%@ page errorPage = "guestBookErrorPage.jsp" %>
    <%-- beans used in this JSP --%>
    <jsp:useBean id = "guest" scope = "page"
       class = "com.deitel.jhtp6.jsp.beans.GuestBean" />
    <jsp:useBean id = "guestData" scope = "request"
       class = "com.deitel.jhtp6.jsp.beans.GuestDataBean" />
    <html xmlns = "http://www.w3.org/1999/xhtml">
    <head>
       <title>Guest Book Login</title>
       <style type = "text/css">
          body
             font-family: tahoma, helvetica, arial, sans-serif;
          table, tr, td
             font-size: .9em;
             border: 3px groove;
             padding: 5px;
             background-color: #dddddd;
          }`
       </style>
    </head>
    <body>
       <jsp:setProperty name = "guest" property = "*" />
       <% // start scriptlet
          if ( guest.getFirstName() == null ||
               guest.getLastName() == null ||
               guest.getEmail() == null )
       %> <%-- end scriptlet to insert fixed template data --%>
             <form method = "post" action = "guestBookLogin.jsp">
                <p>Enter your first name, last name and email
                   address to register in our guest book.</p>
                <table>
                   <tr>
                      <td>First name</td>
                      <td>
                         <input type = "text" name = "firstName" />
                      </td>
                   </tr>
                   <tr>
                      <td>Last name</td>
                      <td>
                         <input type = "text" name = "lastName" />
                      </td>
                   </tr>
                   <tr>
                      <td>Email</td>
                      <td>
                         <input type = "text" name = "email" />
                      </td>
                   </tr>
                   <tr>
                      <td colspan = "2">
                         <input type = "submit" value = "Submit" />
                      </td>
                   </tr>
                </table>
             </form>
       <% // continue scriptlet
          }  // end if
          else
             guestData.addGuest( guest );
       %> <%-- end scriptlet to insert jsp:forward action --%>
             <%-- forward to display guest book contents --%>
             <jsp:forward page = "guestBookView.jsp" />
       <% // continue scriptlet
          }  // end else
       %> <%-- end scriptlet --%>
    </body>
    </html>GuestBean.java
    * @(#)GuestBean.java
    * @author:
    * @Description: JavaBean to store data for a guest in the guest book.
    * @version 1.00 2008/7/18
    // JavaBean to store data for a guest in the guest book.
    package com.deitel.jhtp6.jsp.beans;
    public class GuestBean
       private String firstName;
       private String lastName;
       private String email;
       //Constructors
       public GuestBean(){
            public GuestBean(String firstname, String lastname, String email){
                 this.firstName=firstname;
                 this.lastName=lastName;
                 this.email=email;
       // set the guest's first name
       public void setFirstName( String name )
          firstName = name; 
       } // end method setFirstName
       // get the guest's first name
       public String getFirstName()
          return firstName; 
       } // end method getFirstName
       // set the guest's last name
       public void setLastName( String name )
          lastName = name; 
       } // end method setLastName
       // get the guest's last name
       public String getLastName()
          return lastName; 
       } // end method getLastName
       // set the guest's email address
       public void setEmail( String address )
          email = address;
       } // end method setEmail
       // get the guest's email address
       public String getEmail()
          return email; 
       } // end method getEmail
    } // end class GuestBeanGuestBeanData.java
    * @(#)GuestDataBean.java
    * @author
    * @version 1.00 2008/7/18
    // Fig. 27.21: GuestDataBean.java
    // Class GuestDataBean makes a database connection and supports
    // inserting and retrieving data from the database.
    package com.deitel.jhtp6.jsp.beans;
    import java.sql.SQLException;
    import javax.sql.rowset.CachedRowSet;
    import java.util.ArrayList;
    import com.sun.rowset.CachedRowSetImpl; // CachedRowSet implementation
    public class GuestDataBean
       private CachedRowSet rowSet;
       // construct TitlesBean object
       public GuestDataBean() throws Exception
          // load the MySQL driver
          Class.forName( "com.mysql.jdbc.Driver" );
          // specify properties of CachedRowSet
          rowSet = new CachedRowSetImpl(); 
          rowSet.setUrl( "jdbc:mysql://localhost/VirsarMedia" );
          rowSet.setUsername( "root" );
          rowSet.setPassword( "" );
           // obtain list of titles
          rowSet.setCommand(
             "SELECT firstName, lastName, email FROM guest" );
          rowSet.execute();
       } // end GuestDataBean constructor
       // return an ArrayList of GuestBeans
       public ArrayList< GuestBean > getGuestList() throws SQLException
          ArrayList< GuestBean > guestList = new ArrayList< GuestBean >();
          rowSet.beforeFirst(); // move cursor before the first row
          // get row data
          while ( rowSet.next() )
             GuestBean guest = new GuestBean();
             guest.setFirstName( rowSet.getString( 1 ) );
             guest.setLastName( rowSet.getString( 2 ) );
             guest.setEmail( rowSet.getString( 3 ) );
             guestList.add( guest );
          } // end while
          return guestList;
       } // end method getGuestList
       // insert a guest in guestbook database
       public void addGuest( GuestBean guest ) throws SQLException
          rowSet.moveToInsertRow(); // move cursor to the insert row
          // update the three columns of the insert row
          rowSet.updateString( 1, guest.getFirstName() );
          rowSet.updateString( 2, guest.getLastName() );
          rowSet.updateString( 3, guest.getEmail() );
          rowSet.insertRow(); // insert row to rowSet
          rowSet.moveToCurrentRow(); // move cursor to the current row
          rowSet.acceptChanges(); // propagate changes to database
       } // end method addGuest
    } // end class GuestDataBeanguestBookErrorPage.jsp
    <!-- <?xml version = "1.0"?> -->
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <!-- Fig. 27.24: guestBookErrorPage.jsp -->
    <%-- page settings --%>
    <%@ page isErrorPage = "true" %>
    <%@ page import = "java.util.*" %>
    <%@ page import = "java.sql.*" %>
    <html xmlns = "http://www.w3.org/1999/xhtml">
       <head>
          <title>Error!</title>
          <style type = "text/css">
             .bigRed
                font-size: 2em;
                color: red;
                font-weight: bold;
          </style>
       </head>
       <body>
          <p class = "bigRed">
          <% // scriptlet to determine exception type
             // and output beginning of error message
             if ( exception instanceof SQLException )
          %>
                A SQLException
          <%
             } // end if
               else if ( exception instanceof ClassNotFoundException )
          %>
                A ClassNotFoundException
          <%
             } // end else if
             else
          %>
                An exception
          <%
             } // end else
          %>
          <%-- end scriptlet to insert fixed template data --%>
             <%-- continue error message output --%>
             occurred while interacting with the guestbook database.
          </p>
          <p class = "bigRed">
             The error message was:<br />
             <%= exception.getMessage() %>
          </p>
          <p class = "bigRed">Please try again later</p>
       </body>
    </html>
    guestBookView.jsp
    <!-- <?xml version = "1.0"?> -->
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <!-- Fig. 27.23: guestBookView.jsp -->
    <%-- page settings --%>
    <%@ page errorPage = "guestBookErrorPage.jsp" %>
    <%@ page import = "java.util.*" %>
    <%@ page import = "com.deitel.jhtp6.jsp.beans.*" %>
    <%-- GuestDataBean to obtain guest list --%>
    <jsp:useBean id = "guestData" scope = "request"
       class = "com.deitel.jhtp6.jsp.beans.GuestDataBean" />
    <html xmlns = "http://www.w3.org/1999/xhtml">
       <head>
          <title>Guest List</title>
          <style type = "text/css">
             body
                font-family: tahoma, helvetica, arial, sans-serif;
             table, tr, td, th
                text-align: center;
                font-size: .9em;
                border: 3px groove;
                padding: 5px;
                background-color: #dddddd;
          </style>
       </head>
       <body>
          <p style = "font-size: 2em;">Guest List</p>
          <table>
             <thead>
                <tr>
                   <th style = "width: 100px;">Last name</th>
                   <th style = "width: 100px;">First name</th>
                   <th style = "width: 200px;">Email</th>
                </tr>
             </thead>
             <tbody>
             <% // start scriptlet
                List guestList = guestData.getGuestList();
                Iterator guestListIterator = guestList.iterator();
                GuestBean guest;
                while ( guestListIterator.hasNext() )
                   guest = ( GuestBean ) guestListIterator.next();
             %> <%-- end scriptlet; insert fixed template data --%>
                   <tr>
                      <td><%= guest.getLastName() %></td>
                      <td><%= guest.getFirstName() %></td>
                      <td>
                         <a href = "mailto:<%= guest.getEmail() %>">
                            <%= guest.getEmail() %></a>
                      </td>
                   </tr>
             <% // continue scriptlet
                } // end while
             %> <%-- end scriptlet --%>
             </tbody>
          </table>
       </body>
    </html>Edited by: Areeba on Jul 19, 2008 10:34 PM

    Thanks I got it working. The problem was my mistake (ofcourse) I had my class in this folder WEB_INF/com/..... I did had classes folder under WE-INF . I'll get rest working soon. Thanks for the help.
    Edited by: Areeba on Jul 21, 2008 5:02 PM
    =====================
    I get this eror
    javax.servlet.ServletException: Can't call commit when autocommit=true
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
         org.apache.jsp.guestBookLogin_jsp._jspService(org.apache.jsp.guestBookLogin_jsp:172)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    javax.sql.rowset.spi.SyncProviderException: Can't call commit when autocommit=true
         com.sun.rowset.CachedRowSetImpl.acceptChanges(CachedRowSetImpl.java:886)
         com.deitel.jhtp6.jsp.beans.GuestDataBean.addGuest(GuestDataBean.java:75)
         org.apache.jsp.guestBookLogin_jsp._jspService(org.apache.jsp.guestBookLogin_jsp:145)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)on here
      rowSet.acceptChanges(); // propagate changes to databaseit updated the database but with error.
    Edited by: Areeba on Jul 21, 2008 5:23 PM
    Edited by: Areeba on Jul 21, 2008 5:57 PM

  • Full freight value for the partial GR

    Dear All,
    I want to post full freight value for the Partial GR quantity. How do I do it? Freight condition is quantity based.
    For example, if I have 100 Ea in the PO and I receive only 95 and GR only 95 Ea. But, I want to post the full frieght value.
    Your help is highly appriciated.
    Thanks,
    Muthuraman.K

    Hi Muthuraman
    Make fright condition on header level  Or make it fixed value in M/06--> control date 1 and keep it in item level.
    Regards
    Ravi

  • How can I filter the Values for the dropdowns in webdynpro

    I have given data source to table, but as there are some repetitive values in table of dropdowns, I want to filter the Values for the dropdowns in webdynpro.
    How can I do this?

    I have given datasource to table in properties of table.
    I have 2 different dropdowns for different columns in the table.
    if the size of the table is 20 I get all the values populated in the dropdowns.
    In these values, there are some repetetive values which I dont want to appear.
    I can display it by making loop and can select from the values.
    the problem is how to set the new values to that drop down again using context?
    eg
    dropdowns have,
    presales activity
    presales activity
    presales activity
    presales activity
    presales activity
    I need to filter the variable element and put back it in dropdown.
    Thanks and regards
    Hanif Kukkalli

  • Maintain values for the variables in using Transaction SM30_SSM_VAR

    Greetings
    I’m trying to start a customizing transaction of SRM from Transaction Solar02 in the Solution manager, and this message appears:
    Maintain values for the variables in <> using Transaction SM30_SSM_VAR
    I start the transaction SM30_SSM_VAR but there are no values maintained. I don't know which values have to be set.
    Please if anybody could help me, I will be much appreciated
    Regards
    Henry
    appreciated.
    Regards
    Henry

    Hi Henry,
    you probably clicked an URL that has some <value> brackets inside? In this case you need to create a variable in SM30_SSM_VAR with the name "value" and maintain as attribute the e.g. the SRM-server you want to be replaced in the URL.
    Regards
    Andreas

  • Multiple values for the Parameter

    1. Had any tried the selecting MULTIPLE values for the parameter in Oracle Discoverer Plus Releae 4.1 Version 4.1.37.00.0. If so can please let me know how to implement it.
    2. In a Page-Detail Cross Tab workbook, I have to show the weighted average instead of the avg or sum. Any inputs please.
    3. I have to compare two periods (TOP) of datapoints. Any inputs please.

    If you wanted to eliminate the need for users to type in the parameter values, you could create a LOV on the desired column. This will produce a distinct list of all valid values where the user would simply select as the wish. Of course you still need to check the "let user enter multiple values" checkbox if you want them to select more than one.
    -DG

  • How to pass values for the checkbox

    Hi all,
    We all have seen the functionality of selecting a check box and then click the button and it performs the task(i.e in the hotmail when you select a line/lines by selecting the checkbox for that line and click the delete button those all mails are deleted). we are trying to implement this functionality. I have written the following code for that, but i get the values for the selected box if the box is the first one but if I did not select the first line and select the second line, i get the values for first line as well as for the secondline separated by comma . In other word it concatinates all values. Can I have some pointers?
    <INPUT TYPE="CHECKBOX" NAME="selectedBoxes" UNCHECKED value=<%out.println(" \"" + boxValues + "\" ");
    And also I don't know how to use the oncheck event for the check box...
    Thanks in advance...
    Ameeta

    Thanks Kan,
    But I am littlebit confuse about how does multiple values have been passed. For Example, i have selected 3 check boxes to delete the record. The value for each check box I need is name, event and hours...Each of these record is separated by '*'. I have three sets of values...for three records..
    1) Ameeta*overTime*5.00
    2) Ameeta*holiday*6.00
    3) Ameeta*weekends*8.00
    I have total 5 or 6 records for this person(Ameeta) and I want to delete these listed three...some how if I use the following coding it gives me all records before the last checked box...
    while(rs1.next())
    isEmpty = false;
    eventType = rs1.getString("EVENT_TYPE" ) ; ;
    eventDate = rs1.getString("EVENT_DATE" ) ;
    hours = rs1.getString("HOURS" ) ;
    hash += Double.parseDouble(hours) ;
    boxValues += eventDate + "*" + hours + "*" shortEvents "#";
    userId = rs1.getString("USER_ID" ) ;
    // employeeId = rs1.getString("EMP_ID" ) ;
    confirmFlg = rs1.getString("CONFIRM_FLAG");
    // out.println("\nrecordQuery:\n" + recordQuery ) ;
    %>
    <tr>
    <td colspan=5 width=100>
    <INPUT TYPE="CHECKBOX" NAME="selectedBoxes" value=<%out.println(" \"" + boxValues + "\" "); %>>
    <td width="150"><%=eventDate%></td>
    <td width="150"><%=eventType%></td>
    <td width="150"><%=hours%></td>
    <td width="150"><%=location%></td>
    <td width="150"><%=confirmFlg%></td>
    </tr>
    **************************************In this code basically I am concatinating so it is obvious that I get every thing before the check box..so I did the following change by adding the line below in the code
    while(rs1.next())
    boxValues = "";
    everything else is same....
    but now I get only the last one that is true too because I am asigning it to the null but I don't know how to pass all checked one.........can anybody help me?      
    Thanks in advance...
    Ameeta

  • Iterator not reflected on entering new values for the row

    Hi,
    I am having an editable table coming from an EJB Stateless Session Bean. I created a data control out of the session bean and dragged and dropped the output
    of the method in the session bean as a table in the jspx page. On click of the "Create" link, I have an action listener that creates a new row in the top of
    the table.
    DCIteratorBinding iter = DFUtils.findIterator("getMultSortReportListIterator");
    RowSetIterator rowSetIter = iter.getRowSetIterator();
    Row row = rowSetIter.createRow();
    row.setNewRowState(Row.STATUS_NEW);
    row.setAttribute("reportName", "");
    row.setAttribute("sectionName", "");
    row.setAttribute("userId", "");
    row.setAttribute("viewCriteria", "");
    rowSetIter.insertRowAtRangeIndex(0, row);
    rowSetIter.setCurrentRowAtRangeIndex(0);
    After the row is created, I enter values into the row and click on "Save" link. The action Listener for the save link is:
    BindingContainer bindings = getBindings();
    DCIteratorBinding iter = (DCIteratorBinding) bindings.get("getMultSortReportListIterator");
    //Read the entered values from the iterator
    Row currentRow = iter.getRowAtRangeIndex(0);
    String reportName = currentRow.getAttribute("reportName").toString();
    String sectionName = currentRow.getAttribute("sectionName").toString();
    Long userId = Long.parseLong(currentRow.getAttribute("userId").toString());
    String viewCriteria = currentRow.getAttribute("viewCriteria").toString();
    //Store to database
    MultipleSortReport multipleSortReportBean = new MultipleSortReport(reportName, sectionName, userId, viewCriteria);
    OperationBinding operationBinding = bindings.getOperationBinding("persistMultipleSortReportTest");
    Map params = operationBinding.getParamsMap();
    params.put("multipleSortReportObj", multipleSortReportBean);
    IMultipleSortReport multipleSortReportInfo = (IMultipleSortReport)operationBinding.execute();
    The problem is that after entering the values into the newly created row, I have to tab out of the row and click with the mouse to place the cursor in the
    end of the next row's first field for the iterator to reflect the entered values. If i enter the last column in the new row and after entering it I directly
    click on "Save", the newly entered values are not reflected in the iterator. The iterator is still reflecting the old values of the row i.e. "" empty fields
    as it was initialized during Create Row.
    Can you help me fix this problem. I want the iterator to reflect the newly entered values without having to tab out of the row.

    Marvin,
    I would suggest starting to debug your new CT in the following order
    1) ABAP - run directly in SAP to confirm you are getting the data you expect
    2) Set breakpoints in ABAP and confirm your transmit is calling into your ABAP as expected
    3) Java - Add breakpoints and step through your Java class to confirm it is getting back the data as expected
    4) ATE - Look at the CT in the ATE to view the contents
    --Bill

Maybe you are looking for

  • Firefox will not open new web pages.

    When I open firefox it goes to the firefox default page with one blank new tab. New tabs will open with blank page but Firefox will not go to any new sites just stays on blank pages. I have already tried starting in safe mode, creating a new profile,

  • Help make this work in as 3.0

    why am i getting this error? how do i fix it? im following a flash 8 tutorial and im using cs3 this is the only main problem I have come across so far please help me convert this so it works in as 3.0 Warning: 1090: Migration issue: The onRollOver ev

  • Wanting to hook my hp destop to HD tv

    I am wanting to hook my hp desktop to my hdmi tv. the computer is does not have a hdmi hookup. I have gotten lots of different suggestions. not sure what to do. someone told me today to go to best buy, buy a hdmi video card for my computer and then h

  • Authorization 0008

    Hi,         how to block the infotype 0008 in order to make any changes to it ? explain me indetail Thanks in adavance Rupa Prasad

  • Every time I start Firefox, why do I get a Google sign-in tab?

    I'm using Firefox for Mac vets. 34.0.5, and I get that extra tab that opens every time I start Firefox in addition to the Home page I specified in Preferences. How do I stop that from happening?