Help! - WLS 6.1 / MySQL / ConnectionPool not shrinking!

Hi,
We allowed for a maximum 80 connections (way more than we need) with an
initial capacity of 25 and increment of 1. We set the pool to shrink every
5 minutes, but the pool doesn't shrink! Eventually a ResourceException (No
resources available) is thrown and causes problems in our JSPs. Has anyone
else experienced this with MySQL?
Before you ask, yes I am sure I am closing all PreparedStatements and
Connection objects. An attempt is made in the "finally" block of every
method that performs SQL.
Any suggestions would be greatly appreciated!
Thanks in advance,
Sonny Jon

Hi. How long does this take to happen? I hear you, when you say
you close stuff in a finally block, but I'd like to see that
code. For stability and performance I recommend making the pool
with all it's connections made at startup, ie: initial capacity =
max capacity. For testing purposes, you can set these to something
low, even 1, to provoke the bug quicker. Does your finally block
do multiple things, such that if the first thing it does fails,
it may skip all the rest of the steps?
Joe
Sonny Jon wrote:
>
Hi,
We allowed for a maximum 80 connections (way more than we need) with an
initial capacity of 25 and increment of 1. We set the pool to shrink every
5 minutes, but the pool doesn't shrink! Eventually a ResourceException (No
resources available) is thrown and causes problems in our JSPs. Has anyone
else experienced this with MySQL?
Before you ask, yes I am sure I am closing all PreparedStatements and
Connection objects. An attempt is made in the "finally" block of every
method that performs SQL.
Any suggestions would be greatly appreciated!
Thanks in advance,
Sonny Jon

