How to stop the data flow untill an event happens

hi
i have made a file\folderchooser and with the appropreate bean class
and instead of a actionEvent for the button i have captured
museclicked
the problem is how do i make the flow of data sleep till the mouse is clicked 2 times .
The main method
public static void main(String args[])
file_folder_chooser FFC=new file_folder_chooser();
FFC.show();
String fold=FFC.getSeleDirectory();
String file=FFC.getSeleFile();
System.out.println(fold+file);
this method gives me a nullpointer exception because the operation is not over and there is no value in getSelefile()//getSeleDirectory()
the solution that i found was to call Thread.sleep(15000);
which stops the flow for 15 secs and if the operation does not end, then i get the nullpointer exception again.
is there is a method to make all the threads sleep?
please help me to understand
thank you
vinay

so here it is
it works both on mouse and enterkey
and the mouseEvent has to be debugged
import javax.swing.border.*;
import javax.swing.tree.*;
import java.util.zip.*;
import java.util.*;
import java.io.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
public class checker1 extends JFrame
public static JTree tr,tr1;
public static JFrame fin;
public static java.awt.List lis1,lis;
public static JTextField tfpath,tedir,tefile,tfsave;
public static String ab,ac;
public static String bb[],bc[];
public static JRadioButton dir ,singlefile,multiplefile,singledir,multipledir;
public static JPanel p6;
public boolean entkey;
public checker1()
try{
addWindowListener(new WindowAdapter(){public void windowClosing(WindowEvent windowevent){setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);                     dispose();                     }});
bb=new String[20];
bc=new String[20];
setTitle("File menu");
tedir=new JTextField();
JPanel p=new JPanel();
p.setLayout(new BorderLayout());
JPanel p1=new JPanel();
JPanel p7=new JPanel();
JPanel p2=new JPanel();
p2.setBorder(new BevelBorder(BevelBorder.RAISED));
p2.setLayout(new FlowLayout(FlowLayout.RIGHT));
JLabel lb=new JLabel(" Present \\ Directory ");
p2.add(lb);
tfpath=new JTextField();
tfpath.setColumns(30);
tfpath.setEditable(false);
p2.add(tfpath);
JCheckBox cb=new JCheckBox("edit");
cb.setSelected(false);
p2.add(cb);
cb.addItemListener(new C());
JPanel p3=new JPanel();
JLabel lb1=new JLabel(" Filter's ");
p3.add(lb1,"West");
JComboBox cob=new JComboBox();
cob.addItem("java");
cob.addItem("class");
cob.addItem("htm");
cob.addItem("html");
cob.addItem("txt");
p3.add(cob,"East");
cob.addItemListener(new tellf());
p3.setBorder(new BevelBorder(BevelBorder.LOWERED));
p3.setLayout(new FlowLayout(FlowLayout.RIGHT));
JPanel p5=new JPanel();
JButton but=new JButton(" To File Root's ");
JButton qb=new JButton("Sort");
qb.addActionListener(new sorter());
p5.add(qb);
but.addActionListener(new ActionListener(){public void actionPerformed(ActionEvent e){
try{
lis.removeAll();
lis1.removeAll();
tfpath.setText("");
File f[]=File.listRoots();
for(int i=0;i<f.length;i++)
lis.add((f.toString()));
} }catch(Exception ew){System.out.println(ew);}
p5.add(but,"Center");
p5.setBorder(new BevelBorder(BevelBorder.LOWERED));
p5.setLayout(new FlowLayout(FlowLayout.RIGHT));
p6=new JPanel();
p6.setBorder(new BevelBorder(BevelBorder.LOWERED));
p6.setLayout(new FlowLayout(FlowLayout.RIGHT));
tfsave=new JTextField();
tfsave.setColumns(15);
tfsave.addKeyListener(new ketsave());
p6.setVisible(false);
p6.add(tfsave);
p7.setLayout(new BorderLayout());
JPanel p4=new JPanel();
p4.setLayout(new GridLayout(3,1));
p4.add(p3);
p4.add(p5);
p4.add(tfsave);
tfsave.setEditable(false);
p4.setBorder(new BevelBorder(BevelBorder.RAISED));
//p4.setLayout(new FlowLayout(FlowLayout.RIGHT));
p1.setLayout(new BorderLayout());
p.setBorder(new BevelBorder(BevelBorder.LOWERED));
p1.setBorder(new BevelBorder(BevelBorder.LOWERED));
tedir.setBackground(Color.white);
tedir.setText("te");
tedir.setForeground(Color.blue);
tedir.setColumns(15);
getContentPane().setLayout(new BorderLayout());
p.add(tedir,"North");
lis=new java.awt.List(10);//dir
lis.addActionListener(new RECOV());
lis.addKeyListener(new ressolver());
//lis.addMouseListener(new ressolver2());// yet to be debugged
p.add(lis,"South");
tefile=new JTextField();
tefile.setForeground(Color.blue);
tefile.setColumns(15);
p1.add(tefile,"North");
lis1=new java.awt.List(10);//files
lis1.addKeyListener(new ressolver1());
//lis1.addMouseListener(new ressolver3());// yet to be debugged
p1.add(lis1,"South");
if(ab==(null)){
tfpath.setText("");
File f[]=File.listRoots();
for(int i=0;i<f.length;i++)
lis.add((f[i].toString()));
else if(ab!=(null)){
tfpath.setText(ab);
File f1=new File(ab);
if((f1.exists())==true)
String s[]=f1.list();
for(int j=0;j<s.length;j++)
File f2=new File(f1+"/"+s[j]);
if(f2.isDirectory())
byte b[]={92};
String s0s=new String(b);
lis.add(s[j]+s0s);
else
if(s[j].endsWith(tellf))
lis1.add(s[j]);
else
JOptionPane.showMessageDialog(getContentPane(),"DRIVE NOT ACCESSABLE","DRIVE ERROR",JOptionPane.ERROR_MESSAGE);
else{
p7.add(p2,"North");
p7.add(p4,"Center");
p7.add(p1,"East");
p7.add(p,"West");
JPanel p8=new JPanel();
p8.setLayout(new GridLayout(4,1));
singledir=new JRadioButton(" singleDirectory FILTER ");
p8.add(singledir);
multiplefile = new JRadioButton(" Multiplefile FILTER ");
p8.add(multiplefile);
multipledir = new JRadioButton(" Multipledir FILTER ");
p8.add(multipledir);
JRadioButton saveP = new JRadioButton(" save Panel ");
p8.add(saveP);
ButtonGroup group1 = new ButtonGroup();
group1.add(multipledir);
group1.add(multiplefile);
group1.add(singledir);
group1.add(saveP);
multipledir.addActionListener(new muldirfil());
multiplefile.addActionListener(new mulfilfil());
singledir.addActionListener(new singledirfil());
saveP.addActionListener(new savep());
getContentPane().add(p8,"East");
getContentPane().add(p7,"West");
pack();
show();
// Thread.sleep(20000);
}catch(Exception re)
{System.out.println(re);JOptionPane.showMessageDialog(getContentPane(),"an exception occcured"+re.getMessage(),"EXCEPTION",JOptionPane.ERROR_MESSAGE);}
public class sorter implements ActionListener
public void actionPerformed(ActionEvent e)
java.util.List l=new ArrayList();
java.util.List l1=new ArrayList();
String ss[]=lis.getItems();
for(int y=0;y<ss.length;y++){
l.add(ss[y]);
String ss1[]=lis1.getItems();
for(int y=0;y<ss1.length;y++){
l1.add(ss1[y]);
Collections.sort(l);
Collections.sort(l1);
int a=l.size();
int a1=l1.size();
lis.removeAll();
for(int y=0;y<a;y++){
lis.add((String)l.get(y));
lis1.removeAll();
for(int y=0;y<a1;y++){
lis1.add((String)l1.get(y));
public class savep implements ActionListener
public void actionPerformed(ActionEvent e)
tfsave.setEditable(true);
public class ketsave extends KeyAdapter
public void keyPressed(KeyEvent e)
if((e.getKeyCode())==KeyEvent.VK_ENTER)
ab=tfpath.getText();
ac=tfsave.getText();
setDirectoryName(ab);
setFileName(ac);
String sw=getDirectoryName();
String g3=getFileName();
// System.out.println(sw+g3);
public class ressolver1 extends KeyAdapter
public void keyPressed(KeyEvent e)
setEnterKeyStateName(false);
try{
synchronized(c)
c.notifyAll();
c.removnot();
}catch(Exception q){System.out.println(c+"   "+q);}
lis.removeAll();
if((e.getKeyCode())==KeyEvent.VK_ENTER)
ab=tfpath.getText();
String ss[]=lis1.getSelectedItems();
int r=ss.length;
// System.out.println(ab);
setDirectoryName(ab);
if(r>1)
setFiles(ss);
else if(r==1)
setFileName(ss[0]);
else
setEnterKeyStateName(true);
String sw=getDirectoryName();
String g5[]=getFiles();
String g3=getFileName();
for(int y=0;y<g5.length;y++)
// System.out.println("selected File's are >>>>>> "+sw+g5[y]);
// System.out.println("selected File is >>>>>> "+sw+g3);
public class ressolver3 extends MouseAdapter
public void mouseClicked(MouseEvent e)
setEnterKeyStateName(false);
try{
synchronized(c)
c.notifyAll();
c.removnot();
}catch(Exception q){System.out.println(c+"   "+q);}
lis.removeAll();
if((e.getClickCount())==3)
ab=tfpath.getText();
String ss[]=lis1.getSelectedItems();
int r=ss.length;
// System.out.println(ab);
setDirectoryName(ab);
if(r>1)
setFiles(ss);
else if(r==1)
setFileName(ss[0]);
else
setEnterKeyStateName(true);
String sw=getDirectoryName();
String g5[]=getFiles();
String g3=getFileName();
for(int y=0;y<g5.length;y++)
// System.out.println("selected File's are >>>>>> "+sw+g5[y]);
// System.out.println("selected File is >>>>>> "+sw+g3);
public class ressolver2 extends MouseAdapter
public void mouseClicked(MouseEvent e)
setEnterKeyStateName(false);
lis1.removeAll();
try{
synchronized(c)
c.notifyAll();
c.removnot();
}catch(Exception q){System.out.println(c+"   "+q);}
if((e.getClickCount())==3)
ab=tfpath.getText();
String ss[]=lis.getSelectedItems();
for(int y=0;y<ss.length;y++)
ss[y]=(ab+ss[y]);
//System.out.println(ss[y]);
int r=ss.length;
if(r>1)
setDirectorys(ss);
else if(r==1)
setDirectoryName(ss[0]);
} else{}
setEnterKeyStateName(true);
String sw=getDirectoryName();
String g5[]=getDirectorys();
for(int y=0;y<g5.length;y++)
// System.out.println("selected dir's are >>>>>> "+g5[y]);
//System.out.println("selected dir is >>>>>> "+sw);
try{
synchronized(c)
c.notifyAll();
c.removnot();
}catch(Exception q){System.out.println(q);}
public class ressolver extends KeyAdapter
public void keyPressed(KeyEvent e)
setEnterKeyStateName(false);
lis1.removeAll();
try{
synchronized(c)
c.notifyAll();
c.removnot();
}catch(Exception q){System.out.println(c+"   "+q);}
if((e.getKeyCode())==KeyEvent.VK_ENTER)
ab=tfpath.getText();
String ss[]=lis.getSelectedItems();
for(int y=0;y<ss.length;y++)
ss[y]=(ab+ss[y]);
//System.out.println(ss[y]);
int r=ss.length;
if(r>1)
setDirectorys(ss);
else if(r==1)
setDirectoryName(ss[0]);
} else{}
setEnterKeyStateName(true);
String sw=getDirectoryName();
String g5[]=getDirectorys();
for(int y=0;y<g5.length;y++)
// System.out.println("selected dir's are >>>>>> "+g5[y]);
//System.out.println("selected dir is >>>>>> "+sw);
try{
synchronized(c)
c.notifyAll();
c.removnot();
}catch(Exception q){System.out.println(q);}
public class keylis extends KeyAdapter
public void keyPressed(KeyEvent e)
if((e.getKeyCode())==KeyEvent.VK_ENTER){
lis.removeAll();
lis1.removeAll();
File d=new File(tfpath.getText());
File f1=new File(d.toString());
if((f1.exists())==true)
String s[]=f1.list();
for(int j=0;j<s.length;j++)
File f2=new File(f1+"/"+s[j]);
if(f2.isDirectory())
byte b[]={92};
String s0s=new String(b);
lis.add(s[j]+s0s);
else
if((s[j].endsWith(tellf))&&((s[j].indexOf("$"))==-1))
lis1.add(s[j]);
else
JOptionPane.showMessageDialog(getContentPane(),"DRIVE NOT ACCESSABLE","DRIVE ERROR",JOptionPane.ERROR_MESSAGE);
public class C implements ItemListener
public void itemStateChanged(ItemEvent e)
int ss=e.getStateChange();
if(ss==1){
tfpath.setEditable(true);
tfpath.addKeyListener(new keylis());
tfpath.setToolTipText(" Write The Dir And Only The Dir");
else{
tfpath.setEditable(false);
public class mulfilfil implements ActionListener
public void actionPerformed(ActionEvent e)
tacle=2;
tfsave.setEditable(false);
lis.setMultipleMode(false);
lis.removeKeyListener(new ressolver());
lis1.setMultipleMode(true);
static int tacle=1;
public class muldirfil implements ActionListener
public void actionPerformed(ActionEvent e)
tacle=3;
tfsave.setEditable(false);
lis.setMultipleMode(true);
lis1.removeKeyListener(new ressolver1());
lis1.setMultipleMode(false);
lis.removeAll();
lis1.removeAll();
File d=new File(tfpath.getText());
File f1=new File(d.toString());
if((f1.exists())==true)
String s[]=f1.list();
for(int j=0;j<s.length;j++)
File f2=new File(f1+"/"+s[j]);
if(f2.isDirectory())
byte b[]={92};
String s0s=new String(b);
lis.add(s[j]+s0s);
else
// if(s[j].endsWith(tellf))
// lis1.add(s[j]);
else
JOptionPane.showMessageDialog(getContentPane(),"DRIVE NOT ACCESSABLE","DRIVE ERROR",JOptionPane.ERROR_MESSAGE);
System.out.println();
public class singlefilfil implements ActionListener
public void actionPerformed(ActionEvent e)
tfsave.setEditable(false);
lis.removeKeyListener(new ressolver());
lis1.removeKeyListener(new ressolver1());
lis.setMultipleMode(false);
lis1.setMultipleMode(false);
tacle=1;
public class singledirfil implements ActionListener
public void actionPerformed(ActionEvent e)
tfsave.setEditable(false);
lis.removeKeyListener(new ressolver());
lis1.removeKeyListener(new ressolver1());
lis.setMultipleMode(false);
lis1.setMultipleMode(false);
lis.removeAll();
lis1.removeAll();
File d=new File(tfpath.getText());
setDirectoryName(d.toString());
File f1=new File(d.toString());
if((f1.exists())==true)
String s[]=f1.list();
for(int j=0;j<s.length;j++)
File f2=new File(f1+"/"+s[j]);
if(f2.isDirectory())
byte b[]={92};
String s0s=new String(b);
lis.add(s[j]+s0s);
else
// if(s[j].endsWith(tellf))
// lis1.add(s[j]);
else
JOptionPane.showMessageDialog(getContentPane(),"DRIVE NOT ACCESSABLE","DRIVE ERROR",JOptionPane.ERROR_MESSAGE);
tacle=4;
System.out.println();
public class RECOV1 implements ActionListener
public void actionPerformed(ActionEvent e)
String ss=lis1.getItem(lis1.getSelectedIndex());
String sq=tfpath.getText();
ab=sq;
if(sq.equals(null))
sq="";
tefile.setText(ss);
ac=ss;
ss=sq+ss;
public static String tellf="java";
public class tellf implements ItemListener
public void itemStateChanged(ItemEvent e)
String ss=(String)e.getItem();
tellf=ss;
lis.removeAll();
lis1.removeAll();
File d=new File(tfpath.getText());
File f1=new File(d.toString());
if((f1.exists())==true)
String s[]=f1.list();
for(int j=0;j<s.length;j++)
File f2=new File(f1+"/"+s[j]);
if(f2.isDirectory())
if(tacle==1){}
else if(tacle==1){}
else{}
byte b[]={92};
String s0s=new String(b);
lis.add(s[j]+s0s);
else
if(tacle==1){}
else if(tacle==1){}
else{}
if((s[j].endsWith(tellf))&&((s[j].indexOf("$"))==-1))
lis1.add(s[j]);
else
JOptionPane.showMessageDialog(getContentPane(),"DRIVE NOT ACCESSABLE","DRIVE ERROR",JOptionPane.ERROR_MESSAGE);
public class RECOV implements ActionListener
public void actionPerformed(ActionEvent e)
String ss=lis.getItem(lis.getSelectedIndex());
String sq=tfpath.getText();
if(sq.equals(null))
sq="";
tedir.setText(ss);
ss=sq+ss;
tfpath.setText(ss);
lis.removeAll();
lis1.removeAll();
File d=new File(tfpath.getText());
File f1=new File(d.toString());
if((f1.exists())==true)
String s[]=f1.list();
for(int j=0;j<s.length;j++)
File f2=new File(f1+"/"+s[j]);
if(f2.isDirectory())
byte b[]={92};
String s0s=new String(b);
lis.add(s[j]+s0s);
else
if((s[j].endsWith(tellf))&&((s[j].indexOf("$"))==-1))
lis1.add(s[j]);
else
JOptionPane.showMessageDialog(getContentPane(),"DRIVE NOT ACCESSABLE","DRIVE ERROR",JOptionPane.ERROR_MESSAGE);
public void setFiles(String[] bs)
for(int i=0;i<bc.length;i++)
bc[i]="";
this.bc=bs;
public void setDirectorys(String[] bs)
for(int i=0;i<bb.length;i++)
bb[i]="";
this.bb=bs;
public void setFileName(String bs)
ac="";
this.ac=bs;
//System.out.println(ac);
public void setDirectoryName(String bs)
ab="";
this.ab=bs;
//System.out.println(ab);
public String[] getFiles()
//for(int i=0;i<bc.length;i++)
//System.out.println("getf[] "+bc[i]);
return bc;
public String[] getDirectorys()
for(int i=0;i<bb.length;i++)
//System.out.println("getd[] "+bb[i]);
return bb;
public String getFileName()
//System.out.println("get f "+ac);
return ac;
public void setEnterKeyStateName(boolean b)
this.entkey=b;
//System.out.println("getd "+ab);
public boolean getEnterKeyStateName()
//System.out.println("getd "+entkey);
return entkey;
public String getDirectoryName()
//System.out.println("getd "+ab);
return ab;
public static checker1 c;
public void plsShow()throws Exception
synchronized(c)// for c.show
c.wait();
public void removnot()
ch1.setVisible(false);
ch1.dispose();
public static checker1 ch1;
public static void main(String args[])throws Exception
if(ab==null){ab=null;}
c=new checker1();
ch1=c;
c.plsShow();
System.out.println(c.getEnterKeyStateName());
if(c.getEnterKeyStateName()==true)
System.out.println(c.getDirectoryName());
System.out.println(c.getFileName());
Runtime t=Runtime.getRuntime();
Process p=t.exec("start "+c.getDirectoryName()+c.getFileName());
System.out.println(c.getEnterKeyStateName());

Similar Messages

  • How to automate the data flow to content servers?

    We have ECC connected to CS. Could you help tell how to automate the data flow into the CS? Thanks a lot!

    What do you use the Content Server for? If its for archiving you need to run the STORE job to send the data to the CS.
    I can't see a reason to automate that process
    Regards
    Juan

  • How to migrate  the data flow from DB CONNECT sourse system from 3.5 to BI

    Hi
    can any one tell me how to migrate the data flow from DB CONNECT sourse system from 3.5 to BI 7.

    Hi,
    Go to Infoprovider to which your DB connect DS feeds and Right Click on Data source-> Then Migrate-> With Export---> You have to build new 7.0 Transformations and DTP's etc.
    ~AK

  • How to find the data flow in pipes

    Hi All,
    I am working on an existing created job which have the query that mapped to a input file from there it have a couple of Query transforms. After the second Query transform there are multiple Pipes with different query transform in which all of the querys are target to a error table and one pipe is target to a clean table.
    I want to know how the data is flow into the clean table and error table. How to find the conditions saying which record needs to go into the clean table and which record needs to go into an error table.
    Thanks

    No such public document available from Oracle unless from Oracle Education.
    for some specific operation you can check Process tab inside Oracle Application which shows the data flow as part for workflow process.
    Regards
    Prashant Pathak

  • TORCH 9800 " How to stop the DATA Wiping due to Problems with Password Input "

    PHONE  TYPE:    
    Torch 9800 (1256)
    PROBLEM: 
    On Friday, April 5th ... after several attempts of inputting my screen password I was constantly told by the 9800  that the wrong password was being attempted; which I know I did input the right PW . [ I believe that one key pertaining to the PW string is faulty and therefore not accepting the right character ] . When I had suffered prior password issues after several attempts the 9800 indicated on the screen that I would be locked out for 15 minutes until I could attempt again. This time after attempting what I believe was 9 times I suffered a  "OMG"  (Oh My God) situation where-in I believe the screen indicated to me that information would be erased; at that point I saw a progressive bar appear on the screen with the word "WIPING"  and I immediately opened the back of the phone and removed the battery to stop the wipe at 40%.
    One hour+ later I inserted the battery back into the 9800 and once again the data wipe bar appeared on the screen and I pulled the battery to halt the wipe at 20%.
    I went to the Blackberry Official web site and sought out any solutions to stopping the data wipe in the Torch 9800 manuals and other service areas and there was no mention of the data wipe. I sought out other web sites for solutions and there was none... I also referenced   a number of Black Berry forums and found that there where mentions of the same issue I was experiencing BUT no solutions.
    I then pulled my sim card and inserted it into another Torch 9800  I maintain as a backup and when I went to my Mac Book Pro to connect the alternate 9800  and transfer data to it from the Blackbery desktop manager I was told their was a system failure. I attempted several times to in the dialogue box to copy data and settings from another device and again a system failure appeared. I again went to BB Torch Forums and found out that there have been a number of issues with Apple Macs and back up and transfers of data to Torch 9800 .
    On Saturday I contacted Telstra Mobile Technical support and was connected to a Black Berry technical solution specialist who after referring to their BB manual and speaking to colleagues informed me that they saw NO work around solution.
    I am therefore appealing to Blackberry wisemen & women to inform me if there is a solution to either obtain my backup data from my Mac and or to halt the Torch 9800 from wiping out my data if I have been able to pull the battery from the device. I have been user of Blackberry devices from the pagers of 1999 and have owned and operated over 14 BBs since along with my wife who is now on her first.
    I am looking forward to your reply.
    Removed personal information to comply withCommunity GuidelinesandTerms and Conditions of Use.
    Professor Kenneth Morgan

    Hi canadagoose
    Welcome to BlackBerry Support Forums
    Sorry to hear that you're experincing such issues !
    canadagoose wrote:
    When I had suffered prior password issues after several attempts the 9800 indicated on the screen that I would be locked out for 15 minutes until I could attempt again. 
    But this situation happens when you enter wrong password for your BlackBerry ID , but not with device password that a user set in his device :
    KB24157 : BlackBerry ID lockout behaviour .
    As you're an old user as you mentioned in your post , I think you will agree that BlackBerry are the most secure devices available , if we enter wrong password to many times ( By default 10 times ) then it will initiate a wipe process , which you cannot stop my any mean. 
    Sorry to say but there is no way or any workaround available to stop a device wipe after it is initiated .
    Reading your backup issue , have you ever done a full backup or a custom backup which atleast include your address book ! If you have it then after a wipe you can restore it from those backup files.
    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.

  • How to analyse the date flow diagram

    hi guys,
                my question is how to analyse in detail the data flow diagrams and functional and technical spes. how can i understant in detail.
    regards,
    manju

    Hi,
    Data flow diagram will show you the flow of the data from the Source System till the data target. It will give you the details of the Data Source, Info Source and Info Provider etc...
    Functional Spec gives you the requirement of your company, I mean the fields they need for a particular reports and tables they have used etc... All you have to do is compare the fields you have in your data sources and finout which fields need to be added to the data sources or do you need to go for a new custom data source etc.. and prepare a Gap analysis Document. When You put the details of the data sources till the Info Provider I mean the TRs and URs etc.. in a document it becomes your Tech Spec.
    Hope it helps...

  • How to stop the program flow

    Hi all,
    i need to stop the program flow control without entering into the start-of-selection.
    i am using some manual conditions for validating some parameter fields...
    i used Leave list-processing--->but it dosint works
    call selection-screen 1000--->it works but when i click the back button the control goes inside the start-of-selection can any one help me with this....

    If you want to stop the program flow in case one condition is satisfied, you can use STOP or EXIT command. Else, if you want to stop the program and debug it just but BREAK command where ever you want to stop the program. Also, if you want to validate the program selection at the time of entering the selection before the start of selection, you need to add AT SELECTION-SCREEN event block before the start of selection.

  • How to find the data flow for a given module.

    Hi ,
    Is there a way to find the data flow for a given module(Example AR,AP,......).
    I mean are there any predefined document other than user guides that explains with data flow diagrams(including the tables involved).
    Any help would be greatly appreciated.
    Thanks & Regards,
    Naveen.

    No such public document available from Oracle unless from Oracle Education.
    for some specific operation you can check Process tab inside Oracle Application which shows the data flow as part for workflow process.
    Regards
    Prashant Pathak

  • How to stop the data loads through process chains

    hi,
    I want to stop all the data loads to BI through Process chains where load happens periodic.
    kindly suggest how can I proceed.

    Hi,
    Goto RSPC find your PC and double click on START then change the timings, i.e. give starting date is 01.01.9999 like that Save and ACtivate the PC, it won't start till 01.01.9999.
    Thanks
    Reddy

  • How to stop the waterflow?

    Hi,
    I need to make the water coming from the shower, when shower is clicked.
    And the water should stop after 5 seconds.
    The code is below.
    The water is flowing nicely. But I do not manage to stop it.
    I added a timer, which starts when the shower is clicked. And should stop the waterflow after 5 seconds have passed.
    With the lines
    if (stop = true)
         break;
         trace("break");
    it looks like the for loop is breaking right from the start, from the first second. But not completely, somehow 1 or 2 drops are flowing.
    Without these lines nothing is happening when the time is over (5 seconds from clicking the shower). Water is just flowing.
    Can someone help? How to stop the water flowing after 5 seconds and clean of the array and stage from the waterdrops?
    Many thanks in advance!
    import flash.display.MovieClip;
    import flash.events.Event;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    var WatertropArray: Array = new Array();
    var WaterArea01: MovieClip = new WaterArea();
    var WaterBorder01: MovieClip = new WaterBorder();
    var timer: Timer = new Timer(5000, 1);
    var stopp: Boolean;
    var i: uint;
    Shower.addEventListener(MouseEvent.CLICK, waterFlowStart);
    function waterFlowStart(event: MouseEvent): void
                    addChild(WaterArea01);
                    WaterArea01.x = WaterArea00.x;
                    WaterArea01.y = WaterArea00.y;
                    WaterArea01.alpha = 0;
                    addChild(WaterBorder01);
                    WaterBorder01.x = WaterBorder00.x;
                    WaterBorder01.y = WaterBorder00.y;
                    WaterBorder01.alpha = 0;
                    stopp = false;
                    timer.addEventListener(TimerEvent.TIMER, waterFlowEnd);
                    timer.start();
                    addWaterdrops();
                    Shower.removeEventListener(MouseEvent.CLICK, waterFlowStart);
    function addWaterdrops(): void
                    for(var i: uint = 0; i < 100; i++)
                                   var waterDrop: MovieClip = new Waterdrop();
                                   addChild(waterDrop);
                                   waterDrop.x = Math.round(Math.random() * stage.stageWidth / 1.5);
                                   waterDrop.y = Math.round(Math.random() * stage.stageHeight / 3);
                                   waterDrop.alpha = 0;
                                   waterDrop.rotation = -12;
                                   WatertropArray.push(waterDrop);
                                   trace("waterdrops added");
                                   moveWaterdrops();
    function moveWaterdrops(): void
                    waterDrop00.addEventListener(Event.ENTER_FRAME, waterFlow);
    function waterFlow(event: Event): void
                    for(var i: uint = 0; i < WatertropArray.length; i++)
                                   WatertropArray[i].y += 8;
                                   WatertropArray[i].x += 5;
                                   //trace(i);
                                   if(WatertropArray[i].hitTestObject(WaterArea01))
                                                   WatertropArray[i].alpha = Math.random();
                                                   WatertropArray[i].scaleX = Math.random();
                                                   WatertropArray[i].scaleY = WatertropArray[i].scaleX;
                                   if(WatertropArray[i].hitTestObject(WaterBorder01) || WatertropArray[i].x > stage.stageWidth || WatertropArray[i].y > stage.stageHeight / 2)
                                                   WatertropArray[i].x = Math.round(Math.random() * stage.stageWidth / 1.5);
                                                   WatertropArray[i].y = Math.round(Math.random() * stage.stageHeight / 3);
                                                   WatertropArray[i].alpha = 0;
                                   if(stopp = true)
                                                   break;
                                                   trace("break");
    function waterFlowEnd(event: TimerEvent): void
                    trace("TIME OVER");
                    stopp = true;
                    stoppTrue();
    function stoppTrue(): void
                    for(var i: uint = WatertropArray.length; i > WatertropArray.length; i--)
                                   remove(i);
    function remove(idx: int)
                    removeChild(WatertropArray[idx]);
                    WatertropArray.splice(idx, 1);
                    trace("REMOVED");
                    removeChild(waterDrop00);
                    trace(i);

    thanks again, kglad.
    changed the for-loop and it is reaching now the last functions as well.
    but there is still a but  ... an error message.
    function waterFlowEnd(event: TimerEvent): void
    trace("TIME OVER");
    stopp = true;
    stoppTrue();                                                       // line 106
    function stoppTrue(): void
    for(var i: uint = WatertropArray.length-1; i >= 0; i--)
    trace("stoppTrue");
    remove(i);                                                         // line 115                                                    
    function remove(idx: int)
    removeChild(WatertropArray[idx]);                   // line 123
    WatertropArray.splice(idx, 1);
    trace("REMOVED");
    //removeChild(waterDrop00);
    trace(i);
    and the output panel gives the following (tested with 5 water drops, 5 items in array):
    TIME OVER
    stoppTrue
    REMOVED
    0
    stoppTrue
    REMOVED
    0
    stoppTrue
    REMOVED
    0
    stoppTrue
    REMOVED
    0
    stoppTrue
    REMOVED
    0
    stoppTrue
    TypeError: Error #2007: Parameter child must be non-null.
    at flash.display::DisplayObjectContainer/removeChild()
    at TitavannisinglisekeelneAS3_fla::MainTimeline/remove()[TitavannisinglisekeelneAS3_fla.Main Timeline::frame1:123]
    at TitavannisinglisekeelneAS3_fla::MainTimeline/stoppTrue()[TitavannisinglisekeelneAS3_fla.M ainTimeline::frame1:115]
    at TitavannisinglisekeelneAS3_fla::MainTimeline/waterFlowEnd()[TitavannisinglisekeelneAS3_fl a.MainTimeline::frame1:106]
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()
    What is that error message trying to tell me?   

  • How to run just the data flow

    We are in the process of converting from one ETL tool to Data Services 3.0.  I have a workflow with several data flows underneath it and have to make a change to the data flow.  Is there a way to run just the dataflow without executing the whole job?  For example, I just want to run DF4 below.
    WF --> DF1 --> DF2 --> DF3 --> DF4 --> DF5
    Thanks,
    Dan

    Although this topic is solved, just a few clarifications:
    When you create a new job and drag 'n drop the workflow/dataflow into it, you are not creating a second object (class), you are calling the object a second time (instantiate). It is like a BASIC program. I created a sub-procedure and called in DF1. In my filesystem I can see that sub-procedure as a seperate file in the folder object_library -> dataflow_procedures.
    Then I have two main programs, both just calling that sub-procedure with "gosub DF1".
    In the job you see the calls, when you drill into DF1 you see its definition and what object it calls.
    Using a conditional is okay but not adviced in my opinion. You are losing too much, the handling is complex and development takes a few seconds longer. my two cents only.
    https://wiki.sdn.sap.com/wiki/display/BOBJ/Testing

  • How to delete the data in the compressed  infocube

    hi, bi gurus
    we are facing a problem in inventory management the info cube in BW production
    normally every time inventory cube gets compressed that means the data will be moving to F fact table to E fact table
    now the problem is we are having some bad data for latest five requests in this cube as we all know compressed data
    can't be delete by deleting request in the request tab the only way is go for selective deletion but i don't find any selective
    option in the cube we are PSA data for that five request which having correctdata please help how to delete the bad data in the
    info cube and load the correct data which we are having in PSA
    Thanks
    Joe

    Hi André
    Thanks you for ur answer
    what i am telling is their is an option for selective deletion for inventory cube
    but i don't find any specific option to delete the data that means like calendar day like that
    i hope you got my question.
    hi Saveen Kumar,
    Thank you again
    we are using 3.xx flow if we do the request reverse posting for all the 5 requests which has updated incorrect data
    next we need to do compression also or not
    and how to reload the data from PSA to Infocube becuse if request still avaliable in info cube it will not allow me to do that
    can you please tell me detail how to proceed in step by step this is first time i am doing request reverse post and i have to do it production please tell me
    Thanks in adavance
    Thanks,joe

  • How to stop the spinning ball/pizza that is stalling repairs to project on imovie 09? on macosx10.5.8 using iomega and superspeed ext h.d. as storage for the events and projects archive of a wedding video that has had audio sync problems on all share form

    How to stop the spinning ball/pizza that is stalling repairs to project on imovie 09? on macosx10.5.8 using iomega and superspeed ext h.d. as storage for the events and projects archive of a wedding video that has had audio sync problems on all share formats (iDVD, mp4, and last of all iTunes). The project label now carries signal with yellow triangled exclamation “i tunes out of date”.
    To solve the sync problem I’m following advice and detaching sound from all of the 100 or so short clips.  This operation has been stalled by the spinning ball. Shut down restart has not helped.
    The Project is mounted from Iomega and superspeed ext hd connected to imovie09 on macosx 10.5.8.
    What to do to resume repairs to the audio sync problem and so successfully share for youtube upload?

    How to stop the spinning ball/pizza that is stalling repairs to project on imovie 09? on macosx10.5.8 using iomega and superspeed ext h.d. as storage for the events and projects archive of a wedding video that has had audio sync problems on all share formats (iDVD, mp4, and last of all iTunes). The project label now carries signal with yellow triangled exclamation “i tunes out of date”.
    To solve the sync problem I’m following advice and detaching sound from all of the 100 or so short clips.  This operation has been stalled by the spinning ball. Shut down restart has not helped.
    The Project is mounted from Iomega and superspeed ext hd connected to imovie09 on macosx 10.5.8.
    What to do to resume repairs to the audio sync problem and so successfully share for youtube upload?

  • How to stop the changes made for the BP in CRM not to update in R/3

    Hello Gurus''
    we are in need of help......i have an issue...the issue is
    Wht ever the changes we do in crm , need to be not updated in r/3 ....for example if we change the the language for the BP 100 in CRM, it should not update in R/3
    Where as in our case the data is updateing in R/3
    Here by requesting you all to help me out how to stop the updaation of some changes  which are made in CRM , that should not be in R/3
    Point will be given......
    Regards
    sreeram Raghu

    Hello
    Thanks for ur reply.........
    We have the following business process
    We create BP with role prospect in CRM, once the prospect is ready to buy the product we conver the prospet in to customer and thesame  customer is replicated in R/3 fro sales.
    What i am looking at is for the customer we created in CRM if we change any data that should be updated in r/3..it may be nay like name address ...language....etc.....
    can u help me out...as u told me to unassig/delete the subcription:All Business partner(MESG) under that we have --
    >publication>All BP(MESG)->Replication object-->Bupa_Main
    >Sites-->SQ1_300
    If we do this process does the issue will fix or else we need to do soem thing more...
    Thanks in advance
    Regards
    Sreeram Raghu
    +91-99 94 94 82 72

  • How to populate the data in LISTBOX   of Dialog programming

    Hi All,
    I know how to create a Listbox in Modulepool programming, But i do n't know how to populate the data in LISTBOX. Does anyone knows , please help me ?
    Thanks in advance
    KR

    hi,
    u need to write this after all modules of PAI in screen flow logic
    PROCESS ON VALUE-REQUEST.
      FIELD ifmtp-form_type MODULE fm_drop.
    MODULE fm_drop INPUT.
      CLEAR ifmtp.
      REFRESH ifmtp.
      ifmtp-form_type = 'C'.
      APPEND ifmtp.
      ifmtp-form_type = 'F'.
      APPEND ifmtp.
      ifmtp-form_type = 'H'.
      APPEND ifmtp.
      ifmtp-form_type = 'D'.
      APPEND ifmtp.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield  = 'FORM_TYPE'
          value_org = 'S'
        TABLES
          value_tab = ifmtp.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDMODULE.                 " fm_drop  INPUT
    here ifmtp-form_type is my list box field on screen in which ifmtp is my internal table and form_type is my field name
    i have declared internal table like
    DATA : BEGIN OF ifmtp OCCURS 0,
              form_type LIKE zform_track_mast-form_type,
           END OF ifmtp.
    reward if useful...

Maybe you are looking for

  • Nokia Lumia 1320 does not recognize media files properly

    Hello I have the following problem with my Nokia Lumia 1320: media files (either music or video) are not recognized properly and therefore seen in "other" section of Storage. There has been a discussion here a while ago here: https://social.msdn.micr

  • Queries on Web Dynpro

    Hi All I have few queries 1. Is it possible to launch an external web application in new browser using suspend plug? If yes can you please share the details how can we do it? 2. Is there any API available in Web DynPro which I can use to launch an ex

  • Denmark PBS(Nets) Leverandu00F8rservice format for payment file

    Hi, Does anybody know how to produce the PBS(Nets) Leverandørservice format for direct debit file? Using print program RFFODK_B I am able only to produce Betalingsservice formats (outgoing payment and direct debit). Thanks for your help, Janez

  • Mpeg, flv, merging, rendering, & uploading to youtube

    my first video upload to youtube, made with a Canon 5D Mk II --  http://www.youtube.com/watch?v=LI1sDaI0YgE (caution:  PG-13) -- was practically out-of-the-camera. in my second video (made during the same photoshoot), i deleted the in-camera audio an

  • Can I create a dynamic (selectable) list

    Hi, I'm in the process of building a wedding website and within that I'd like to get a page dedicated to an alternative gift list. The list takes the form of Bricks & Mortar and has items (bricks, concrete, windows etc.) to build a new extension. Is