Process.getInputStream and Process.getOutputStream

Hi,
I'm using JDK 1.4.0 for Linux. I need to execute an external program. Then get the output from the program and provide input to the program. Below is the code I wrote. This code works fine if I execute "passwd" to change password. But when I execute "scp2" or "ftp", it just blocks. I don't know why. I've spent days to figure out this problem. But I still haven't got a clue. I'd really appriciate help from you.
Thanks.
public class TestProcess {
public static void main(String[] args) {
System.
try {
Process p = Runtime.getRuntime().exec("scp2 /home/fms/txt root@localhost:./txt");
//Process p = Runtime.getRuntime().exec("passwd");
BufferedReader ireader = new BufferedReader(new InputStreamReader(p.getInputStream()));
BufferedReader ereader = new BufferedReader(new InputStreamReader(p.getErrorStream()));
PrintWriter writer = new PrintWriter(p.getOutputStream(), false);
StreamReader inputReader = new StreamReader("Input", ireader);
inputReader.start();
StreamReader errorReader = new StreamReader("Error", ereader);
errorReader.start();
Thread.currentThread().sleep(20000);
String password = "password\r\n";
for (int i=0; i<password.length(); i++) {
writer.write(password.charAt(i));
writer.flush();
Thread.currentThread().sleep(1);
System.out.println("Password entered.");
Thread.currentThread().sleep(20000);
for (int i=0; i<password.length(); i++) {
writer.write(password.charAt(i));
writer.flush();
Thread.currentThread().sleep(1);
System.out.println("Password entered.");
p.waitFor();
ereader.close();
ireader.close();
writer.close();
System.out.println(p.exitValue());
} catch (Exception e) {
System.out.println(e.getMessage());
class StreamReader extends Thread {
Reader input;
int c;
char[] chars = new char[1000];
String line;
String threadName;
public StreamReader(String threadName, Reader input) {
this.input = input;
this.threadName = threadName;
public void run() {
try {
while ((c = input.read(chars)) != -1) {
line = new String(chars, 0, c);
System.out.print(threadName + " " + line);
} catch (Exception e) {
System.out.println(e.getMessage());
System.out.println(threadName + " quit.");

why are u using BufferedReader? That's useless because read(char[]) isn't overwritten by BufferedReader.
did u read the description of Reader.read(char[])??
try to use this class...
public class TestProcess
private PrintWriter writer;
private Process proc;
private StreamReader inputReader;
private StreamReader errorReader;
public TestProcess(String strFilename)
throws Exception
proc = Runtime.getRuntime().exec(strFilename);
writer = new PrintWriter(proc.getOutputStream(), false);
inputReader = new StreamReader("Input", new InputStreamReader(proc.getInputStream()));
errorReader = new StreamReader("Error", new InputStreamReader(proc.getErrorStream()));
new Thread(inputReader).start());
new Thread(errorReader.start());
public void write(char c)
writer.write(c);
writer.flush();
public void waitFor()
p.waitFor();
public int exitValue()
return p.exitValue();
public void close()
proc.destroy();
writer.close();
class StreamReader
implements Runnable
private Reader input;
private String threadName;
public StreamReader(String threadName, Reader input)
this.input = input;
this.threadName = threadName;
public void run()
try
while ((c = input.read()) != -1)
System.out.print(c);
catch (Exception e)
System.out.println(e.getMessage());
System.out.println(threadName + " quit.");
}...didn''t test it. good luck ;)
if there are still problems, please tell me where it hangs.
~elchaschab

Similar Messages

  • Process.getInputStream() and process.waitfor() block in web application

    Hi folks,
    i am really stuck with a problem which drives me mad.....
    What i want:
    I want to call the microsoft tool "handle" (see http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/Handle.mspx) from within my web-application.
    Handle is used to assure that no other process accesses a file i want to read in.
    A simple test-main does the job perfectly:
    public class TestIt {
       public static void main(String[] args){
          String pathToFileHandleTool = "C:\\tmp\\Handle\\handle.exe";
          String pathToFile = "C:\\tmp\\foo.txt";
          String expectedFileHandleSuccessOutput = "(.*)No matching handles found(.*)";
          System.out.println("pathToFileHandleTool:" + pathToFileHandleTool);
          System.out.println("pathToFile: " + pathToFile);
          System.out.println("expectedFileHandleSuccessOutput: " + expectedFileHandleSuccessOutput);
          ProcessBuilder builder = null;
          // check for os
          if(System.getProperty("os.name").matches("(.*)Windows(.*)")) {
             System.out.println("we are on windows..");
          } else {
             System.out.println("we are on linux..");
          builder = new ProcessBuilder( pathToFileHandleTool, pathToFile);
          Process process = null;
          String commandOutput = "";
          String line = null;
          BufferedReader bufferedReader = null;
          try {
             process = builder.start();
             // read command output
             bufferedReader = new BufferedReader(new InputStreamReader(process.getInputStream()));
              while((line = bufferedReader.readLine()) != null) {
                 commandOutput += line;
              System.out.println("commandoutput: " + commandOutput);
             // wait till process has finished
             process.waitFor();
          } catch (IOException e) {
             System.out.println(e.getMessage());
             e.printStackTrace();
          }  catch (InterruptedException e) {
             System.out.println(e.getMessage());
             e.printStackTrace();      }
          // check output to assure that no process uses file
          if(commandOutput.matches(expectedFileHandleSuccessOutput))
             System.out.println("no other processes accesses file!");
          else
             System.out.println("one or more other processes access file!");
    } So, as you see, a simple handle call looks like
    handle foo.txtand the output - if no other process accesses the file - is:
    Handle v3.2Copyright (C) 1997-2006 Mark RussinovichSysinternals - www.sysinternals.com
    No matching handles found.
    no other processes accesses file!(Wether the file exists or not doesnt matter to the program)
    If some processes access the file the output looks like this:
    commandoutput: Handle v3.2Copyright (C) 1997-2006 Mark RussinovichSysinternals - www.sysinternals.com
    WinSCP3.exe        pid: 1108    1AC: C:\tmp\openSUSE-10.2-GM-i386-CD3.iso.filepart
    one or more other processes access file!So far, so good.........but now ->
    The problem:
    If i know use the __exact__ same code (even the paths etc. hardcoded for debugging purposes) within my Servlet-Webapplication, it hangs here:
    while((line = bufferedReader.readLine()) != null) {if i comment that part out the application hangs at:
    process.waitFor();I am absolutely clueless what to do about this....
    Has anybody an idea what causes this behaviour and how i can circumvent it?
    Is this a windows problem?
    Any help will be greatly appreciated.....
    System information:
    - OS: Windows 2000 Server
    - Java 1.5
    - Tomcat 5.5
    More information / What i tried:
    - No exception / error is thrown, the application simply hangs. Adding
    builder.redirectErrorStream(true);had no effect on my logs.
    - Tried other readers as well, no effect.
    - replaced
    while((line = bufferedReader.readLine()) != null)with
    int iChar = 0;
                  while((iChar = bufferedReader.read()) != -1) {No difference, now the application hangs at read() instead of readline()
    - tried to call handle via
    runtime = Runtime.getRuntime();               
    Process p = runtime.exec("C:\\tmp\\Handle\\handle C:\\tmp\\foo.txt");and
    Process process = runtime.exec( "cmd", "/c","C:\\tmp\\Handle\\handle.exe C:\\tmp\\foo.txt");No difference.
    - i thought that maybe for security reasons tomcat wont execute external programs, but a "nslookup www.google.de" within the application is executed
    - The file permissions on handle.exe seem to be correct. The user under which tomcat runs is NT-AUTORIT-T/SYSTEM. If i take a look at handle.exe permission i notice that user "SYSTEM" has full access to the file
    - I dont start tomcat with the "-security" option
    - Confusingly enough, the same code works under linux with "lsof", so this does not seem to be a tomcat problem at all
    Thx for any help!

    Hi,
    thx for the links, unfortanutely nothing worked........
    What i tried:
    1. Reading input and errorstream separately via a thread class called streamgobbler(from the link):
              String pathToFileHandleTool = "C:\\tmp\\Handle\\handle.exe";
              String pathToFile = "C:\\tmp\\foo.txt";
              String expectedFileHandleSuccessOutput = "(.*)No matching handles found(.*)";
              logger.debug("pathToFileHandleTool: " + pathToFileHandleTool);
              logger.debug("pathToFile: " + pathToFile);
              logger.debug("expectedFileHandleSuccessOutput: " + expectedFileHandleSuccessOutput);
              ProcessBuilder builder = new ProcessBuilder( pathToFileHandleTool, pathToFile);
              String commandOutput = "";
              try {
                   logger.debug("trying to start builder....");
                   Process process = builder.start();
                   logger.debug("builder started!");
                   logger.debug("trying to initialize error stream gobbler....");
                   StreamGobbler errorGobbler = new StreamGobbler(process.getErrorStream(), "ERROR");
                   logger.debug("error stream gobbler initialized!");
                   logger.debug("trying to initialize output stream gobbler....");
                   StreamGobbler outputGobbler = new StreamGobbler(process.getInputStream(), "OUTPUT");
                   logger.debug("output stream gobbler initialized!");
                   logger.debug("trying to start error stream gobbler....");
                   errorGobbler.start();
                   logger.debug("error stream gobbler started!");
                   logger.debug("trying to start output stream gobbler....");
                   outputGobbler.start();
                   logger.debug("output stream gobbler started!");
                   // wait till process has finished
                   logger.debug("waiting for process to exit....");
                   int exitVal = process.waitFor();
                   logger.debug("process terminated!");
                   logger.debug("exit value: " + exitVal);
              } catch (IOException e) {
                   logger.debug(e.getMessage());
                   logger.debug(e);
              }  catch (InterruptedException e) {
                   logger.debug(e.getMessage());
                   logger.debug(e);
         class StreamGobbler extends Thread {
              InputStream is;
             String type;
             StreamGobbler(InputStream is, String type) {
                 this.is = is;
                 this.type = type;
             public void run() {
                  try {
                     InputStreamReader isr = new InputStreamReader(is);
                     BufferedReader br = new BufferedReader(isr);
                     String line=null;
                     logger.debug("trying to call readline() .....");
                     while ( (line = br.readline()) != null)
                         logger.debug(type + ">" + line);   
                 } catch (IOException ioe) {
                         ioe.printStackTrace(); 
         }Again, the application hangs at the "readline()":
    pathToFileHandleTool: C:\tmp\Handle\handle.exe
    pathToFile: C:\tmp\openSUSE-10.2-GM-i386-CD3.iso
    expectedFileHandleSuccessOutput: (.*)No matching handles found(.*)
    trying to start builder....
    builder started!
    trying to initialize error stream gobbler....
    error stream gobbler initialized!
    trying to initialize output stream gobbler....
    output stream gobbler initialized!
    trying to start error stream gobbler....
    error stream gobbler started!
    trying to start output stream gobbler....
    output stream gobbler started!
    waiting for process to exit....
    trying to call readline().....
    trying to call readline().....Then i tried read(), i.e.:
         class StreamGobbler extends Thread {
              InputStream is;
             String type;
             StreamGobbler(InputStream is, String type) {
                 this.is = is;
                 this.type = type;
             public void run() {
                  try {
                     InputStreamReader isr = new InputStreamReader(is);
                     BufferedReader br = new BufferedReader(isr);
                     logger.debug("trying to read in single chars.....");
                     int iChar = 0;
                     while ( (iChar = br.read()) != -1)
                         logger.debug(type + ">" + iChar);   
                 } catch (IOException ioe) {
                         ioe.printStackTrace(); 
         }Same result, application hangs at read()......
    Then i tried a dirty workaround, but even that didnt suceed:
    I wrote a simple batch-file:
    C:\tmp\Handle\handle.exe C:\tmp\foo.txt > C:\tmp\handle_output.txtand tried to start it within my application with a simple:
    Runtime.getRuntime().exec("C:\\tmp\\call_handle.bat");No process, no reading any streams, no whatever.....
    Result:
    A file C:\tmp\handle_output.txt exists but it is empty..........
    Any more ideas?

  • What are process type and process variant in process chain?

    hi all,
    Can anyone explain me what is process type and process variant in process chain ?
    regds
    hari

    Hi Hari,
    this is standard SAP Links, u may understand ....
    http://help.sap.com/saphelp_nw04/helpdata/en/6e/192756029db54192427cf6853c77a7/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/67/13843b74f7be0fe10000000a114084/content.htm
    Thanks, KR

  • Transaction code to find Process message and Process Instruction

    Hi
    I am new to PP module
    Where do i find (In which Transaction) the list of
    a) Process Message Category
    b) Process message
    c) Process Instruction Category
    in SAP ERP system??
    Regards
    Sweety

    Hi
    Thank u all for responding
    Still I was not able to find certain Process Messages like YQ_AIR, YQ_RPM, YQ_TEMP, YQ_CONS, YQ_PHCO, YQ_PHCO2.
    and Process Instructions like
    YQ_AIR, YQ_ENDPI,YQ_HEAD, YQ_INSTR, YQ_LAY, YQ_MATLI, YQ_PROD, YQ_PTEXT,YQ_RPM, YQ_TEMP, YQ_CON1, YQ_CON2..
    do I need to do some (Basis) configuration to get these?? or the above mentioned Process Messages and Process Instructions are not pre defined??
    Regards
    Sweety

  • What is Processing Method and Processing Class in Action Profile

    Dear all,
    I have defined an action for case management, to trigger an email after saving the case in Enterprise portal.
    Action is getting initiated in case document after saving, but after a while it is showing message 'Incorrect'.
    In the actions monitor report, error message showing that some problem in Processing Method.
    In my action I have maintained settings as below.
    Form name - SCMG_SMART_FORM_CASE
    Processing class - CL_SCMG_CASE_CONTEXT_PPF
    But I don't know what processing method should I give
    I could not find and values under F4 functionality.
    Please do advice me what method I can use here.
    and why we use processing method and processing class.
    your help will be highly appreciated.
    Thank you
    Raghu ram

    Hi
    DSD means Daily Salary Deduction for more check this table to understand abd DSD and the respective Processing class 77 V_T7INO1

  • Process chain AND process

    Hi,
    I have a process chain that has two parallel processes of loading DSO and Infocube data. There are two infopackages on one side and two on the other side. The two processes are connected with and AND process at the end and after that there is a datastore activation process.
    When I executed the process chain, the infopackages on both sides started loading data. The two infopackages on the left side finished first while the second infopackage on the right side had not finished yet when the AND process errored. I get the following message:
    This AND process is not waiting for event RSPROCESS , parameter
    47VKUORHMXQKR2AN73AVAR0C9
    After the AND process I have a Datastore generation process and I want it to continue only when all infopackages have been loaded.
    Why does the process stop at AND even though all infopackages have not finished yet?
    thanks
    Michalis

    There was no error message in ST22 or SM37. There was very little info to go on. I just deleted the requests and run the process chain again and there's no error. However the process chain does fail at a later step.
    Update Datastore Object Data (Further update)
    I don't know what that further update is for. It was automatically selected in my Process chain when I selected the infopackage for the DSO.
    There's a MESSAGE_TYPE_X error.
    Information on where terminated
        Termination occurred in the ABAP program "SAPLRSM2" - in "RSSM_MON_WRITE_3".
        The main program was "RSBATCH1 ".
        In the source code you have the termination point in line 2659
        of the (Include) program "LRSM2U16".
        The program "SAPLRSM2" was started as a background job.
        Job Name....... "BI_PROCESS_ODSPROCESS"
        Job Initiator.. "CSPAPADM"
        Job Number..... 14103000
    Source Code Extract
    Line  SourceCde
    2629       CALL FUNCTION 'RSSM_GET_TIME'
    2630         EXPORTING
    2631           i_datum_utc  = rsreqdone-tdatum
    2632           i_uzeit_utc  = rsreqdone-tuzeit
    2633         IMPORTING
    2634           e_timestamps = l_s_status-t_timestamp.
    2635       IF rsreqdone-tstatus(3) = icon_green_light(3) OR
    2636          rsreqdone-tstatus(3) = icon_red_light(3).
    2637         CALL FUNCTION 'RSSM_GET_TIME'
    2638           IMPORTING
    2639             e_timestamps = l_s_status-ts_proc_ended.
    2640         l_not_yellow = 'X'.
    2641       ENDIF.
    2642       IF l_not_yellow = 'X'.
    2643         CALL FUNCTION 'RSSTATMAN_SET_STATUS'
    2644           EXPORTING
    2645             i_s_status    = l_s_status
    2646             i_with_commit = 'X'.
    2647         IF l_s_status-t_status(3) = icon_green_light(3) AND
    2648            l_s_status-dta_type   = 'ODSO' AND
    2649            t_data-aufrufer <= '70'.
    2650           CALL FUNCTION 'RSS2_CALLBACK_ODSADM_ODS_SUCC'
    2651             EXPORTING
    2652               i_ods = l_s_status-dta(30)
    2653               i_rnr = l_s_status-rnr.
    2654         ENDIF.
    2655       ENDIF.
    2656     ENDLOOP.
    2657     IF sy-subrc <> 0.
    2658       IF t_data-aufrufer <> '09'.
    2660       ENDIF.
    2661     ELSE.
    2662       IF l_not_yellow = 'X'.
    2663         CALL FUNCTION 'RSB1_OSNAME_TO_ICNAME'
    2664           EXPORTING
    2665             i_osource        = g_s_minfo-oltpsource
    2666 *           I_OSTYPE         = RSAOT_C_OSTYPE-TRAN
    2667           IMPORTING
    2668             e_icname         = l_icname
    2669           EXCEPTIONS
    2670             name_error       = 1
    2671             OTHERS           = 2.
    2672         IF sy-subrc = 0.
    2673           CALL FUNCTION 'RSAWB_MAINTAIN_DTA'
    2674             EXPORTING
    2675               i_method                   = rsatr_c_dta_get
    2676 *             I_TYPE                     =
    2677               i_objvers                  = rs_c_objvers-active
    2678               i_dta                      = l_icname
    Any idea what that means? Also do I need that further update step in my process chain?

  • ICR - Process 001 and Process 003 - Setting Ledgers

    Hello,
    I must create the ledgers (I1 and I3) for ICR Process 001 and 003, but I don't know as setting them.
    Can you help me?
    Thank you so much.
    Best regards
    Giampaolo

    Hello Giampaolo,
    BCF is not relevant for ICR in my opinion. Why do you need this?
    Best regards,
    Ralph

  • Process costs and process template

    Hi,
    Somebody may help me to clarify these problems:
    1. Which exact costs are included in the so-called "Process costs" in PS component?
    2. Is process template used to allocate only the overheads collected by costing sheet?
    Thanks in advance!

    Hi Aluri,
    i think ur chain is loading parallelly then after successfully completing both in parallel with "AND" option then after it was loading sequential.
    not worry if AND fails, AND option if for after successfull completion of parallel loads, it starts the next process, check r u getting REPEAT option?? then start the REPEAT, hope the chain runs successfull for remaining process.
    check in table RSPCPROCESSLOG, RSPCLOGS table
    execute the program /ssa/bwt
    and logs tab in RSA1, analyze the process.
    Hope the following links will give u a clear idea about process chains and clear ur doubts.
    Business Intelligence Old Forum (Read Only Archive)
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9936e790-0201-0010-f185-89d0377639db
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/263de690-0201-0010-bc9f-b65b3e7ba11c
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    ****Assign Points if Helpful****
    Regards,
    Ravikanth.

  • Difference betwn Process insturction and Process Message...

    Dear all,
    What is meant by Process Instruction category and Process Message category. what is the difference between this two and it is applicable in PI sheet.
    What is control recipe destination.
    pls explain this question clearly
    regards,
    s.sakthivel

    Hi,
    You can go through below links for better understanding...
    http://help.sap.com/saphelp_45B/helpdata/en/d5/e264b20437d1118b3f0060b03ca329/frameset.htm
    Process flow in Process industry
    Process Instruction Category
    Process Message Category
    Regards
    Edited by: Julfikar Ali on Aug 21, 2009 11:06 AM

  • Process Chains AND process error

    Hello all,
    I have process chain for weekly master data loading. In one step after loading master data we have AND process and there after Attribute Change Run process.
    When I ran process chain the Master Data load process is successful ( upto that it is green in log view ) . After this process AND process is showing RED.
    The display message is as follows:
    This AND process is not waiting for event RSPROCESS , parameter
    423HLT8HZUIQTNDHWZJFNPBRC
    Please let me know if any one has SOLUTION  to this. Thanks in advance.
    Yours
    SRM

    HI SRM,
    That means, The proess after AND is watining for one process, the same
    process which ur process waiting is already using by some other process.
    That means for one process two process chains are calling at a time.
    So this process chain failed due to the process is running by other process
    chain.
    Now, after 10 or 30 min run again your process chain. if it runs successfully
    then maintain the time gap between the two process chain which are using
    the same process.
    Hope the answers is suitable for u.
    Thanks
    Rajesh

  • Process chians and process types Table

    Hi all,
    I'm looking for a table which can give me following details
    Chain technical name and not LOG ID
    Process Types
    Process Technical names and not the ID
    number of records in Infopackage
    number of records in DTP
    staus of each step (red/green/yellow)
    status of the chain (red / green/yellow)
    thanks for your help

    You may start looking at these tables-
    RSBKREQUEST    DTP Request
    RSBKREQUEST_V    View of DTP Request
    Process Chain Statistics Tables:
    - RSPCLOGCHAIN, RSPCPROCESSLOG
    Hope it Helps
    Chetan
    @CP..

  • HFM Process Control and Process Flow History

    Hi,
    When I review the Process Flow History for top parent members of the consolidation, the POV shows <Scenario> <Year> <Period> <Entity> <Entity Currency>. For all other applications and entities, the <Entity Currency> member shows but I've built a new application and the <Entity Currency> shows as "EUR Total" (EUR is one of the currencies) except that EUR is not the default currency of application or the entity's value. Could anyone explain to me why it would show that way or where it could be coming from?
    I'm using HFM v11.1.1.3.
    Thanks in advance.

    did you add new metadata?

  • Process Chains and Process Types for ODS Change logs

    We have created and used process chains to manage a large amount of our batch processing.   I am looking to convert our batch process of deleting data from ODS change logs into a process chain.   I have been unable to find a process type that will allow us to do this.
    Any thoughts?

    Hi Lisa,
       You can use Process "Deleting Requests from the PSA" for deleting PSA and change log data.
    Since the change log is also stored as a PSA table, you can also use this function to delete change log
    records. You can find additional information under Deleting from the Change Log.
    More info:
    Deleting Requests from the PSA
    http://help.sap.com/saphelp_nw04/helpdata/en/b0/078f3b0e8d4762e10000000a11402f/content.htm
    Deleting from the Change Log
    http://help.sap.com/saphelp_nw04/helpdata/en/6d/1fd53be617d524e10000000a11402f/content.htm
    Hope it Helps
    Srini

  • ICR - Process 001 and Process 002 Obligatory Group Chart

    Hi,
    another problem with ICR. I use ICR process in ECC 6.0 version but my client don't use the Group Chart. how can I use ICR processes to riconciliation my company?
    Can you help me?
    Thank you very much.
    Best regards.
    Giampaolo

    Hi Ralph
    I'm in the same Giampaolo's situation, but i don't undersatand some points.
    I have two company with two different chart of account (operative not group)
    Company A: chart of account X
    Company B: chart of account Y
    1° Queston: what chart of account i have to fill in transaction FBIC010 (i have only one filed), i can fill it INT or another Dummy chart of account?
    2° Question: If i well understand i have to set up a badi in order to transfer operative account to group account number.
    My customer doesn't need any sets with multiple account.
    Thank you very much for your support.
    Have nice day
    Alessandro

  • Difference between Process dialog and process batch

    Hi experts,
    could you explain me the difference between the two ?
    For me, it is basically the same...they do the same work but one is less performant ?
    Kind regards,
    Jamal

    anyways pls find the answer
    dialog-DIA, used for processing dialog program, e.g awb-administrator workbench, bw monitor.
    batch-BTC, used for any kind of process submitted for batch processing, e.g data load process, aggregate rollups, infocube compression.
    the batch job :
    load process, aggregate rollups, infocube compression.
    the job name can be identified start with BI_xx e.g :
    BI_BATCHxxx trigger to r/3
    BI_REQUxxx load to data target
    BI_ODSAxxx activate ods data
    BI_STRUxxx attribute/hierarchy change run
    BI_STATxxx statistics
    BI_DELxxxx delete data/request
    BI_AGGRxxx aggregate rollups
    also refre this link
    http://help.sap.com/saphelp_nw04/helpdata/en/fa/097167543b11d1898e0000e8322d00/frameset.htm
    Regards
    Abhishek

Maybe you are looking for

  • Confusion with a current state of Oracle Identity Management

    I would like to know if anyone has successfully implemented the complete suite of IdM. If yes, please share this experience. I want to clarify the definition of "successful integration". It should include the following: - SSO for Partner applications

  • Amount field with dollar symbol?

    Hello I have a AMOUNT field on my_form. Because of good compatibility/data transfer i have defined it as a DECIMAL FIELD 12,3. Data transfer is btwn my_form and back end system SAP / Oracle. Fine. But, user want to have the below requirement: Say, fo

  • CS5 Extended:Importing 3D Models queries

    Hi, I just spent some time having fun  playing with 3d in CS5 for the last 4 weeks.  The 3D does offer a new exciting aspect to PS however I have come across some issues while experimenting with importing models. I'm a experienced PS user  but new to

  • Why can't i watch live streaming video on my Ipad2 gs?

    I can not watch my church service broadcast live on the internet www.judsonbclive.net can anyone help me undersand why i can view it on my droid phone andnot my ipad2 even when connected through the Hot spot from the droid?

  • Rejection-procedure

    Dear Guys, I have one production order,that consist of 10-15 BOM components & 10 line items of operation,if suppose one of the component got rejected during production how to show that particular component as rejection?For that do i need to go for co