URGENT HELP for Ranges keyword

hi guys,
       Can any one tell me usage of keyword RANGES is recommended or it is OBSOLETE.
AHMED

Hi Ahmed
The RANGES is used even now a days as if you have a lot many constants and you need to use them internally then you can build a range.
It will work same as Select Options..
The difference is Select options take the values from the screen externally.
and Ranges are used internally and get the values from the internal logic..
It is mostly used when you have comparision or in Select Query..
For Eg...
Select kunnr from kna1
where kunnr in s_kunnr
and    land1 in r_land1.
Here r_land1 is a range with countries only limiting to say Asia Pacific, like IN, AU, NZ, JP etc..
Thanks
Gaurav

Similar Messages

  • No more connections available to this remote computer...Urgent Help for File server...

    Hi Guys,
    I need urgent help regards to our school File server which is having "No more connection to this remote computer error"
    on SMB Shares where I usually authenticate with a domain username it used to work fine since till 3 weeks ago.
    Now I can browse the SMB shares with only IP... Netbios gets straight away this error message from non-domain joined pc's where the computer needs to connect to the SCCM distribution point on this file server.
    Strangely, Domain joined pc's does not have this problem at all they can use Netbios or IP no problem at all. But someone from a standalone laptop or desktop who needs to access shares through netbios gets this message.
    Can someone help me please?
    I did check DNS yet there is no problem on DNS I checked PTR record for the server to make sure it is not turned in to multihome accidently but nothing at all.
    I also did a NETMON where I captured the data from server and the client I get these errors:
    205 4:54:35 PM 16/12/2013
    7.3299179 10.2.1.96
    10.2.0.13 TCP
    TCP:Flags=......S., SrcPort=49312, DstPort=Microsoft-DS(445), PayloadLen=0, Seq=1771710719, Ack=0, Win=8192 ( Negotiating scale factor 0x2 ) = 8192
    {TCP:22, IPv4:21}
    206 4:54:35 PM 16/12/2013
    7.3299668 10.2.0.13
    10.2.1.96 TCP
    TCP:Flags=...A..S., SrcPort=Microsoft-DS(445), DstPort=49312, PayloadLen=0, Seq=2167618331, Ack=1771710720, Win=8192 ( Negotiated scale factor 0x8 ) = 2097152
    {TCP:22, IPv4:21}
    207 4:54:35 PM 16/12/2013
    7.3301468 10.2.1.96
    10.2.0.13 TCP
    TCP:Flags=...A...., SrcPort=49312, DstPort=Microsoft-DS(445), PayloadLen=0, Seq=1771710720, Ack=2167618332, Win=16425 (scale factor 0x2) = 65700
    {TCP:22, IPv4:21}
    208 4:54:35 PM 16/12/2013
    7.3301468 10.2.1.96
    10.2.0.13 SMB
    SMB:C; Negotiate, Dialect = PC NETWORK PROGRAM 1.0, LANMAN1.0, Windows for Workgroups 3.1a, LM1.2X002, LANMAN2.1, NT LM 0.12, SMB 2.002, SMB 2.???
    {SMBOverTCP:23, TCP:22, IPv4:21}
    209 4:54:35 PM 16/12/2013
    7.3307974 10.2.0.13
    10.2.1.96 SMB2
    SMB2:R   NEGOTIATE (0x0), GUID={8447F237-5219-D48A-40C0-29092450C68E}
    {SMBOverTCP:23, TCP:22, IPv4:21}
    210 4:54:35 PM 16/12/2013
    7.3314064 10.2.1.96
    10.2.0.13 SMB2
    SMB2:C   SESSION SETUP (0x1) {SMBOverTCP:23, TCP:22, IPv4:21}
    211 4:54:35 PM 16/12/2013
    7.3318815 10.2.0.13
    10.2.1.96 SMB2
    SMB2:R  - NT Status: System - Error, Code = (22) STATUS_MORE_PROCESSING_REQUIRED  SESSION SETUP (0x1), SessionFlags=0x0
    {SMBOverTCP:23, TCP:22, IPv4:21}
    212 4:54:35 PM 16/12/2013
    7.3324012 10.2.1.96
    10.2.0.13 SMB2
    SMB2:C   SESSION SETUP (0x1) {SMBOverTCP:23, TCP:22, IPv4:21}
    215 4:54:35 PM 16/12/2013
    7.3339977 10.2.0.13
    10.2.1.96 SMB2
    SMB2:R  - NT Status: System - Error, Code = (109) STATUS_LOGON_FAILURE  SESSION SETUP (0x1)  
    {SMBOverTCP:23, TCP:22, IPv4:21}
    216 4:54:35 PM 16/12/2013
    7.3341805 10.2.1.96
    10.2.0.13 TCP
    TCP:Flags=...A.R.., SrcPort=49312, DstPort=Microsoft-DS(445), PayloadLen=0, Seq=1771711788, Ack=2167619070, Win=0 (scale factor 0x2) = 0
    {TCP:22, IPv4:21}
    217 4:54:35 PM 16/12/2013
    7.3357089 10.2.1.96
    10.2.0.13 TCP
    TCP:Flags=......S., SrcPort=49313, DstPort=Microsoft-DS(445), PayloadLen=0, Seq=2943201172, Ack=0, Win=8192 ( Negotiating scale factor 0x2 ) = 8192
    {TCP:27, IPv4:21}
    218 4:54:35 PM 16/12/2013
    7.3357422 10.2.0.13
    10.2.1.96 TCP
    TCP:Flags=...A..S., SrcPort=Microsoft-DS(445), DstPort=49313, PayloadLen=0, Seq=3718656547, Ack=2943201173, Win=8192 ( Negotiated scale factor 0x8 ) = 2097152
    {TCP:27, IPv4:21}
    219 4:54:35 PM 16/12/2013
    7.3359768 10.2.1.96
    10.2.0.13 TCP
    TCP:Flags=...A...., SrcPort=49313, DstPort=Microsoft-DS(445), PayloadLen=0, Seq=2943201173, Ack=3718656548, Win=16425 (scale factor 0x2) = 65700
    {TCP:27, IPv4:21}
    220 4:54:35 PM 16/12/2013
    7.3359768 10.2.1.96
    10.2.0.13 SMB2
    SMB2:C   NEGOTIATE (0x0), GUID={8213462D-2600-D1B1-11E3-65FC4BCDE707}
    {SMBOverTCP:28, TCP:27, IPv4:21}
    221 4:54:35 PM 16/12/2013
    7.3364173 10.2.0.13
    10.2.1.96 SMB2
    SMB2:R   NEGOTIATE (0x0), GUID={8447F237-5219-D48A-40C0-29092450C68E}
    {SMBOverTCP:28, TCP:27, IPv4:21}
    222 4:54:35 PM 16/12/2013
    7.3369702 10.2.1.96
    10.2.0.13 SMB2
    SMB2:C   SESSION SETUP (0x1) {SMBOverTCP:28, TCP:27, IPv4:21}
    223 4:54:35 PM 16/12/2013
    7.3373474 10.2.0.13
    10.2.1.96 SMB2
    SMB2:R  - NT Status: System - Error, Code = (22) STATUS_MORE_PROCESSING_REQUIRED  SESSION SETUP (0x1), SessionFlags=0x0
    {SMBOverTCP:28, TCP:27, IPv4:21}
    224 4:54:35 PM 16/12/2013
    7.3377060 10.2.1.96
    10.2.0.13 SMB2
    SMB2:C   SESSION SETUP (0x1) {SMBOverTCP:28, TCP:27, IPv4:21}
    227 4:54:35 PM 16/12/2013
    7.3390552 10.2.0.13
    10.2.1.96 SMB2
    SMB2:R  - NT Status: System - Error, Code = (109) STATUS_LOGON_FAILURE  SESSION SETUP (0x1)  
    {SMBOverTCP:28, TCP:27, IPv4:21}
    Regards,
    Gokhan

    Solution has been found, 
    After doing bit of a backtrack, site DC's were out of sync with PDC with time.
    Also Time service was shutdown on PDC which has been enabled and pointed to the Australian pool ntp IP address.
    Everything is back on track now.
    Regards,
    Gokhan Cil

  • Need urgently help for OBIEE Installation (11g)

    Hi all,
    I am having problems trying to install Oracle Business Intelligence 11g on Windows 7.
    The Installation Wizard hangs on the step: Domain Configuration (0%). The Creating Domain shows In progress.
    The log under the Inventory directory shows me only following:
    INFO: Ending the inventory Session
    INFO: Using an existing InstallAreaControl for this Inventory Session with existing access level 1
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    I really don't know what to do. I am searching for a solution on Internet, but I don't find it.
    I need urgently help. I would appreciate someone could help me.
    We can do together via Webex or something similar. It doesnt worth it for me to type here and wait till someone give me an answer (if any), trying to find out how I did.
    I hope to find the help I need. I am desperated :-(

    Can I install the OBIEE 10g version?I am not sure but i think OBIEE is not certified with windows 7. i could not find any MOS doc confirming same. Please log a call with oracle to confirm this.
    would it work fine with the Oracle Database 11g and the RCUs?. Yes OBIEE 10g will work with oracle database 11g.
    Thanks,
    JD

  • Very urgent help - for update field1 nowait across databaselink

    Hi,
    We have a form that uses select for update field1 nowait for a table that is accessed across a database link. When we try to do this the form errors out giving frm-92101 error. If I comment out the for update statement then it works fine. I know it the for update that is causing the problem but I'm not sure how to fix it. Can someone help me please. Very urgent, we are in the middle of upgrade and we found this issue while testing the forms.
    Any ideas or suggestions ?
    I'm using 10g App.Server and 10g database.
    Please help.
    Thanks in advance.

    under which trigger you ran that update ?

  • Urgent help for processing XML stream read from a JAR file

    Hi, everyone,
         Urgently need your help!
         I am reading an XML config file from a jar file. It can print out the result well when I use the following code:
    ===============================================
    InputStream is = getClass().getResourceAsStream("conf/config.xml");
    BufferedReader br = new BufferedReader(new InputStreamReader(is));
    String line;
    while ((line = br.readLine()) != null) {
    System.out.println(line); // It works fine here, which means that the inputstream is correct
    // process the XML stream I read from above
    NodeIterator ni = processXPath("//grid/gridinfo", is);
    Below is the processXPath() function I have written:
    public static NodeIterator processXPath(String xpath, InputStream byteStream) throws Exception {
    // Set up a DOM tree to query.
    InputSource in = new InputSource(byteStream);
    DocumentBuilderFactory dfactory = DocumentBuilderFactory.newInstance();
    dfactory.setNamespaceAware(true);
    Document doc = dfactory.newDocumentBuilder().parse(in);
    // Use the simple XPath API to select a nodeIterator.
    System.out.println("Querying DOM using " + xpath);
    NodeIterator ni = XPathAPI.selectNodeIterator(doc, xpath);
    return ni;
    It gives me so much errors:
    org.xml.sax.SAXParseException: The root element is required in a well-formed doc
    ument.
    at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1213
    at org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XM
    LDocumentScanner.java:570)
    at org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.endO
    fInput(XMLDocumentScanner.java:790)
    at org.apache.xerces.framework.XMLDocumentScanner.endOfInput(XMLDocument
    Scanner.java:418)
    at org.apache.xerces.validators.common.XMLValidator.sendEndOfInputNotifi
    cations(XMLValidator.java:712)
    at org.apache.xerces.readers.DefaultEntityHandler.changeReaders(DefaultE
    ntityHandler.java:1031)
    at org.apache.xerces.readers.XMLEntityReader.changeReaders(XMLEntityRead
    er.java:168)
    at org.apache.xerces.readers.UTF8Reader.changeReaders(UTF8Reader.java:18
    2)
    at org.apache.xerces.readers.UTF8Reader.lookingAtChar(UTF8Reader.java:19
    7)
    at org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.disp
    atch(XMLDocumentScanner.java:686)
    at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
    canner.java:381)
    at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
    at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.
    java:195)
    at processXPath(Unknown Source)
    Thank you very much!
    Sincerely Yours
    David

    org.xml.sax.SAXParseException: The root element is required in a well-formed document.This often means that the parser can't find the document. You think it should be able to find the document because your test code could. However if your test code was not in the same package as your real (failing) code, your test is no good because getResourceAsStream("conf/config.xml") is looking for that file name relative to the package of the class that contains that line of code.
    If your test code wasn't in any package, put a slash before the filename and see if that works.

  • Needed urgent help for user creation in security manager in ODI 11g

    Hi Gurus,
    I have an urgent requirement in ODI security manager and i am completely helpless. We need specific steps for the user creation with sufficient priviledges. The detailed requirements are:
    1. There is a group of users under the framework team and these users should be able to edit the Knowledge modules only. All other objects (e.g. projects, interface, procedures or development related objects) should only be in read only mode for them.
    2. There is a group of users under the development team. The priviledges of these users should be mutually exclusive to that of the framework team users. i.e. the development team should be able to edit or delete all development related objects (e.g. projects, interface, proc etc.) but the knowledge modules should only be in read only mode for them.
    Now I will explain what i have tried out:
    I am working on ODI 11.1.1.5.
    I have created a user with NG DESIGNER and CONNECT profile. Dragged and dropped all the projects on the user and selected all methods in all repositories (check sign). However when i connect with that user i cannot open the KMs (as far as development team is concerned its fine) but i can also not open interfaces as well as procedures (which is not acceptable from development point of view).
    Also when i tried creating a user from the framework team point of view i could not see any option related to KMs (To give edit priviledge).
    Please help me out guys. I have also searched oracle documentation and believe me the security manager section is not very good. If you guys can help me out with specific steps it would be great (I have tried the hints given in oracle documentation and they dont work, the ODI security manager behaves strangely :-(
    Thanks in advance,
    SB

    Similar requirement here guys. Any pointers. I was able to achieve this by restricting development user from supervisor access. In that case the development user can not edit the interfaces. Any known defefct?

  • Urgent Help for Nokia 6670

    I am employed for Coca Cola at Mexico, in the company we develop a program in Java for the Nokia 6670, which registers the sale of our product to the clients. This program comes out into the server for Bluetooth. Now well we cannot unload cellular several simultaneously for that all the Bluetooth of these equipments have Mac Address the same (00:02:5b:00:a5:a5), nowadays we have 200 of these equipments. Is it possible they to change this Mac Address? I am grateful for the help that they could give us.
    Guillermo Rojas
    Tampico, México

    I purchased a Nokia 6070 with a data cable DKU-5, downloaded the latest PC suite and installed into my Windows XP Pc. When asked I connected the phone to the cable and PC. The PC sees the phone but when i try to connect to the internet it say "No MODEM FOUND". When i checked the website it says the modem drivers would be installed automatically but apparently not. How would i be able to connect to the internet?Message Edited by jeshu on 06-Oct-200705:31 PM

  • Urgent help for a function module or BAPI to get the standard price.

    Hi,
    I want to know whether there is any existing <b>funcion module or bapi</b> to get the standard price (STPRS) which is updated in the table MBEW during the execution of a costing run for standard cost through the transaction ck40n.
    helpful answers will  be rewarded !!!

    Hi,
    You can use the BAPI BAPI_MATERIAL_GET_DETAIL
    Thanks
    Naren

  • Urgent Help for ABAP Certification

    Hi everyone,
    I am planning to do certification in ABAP by Jan.
    Can anyone provide me the proper materials for preparing for certification.
    I would be grateful if anyone can help.
    Thanks in advance,
    Nitin

    Hi Nitin,
    All About ABAP Certification
    /message/213564#213564 [original link is broken]
    /message/514469#514469 [original link is broken]
    /message/1315746#1315746 [original link is broken]
    /message/1736299#1736299 [original link is broken]
    /message/1736299#1736299 [original link is broken]
    /message/257122#257122 [original link is broken]
    /message/130164#130164 [original link is broken]
    This is link from SAP about ABAP certification
    http://www50.sap.com/useducation/certification/curriculum.asp?rid=351
    http://www.sapteched.com/india/confactivities/certexam.htm
    http://www50.sap.com/useducation/certification/curriculum.asp?rid=351
    There is a pdf called ABAP certification.
    http://www.esnips.com/web/SAP-ABAP?
    You can try www.sapdoamin.com
    They provide Certification simulation questions which are very useful and a must try site.
    Have a look at below link for mySAP Technology - ABAP Workbench
    https://websmp206.sap-ag.de/~sapidp/011000358700000746472003E
    Have a look at below link for SAP NetWeaver - ABAP Workbench
    http://www30.sap.com/hk/services/education/pdf/cert/ABAPWB.pdf
    The certification test consists of questions from the areas specified below:
    Topic Areas
    1. mySAP.com Technologies
    - mySAP.com
    - Navigation (system handling)
    - Technical setup of an SAP system
    - System-wide concepts
    2. ABAP Workbench Basics (++)
    - Data types and data objects
    - Internal tables
    - Data retrieval (authorization check)
    - Subroutines
    - The ABAP Runtime System
    - Function groups and function modules
    - Program calls and data transfer
    3. ABAP Objects (++)
    - Classes and objects
    - Inheritance
    - Casting
    - Interfaces
    - Events
    - Global classes and interfaces
    - Exception handling
    - Dynamic programming
    4. ABAP Dictionary (++)
    - Database tables
    - Performance for table access
    - Consistency through input check (foreigh key dependency)
    - Dependency of ABAP Dictionary objects
    - Views
    - Search help
    5. Techniqes for List Generation (++)
    - Data output to lists
    - Selection screen
    - Logical database
    - Program-specific data retrieval
    - Data formatting and control level processing
    - Storage of lists and background processing
    - Interactive lists
    6. Dialog Programming (++)
    - Screen (basics)
    - User interface (GUI title, GUI status)
    - Screen elements for output (text fields, status icons, and group boxes)
    - Screen elements for input/output
    - Subscreen and tabstrip control
    - Table control
    - Context menu
    - Dialog programming lists
    7. Database Changes
    - Database updates with Open SQL
    - LUWs and Client/Server Architecture
    - SAP locking concept
    - Organizing database changes
    - Complex LUW processing
    - Number assignment
    - Change-document creation
    8. Enhancements and Modifications
    - Changes in SAP Standards
    - Personalization
    - Enhancements to Dictionary elements
    - Enhancements using customer exits
    - Business Transaction Events
    - Business Add-Ins
    - Modifications
    Weighting Key in the Test:
    + = 1 - 10%
    ++ = 11 - 20%
    +++ = over 20%
    Regards,
    Satish

  • Asking urgent help for UI problems

    Hope to get any reply and help from you!
    Now, as for the UIs we want to get, we require that when users press one button on UI1 with "Enter" in keyboard(not using mouse), another UI2 would appear in front. Moreover, when users press "ESC" in keyboard, it can also return back from UI2 to UI1.
    However, we have some following problems as below:
    1. Now we use the following way for ui programming. However, we always find that the UI would be dead without any response for any key press. What's wrong with the following porgramming style and way:
    //UI1 class
    dispse();
    UI2 ui2 = new UI2();
    ui2.setVisible(true);
    //UI2 class
    dispse();
    UI1 ui1 = new UI1();
    ui1.setVisible(true); Many thanks for you! I hope it would not cost you much time!
    best wishes for you!

    Sorry if the code is rather long. However most of them are for the design of GUI only.
    Thanks in advance.
    import javax.swing.SwingUtilities;
    import java.awt.Color;
    import java.awt.Font;
    import javax.swing.AbstractAction;
    import javax.swing.Action;
    import javax.swing.JDialog;
    import javax.swing.JPanel;
    import javax.swing.JFrame;
    import javax.swing.JButton;
    import javax.swing.KeyStroke;
    import java.awt.Rectangle;
    import java.awt.event.ActionEvent;
    import java.awt.event.KeyEvent;
    import javax.swing.JLabel;
    public class sample extends JFrame
         private static final long serialVersionUID = 1L;
         private JPanel jContentPane = null;
         private JButton[] EntButton = new JButton[3];
         private JLabel jLabel = null;
         int current = 0;
         Font originalfont = new Font("serif", Font.BOLD, 20);
         Font changedfont = new Font("serif", Font.BOLD, 30);
         Color blue = new Color (0,0,255);
         Color violet = new Color (182,122,132);
         Color red = new Color (255,0,0);
         Color black = new Color (0,0,0);
         private JButton getJButton() {
                   EntButton[0] = new JButton();
                   EntButton[0].setText("Movies");
                   EntButton[0].setBounds(new Rectangle(256, 190, 180, 40));
                   EntButton[0].setBackground(blue);
                   EntButton[0].setFont(originalfont);
                   EntButton[0].setForeground(red);
              return EntButton[0];
         private JButton getJButton1() {
                   EntButton[1] = new JButton();
                   EntButton[1].setBackground(violet);
                   EntButton[1].setBounds(new Rectangle(280, 250, 135, 31));
                   EntButton[1].setFont(originalfont);
                   EntButton[1].setText("TV Series");
              return EntButton[1];
         private JButton getJButton2() {
                   EntButton[2] = new JButton();
                   EntButton[2].setBackground(violet);
                   EntButton[2].setBounds(new Rectangle(280, 310, 135, 31));
                   EntButton[2].setFont(originalfont);
                   EntButton[2].setText("News");
              return EntButton[2];
         public static void main(String[] args) {
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        sample thisClass = new sample();
                        thisClass.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                        thisClass.setVisible(true);
         public sample() {
              super();
              initialize();
         private void initialize() {
              this.setSize(1024,768);
              this.setContentPane(getJContentPane());
              //this.setUndecorated(true);
              EntButton[0].requestFocus(true);
              EntButton[0].setFocusPainted(false);
         private JPanel getJContentPane() {
              if (jContentPane == null) {
                   jLabel = new JLabel();
                   jLabel.setBounds(new Rectangle(345, 130, 135, 31));
                   jLabel.setText("Video");
                   jContentPane = new JPanel();
                   jContentPane.setLayout(null);
                   jContentPane.add(getJButton(), null);
                   jContentPane.add(getJButton1(), null);
                   jContentPane.add(getJButton2(), null);
                   jContentPane.add(jLabel, null);
                   jContentPane.getInputMap(jContentPane.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke(KeyEvent.VK_DOWN,0), "MoveDown"); //KeyStroke.getKeyStroke("DOWN")
                   Action ActionDown = new AbstractAction() {
                       public void actionPerformed(ActionEvent e)
                            current = current < 2 ? current = current + 1 : (current + 1 > 2 ? 0:1);
                            EntButton[current].setBackground(blue);
                            EntButton[current].setFont(changedfont);
                            EntButton[current].setForeground(red);
                           if (current==1){
                                EntButton[1].setBounds(new Rectangle(256, 250, 180, 40));
                                EntButton[0].setBackground(violet);
                                EntButton[0].setFont(originalfont);
                                EntButton[0].setForeground(black);
                                EntButton[0].setBounds(new Rectangle(280, 190, 135, 31));
                           if (current==2){
                                EntButton[2].setBounds(new Rectangle(256, 310, 180, 40));
                                EntButton[1].setBackground(violet);
                                EntButton[1].setFont(originalfont);
                                EntButton[1].setForeground(black);
                                EntButton[1].setBounds(new Rectangle(280, 250, 135, 31));
                           if (current==0){
                                EntButton[0].setBounds(new Rectangle(256, 190, 180, 40));
                                EntButton[2].setBackground(violet);
                                EntButton[2].setFont(originalfont);
                                EntButton[2].setForeground(black);
                                EntButton[2].setBounds(new Rectangle(280, 310, 135, 31));
                   jContentPane.getActionMap().put("MoveDown", ActionDown);
                   jContentPane.getInputMap(jContentPane.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke(KeyEvent.VK_UP,0), "MoveUp");
                   Action ActionUp = new AbstractAction() {
                       public void actionPerformed(ActionEvent e)
                            current = current < 3 ? current = current - 1 : (current - 1 > 0 ? 1:0);
                          if (current == -1)
                               current = 2;
                          EntButton[current].setBackground(blue);
                          EntButton[current].setFont(changedfont);
                          EntButton[current].setForeground(red);
                           if (current==0){
                                EntButton[0].setBounds(new Rectangle(256, 190, 180, 40));
                                EntButton[1].setBackground(violet);
                                EntButton[1].setFont(originalfont);
                                EntButton[1].setForeground(black);
                                EntButton[1].setBounds(new Rectangle(280, 250, 135, 31));
                           if (current==1){
                                EntButton[1].setBounds(new Rectangle(256, 250, 180, 40));
                                EntButton[2].setBackground(violet);
                                EntButton[2].setFont(originalfont);
                                EntButton[2].setForeground(black);
                                EntButton[2].setBounds(new Rectangle(280, 310, 135, 31));
                           if (current==2){
                                EntButton[2].setBounds(new Rectangle(256, 310, 180, 40));
                                EntButton[0].setBackground(violet);
                                EntButton[0].setFont(originalfont);
                                EntButton[0].setForeground(black);
                                EntButton[0].setBounds(new Rectangle(280, 190, 135, 31));
                   jContentPane.getActionMap().put("MoveUp", ActionUp);
                   jContentPane.getInputMap(jContentPane.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke("ESCAPE"), "MoveESC");
                   Action ActionESC = new AbstractAction() {
                       public void actionPerformed(ActionEvent e)
                            System.exit(0);
                   jContentPane.getActionMap().put("MoveESC", ActionESC);
                   jContentPane.getInputMap(jContentPane.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER,0), "MoveEnter");
                   Action ActionEnter = new AbstractAction() {
                       public void actionPerformed(ActionEvent e)
                            if(current==0)
                                 dispose();
                                //JDialog MoviesMenu = new MoviesMenu();
                                MoviesMenu MoviesMenu = new MoviesMenu();
                                MoviesMenu.show();
                                //MoviesMenu.setVisible(true);
                   jContentPane.getActionMap().put("MoveEnter", ActionEnter);
              return jContentPane;
         //second UI start
         public class MoviesMenu extends JDialog {
              private static final long serialVersionUID = 1L;
              private JPanel jMovieContentPane;
              private JButton[] MoviesButton = new JButton[3];
              private JLabel jLabel,jLabel1;
              private int current1 = 0;
              private JButton getJButton() {
                        MoviesButton[0] = new JButton();
                        MoviesButton[0].setBounds(new Rectangle(110, 230, 450, 40));
                        MoviesButton[0].setText("Vid 1");
                        MoviesButton[0].setBackground(blue);
                        MoviesButton[0].setFont(changedfont);
                        MoviesButton[0].setForeground(red);
                   return MoviesButton[0];
              private JButton getJButton1() {
                        MoviesButton[1] = new JButton();
                        MoviesButton[1].setBounds(new Rectangle(135, 320, 400, 46));
                        MoviesButton[1].setText("Vid 2");
                        MoviesButton[1].setBackground(violet);
                        MoviesButton[1].setFont(originalfont);
                   return MoviesButton[1];
              private JButton getJButton2() {
                        MoviesButton[2] = new JButton();
                        MoviesButton[2].setBounds(new Rectangle(135, 410, 400, 46));
                        MoviesButton[2].setText("Vid 3");
                        MoviesButton[2].setBackground(violet);
                        MoviesButton[2].setFont(originalfont);
                   return MoviesButton[2];
              public MoviesMenu() {
                   super();
                   initialize();
              private void initialize() {
                   this.setSize(1024,768);
                   this.setContentPane(getjMovieContentPane());
                   this.setTitle("JFrame");
                   this.setUndecorated(true);
                   MoviesButton[0].requestFocus(true);
                   MoviesButton[0].setFocusPainted(false);
              private JPanel getjMovieContentPane() {
                   if (jMovieContentPane == null) {
                        jLabel1 = new JLabel();
                        jLabel1.setBounds(new Rectangle(650, 270, 361, 226));
                        jLabel1.setText("Text Introduction");
                        jLabel = new JLabel();
                        jLabel.setBounds(new Rectangle(650, 105, 226, 136));
                        jLabel.setText("VIDEO IMAGE");
                        jMovieContentPane = new JPanel();
                        jMovieContentPane.setLayout(null);
                        jMovieContentPane.add(getJButton(), null);
                        jMovieContentPane.add(getJButton1(), null);
                        jMovieContentPane.add(getJButton2(), null);
                        jMovieContentPane.add(jLabel, null);
                        jMovieContentPane.add(jLabel1, null);
                        jMovieContentPane.getInputMap(jMovieContentPane.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke(KeyEvent.VK_DOWN,0), "MoveDown"); //KeyStroke.getKeyStroke("DOWN")
                        Action ActionDown = new AbstractAction() {
                            public void actionPerformed(ActionEvent e)
                                 current1++;
                                 if (current1==0){
                                      MoviesButton[0].setBounds(new Rectangle(110, 230, 450, 40));
                                      MoviesButton[2].setBackground(violet);
                                      MoviesButton[2].setFont(originalfont);
                                      MoviesButton[2].setForeground(black);
                                      MoviesButton[2].setBounds(new Rectangle(135, 410, 400, 46));
                                      MoviesButton[2].repaint();
                                if (current1==1){
                                     MoviesButton[1].setBounds(new Rectangle(110, 320, 450, 46));
                                     MoviesButton[0].setBackground(violet);
                                     MoviesButton[0].setFont(originalfont);
                                     MoviesButton[0].setForeground(black);
                                     MoviesButton[0].setBounds(new Rectangle(135, 230, 400, 40));
                                     MoviesButton[0].repaint();
                                if (current1==2){
                                     MoviesButton[2].setBounds(new Rectangle(110, 410, 450, 46));
                                     MoviesButton[1].setBackground(violet);
                                     MoviesButton[1].setFont(originalfont);
                                     MoviesButton[1].setForeground(black);
                                     MoviesButton[1].setBounds(new Rectangle(135, 320, 400, 46));
                                     MoviesButton[1].repaint();
                                if(current1>2){
                                current1=0;
                                MoviesButton[0].setBounds(new Rectangle(110, 230, 450, 40));
                                MoviesButton[2].setBackground(violet);
                                 MoviesButton[2].setFont(originalfont);
                                 MoviesButton[2].setForeground(black);
                                 MoviesButton[2].setBounds(new Rectangle(135, 410, 400, 46));
                                 MoviesButton[2].repaint();
                                 MoviesButton[current1].setBackground(blue);
                                 MoviesButton[current1].setFont(changedfont);
                                 MoviesButton[current1].setForeground(red);
                                 MoviesButton[current1].repaint();
                        jMovieContentPane.getActionMap().put("MoveDown", ActionDown);
                        jMovieContentPane.getInputMap(jMovieContentPane.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke(KeyEvent.VK_UP,0), "MoveUp");
                        Action ActionUp = new AbstractAction() {
                            public void actionPerformed(ActionEvent e)
                                current1--;
                               if (current1==2){
                                    MoviesButton[2].setBounds(new Rectangle(110, 410, 450, 46));
                                    MoviesButton[0].setBackground(violet);
                                    MoviesButton[0].setFont(originalfont);
                                    MoviesButton[0].setForeground(black);
                                    MoviesButton[0].setBounds(new Rectangle(135, 230, 400, 40));
                                    MoviesButton[0].repaint();
                                if (current1==0){
                                     MoviesButton[0].setBounds(new Rectangle(110, 230, 450, 40));
                                     MoviesButton[1].setBackground(violet);
                                     MoviesButton[1].setFont(originalfont);
                                     MoviesButton[1].setForeground(black);
                                     MoviesButton[1].setBounds(new Rectangle(135, 320, 400, 46));
                                     MoviesButton[1].repaint();
                                if (current1==1){
                                     MoviesButton[1].setBounds(new Rectangle(110, 320, 450, 46));
                                     MoviesButton[2].setBackground(violet);
                                     MoviesButton[2].setFont(originalfont);
                                     MoviesButton[2].setForeground(black);
                                     MoviesButton[2].setBounds(new Rectangle(135, 410, 400, 46));
                                     MoviesButton[2].repaint();
                                if(current1==-1){
                                     current1=2;
                                     MoviesButton[2].setBounds(new Rectangle(110, 410, 450, 46));
                                     MoviesButton[0].setBackground(violet);
                                    MoviesButton[0].setFont(originalfont);
                                    MoviesButton[0].setForeground(black);
                                    MoviesButton[0].setBounds(new Rectangle(135, 230, 400, 40));
                                    MoviesButton[0].repaint();
                               MoviesButton[current1].setBackground(blue);
                               MoviesButton[current1].setFont(changedfont);
                               MoviesButton[current1].setForeground(red);
                               MoviesButton[current1].repaint();
                        jMovieContentPane.getActionMap().put("MoveUp", ActionUp);
                        jMovieContentPane.getInputMap(jMovieContentPane.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke("ESCAPE"), "MoveESC");
                        Action ActionESC = new AbstractAction() {
                            public void actionPerformed(ActionEvent e)
                                 dispose();
                                 JFrame sample = new sample();
                                 //sample.validate();
                                 sample.show();
                        jMovieContentPane.getActionMap().put("MoveESC", ActionESC);
                   return jMovieContentPane;
    }

  • Urgent help for linking file

    hi i am a noob in this area..can someone plz help me..
    well i have to do a link where it will open the latest file..
    how do i do tat......................
    String file = "C:/";
    File f = new File(file);
    String [] fileNames = f.list();
    File [] fileObjects= f.listFiles();
    %>
    <UL>
    <%
    for (int i = 0; i < fileObjects.length; i++) {
         if(!fileObjects.isDirectory()){
    %>
    <LI>
    <a href="<%= fileNames[i %">"><%= fileNames[i] %></A>
    (<%= Long.toString(fileObjects.length()) %> bytes long)
    <%
    tis code can loop for all the documents i have in my C drive..but i dont want it to loop .. i want it to search for me the latest file and just open it...
    thank you very much. </a>

    import java.io.File;
    public class LatestFileInDir {
         static long maxFileDate = 0;
         static String maxFilePath = "";
         static void getLatestFilePath(File fd) throws Exception {
            if (fd.isDirectory()) {
                 String[] children = fd.list();
                 for (int i=0; i<children.length; i++) getLatestFilePath(new File(fd, children));
    else {
         if(fd.lastModified() > maxFileDate) {
              maxFileDate = fd.lastModified();
              maxFilePath = fd.getCanonicalPath();
         public static void main(String args[]) throws Exception {
              getLatestFilePath(new File("C:\\TestDir"));
              System.out.println("Latest File : " + maxFilePath);
    }Cheers

  • Seeking Urgent Help for Java-MySQL

    Hi fellows,
    I got one text file of 9816 records (9816 lines) seprated by commas and enclosed by the inverted quotes and seprated by the end of lines. But when I import the file, it only gets half of records in the table using below mentioned command;
    LOAD DATA INFILE 'user.txt' INTO TABLE userdata
                        FIELDS TERMINATED BY ',' ENCLOSED BY '"'
                        LINES TERMINATED BY '\n'
                             (category, fname, lname, adresse, zip, city, telephone, email, homepage);
    I get the below mentoned message;
    Query OK, 4908 rows affected (0.91 sec)
    Records: 4908 Deleted: 0 Skipped: 0 Warnings: 4913Few records are as follow from the text file;
    "1","Peter","John","512 Rennes Road","19810","Wilmington","","mailto:[email protected]","http://www.mobilink.com"
    "1","Sandra","Bridget","12th Aveneue No. 301","12548","Broklyn","(212)780 101 10","mailto:[email protected]",""
    Note: "" fields are empty(missing data) i.e.(in some records, one is missing faxnumber and in some records one is missing homepage and in some one is missing telephone as well. That's why I have to use the empty quotes for representing that field.
    The table structure is as follow;
    CREATE TABLE userdata (
    accno int(10) unsigned NOT NULL auto_increment,
    category mediumint(6) unsigned zerofill NOT NULL default '0',
    fname varchar(128) NOT NULL default '',
    lname varchar(128) NOT NULL default '',
    add(128) NOT NULL default '',
    zip varchar(6) NOT NULL default '',
    city varchar(64) NOT NULL default '',
    telefone varchar(16) NOT NULL default '',
    homepage varchar(128) NOT NULL default '',
    email varchar(128) NOT NULL default '',
    telefax varchar(16) NOT NULL default '',
    PRIMARY KEY (accno),
    KEY category (category),
    KEY fname (fname),
    KEY telefone (telefone),
    KEY zip (zip),
    KEY city (city),
    KEY telefax (telefax)
    ) TYPE=MyISAM;
    Please advise me that whey I am not getting the whole records in the table from the text file.
    Your help will be highly appreciated...
    With Best Regards...
    Nasir

    Please advise me that whey I am not getting the whole records in the table from the text file.Those 4,913 warnings might have something to do with it. Do they come with warning messages? If so what do those messages say?

  • URGENT Help for applet with JAR file in Netscape

    I am having Applet with few classes
    Html is in /www directory
    and all class files are in /www/javaclassfiles
    I jared all javaclassfiles with following command
    c:\www\javaclassfiles>jar -cvf sample.jar TaxPaymentAppletForm.class *.class
    where sample.jar is my jar file and TaxPaymentAppletForm.class is the main applet class file.
    THEN I DELETED ALL CLASS FILES & KEPT ONLY SAMPLE.JAR FILE ON SERVER
    My html code is like below:
    <APPLET CODE="TaxPaymentAppletForm" ARCHIVE="sample.jar" CODEBASE="JavaClassFiles" WIDTH=460 HEIGHT=400></APPLET>
    The things are running on IE properly, but not on Netscape. Netscape is giving following error :
    java.io.IOException: <null>
    at netscape.net.URLConnection.connect(Compiled Code)
    at netscape.net.URLConnection.getInputStream(Compiled Code)
    * at netscape.applet.AppletClassLoader.grabArchiveFile(Compiled Code)
    at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
    at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
    at netscape.applet.AppletClassLoader.<init>(Compiled Code)
    at netscape.applet.AppletClassLoader.getClassLoader(Compiled Code)
    at netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled Code)
    at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code)
    at java.awt.EventDispatchThread.run(Compiled Code)
    at netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled Code)
    # Unable to load archive http://nearbuy_server:90/iras/JavaClassFiles/sample.jar: java.io.IOException: <null>
    # Applet exception: class TaxPaymentAppletForm could not be loaded
    # Applet exception: class TaxPaymentAppletForm could not be loaded
    # Applet exception: class TaxPaymentAppletForm could not be loaded
    In netscape also it is sometimes running some times not, without any logical reson.
    Any help regarding this is appreciated
    manisha

    Following is the more detailed analysis when applet is running and when not
    On local server, it is running fine on both IE / Netscape
    When I transfered jar file to live server
    On IE it is running for the first time and then onwards not running, If I clear the catch then again applet is running.
    For second time it is giving following error :
    IOException Loading Archive: http://dev1.janusx-collections.com/iras/JavaClassFiles/AppletForm.jar
    java.io.IOException: dev1.janusx-collections.com:80//iras/JavaClassFiles/AppletForm.jar
    at com/ms/net/wininet/http/HttpInputStream.connect
    at com/ms/net/wininet/http/HttpInputStream.<init>
    at com/ms/net/wininet/http/HttpURLConnection.createInputStream
    at com/ms/net/wininet/WininetURLConnection.getInputStream
    at com/ms/vm/loader/JarArchiveSet.loadNextJar
    at com/ms/vm/loader/JarArchiveSet.getResourceBits
    at com/ms/vm/loader/JarArchiveSet.getClassData
    at com/ms/vm/loader/ResourceLoader.getClassData
    at com/ms/vm/loader/URLClassLoader.findClass
    at com/ms/vm/loader/URLClassLoader.loadClass
    at com/ms/vm/loader/URLClassLoader.loadClass
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    java.lang.ClassNotFoundException: TaxPaymentAppletForm
    at com/ms/vm/loader/URLClassLoader.loadClass
    at com/ms/vm/loader/URLClassLoader.loadClass
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    ON Netscape it is NOT running at all on from live server and error is as given in above first post.
    manisha

  • Need urgent Help for Kernel upgrade......

    Hi Gurus,
    I have recently upgraded SAP kernel from  Release 6.40 Patch 109 to Release 6.40 Patch 175. My System is SAP ERP Central Component 5.0 and Release is 6.40 and Kernel Stataus is showing below details:
    Kernel release    640
    Compilation       SunOS 5.8 G
    Patch Level       175
    ABAP Load         1521
    CUA load          16
    Mode              opt
    ~
    I have total 8 Application servers. today I have genereated EWA report and in that report, for SAP kernel section it has reported that <b>"You are running different SAP kernel releases on your instances. This situation may lead to severe problems and is not supported by SAP.
    Recommendation: Use only one kernel release for all instances."</b>
    Actaully I have updated kernel in my central instance (/sapmnt/<SID>/exe) and this directory is NFS mount in all the application server. So I am not sure why the SAP EWA is repoting this that you are running difference SAP Kerenl release.
    If this is correct then how to rectify it ? what action I need to take to resolve this ?
    Appreciate your help.
    Thanks & Regards
    Basis

    I will plan to do that as early as possible. Even I
    am going to write to SAP to release that note in
    english for better understanding.
    yes - that note should be translated giving the importance.
    My question is: Am I on HIGH ALERT for this issue ?
    Since it is production server, will it going to
    affect my system in any aspect ??
    No, you will just see a slightly higher usage of "nfsd" when you start the application servers for the first time since they will all copy parts of the kernel locally.
    2nd thing, This is applicable only to NW ? Because I
    have upgraded SAP Kernel to Patch 175 to other R/3
    system having more application server, but I didn't
    get this comment in my EWA report ?
    The comment isn´t related to to usage of sapcpe. The comment means, that you have at least one application server, that uses local binaries with a different patchlevel instead of those on the central instance. I would consider that more critical. Maybe you installed one of the servers later and used a newer installation CD set which creates that new structure for using sapcpe by default... don´t know, just a guess. To check, go to SM51 and select each server and press on "Release Information", you will see which one is affected.
    This week I am planning to upgrade kernel for 4.6D
    release to Patch 2307. Will this be gona issue for
    that also ?
    Kernels lower than 6.10 use a different approach (the "ctrun directory" mentioned in that note) - technically it´s the same. The installation guides for 4.6c should tell you how to set that up.
    Markus

  • E-mail Setting Up - Require Urgent Help for BlackBerry 9380

    Hi guys.
    I've bought a BlackBerry 9380 and everything seems to be working except for setting up my emails.
    Everything I read says: Go to 'Settings' then 'Email Setup', but I do not have email set up in my settings, I only have an option that says 'Email Accounts', which for the BB9380 I'm sure you have to do.
    However, everytime I click it, it says 'Connecting to email settings...' and after a couple of minutes it will say: 'Your device had a problem connecting to the server.' And everytime I click retry, the same thing occurs. All my wireless settings are on, my signal's good etc, but I can't find how to sort this anywhere.
    All I want to do is add m hotmail email address to my BlackBerry so the emails come straight through to my phone.
    Please help!!!
    Thanks you.
    P.S, I've already tried the whole 'Pull you battery out and reload thing' etc

    hi psatkeson,
    As you said you already have a active data plan and using BBM right. On your Home screen Go to Manage
    Connection > Service Status >What you can see :Blackberry Internet Service  : ? ,Blackberry Enterprise
    Server :  ?
    Do let us know.. 
    Good Luck.
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

Maybe you are looking for

  • Sort issue with an Internal table

    Hi All, I have an internal table with following format. Invoice      Item       Amount 951          <Blank>   450.00 951           0010      1200.00 951           0020       1300.00 Now i need to display this internal table in such a way that, Invoic

  • Airport card differences

    is there a difference between M8881LL/A & M8881 on the airport extreme cards? i'm looking for a card for an imac 17in. flat panel 1ghz. thanx, jts

  • ORA-03212 temporary tablespace

    Hi all, we run a single instance database on file system (no ASM). The database has benn running fine for several weeks now. 2 days ago however the following error came up: "*** MODULE NAME:(DBMS_SCHEDULER) 2012-09-02 06:00:03.470 *** ACTION NAME:(MG

  • How can I found out how much is left on a card without redeeming it

    I have a bunch of itunes cards, how can i find out how much is on them without redeeming them

  • Man pages for "expr" command incorrect

    There appears to be a loss of functionality from the HP-UX environment to the SOLARIS OS that is not noted in the man pages. The man pages for Solaris 5.8 insist that the command expr allows for the argument "substr" as well as "length". However this