Similar Messages

  • WLS 10.0 JDBC connection pool shrink not working

    We seem to be having a problem with jdbc connection pools not shrinking. In the connection pool properties in the WLS console we have:
    Initial Capacity 4
    Maximum Capacity 15
    Shrink Frequency 900
    However when I look at the underlying xml config file (see below) the last two values above are not present in the config!
    Any ideas what is going on here?
    thankyou,
    Chris
    <?xml version='1.0' encoding='UTF-8'?>
    <jdbc-data-source xmlns="http://www.bea.com/ns/weblogic/90" xmlns:sec="http://www.bea.com/ns/weblogic/90/security" xmlns
    :xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90/security/wls" xsi:schemaLo
    cation="http://www.bea.com/ns/weblogic/920 http://www.bea.com/ns/weblogic/920.xsd">
    <name>mdmrDataSource</name>
    <jdbc-driver-params>
    <url>jdbc:oracle:thin:@(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = xxxrac01-vip.nzlxxx01.com) (PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP) (HOST = xxxrac02-vip.nzlxxx01.com) (PORT = 1521)) (LOAD_BALANCE = yes) (CONNECT_DATA =(SERVE
    R = DEDICATED) (SERVICE_NAME = xxxrac.nzlami01.com)))</url>
    <driver-name>oracle.jdbc.pool.OracleDataSource</driver-name>
    <properties>
    <property>
    <name>user</name>
    <value>xxx_comms</value>
    </property>
    <property>
    <name>fastConnectionFailoverEnabled</name>
    <value>true</value>
    </property>
    <property>
    <name>implicitCachingEnabled</name>
    <value>true</value>
    </property>
    <property>
    <name>connectionCachingEnabled</name>
    <value>true</value>
    </property>
    <property>
    <name>ONSConfiguration</name>
    <value>nodes=xxxrac1:6251,xxxrac2:6251</value>
    </property>
    </properties>
    <password-encrypted>xxx</password-encrypted>
    </jdbc-driver-params>
    <jdbc-connection-pool-params>
    <initial-capacity>4</initial-capacity>
    <test-connections-on-reserve>true</test-connections-on-reserve>
    <test-table-name>SQL SELECT 1 FROM DUAL</test-table-name>
    </jdbc-connection-pool-params>
    <jdbc-data-source-params>
    <jndi-name>jdbc/XXXX</jndi-name>
    <global-transactions-protocol>None</global-transactions-protocol>
    </jdbc-data-source-params>
    </jdbc-data-source>

    You are right that the XML seems to lask those other settings... Did you
    sae those settings from the console?
    This is what's in one of mine....
    <jdbc-connection-pool-params>
    <initial-capacity>0</initial-capacity>
    <max-capacity>300</max-capacity>
    <shrink-frequency-seconds>900</shrink-frequency-seconds>

  • Help. JDBCRealm error -- org.gjt.mm.mysql.Driver not found

    Hi All,
    I tried to setup JDBCRealm. After I config. to JDBCRealm and restart tomcat. I got this error:
    java.sql.SQLException: org.git.mm.mysql.Driver error.
    Can someone help. Thanks

    web-inf/lib is not sufficient in this case, as the Tomcat engine needs access to the driver - not just your application.
    http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html#JDBCRealm
    You need to
    Place a copy of the JDBC driver you will be using inside the $CATALINA_HOME/server/lib directory (if you do not need it visible to web applications) or $CATALINA_HOME/common/lib (if it will be used both by Tomcat 4 and by your apps).
    Cheers.
    evnafets

  • Can't use MySQL connectionpool?

    I write two javabean in the package "lyo.bbs.xml...".I works well if I don't use MySQL ConnectionPool.But the jsp compiler report error if I use MySQL ConnectionPool in javabean.
    One of my javabean is:"
    ResultSet rs = null;
         Statement stm = null;
         Connection conn = null;
         String sql = "select * from problem";
         //String url = "jdbc:mysql://localhost:3306/test";
         public ReadData(){
              try{
              Context ctx=new InitialContext(); <------If I use it jsp report error :(
              DataSource ds=(DataSource)ctx.lookup("java:comp/env/jdbc/mysql");
              conn=ds.getConnection();
              stm=conn.createStatement();
              rs=stm.executeQuery(sql);
         }catch(Exception e){
              System.out.println(e.toString());
         public List readD(){
              List booklist=new ArrayList();
              Readxml readbean=null;
              try{
              while(rs.next()){
                   readbean=new Readxml();
                   readbean.setId(rs.getInt("id"));
                   readbean.setName(rs.getString("name"));
                   readbean.setTitle(rs.getString("title"));
                   readbean.setContent(rs.getString("content"));
                   readbean.setTime(rs.getString("time"));
                   booklist.add(readbean);
    ////////////////////////////second javabean//////////////
    public void setId(int id){
    this.id=id;
    public int getId(){
    return this.id;
    .............. .........getter and setter method............. ...........
         public Element getXml(Document doc){
              Element root=doc.createElement("guestbook");
              NumberFormat idformat=NumberFormat.getCurrencyInstance(Locale.US);
              Element temp=doc.createElement("id");
              temp.appendChild(doc.createTextNode(idformat.format(this.getId())));
              root.appendChild(temp);
              temp=doc.createElement("name");
              temp.appendChild(doc.createTextNode(this.getName()));
              root.appendChild(temp);
              temp=doc.createElement("Title");
              temp.appendChild(doc.createTextNode(this.getTitle()));
              root.appendChild(temp);
              temp=doc.createElement("content");
              temp.appendChild(doc.createTextNode(this.getContent()));
              root.appendChild(temp);
              temp=doc.createElement("time");
              temp.appendChild(doc.createTextNode(this.getTime()));
              root.appendChild(temp);
              return root;
    //////////////////////////////End code////////////////////
    My jsp file is:
    <%@page contentType="text/html;charset=gb2312" import="lyo.bbs.xml.*,java.util.*"%>
    <html>
    <body>
    <%
    Readxml readbean;
    ReadData data=new ReadData();
    List list=data.readD();
    Iterator iter=list.iterator();
    %>
    <table border="1" bgcolor="#cceeee">
    <tr>
    <td>Topic</td><td>Name</td><td>Post time</td>
    </tr>
    <%
    while(iter.hasNext()){
         readbean=(Readxml)iter.next();
    %>
    <tr>
    <td><a href="showtitle.jsp?id=<%=readbean.getId()%>"><%=readbean.getTitle()%></a></td>
    <td><%=readbean.getName()%></td>
    <td><%=readbean.getTime()%></td>
    //////////////////error is://////////////////
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 6 in the jsp file: /showtopic.jsp
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\tomcat\work\Standalone\localhost\bbs\showtopic_jsp.java:7: package lyo.bbs.xml does not exist
    import lyo.bbs.xml.*;
    ^
    C:\tomcat\work\Standalone\localhost\bbs\showtopic_jsp.java:51: cannot resolve symbol
    symbol : class Readxml
    location: class org.apache.jsp.showtopic_jsp
    Readxml readbean;
    ^
    An error occurred at line: 6 in the jsp file: /showtopic.jsp
    Generated servlet error:
    C:\tomcat\work\Standalone\localhost\bbs\showtopic_jsp.java:52: cannot resolve symbol
    symbol : class ReadData
    location: class org.apache.jsp.showtopic_jsp
    ReadData data=new ReadData();
    ^
    An error occurred at line: 6 in the jsp file: /showtopic.jsp
    Generated servlet error:
    C:\tomcat\work\Standalone\localhost\bbs\showtopic_jsp.java:52: cannot resolve symbol
    symbol : class ReadData
    location: class org.apache.jsp.showtopic_jsp
    ReadData data=new ReadData();
    ^
    An error occurred at line: 16 in the jsp file: /showtopic.jsp
    Generated servlet error:
    C:\tomcat\work\Standalone\localhost\bbs\showtopic_jsp.java:68: cannot resolve symbol
    symbol : class Readxml
    location: class org.apache.jsp.showtopic_jsp
         readbean=(Readxml)iter.next();
    ^
    //////////////////////////////End error////////////////////////
    But I have the package lyo.bbs.xml.. really.If I don't use MySQL Pool (java:comp/env/jdbc/mysql)it can work property.
    I add the content in the server.xml and I registe in mysql console.
    /////////////////////////////server.xml///////////////////////////////////
    <Context className="org.apache.catalina.core.StandardContext" cachingAllowed="true" charsetMapperClass="org.apache.catalina.util.CharsetMapper" cookies="true" crossContext="false" debug="0" displayName="Welcome to Tomcat" docBase="C:\tomcat\webapps\ROOT\bbs" mapperClass="org.apache.catalina.core.StandardContextMapper" path="/bbs" privileged="false" reloadable="false" swallowOutput="false" useNaming="true" wrapperClass="org.apache.catalina.core.StandardWrapper">
                             <Resource auth="Container" description="mysql BBS XML Testing " name="jdbc/mysql" scope="Shareable" type="javax.sql.DataSource"/>
                             <ResourceParams name="jdbc/mysql">
                                  <parameter>
                                       <name>factory</name>
                                       <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
                                  </parameter>
                                  <parameter>
                                       <name>url</name>
                                       <value>jdbc:mysql://localhost:3306/test</value>
                                  </parameter>
                                  <parameter>
                                       <name>password</name>
                                       <value>qijiashe</value>
                                  </parameter>
                                  <parameter>
                                       <name>maxActive</name>
                                       <value>4</value>
                                  </parameter>
                                  <parameter>
                                       <name>maxWait</name>
                                       <value>5000</value>
                                  </parameter>
                                  <parameter>
                                       <name>driverClassName</name>
                                       <value>org.gjt.mm.mysql.Driver</value>
                                  </parameter>
                                  <parameter>
                                       <name>username</name>
                                       <value>lyo</value>
                                  </parameter>
                                  <parameter>
                                       <name>maxIdle</name>
                                       <value>2</value>
                                  </parameter>
                             </ResourceParams>
                             <ResourceLink global="jdbc/mysql" name="jdbc/mysql" type="javax.sql.DataSource"/>
                        </Context>
    Anyone can help me?

    I use Weblogic6.1's ConnectionPool and it works well.It MySQL' problem?Why?

  • Temp Log file not shrinking

    hi,
    i am using MS SQL 2005 for my SAP ERP6 ,after using the T-Code SGEN  the temp Log file incresed and reached 48gb now when i try to shrink with MS Sql application or by using dbcc shrinkfile comand , it only shows that there is free 1,5 gb is used and nearly 46.5 Gb is unused but the main problem is its not shrinking.
    help needed.....
    thanks in advance

    Hi,
    Execute the following commands in sequence.
    1. BACKUP LOG <SID> WITH NO_LOG
    2. DBCC SHRINKFILE (<name_logfile>, <size>)
    or
    Just execute.
    BACKUP LOG <SID> WITH TRUNCATE_ONLY
    The above command will only remove the unused space (inactive parts) from log file and will note do backup of log file.
    Refer [SAP Note 625546 - Size of transaction log file is too big|https://service.sap.com/sap/support/notes/625546] to get more info.
    Regards,
    Bhavik G. Shroff

  • Driver class 'org.gjt.mm.mysql.Driver' not Found JSP

    OS ->Windows XP Pro
    Tomcat version ->4.0.1
    jdk version -> 1.3.1
    database -> mysql
    Classpath = .;C:\jakarta-tomcat-4.0.1\common\lib\servlet.jar;C:\jakarta-tomcat-4.0.1\common\lib\mm.mysql.jdbc-1.2c\mysql_uncomp.jar;
    I am trying to run a function in a javabean to startup up a connection to a database. Code as follows...
    public void connect() throws ClassNotFoundException,
    SQLException,
    Exception {
    try {
    Class.forName("org.gjt.mm.mysql.Driver").newInstance();
    con = DriverManager.getConnection(
    "jdbc:mysql://localhost/Wrox ?user=root&password=lunchbox ");
    } catch (ClassNotFoundException cnfe) {
    error = "ClassNotFoundException: Could not locate DB driver.";
    throw new ClassNotFoundException(error);
    } catch (SQLException cnfe) {
    error = "SQLException: Could not connect to database.";
    throw new SQLException(error);
    } catch (Exception e) {
    error = "Exception: An unknown error occurred while connecting " +
    "to database.";
    throw new Exception(error);
    I call it from my jsp page code as follows.. connect in bold
    <%@ page language="java"
    import="java.sql.*, java.io.*, java.util.*, com.wrox.databases.*"
    errorPage="error.jsp" %>
    <jsp:useBean id="book" class="com.wrox.databases.Books" />
    <html>
    <head>
    <title> Wrox Press Ltd. </title>
    </head>
    <body>
    <h1> Wrox Press Ltd.</h1>
    <h2> List of Books </h2>
    <b>Add More Books</b>
    <form action="delete.jsp" method="post">
    <table border="1">
    <tr>
    <td><b>ID:</b></td>
    <td><B>Title:</b></td>
    <td><B>Price:</b></td>
    </tr>
    <%
    book.connect();
    ResultSet rs = book.viewBooks();
    while (rs.next()) {
    %>
    <tr>
    <td>
    <input type="checkbox" name="pkey"
    value="<%= rs.getString("Title_ID") %>" />
    </td>
    <td><%= rs.getString("Title") %></td>
    <td><%= rs.getString("Price") %></td>
    </tr>
    <%
    %>
    </table>
    Check books for deletion.<BR>
    <input type="submit" value="Delete All Checked Books">
    </form>
    <% book.disconnect(); %>
    </body>
    </html>
    The name of the bean is correct and so is the package it is stored under. I tried it in the bean and got "ClassNotFoundException" Could not locate DB driver". I tried it with DBtags and got
    Driver class 'org.gjt.mm.mysql.Driver' not Found
    any help would be really appreciated.

    When using any 3rd party library with tomcat. the jar file of that library has to be put in the WEB-INF/lib directory of your application. Then only tomcat will find it.
    So the my-sql driver would have come in a jar file. just put that jar file in the WEB-INF/lib directory.
    After that things should work. If they don't please post again.
    hope this helps.
    regards,
    Abhishek.

  • How to NOT shrink on nUp pageHandling

    Hi,
    I have a PDF with 2 A5 pages. I want to print these on 1 A4 page 2-up. Below is the javascript -
    var pp = this.getPrintParams();
    pp.interactive = pp.constants.interactionLevel.silent;
    pp.firstPage = 0;
    pp.lastPage = 1;
    pp.pageHandling = pp.constants.handling.nUp;
    pp.nUpPageOrders = pp.constants.nUpPageOrders.Vertical;
    pp.nUpNumPagesV = 2;
    pp.nUpNumPagesH = 1;
    this.print(pp);
    Problem is the A5s on the A4 are shrunk.
    Could someone please help how to not shrink while using nUp pageHandling.
    Thanks in advance

    You are making the printing process a bit difficult. You can simply go the the Adobe PDF printer properties and select to print 2-up. In Acrobat, there is an additional item in the print menu, but that shrinks the pages a bit further than using the 2-up process. Unfortunately, the 2-up process appears to put a border around the pages, though that is easy to remove with the object touchup tool. There is a slight reduction in size, but not bad. I know of no other way to do it with Acrobat. I did try one thing that might work for you. I printed with 2-up (under the printer properties) and also when into the advanced menu on the first tab and selected scaling to be 102%. That just about did the job of using the full size. The main thing that may happen there is that you will drop off some info at the sides if your original goes all the way to the edge of the A4 sheet.
    Just as a relative figure of merit, I made measurements on the screen for the 2-up versions. The one on the print menu put 0.75 cm on each side, .35 cm between, with 17.7 cm wide print areas. The one in the properties menu gave 0.2 cm on each side, 0.4 cm between and 18.2 cm print areas. My measurements appear to differ by 5mm total, but that gives you a rough idea. The 2-up from the properties screen sized things the best, but I had to deal with the border in that case. With the print menu option you have a choice about the borders -- could not find an option for the properties menu selection. A scale of 102 % should be about right to use the full width, but you will likely lose a bit of the info in that 0.2 cm portion about your print. The print menu option scaling did not seem to work, but seems to autoscale.
    I think this is about as close as you will come with Acrobat. If you have clear space around the outer edge of your document, then this 2-up property with scaling should do the job. I am not sure what scaling would work best for A4 to A5, I was using letter to letter. Guess you will have to play around a bit. If you have a lot, the border is going to be a pain.

  • IE11 Tabs not shrinking back to normal size

    After closing multiple tabs, the remaining open tabs are huge and span the entire width of the window and do not shrink back to their normal size.

    My Operating System is Windows 7 Ultimate 64-bit with Service Pack 1 and all updates installed. My browser is Internet Explorer version 11.0.9600.17280.
    Please answer each of the following [admittedly tedious] diagnostic questions in a correspondingly-numbered list in your very next reply, preferably
    without quoting my post:
    1a. When (approx. date) did you purchase the computer?
    1b. Did Win7 64-bit come preinstalled on the computer when you bought it, did you do a clean install of Win7,
    or did you upgrade the computer to Win7?
    2. What is the full name of your installed anti-virus application or security suite and
    when (approx. date) does your current subscription expire? What anti-spyware applications (other than Defender) are installed? What third-party firewall (if any)?
    3. Has a(nother) Norton application or a McAfee application EVER been installed on the computer
    since you bought it?
    4. Did a Norton free-trial or a McAfee free-trial [PICK ONE] come preinstalled on the computer
    when you bought it? (Doesn't matter if you never used or Activated it.)
    5. Is KB2977629, KB2972211 & KB2973112; KB2976897, KB2993651, KB2918614, KB2978668, KB2937610 and/or KB2943357 listed in
    Installed Updates (not Update History)? [1]
    6. Assuming Java is installed => Is Java Version 7 Update 65 (or higher) installed? TEST HERE USING INTERNET EXPLORER ONLY! =>
    http://java.com/en/download/uninstallapplet.jsp [2]
    7. Is Adobe Flash Player v15.0.0.167 (or higher) installed? TEST HERE USING INTERNET EXPLORER
    ONLY! =>
    http://www.adobe.com/software/flash/about/
    8a. When (exact date) was Internet Explorer 11 installed according to
    Installed Updates?
    8b. What Update Version & KB number are displayed in the second line of text in IE11's Help | About [Alt+H+A] tab; e.g.,
    Update Version: XX.0.54 (KB1231231) ?
    8c. Is Firefox, Chrome or any other alternate browser installed?
    9. Are you in the habit of using "Registry cleaners" (e.g., Registry Mechanic; System Mechanic; RegCure; RegClean Pro; Advanced SystemCare; Registry Booster; McAfee QuickClean; Glary Utilities; AVG PC TuneUp; Norton Registry Cleaner; PCTools Optimiser;
    SpeedUpMyPC; PC Doctor; TuneUp Utilities; WinMaximizer; WinSweeper; Comodo System Cleaner; Advanced System Optimizer; CCleaner's Registry Cleaner
    component)?
    ==============================================
    [1] Start | Control Panel | Programs and Features | View installed updates (in left-hand menu)
    [2] No need to install Java if it's not already installed!
    ~Robear Dyer (PA Bear) MS MVP-Windows Client since 2002 Disclaimer: MS MVPs neither represent nor work for Microsoft

  • Mysql will not let me login remotly

    Hello all this is the contents of the /etc/my.conf have commented out the client stuff as well as the skip networkingline.  Tried adding a bind-address = X.X.X.X line but mysql would not start so i commented it out as well. Do i need the client stuff?
    The following options will be passed to all MySQL clients
    [client]
    password        = your_password
    port            = 3306
    socket          = /tmp/mysql.sock
    # Here follows entries for some specific programs
    # The MySQL server
    [mysqld]
    port            = 3306
    socket          = /tmp/mysql.sock
    datadir         = /var/lib/mysql
    skip-locking
    key_buffer = 16M
    max_allowed_packet = 1M
    table_cache = 64
    sort_buffer_size = 512K
    net_buffer_length = 16K
    myisam_sort_buffer_size = 8M
    #bind-address = 68.144.12.210
    there is no firewall on this machine and i have opened a port for
    I restarted the database and ran these commands they seemed to work ok something about rows being updated
    update db set Host='all' where Db='mydb';
    update user set Host='all' where user='myuser';
    Tried connecting to it from a remote linux machine like this and get an error
    mysql -u myuser -h 68.144.12.210 -p
    Enter password:
    ERROR 2013 (HY000): Lost connection to MySQL server during query
    there is no firewall on this machine and i have opened a port for 3306 on the hardware firewall/router.
    Last edited by c0mputerking (2009-04-15 18:56:16)

    Thank you for your reply i added the mysqld: ALL to my hosts file as you suggested and now things are working.  However i did a terrible nasty hack to make mysql work and i need a hand fixing it.  My mysql command prompt skill are fairly weak and ran a command that effectively looked me out of mysql see below or in my past post on this thread.  I changed the root users host allow to all and now localhost access is denied the way i am getting around this is by adding skip-grant-tables to the /etc/my.cnf file.
    Could you please help me with some basic user management? i would like to set a password for root as right now it has none this i can probably figure out.  However how do i change root to only have access to localhost again and my new remote user to have access from any or every remote address?  How do i list the users and there permissions/allowed hosts maybe point me to some good docs too thanks.
    update db set Host='all' where Db='mydb';
    update user set Host='all' where user='myuser';

  • I cannot open iCal because of a problem. Can anybody help me? The computer will not allow it to open and sends a message to apple each time. The icon has gone from the dock, but ical works on my iPad and I am afraid to sync it with my computer.?

    I cannot open iCal because of a problem. Can anybody help me? The computer will not allow it to open and sends a message to apple each time. The icon has gone from the dock, but ical works on my iPad and I am afraid to sync it with my computer in case it wipes everything .

    I have the exact same problem. I have not changed anything. This is probably a bug or something that has gone bad with Mac OS X (10.7.2). I have not found any solution for this on the web.
    MacBook Pro, Mac OS X (10.7.2).

  • Search help (PREM) for personal no. is not coming in ALV grid table control

    hi experts,
    Search help (PREM) for personal no. is not coming in ALV grid table control.
    i have assigned the srch help (prem) to my 'ZFIEXP_PROJALLOC' table for the emp_id.
    but in output it is now showing the help.
    ls_fcat-fieldname = 'EMPLOYEE CODE'.
      ls_fcat-ref_table = 'ZFIEXP_PROJALLOC'.
      ls_fcat-ref_field = 'EMP_ID'.
      ls_fcat-outputlen = '10'.
      ls_fcat-key = 'X'.
      ls_fcat-edit = 'X'.
      ls_fcat-coltext = 'EMPLOYEE CODE'.
      ls_fcat-seltext = 'EMPLOYEE CODE'.
      append ls_fcat to pt_fieldcat.
      clear ls_fcat.
    Then i tried to solve it using the PA0002 . ie.,
    ls_fcat-fieldname = 'EMPLOYEE CODE'.
      ls_fcat-ref_table = 'PA0002'.
      ls_fcat-ref_field = 'PERNR'.
      ls_fcat-outputlen = '10'.
      ls_fcat-key = 'X'.
      ls_fcat-edit = 'X'.
      ls_fcat-coltext = 'EMPLOYEE CODE'.
      ls_fcat-seltext = 'EMPLOYEE CODE'.
      append ls_fcat to pt_fieldcat.
      clear ls_fcat.
    with this it is showing the help in employee code, but, when i click on an empl number, it is not added to my table control and allowing me to add the number by typing them.
    plz help me.
    thanks.

    Hi 
    In the layout give layout-sel_mode  = 'A'.  and
    pass  'A'    to  i_save  exporting parameter to method  set_table_for_first_display.
    The same thing if you are working with function module
    reuse_alv_grid_display.
    Reward points for useful answer.
    Venkat

  • When i search for a website it takes me to another website.  I will click on the link and it takes me to one ive never wanted?  please help very frustrating!  I am not very computer savy, is it my settings or something?  Jen

    When I search for a website it itakes me to another website.  I will click on a link and it takes me to something completely different or yellow pages etc. Please help I am very frustrated and not very computer savy!  Thanks!  Jen

    Hi Jeff I have uninstalled Muse from my applications and have tried to download the new version but it displays a message 'file not found'. I have included a screenshot.

  • Please help me my apple id its not working what do i do?

    please help me my apple id is not working what do i do

    If you desire speedy resolution it helps to be more specific with error messages etc. when asking a question here.
    iTunes Customer Service Contact - http://www.apple.com/support/itunes/contact.html > Get iTunes support via Express Lane > iTunes > iTunes Store

  • Help, report says wireless radio is not functionin​g contact HP suport***

    Help, report says wireless radio is not functioning contact HP suport***
    wireless on        pass
    wireless working   FAIL
    This question was solved.
    View Solution.

    Reset your C7280 by turning it off, hold the # and 6 keys while and a bit after turning it on.
    Now, run a Wireless Network Test from the front panel.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Please help. My facebook app will not open on my iphone 4. I deleted it,numerous times and downloaded it again. It uploads, but when you click on the icon, it flickers then closes.  Help.

    Please help. My facebook app will not open on my iphone 4. I deleted it,numerous times and downloaded it again. It uploads, but when you click on the icon, it flickers then closes.
    Help.

    Then the next step would be to restore your phone.  My advice is that prior to restoring you import your photos and videos to your computer and back up your contacts (by syncing them with iCloud or to a supported program on your computer using iTunes) as a number of users report losing these when restoring their device.

Maybe you are looking for

  • HTTP_RESP_STATUS_CODE_NOT_OK 404 Not Found

    Since moving from SP9 to SP12, all of our communication channels using a receiver file adapter get an HTTP error. One specific scenario is we read a file from UNIX (this works) and then remap and write a file back to the same directory (this gets the

  • Pl/sql compile in pro*c

    [oracle@Robbie replicate]$ make -f demo_proc.mk tt.c proc iname=tt Pro*C/C++: Release 8.1.7.0.0 - Production on Fri Aug 29 10:40:08 2003 (c) Copyright 2000 Oracle Corporation. All rights reserved. System default option values taken from: /oracle/prod

  • Missing Server Dependencies - FT-01

    Hi, I have the following Missing Features when doing an TEST-SPContentDatabase on my SharePoint 2010 Content Database when migrating to 2013. Category        : MissingFeature Error           : True UpgradeBlocking : False Message         : Database [

  • Sum without using 2 selects

    How can I get this result without using 2 queries to sum buys and sells? BANK  TOTAL_SHARES BANK1           30 BANK2           25 BANK4           20 BANK5           20 BANK3           15 Script to test create table test (BUYER varchar2(5), SELLER var

  • 'SHIFT' key on Satellite Pro C660 is not working

    G'day, I have a minor problem with my Toshiba Satellite Pro C660 notebook computer. Unfortunately I had to remove the keyboard and in doing so dislodged the flimsy plug connecting it to the computer. The 'Shift' key has refused to work since. All the