Plz help me with this

hi..
i have the value for POSITION (PLANS)....
using 'plans'....i need to get its 'werks', 'persg', 'persk'....
from which table can i get these?
regards
balaji.

Hi Balaji,
This is how it always work
SELECT SINGLE sobid FROM hrp1001 INTO manager WHERE otype = 'S'        AND
                                                          objid = l1_pos     AND
                                                          plvar = '01'       AND
                                                          rsign = 'A'        AND                                                          relat = '008'      AND
                                                          istat = '1'        AND
                                                          begda <= sy-datum  AND
                                                          endda >= sy-datum  AND
                                                          sclas = 'P'.
then call
   CALL FUNCTION 'HR_READ_INFOTYPE'
      EXPORTING
        pernr           = manager
        infty           = '0001'
      TABLES
        infty_tab       = it_0001
      EXCEPTIONS
        infty_not_found = 1
        OTHERS          = 2.
and then read it_0001 to get each of these fields you are looking for.
Warm Regards,
Sudhir

Similar Messages

  • Plz help me with this error

    hello plz help me wat i can do for this error and plz also tell me where to place the POI api in tomcat directory.........
    The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 22 in the jsp file: /HSSFExample.jsp
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\examples\HSSFExample_jsp.java:13: ';' expected
    import org.a
    ^
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\examples\HSSFExample_jsp.java:8: package org.apache.poi.poifs.filesystem does not exist
    import org.apache.poi.poifs.filesystem.POIFSFileSystem;
    ^
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\examples\HSSFExample_jsp.java:9: package org.apache.poi.hssf.record does not exist
    import org.apache.poi
    ^
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\examples\HSSFExample_jsp.java:11: package org.apache.poi.hssf.model does not exist
    import org.apache.poi.hssf.model.*;
    ^
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\examples\HSSFExample_jsp.java:12: package org.apache.poi.hssf.usermodel does not exist
    import org.apache.poi.hssf.usermodel.*;
    ^
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\examples\HSSFExample_jsp.java:13: cannot resolve symbol
    symbol : class a
    location: package org
    import org.a
    ^
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\examples\HSSFExample_jsp.java:74: cannot resolve symbol
    symbol : class POIFSFileSystem
    location: class org.apache.jsp.HSSFExample_jsp
    POIFSFileSystem fs =
    ^
    An error occurred at line: 22 in the jsp file: /HSSFExample.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\examples\HSSFExample_jsp.java:75: cannot resolve symbol
    symbol : class POIFSFileSystem
    location: class org.apache.jsp.HSSFExample_jsp
    new POIFSFileSystem(new FileInputStream(filename));
    ^
    An error occurred at line: 22 in the jsp file: /HSSFExample.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\examples\HSSFExample_jsp.java:76: cannot resolve symbol
    symbol : class HSSFWorkbook
    location: class org.apache.jsp.HSSFExample_jsp
    HSSFWorkbook wb = new HSSFWorkbook(fs);
    ^
    An error occurred at line: 22 in the jsp file: /HSSFExample.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\examples\HSSFExample_jsp.java:76: cannot resolve symbol
    symbol : class HSSFWorkbook
    location: class org.apache.jsp.HSSFExample_jsp
    HSSFWorkbook wb = new HSSFWorkbook(fs);
    ^
    An error occurred at line: 35 in the jsp file: /HSSFExample.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\examples\HSSFExample_jsp.java:89: cannot resolve symbol
    symbol : class HSSFSheet
    location: class org.apache.jsp.HSSFExample_jsp
    HSSFSheet sheet = wb.getSheetAt(k);
    ^
    An error occurred at line: 35 in the jsp file: /HSSFExample.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\examples\HSSFExample_jsp.java:94: cannot resolve symbol
    symbol : class HSSFRow
    location: class org.apache.jsp.HSSFExample_jsp
    HSSFRow row = sheet.getRow(r);
    ^
    An error occurred at line: 48 in the jsp file: /HSSFExample.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\examples\HSSFExample_jsp.java:108: cannot resolve symbol
    symbol : class HSSFCell
    location: class org.apache.jsp.HSSFExample_jsp
    HSSFCell cell = row.getCell(c);
    ^
    An error occurred at line: 48 in the jsp file: /HSSFExample.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\examples\HSSFExample_jsp.java:115: cannot resolve symbol
    symbol : variable HSSFCell
    location: class org.apache.jsp.HSSFExample_jsp
    case HSSFCell.CELL_TYPE_FORMULA :
    ^
    An error occurred at line: 48 in the jsp file: /HSSFExample.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\examples\HSSFExample_jsp.java:119: cannot resolve symbol
    symbol : variable HSSFCell
    location: class org.apache.jsp.HSSFExample_jsp
    case HSSFCell.CELL_TYPE_NUMERIC :
    ^
    An error occurred at line: 48 in the jsp file: /HSSFExample.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\examples\HSSFExample_jsp.java:125: cannot resolve symbol
    symbol : variable HSSFCell
    location: class org.apache.jsp.HSSFExample_jsp
    case HSSFCell.CELL_TYPE_STRING :
    ^
    16 errors
         at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
         at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:248)
         at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:315)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:328)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:427)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:142)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:445)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:536)

    You can put the POI jar file in the WEB-INF/lib directory of your application, or if you want to use it in multiple applications you can put it in the tomcat 4.1/shared/lib directory.

  • Plz help me with this data insertion code

    Hi,
    I am listing a code below ,I am able to insert only one row of value.
    Then i get SQLException.General Exception and a Lock record MSAccess file is generated where .mdb file is stored.
    public void throwtodatabase()
    String gameid;
    ResultSet rs=null;
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con;
    con=DriverManager.getConnection ("jdbc:odbc:MyData","","");
    Statement stat3=con.createStatement();
    rs=stat3.executeQuery("select * from sudoko");
    while (rs.next()) {
    pctr=pctr+1;
    stat3.close();
    con.close();
    catch(Exception g)
    JFrame ob2=new JFrame();
    JOptionPane.showMessageDialog(ob2,g.toString(), "Message", JOptionPane.INFORMATION_MESSAGE);
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con;
    con=DriverManager.getConnection ("jdbc:odbc:MyData","","");
    gameid="G00"+String.valueOf(pctr);
    PreparedStatement stat=null;
    for (int t1=1;t1<=9;t1++) {
    for (int t2=1;t2<=9;t2++) {
    stat=con.prepareStatement("Insert into Sudoko(gameid,row,col,val) values(?,?,?,?)");
    stat.setString(1,gameid);
    stat.setString(2,String.valueOf(t1));
    stat.setString(3,String.valueOf(t2));
    stat.setString(4,String.valueOf(array_map[t1][t2]));
    stat.execute();
    con.close();
    catch(Exception xd)
    JFrame ob2=new JFrame();
    JOptionPane.showMessageDialog(ob2,xd.toString(), "Message", JOptionPane.INFORMATION_MESSAGE);
    }Plz help.Thanx in advance.

    Have this stacktrace
    java.sql.SQLException: General error
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbc.SQLExecute(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbcPreparedStatement.execute(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbcPreparedStatement.executeUpdate(Unknown Source)
    at Sudoko.throwtodatabase(Sudoko.java:1120)
    at Sudoko.generate_random_boards(Sudoko.java:1064)
    at Sudoko.actionPerformed(Sudoko.java:205)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow
    n Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
    ce)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

  • Plz help me with this requirement

    hi to all,
    i have designed a module pool program
    in first screen i have 2 pushbutton (screen no 100)
    when i click on first button i will goto screen 1001 i.e vendor details
    when i click on second button i will goto screen 2001 where i get vendor bank details
    my requirement is that in second screen when i click a button. it display TABLE CONTROL with all the bank details for that vendor
    how to implement it
    help me out
    here is my code
    INCLUDE ZB14HAI_MP1_TOP . " global Data
    INCLUDE ZB14HAI_MP1_O01 . " PBO-Modules
    INCLUDE ZB14HAI_MP1_I01 . " PAI-Modules
    INCLUDE ZB14HAI_MP1_F01
    *& Include ZB14HAI_MP1_TOP Module pool ZB14HAI_MP1
    PROGRAM ZB14HAI_MP1 MESSAGE-ID MSGCLASS.
    tables: lfa1,lfbk.
    data:ok_code type sy-ucomm.
    data : it_bank type table of lfbk,
    wa_bank like line of it_bank.
    CONTROLS TBCL_4000 TYPE TABLEVIEW USING SCREEN 4000.
    *& Include ZB14HAI_MP1_O01
    *& Module STATUS_0100 OUTPUT
    text
    MODULE STATUS_0100 OUTPUT.
    SET PF-STATUS 'ZBPF_STATUS1'.
    SET TITLEBAR 'xxx'.
    ENDMODULE. " STATUS_0100 OUTPUT
    *& Module STATUS_2001 OUTPUT
    text
    MODULE STATUS_2001 OUTPUT.
    SET PF-STATUS 'ZBPF_STATUS2'.
    SET TITLEBAR 'xxx'.
    ENDMODULE. " STATUS_2001 OUTPUT
    *& Module STATUS_4000 OUTPUT
    text
    MODULE STATUS_4000 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    ENDMODULE. " STATUS_4000 OUTPUT
    *& Module DISPLAY_TBCL_4000 OUTPUT
    text
    MODULE DISPLAY_TBCL_4000 OUTPUT.
    LFBK-LIFNR = WA_BANK-LIFNR.
    LFBK-BANKS = WA_BANK-BANKS.
    LFBK-BANKL = WA_BANK-BANKL.
    LFBK-KOINH = WA_BANK-KOINH.
    LFBK-EBPP_ACCNAME = WA_BANK-EBPP_ACCNAME.
    ENDMODULE. " DISPLAY_TBCL_4000 OUTPUT
    *& Include ZB14HAI_MP1_I01
    *& Module USER_COMMAND_0100 INPUT
    text
    MODULE USER_COMMAND_0100 INPUT.
    CASE OK_CODE.
    WHEN 'EXIT'.
    LEAVE PROGRAM.
    WHEN'VEND'.
    CALL SCREEN 1001.
    WHEN 'BANK'.
    CALL SCREEN '2001'.
    ENDCASE.
    ENDMODULE.
    " USER_COMMAND_0100 INPUT
    *& Module USER_COMMAND_1001 INPUT
    text
    MODULE USER_COMMAND_1001 INPUT.
    CASE OK_CODE.
    WHEN 'BACK'.
    CALL SCREEN 0100.
    WHEN 'DISP'.
    PERFORM F_VEND_DISPLAY USING LFA1
    CHANGING SY-DBCNT.
    WHEN 'CHAN'.
    PERFORM F_UPDATE CHANGING LFA1.
    WHEN 'REFR'.
    PERFORM F_REFRESH CHANGING LFA1.
    WHEN 'CREA'.
    PERFORM F_CREATE USING LFA1.
    WHEN 'DELE'.
    PERFORM F_DELETE CHANGING LFA1.
    WHEN 'BNKD'.
    PERFORM F_BANK USING LFA1-LIFNR CHANGING IT_BANK.
    CALL SCREEN 4000.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_1001 INPUT
    *& Module USER_COMMAND_2001 INPUT
    text
    MODULE USER_COMMAND_2001 INPUT.
    CASE OK_CODE.
    WHEN 'BACK'.
    CALL SCREEN '1001'.
    CLEAR LFA1.
    WHEN 'DISP'.
    PERFORM F_GET_BANK USING LFBK
    CHANGING SY-DBCNT.
    WHEN 'CHAN'.
    PERFORM F_UPDATE1 CHANGING LFBK.
    WHEN 'REFR'.
    PERFORM F_REFRESH1 CHANGING LFBK.
    WHEN 'CREA'.
    PERFORM F_CREATE1 USING LFBK.
    WHEN 'DELE'.
    PERFORM F_DELETE1 CHANGING LFBK.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_2001 INPUT
    " USER_COMMAND_4000 INPUT
    *& Include ZB14HAI_MP1_F01
    *& Form F_VEND_DISPLAY
    text
    -->P_LFA1 text
    <--P_DBCNT text
    FORM F_VEND_DISPLAY USING P_LFA1 LIKE LFA1
    CHANGING P_DBCNT LIKE SY-DBCNT.
    SELECT SINGLE * FROM LFA1 WHERE
    LIFNR EQ LFA1-LIFNR.
    IF SY-DBCNT EQ 0.
    MESSAGE E001(ZMSGCLASS).
    ENDIF.
    ENDFORM. " F_VEND_DISPLAY
    *& Form F_GET_BANK
    text
    -->P_LFB1 text
    <--P_SY_DBCNT text
    FORM F_GET_BANK USING P_LFB1 LIKE LFBK
    CHANGING P_SY_DBCNT LIKE SY-DBCNT.
    SELECT SINGLE * FROM LFBK WHERE LIFNR EQ LFBK-LIFNR.
    IF P_SY_DBCNT EQ 0.
    MESSAGE E002(ZMSGCLASS).
    ENDIF.
    ENDFORM. " F_GET_BANK
    *& Form F_UPDATE
    text
    <--P_LFA1 text
    FORM F_UPDATE CHANGING P_LFA1 LIKE LFA1.
    UPDATE LFA1.
    IF SY-SUBRC EQ 0.
    MESSAGE I000(ZHNC) WITH 'RECORDS UPDATED SUCESSFULLY'.
    ENDIF.
    ENDFORM. " F_UPDATE
    *& Form F_REFRESH
    text
    <--P_LFA1 text
    FORM F_REFRESH CHANGING P_LFA1 LIKE LFA1.
    CLEAR LFA1.
    ENDFORM. " F_REFRESH
    *& Form F_CREATE2
    text
    -->P_LFA1 text
    FORM F_CREATE USING P_LFA1 LIKE LFA1.
    INSERT INTO LFA1 VALUES P_LFA1.
    IF SY-SUBRC EQ 0.
    MESSAGE S000(ZHNC) WITH 'VENDOR SUCESSFULLY CREATED'.
    ELSE.
    MESSAGE E000(ZHNC) WITH 'VENDOR ALREADY EXIST'.
    ENDIF.
    ENDFORM. " F_CREATE
    *& Form F_DELETE
    text
    <--P_LFA1 text
    FORM F_DELETE CHANGING P_LFA1 LIKE LFA1.
    DELETE FROM LFA1 WHERE LIFNR EQ LFA1-LIFNR.
    IF SY-SUBRC EQ 0 .
    MESSAGE S000(ZHNC) WITH 'RECORD SUCESSFULLY DELETED'.
    ENDIF.
    ENDFORM. " F_DELETE
    *& Form F_UPDATE1
    text
    <--P_LFA1 text
    FORM F_UPDATE1 CHANGING P_LFBK LIKE LFBK.
    UPDATE LFBK.
    IF SY-SUBRC EQ 0.
    MESSAGE I000(ZHNC) WITH 'RECORDS UPDATED SUCESSFULLY'.
    ENDIF.
    ENDFORM. " F_UPDATE1
    *& Form F_REFRESH1
    text
    <--P_LFA1 text
    FORM F_REFRESH1 CHANGING P_LFBK LIKE LFBK.
    CLEAR LFBK.
    ENDFORM. " F_REFRESH1
    *& Form F_CREATE1
    text
    -->P_LFA1 text
    FORM F_CREATE1 USING P_LFBK LIKE LFBK.
    INSERT INTO LFBK VALUES P_LFBK.
    IF SY-SUBRC EQ 0.
    MESSAGE S000(ZHNC) WITH 'VENDOR SUCESSFULLY CREATED'.
    ELSE.
    MESSAGE E000(ZHNC) WITH 'VENDOR ALREADY EXIST'.
    ENDIF.
    ENDFORM. " F_CREATE1
    *& Form F_DELETE1
    text
    <--P_LFA1 text
    FORM F_DELETE1 CHANGING P_LFBK LIKE LFBK.
    ENDFORM. " F2_DELETE1
    *& Form F_BANK
    text
    -->P_LFA1_LIFNR text
    <--P_IT_BANK text
    FORM F_BANK USING P_LFA1_LIFNR LIKE LFA1-LIFNR
    CHANGING P_IT_BANK LIKE IT_BANK.
    SELECT * FROM LFBK INTO CORRESPONDING FIELDS OF TABLE IT_BANK
    WHERE LIFNR EQ P_LFA1_LIFNR.
    ENDFORM. " F_BANK
    full points to be awarded

    hi ,
    try this code
    *& Module pool       SAPMZ50818_MODUL_TABLECNTRL                       *
    PROGRAM TITLE      : SALES ORDER LINE ITEM DESPLAY                  *
    AREA               : SD                                             *
    AUTHOR             : Fareeda .s                                     *
    CREATED ON         : 24/10/2007                                     *
    OBJECT TYPE        : MODULE POOL                                    *
    DESCRIPTION        :  The objective of this module pool is to display*
                          the list of sales orders within a given range  *
                          of customers entered on the selection screen.  *
                       Modification Log                                 *
    Author                : FAREEDA                                    *
    Date of Change        : 25/10/07                                   *
    Functional Specs #    :                                            *
    Correction Request #  :                                            *
    Description of Change : PF_STATUS                                  *
    PROGRAM  SAPMZ50818_MODUL_TABLECNTRL MESSAGE-ID ZFAR.
    TABLES KNA1.
    First internal table for screen 200
    DATA: BEGIN OF IT_TAB OCCURS 0,
          CHK,
          VBELN   TYPE VBAK-VBELN,
          KUNNR   TYPE VBAK-KUNNR,
          ERNAM   TYPE VBAK-ERNAM,
          AUDAT   TYPE VBAK-AUDAT,
          VBTYP   TYPE VBAK-VBTYP,
          END OF IT_TAB.
    Second internal table for screen 300
    DATA: BEGIN OF IT_TAB1 OCCURS 0,
          VBELN    TYPE VBAP-VBELN,
          POSNR    TYPE VBAP-POSNR,
          PSTYV    TYPE VBAP-PSTYV,
          POSAR    TYPE VBAP-POSAR,
          END OF IT_TAB1.
    ok_code declaration
    DATA  OK_CODE TYPE SY-UCOMM.
    DATA: V_Kna1 LIKE KNA1.
    *&      Module  STATUS_0100  OUTPUT
    PF-STATUS FOR SCREEN 0100
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'FAR'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    MODULE USER_COMMAND_0100 INPUT.
      OK_CODE = SY-UCOMM.
      CASE OK_CODE.
        WHEN 'DISP' OR SPACE.
          SELECT SINGLE *
            FROM KNA1
            INTO KNA1
           WHERE KUNNR = KNA1-KUNNR.
          SELECT *
            FROM VBAK
           INTO  CORRESPONDING FIELDS OF TABLE IT_TAB
           WHERE KUNNR = KNA1-KUNNR.
          IF SY-SUBRC <> 0.
            MESSAGE 'NO RECORDS FOUND' TYPE 'E'.
          ENDIF.
        WHEN 'BACK'.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Module  USER_COMMAND_0200  INPUT
    MODULE USER_COMMAND_0200 INPUT.
      CONTROLS TC1 TYPE TABLEVIEW USING SCREEN 200.
      SET PF-STATUS 'ZFAR'.
      CASE OK_CODE.
        WHEN 'BACK'.
          LEAVE TO SCREEN 100.
        WHEN 'EXIT'.
          LEAVE PROGRAM.
        WHEN 'DISP'.
          CLEAR IT_TAB.
          READ TABLE IT_TAB WITH KEY CHK = 'X'.
          IF NOT IT_TAB-CHK IS INITIAL.
            SELECT VBELN POSNR PSTYV POSAR
              FROM VBAP
              INTO TABLE IT_TAB1
             WHERE VBELN = IT_TAB-VBELN.
    *------Processing error
            IF SY-SUBRC <> 0.
              MESSAGE 'NO ITEMS FOUND' TYPE 'E'.
            ENDIF.
          ENDIF.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0200  INPUT
    *&      Module  STATUS_0200  OUTPUT
    PF-STATUS FOR SCREEN 0200
    MODULE STATUS_0200 OUTPUT.
      SET PF-STATUS 'ZFAR'.
    ENDMODULE.                 " STATUS_0200  OUTPUT
    **&      Module  STATUS_0300  OUTPUT
    PF-STATUS FOR SCREEN 0300
    *MODULE STATUS_0300 OUTPUT.
    SET PF-STATUS 'FAR2'.
    SET TITLEBAR 'TITLE'.
    *ENDMODULE.                 " STATUS_0300  OUTPUT
    *&      Module  MODIFY  INPUT
    modifying  table input
    MODULE MODIFY INPUT.
      MODIFY IT_TAB INDEX TC1-CURRENT_LINE.
    ENDMODULE.                 " MODIFY  INPUT
    *&      Module  USER_COMMAND_0300  INPUT
    table control for third screen
    MODULE USER_COMMAND_0300 INPUT.
      CONTROLS TC2 TYPE TABLEVIEW USING SCREEN 300.
      SET PF-STATUS 'FAR2'.
    *------case
      CASE OK_CODE.
    leave to previous screen.
      WHEN 'DISP'.
          LEAVE TO SCREEN 200.
        WHEN 'EXIT'.
          LEAVE PROGRAM.
    error record no existing sales item found
          IF SY-SUBRC <> 0.
            MESSAGE 'NO SA_ITEMS FOUND' TYPE 'E'.
          ENDIF.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0300  INPUT
    *&      Module  VALIDATE_KUNNR  INPUT
    validating kunnr
    MODULE VALIDATE_KUNNR INPUT.
      V_KNA1 = KNA1.
      SELECT SINGLE *
              FROM KNA1
              INTO KNA1
             WHERE KUNNR = KNA1-KUNNR.
    *------Process information
      IF SY-SUBRC <> 0.
        CLEAR KNA1.
        KNA1-KUNNR = V_KNA1-KUNNR.
        CASE OK_CODE.
    leave program
          WHEN 'BACK'.
            LEAVE PROGRAM.
        ENDCASE.
    raises an error that no customers found.
        MESSAGE 'NO CUSTOMER FOUND' type 'E'.
        LEAVE TO SCREEN 100.
      ENDIF.
    ENDMODULE.                 " VALIDATE_KUNNR  INPUT

  • PLZ PLZ PLZ help me with this **bleep**er E65

    the themes that i installed does not show up in uninstaller then i cant uninstal them .i removed them by formating memory card now i cant install those themes again and i want them realy .i think they didnt remove from some where in my phon memory then that wont let me to install them again help me plz and tell what should i do (
    Tnx for any help and cheer

    u should hard reset ur phone using this code *#7370#
    NOTE : THIS CODE DELETE ALL DATA ON UR PHONE
    it will be like a new one after appling this code
    note : S60 3rd phones does not support many themes = u cant install many themes on ur mobile ( i think only 10 )
    T18>6210>8310>6800>6210>7610>6680>6210>E50>3110>2610>E65>E61i

  • Plz help me with this query

    i need to get each manager name, his department name and for each year that is for 81,82,83,84 count of employee's under that manager from emp and dept tables .
    thanks in advance
    select distinct deptno, TO_CHAR (HIREDATE, 'YY'), count(*) from emp group by TO_CHAR(HIREDATE, 'YY'), DEPTNO ORDER BY TO_CHAR(HIREDATE, 'YY'), DEPTNO;
    the above query returns me count of employees ,year and deptno
    SELECT DISTINCT E2.ENAME , E1.ENAME, E1.DEPTNO, E1.MGR, E1.EMPNO, E1.SAL, D.DNAME, D.LOC FROM EMP E1, EMP E2, DEPT D WHERE E1.MGR = E2.EMPNO AND E1.DEPTNO = D.DEPTNO ORDER BY E1.DEPTNO;
    this query returned me manager names and employees under them
    Message was edited by:
    user450660

    At that point you're not too far off, you have most of what you need. In general, any time you see the use of DISTINCT it's a sign that either your query or your data model isn't designed quite right.
    SELECT m.ename,
           d.dname,
           TO_CHAR (e.hiredate, 'YY') AS hire_year,
           COUNT(*) AS emp_count
      FROM emp e, emp m, dept d
    WHERE e.mgr = m.empno
       AND m.deptno = d.deptno
    GROUP BY
           m.ename,
           d.dname,
           TO_CHAR (e.hiredate, 'YY');

  • Plz help me with this problem

    SQL> SET SERVEROUTPUT ON
    SQL> VARIABLE g_name VARCHAR2
    SQL> VARIABLE g_mngr NUMBER
    SQL> VARIABLE g_depid VARCHAR2
    SQL> VARIABLE g_proid number
    SQL> VARIABLE g_proname varchar2
    SQL> CREATE OR REPLACE PROCEDURE mngr_info
    2 ( p_id IN employees.emp_id%type,
    3 p_name OUT employees.last_name%type,
    4 p_mngr OUT employees.mngr_id%type,
    5 p_depid OUT employees.dep_id%type,
    6 p_proid OUT projects.pro_id%type,
    7 p_proname OUT projects.pro_name%type)
    8 IS
    9 BEGIN
    10 SELECT e.mngr_id,e.last_name,e.dep_id,p.pro_id,p.pro_name
    11 INTO p_mngr,p_name,p_depid,p_proid,p_proname
    12 FROM employees e, projects p
    13 WHERE e.mngr_id=p.mngr_id
    14 AND e.emp_id=p_id;
    15 EXCEPTION
    16 WHEN NO_DATA_FOUND THEN
    17 DBMS_OUTPUT.PUT_LINE('emp id does not exist');
    18 commit;
    19 END mngr_info;
    20
    21 /
    Procedure created.
    SQL> EXECUTE mngr_info(3,:g_mngr,:g_name,:g_depid,:g_proid,:g_proname);
    BEGIN mngr_info(3,:g_mngr,:g_name,:g_depid,:g_proid,:g_proname); END;
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "SCOTT.MNGR_INFO", line 10
    ORA-06512: at line 1

    Hi,
    mngr_info(3,:g_mngr,:g_name,:g_depid,:g_proid,:g_proname);
    Check the parameters list and the out parameters what you have declared.
    ,:g_mngr is first column (number )you are returning from the SP and then
    p_name which are of irregular type (varchar).
    Can varchar we handled in number.??
    that is the Issue.
    Thanks & Regards,
    Pavan Kumar N

  • When i connect i5 to itunes .. i dont get "delete" option for songs upon right click .. can anyone help me with this plz?

    when i connect i5 to itunes .. i dont get "delete" option for songs upon right click .. can anyone help me with this plz?

    Yes, annoying. A couple of options:
    While it's playing the current A song, click on the H song to select it (but not double click to play it), when iTunes jumps to the second A song, press the down key and iTunes will remember that you had that H song selected and will move the selection to the second H song while the second A song is still playing. So, still jumps around, but easy to get back to where you were.
    Create a new playlist for your music, right click on it, select "New Window" and you can browse your music in a second list while the first window continues to play music. But if you then start playing music in that second window, you have to go back to the first window if you want to start browsing again. Not great if you're navigating around to play the next song.
    Play music from iTunes DJ, then as you're browsing around your library, you can add things to play next in DJ, and go back. You can combine this with previous suggestion, to keep DJ open in one window while you browser in the other window.
    None of these are great, but maybe one of these works better than your current workflow.

  • Plz help me with the workflow.........

    I'm trying my level best to mould my expectations according to the software but till now no success,can you plz explain
    to make the timeline less cluttered and organized we make secondary storylines and compound clips
    since you can't keep too many things in order in a big project you take a portion ,compound it , work in it and come back,
    within the compound clip you put transitions and some secondary storylines get created automatically within the compound clip due to applying transitions.
    When you come back to the main timeline there are several times you have to break apart that compound clip,to now add more shots before and after those individual arrangement of clips ......
    but since it has a secondary storyline in it, it break aparts undoing all the transitions
    if instead of compound clip it is a secondary storyline it creates problem if we have to retime clips the clip again and again leaves its assigned position,nor does it eat on or overlapp the slug it has created with a P tool , when dragged,retiming it increases that clip in both directions thus leaving the assigned place......,or with opacity overlapping or for split screen have to be controlled individually from within the secondary clip in association with another clip below it...........at that moment you definately want to break it apart......
    (I'm assuming that you are understanding I have to work in several layers sometimes six or seven due to complex overlapping ,split screen, keying and titles etc which you can't keep in a linear order)
    Now plz suggest how should I work,
    in my music videos there are more than 300 bits of clips in a 5 minute song......in several layers because of mulitilayer opacity effect and split screens
    it is not possible to cut all the clips first and then put transitions in the end because you have to try arrangement of clips with transitions to see if you get the proper feel of the music else you change the order.......plz suggest me a better work flow.....
    I cannot keyword things in the event browser because keywording such huge number of moments including 2-3 second shots is simply impossible because the process of trying various combinations can only be done when you have them all on the timeline in various layers..........how should I begin and what process should I stick to so that I edit portions finish them come back to main timeline and everything remains unaltered.........Thank you plz help.

    So does this mean......If you can't drag your final work directly from the event browser from the beginning , you are in trouble ?
    Thanks Tom ......................I know you cannot make this software work the way you want the only workflow I see possible is making event browser , the source of your footage at the very start of your project....as if you have planned the editing of all those 300 bits of a music video on the paper before hand......be it organizing clips or using split screen generators the source has to be from the event browser ,once clips are on the timeline the possibilities are too limited.......
    The only way of categorizing clips on timeline are roles which only unhighlight other clips ....it again cannot be used like a selected list of source to make the place less messy.....I think even smart collection works from the event browser not from the timeline because I tried that also.Is it so....?
    A FANTASY ....I wish there was a way where you could select selective clips from the timeline and refer them in a place from where they would all show up like original clips from the event browser so that you could just drag those exact pieces and place one after the other trying combinations and boom........ like you do parts from clips ......but once everything is on timeline I have still not figured out a way that you can have a bank where all those selected bits can be seen even as reference thumbnails and a then they can be placed sequentially on a timeline........dragging , move and pasting , flipping between timelines is the only way of doing it neatly,and that is very tiring and time consuming .....when two timelines can also not be placed in two windows.......I hope you are understanding what I want.......if you can't drag your final work directly from the event browser from the beginning , you are in trouble.
    In earlier versions you could atleast keep all your selected 2-3 second bits or shots on various tracks and just drag them in the final track.....Is there anyway you think can be done in fcpx......I use it because it has some outstanding features other than layers .....else still have to figure out a way....plz help Tom.

  • Plz help me design this query

    Hi,
    Can you’ll please help me with this query.
    Here is a little bit of background:
    One title can have multiple items associated with it.
    Table: TITLE has the master list of titles. TITLE_ID is the primary key.
    Table: ITEM has the master list of all items. ITEM_ID is the primary. This table also has the TITLE_ID which stores title for this item.
    Table: ITEM_STATUS has fields ITEM_ID and STATUS_ID. This field contains statuses for items. But not all items contained in the table ITEM are in this table.
    I want to find TITLE_ID’s whose all items (all ITEM_ID in table ITEM having same value for TITLE_ID) have a particular status (for example STATUS_ID = 2) in table ITEM_STATUS.
    Let’s say TITLE_ID = 1 has 5 items in table ITEM_ID and only 4 items out of it in table ITEM_STATUS with STATUS_ID = 2, then this TITLE_ID should not come. OR
    Let’s say TITLE_ID = 1 has 5 items in table ITEM_ID and all these 5 items are in table ITEM_STATUS but only 1 has STATUS_ID = 2, then this TITLE_ID should also not come
    In the above case only if all 5 items are contained in table ITEM_STATUS have STATUS_ID = 2 then this TITLE_ID should be reported by the query.
    What should be the query like for this one, I am fairly new to SQL so plz guide me.
    Thank you,
    Raja

    I haven't tested the query below. Try it and let me know for any issues:
    SELECT     DISTINCT t.title_id
         FROM     title t,
                        item i,
                        item_status its
    WHERE     t.title_id = i.title_id
         AND     i.item_id = its.item_id
         AND     NOT EXISTS     (
                                                           SELECT 1
                                                                FROM item_status its1
                                                           WHERE its1.item_id = i.item_id
                                                                AND status_id <> 'YOUR_ITEM_STATUS'
                                                      )

  • Can someone pls help me with this code

    The method createScreen() creates the first screen wherein the user makes a selection if he wants all the data ,in a range or single data.The problem comes in when the user makes a selection of single.that then displays the singleScreen() method.Then the user has to input a key data like date or invoice no on the basis of which all the information for that set of data is selected.Now if the user inputs a wrong key that does not exist for the first time the program says invalid entry of data,after u click ok on the option pane it prompts him to enter the data again.But since then whenever the user inputs wrong data the program says wrong data but after displaying the singlescreen again does not wait for input from the user it again flashes the option pane with the invalid entry message.and this goes on doubling everytime the user inputs wrong data.the second wrong entry of data flashes the error message twice,the third wrong entry flashes the option pane message 4 times and so on.What actually happens is it does not wait at the singlescreen() for user to input data ,it straight goes into displaying the JOptionPane message for wrong data entry so we have to click the optiion pane twice,four times and so on.
    Can someone pls help me with this!!!!!!!!!
    import java.util.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.text.*;
    import java.util.*;
    public class MainMenu extends JFrame implements ActionListener,ItemListener{
    //class     
         FileReaderDemo1 fd=new FileReaderDemo1();
         FileReaderDemo1 fr;
         Swing1Win sw;
    //primary
         int monthkey=1,counter=0;
         boolean flag=false,splitflag=false;
         String selection,monthselection,dateselection="01",yearselection="00",s,searchcriteria="By Date",datekey,smonthkey,invoiceno;
    //arrays
         String singlesearcharray[];
         String[] monthlist={"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sept","Oct","Nov","Dec"};
         String[] datelist=new String[31];
         String[] yearlist=new String[100];
         String[] searchlist={"By Date","By Invoiceno"};
    //collection
         Hashtable allinvoicesdata=new Hashtable();
         Vector data=new Vector();
         Enumeration keydata;
    //components
         JButton next=new JButton("NEXT>>");
         JComboBox month,date,year,search;
         JLabel bydate,byinvno,trial;
         JTextField yeartext,invtext;
         JPanel panel1,panel2,panel3,panel4;
         JRadioButton single,range,all;
         ButtonGroup group;
         JButton select=new JButton("SELECT");
    //frame and layout declarations
         JFrame jf;
         Container con;
         GridBagLayout gridbag=new GridBagLayout();
         GridBagConstraints gc=new GridBagConstraints();
    //constructor
         MainMenu(){
              jf=new JFrame();
              con=getContentPane();
              con.setLayout(null);
              fr=new FileReaderDemo1();
              createScreen();
              setSize(500,250);
              setLocation(250,250);
              setVisible(true);
    //This is thefirst screen displayed
         public void createScreen(){
              group=new ButtonGroup();
              single=new JRadioButton("SINGLE");
              range=new JRadioButton("RANGE");
              all=new JRadioButton("ALL");
              search=new JComboBox(searchlist);
              group.add(single);
              group.add(range);
              group.add(all);
              single.setBounds(100,50,100,20);
              search.setBounds(200,50,100,20);
              range.setBounds(100,90,100,20);
              all.setBounds(100,130,100,20);
              select.setBounds(200,200,100,20);
              con.add(single);
              con.add(search);
              con.add(range);
              con.add(all);
              con.add(select);
              search.setEnabled(false);
              single.addItemListener(this);
              search.addActionListener(new MyActionListener());     
              range.addItemListener(this);
              all.addItemListener(this);
              select.addActionListener(this);
         public class MyActionListener implements ActionListener{
              public void actionPerformed(ActionEvent a){
                   JComboBox cb=(JComboBox)a.getSource();
                   if(a.getSource().equals(month))
                        monthkey=((cb.getSelectedIndex())+1);
                   if(a.getSource().equals(date)){
                        dateselection=(String)cb.getSelectedItem();
                   if(a.getSource().equals(year))
                        yearselection=(String)cb.getSelectedItem();
                   if(a.getSource().equals(search)){
                        searchcriteria=(String)cb.getSelectedItem();
         public void itemStateChanged(ItemEvent ie){
              if(ie.getItem()==single){
                   selection="single";     
                   search.setEnabled(true);
              else if (ie.getItem()==all){
                   selection="all";
                   search.setEnabled(false);
              else if (ie.getItem()==range){
                   search.setEnabled(false);
         public void actionPerformed(ActionEvent ae){          
              if(ae.getSource().equals(select))
                        if(selection.equals("single")){
                             singleScreen();
                        if(selection.equals("all"))
                             sw=new Swing1Win();
              if(ae.getSource().equals(next)){
                   if(monthkey<9)
                        smonthkey="0"+monthkey;
                   System.out.println(smonthkey+"/"+dateselection+"/"+yearselection+"it prints this");
                   allinvoicesdata=fr.read(searchcriteria);
                   if (searchcriteria.equals("By Date")){
                        System.out.println("it goes in this");
                        singleinvoice(smonthkey+"/"+dateselection+"/"+yearselection);
                   else if (searchcriteria.equals("By Invoiceno")){
                        invoiceno=invtext.getText();
                        singleinvoice(invoiceno);
                   if (flag == false){
                        System.out.println("flag is false");
                        singleScreen();
                   else{
                   System.out.println("its in here");
                   singlesearcharray=new String[data.size()];
                   data.copyInto(singlesearcharray);
                   sw=new Swing1Win(singlesearcharray);
         public void singleinvoice(String searchdata){
              keydata=allinvoicesdata.keys();
              while(keydata.hasMoreElements()){
                        s=(String)keydata.nextElement();
                        if(s.equals(searchdata)){
                             System.out.println(s);
                             flag=true;
                             break;
              if (flag==true){
                   System.out.println("vector found");
                   System.exit(0);
                   data= ((Vector)(allinvoicesdata.get(s)));
              else{
                   JOptionPane.showMessageDialog(jf,"Invalid entry of date : choose again");     
         public void singleScreen(){
              System.out.println("its at the start");
              con.removeAll();
              SwingUtilities.updateComponentTreeUI(con);
              con.setLayout(null);
              counter=0;
              panel2=new JPanel(gridbag);
              bydate=new JLabel("By Date : ");
              byinvno=new JLabel("By Invoice No : ");
              dateComboBox();
              invtext=new JTextField(6);
              gc.gridx=0;
              gc.gridy=0;
              gc.gridwidth=1;
              gridbag.setConstraints(month,gc);
              panel2.add(month);
              gc.gridx=1;
              gc.gridy=0;
              gridbag.setConstraints(date,gc);
              panel2.add(date);
              gc.gridx=2;
              gc.gridy=0;
              gc.gridwidth=1;
              gridbag.setConstraints(year,gc);
              panel2.add(year);
              bydate.setBounds(100,30,60,20);
              con.add(bydate);
              panel2.setBounds(170,30,200,30);
              con.add(panel2);
              byinvno.setBounds(100,70,100,20);
              invtext.setBounds(200,70,50,20);
              con.add(byinvno);
              con.add(invtext);
              next.setBounds(300,200,100,20);
              con.add(next);
              if (searchcriteria.equals("By Invoiceno")){
                   month.setEnabled(false);
                   date.setEnabled(false);
                   year.setEnabled(false);
              else if(searchcriteria.equals("By Date")){
                   byinvno.setEnabled(false);
                   invtext.setEnabled(false);
              monthkey=1;
              dateselection="01";
              yearselection="00";
              month.addActionListener(new MyActionListener());
              date.addActionListener(new MyActionListener());
              year.addActionListener(new MyActionListener());
              next.addActionListener(this);
              invtext.addKeyListener(new KeyAdapter(){
                   public void keyTyped(KeyEvent ke){
                        char c=ke.getKeyChar();
                        if ((c == KeyEvent.VK_BACK_SPACE) ||(c == KeyEvent.VK_DELETE)){
                             System.out.println(counter+"before");
                             counter--;               
                             System.out.println(counter+"after");
                        else
                             counter++;
                        if(counter>6){
                             System.out.println(counter);
                             counter--;
                             ke.consume();
                        else                    
                        if(!((Character.isDigit(c) || (c == KeyEvent.VK_BACK_SPACE) || (c == KeyEvent.VK_DELETE)))){
                             getToolkit().beep();
                             counter--;     
                             JOptionPane.showMessageDialog(null,"please enter numerical value");
                             ke.consume();
              System.out.println("its at the end");
         public void dateComboBox(){          
              for (int counter=0,day=01;day<=31;counter++,day++)
                   if(day<=9)
                        datelist[counter]="0"+String.valueOf(day);
                   else
                        datelist[counter]=String.valueOf(day);
              for(int counter=0,yr=00;yr<=99;yr++,counter++)
                   if(yr<=9)
                        yearlist[counter]="0"+String.valueOf(yr);
                   else
                        yearlist[counter]=String.valueOf(yr);
              month=new JComboBox(monthlist);
              date=new JComboBox(datelist);
              year=new JComboBox(yearlist);
         public static void main(String[] args){
              MainMenu mm=new MainMenu();
         public class WindowHandler extends WindowAdapter{
              public void windowClosing(WindowEvent we){
                   jf.dispose();
                   System.exit(0);
    }     

    Hi,
    I had a similar problem with a message dialog. Don't know if it is a bug, I was in a hurry and had no time to search the bug database... I found a solution by using keyPressed() and keyReleased() instead of keyTyped():
       private boolean pressed = false;
       public void keyPressed(KeyEvent e) {
          pressed = true;
       public void keyReleased(KeyEvent e) {
          if (!pressed) {
             e.consume();
             return;
          // Here you can test whatever key you want
       //...I don't know if it will help you, but it worked for me.
    Regards.

  • I bought a movie the movie Godzilla 2014 recently but it didn't show up in my library. I went check the itunes store and it wants me to buy it again. Please help me with this problem.

    I just bought this movie "Godzilla 2014" but it won't show in my Movie Library. I closed my Itunes and put it back on again but still won't show up. I checked my purchased list and it shows that I recently bought the movie but when I checked the itunes store it wants to buy the movie again. Please help me with this right away Apple.

    Apple Store Customer Service at 1-800-676-2775 or visit online Help for more information.
    To contact product and tech support: Contacting Apple for support and service - this includes
    international calling numbers..
    For Mac App Store: Apple - Support - Mac App Store.
    For iTunes: Apple - Support - iTunes.

  • HT204146 Good morning.  I just purchased Imatch but cannot download my music from an iphone 5 to IMatch in Icloud.  Can you help me with this?

    Good morning.  I just purchased Imatch but cannot download my music from an iphone 5 to IMatch in Icloud.  Can you help me with this?

    Hi
    Has iTunes completed its scan of your iTunes library on your computer Subscribing to iTunes from an iOS device.
    Jim

  • Iv got a new laptop and i moved all my music though home sharing from my old intunes onto my new one, but my iphone wont sync to the new itunes... could anyone help me with this?

    iv moved all the music over thought home sharing... from the old itunes i was using but i want to be able to sync my iphone with the new itunes on my new machine but its saying saying syncing setp 1 of 1 and nothing happens... could someone please help me with this?

    Copy the entire iTunes folder from the old computer to the new computer.

  • Help needed with this form in DW

    Hi, i have created this form in dreamweaver but ive got this problem.
    In the fields above the text field, the client needs to fill in some info such as name, email telephone number etc.
    But the problem is when ill get the messages. Only the text from the large text field is there.
    What did i do wrong??
    http://www.hureninparamaribo.nl/contact.html
    Thank you
    Anybody??

    Thank you for your response. So what do i have to do to fix this?
    Date: Sun, 20 Jan 2013 07:57:56 -0700
    From: [email protected]
    To: [email protected]
    Subject: Help needed with this form in DW
        Re: Help needed with this form in DW
        created by Ken Binney in Dreamweaver General - View the full discussion
    You have several duplicate "name" attributes in these rows which also appears in the first row
    Telefoon:
    Huurperiode:
    Aantal personen:
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5008247#5008247
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5008247#5008247
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5008247#5008247. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver General by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

Maybe you are looking for

  • Problem with checkbox group in row popin of table.

    In table row popin I have kept Check Box Group.I have mapped  the texts property of checkbox group to the attribute which is under the subnode of the table.the subnode properties singleton=false,selectioncardinality=0-n,and cardinality=0-n. if there

  • HT1918 How can I use my iTunes account with apple tv??

    How can I use my iTunes account watch alpple ????

  • Installation of oracle8i on windows 2003 64 bit

    Hi, We have oracle 8.1.7 on windows 2003 32 bit, now we want to migrate our system to 64 bit windows with oracle 10.2.0.4. But when we we are trying to install oracle 8.1.7 on windows 2003 with 64 bit we receive below error. ORA-12546 tns permission

  • Problems Aligning Text in Headers and Footers

    I have tried to add headers and footers to documents and the  alignment is wrong.  The center footer/header should be center-aligned  and the right header/footer should be right-aligned.  Unfortunately,  they are both left-aligned. The preview shows

  • System broke after major update

    I did a pacman -Syu and now anything I try to do gives this error: "error while loading shared libraries: lib(whatever).so.x: cannot open shared object file: No such file or directory" I can log in and get a bash prompt but most commands don't work.