Log for running programs

Given a program name, is there a way for me to check if it has already been executed?
There is a number of conversion programs that are recommended by SAP to run after upgrade and I would like to aviod running them twice for fear of negative impact.

Hi Jeremy,
Hope you can check it through the Table CDHDR or CDPOS with the Transaction name or Use the Transaction RSSCD100 and give the appropriate Object Class and check for the Execution date if it has created/Change entry done before.
Hope it solves your query.
Regards
Andrew
Edited by: Andrew J on Jun 5, 2009 3:11 PM

Similar Messages

  • How to See logs for custom programs from without the logviewer in NWA

    Hello Experts,
    The JavaAS developers want to see the logs for their custom programs from without the logviewer in NWA.
    Do you have any experience or know of any reference materials to instruct them on where to write their logs, and how to configure NWA to see them?
    Thanks
    Jibin.

    Hello Jibin,
    Your developers should familiarize themselves with the Logging Framework of the J2EE Engine.
    Here is the guide:
    http://help.sap.com/saphelp_nw04/helpdata/EN/a2/15ab41d60bcb46e10000000a155106/frameset.htm
    If they use the Logging Framework you would be able to access the logs through NWA.
    Regards,
    Ventsi Tsachev
    Technology Development Support (J2EE Engine)
    SAP Labs, Palo Alto, Ca (USA)

  • Cannot write the suitable source codes for running program

    I want to write a program that help student to compile program and run program by using some test cases. For the compiled part, i have been wrote it successfully, but for the run part, i cannot pass the test cases to the program for running. Could any ppl help me to find the problem on the followng codes, why the error will on there? how do i change it? Thanks!
    //<!--start get Program Test Case File-->
    java.io.BufferedReader TestCaseBuf = null;
    Connection con = null;
    Statement stmt = null;
    ResultSet rs = null;
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    con = DriverManager.getConnection("jdbc:odbc:compas", "sa", "password");
    stmt = con.createStatement();
    String strSQL = "SELECT testValue FROM TEST_CASE WHERE progID='"+progID+"'";
    stmt = con.createStatement();
    rs = stmt.executeQuery(strSQL);
    try
    while (rs.next())
    TestCaseBuf = new java.io.BufferedReader(new java.io.InputStreamReader(rs.getBinaryStream("testValue")));                         
    finally
    if (rs != null)
         rs.close();
    if (stmt != null)
         stmt.close();
    //<!--end get Program Test Case File-->
    //<!--start run program -->
    String[ ] args2 = new String[ ]
         "java", "-cp", System.getProperty("user.dir"), FileName
    try
         Runtime rt = Runtime.getRuntime();
         Process proc = rt.exec(args2);
         java.io.BufferedReader ireader = new java.io.BufferedReader(new java.io.InputStreamReader(proc.getInputStream()));
         java.io.PrintWriter pwriter = new java.io.PrintWriter(proc.getOutputStream());
    String atestcase = null;
         String line= null;
         try
    while ((atestcase = TestCaseBuf.readLine()) != null) <------------I found that error seems on here!!!!
         pwriter.write(atestcase+"\r");
    pwriter.flush();     
    if (atestcase != null)
              if ((line = ireader.readLine()) != null)
              FileOutput = FileOutput + line +"\r\n";
    else {break; }
         } //while
         catch (java.io.IOException e)
         out.println("[IOException]. Printing Stack Trace");
         e.printStackTrace();
         pwriter.close();
         ireader.close();
    catch (java.io.IOException e)
    out.println("[IOException]. Printing Stack Trace");
    e.printStackTrace();
    //<!--end run program -->

    Whats the error message??
    Just a guess, but could be (without seeing the error) that you've already closed the TestCaseBuf reader by closing the result set, hence when you go to read it, you're reading on closed reader.
    Give this a go...Put the //<!--run program --> code into the result set while loop
    while (rs.next())
    TestCaseBuf = new java.io.BufferedReader(new java.io.InputStreamReader(rs.getBinaryStream("testValue")));
    //<!--start run program -->
    ...some code
    //<!--end run program -->
    } Hard to tell without the error message

  • See logs for custom programs from without the logviewer in NWA

    Hello Experts,
    The JavaAS developers want to see the logs for their custom programs from without the logviewer in NWA.
    Do you have any experience or know of any reference materials to instruct them on where to write their logs, and how to configure NWA to see them?
    Thanks
    Jibin.

    Hello,
    Via NWA I am not sure it is possible without logviewer, but via Portal you can if you are able to create an application with help of NWDS which will read log from OS level (need to provide path for default trace in your application) show on frontend.
    Then deploy this on portal.
    Regards,
    Abhay

  • Checking for running programs using a abap program

    Is there a way in ABAP to detect from within a program that another process is running the same program? Meaning if PROG1 is running, could PROG1 check to see if another process is running program PROG1?

    Use the locking concept.   You can either create your own, or a popular one to use is ESINDX, passing parameters: relid 'ZZ', SRTFD program name, and SRTF2 = 0. 
    The logic is:
    Attempt to get lock (FM ENQUEUE_ESINDX, perhaps).
    If lock got -> run program
    If lock not got -> quit.
    You have to put this logic at the start of your program.
    matt

  • Logs for checking program execution.

    Hi All,
    We have a ABAP program in our process chain, that FTP's the contents of an InfoSpoke to an externel server.
    It is possible to run this FTP probram directly in SE38 and so I would like to know if there is a way by which we can see the logs of when the problem was executed?
    Is there a table that stores when a program was executed?
    Thanks
    Arvind

    If it is run as a background job, any messages created by the ABAP will be visible in SM37.

  • Using standalone vs. opensolaris for running programs in FPGA model?!

    Was anyone able to do anything other than print a simple string using a standalone program in the openSPARC FPGA implementation? If so, would you please share your experience and what tools/libraries did u make use of?
    I am hitting a limitation in running even basic applications because I have NO libraries to access not even <stdlib.h>.
    For those out there using opensolaris to run your applications, did u need to install peripheral drivers? Do u have access to timers and other peripherals? Also, do u ftp ur C applications or do u build them in ur solaris sysACE file?
    Help is very much appreciated.
    Thanks,
    Faycel

    got same problem here. I was thinking to add input feature so that user can type input via hyper terminal and get result. I was using scanf but it is very difficult to add this syntax. I got errors. If you notice, the /examples/src/libc contains only printf.c file. we need to add scanf.c file in order to use scanf syntax. but I couldnt find how.
    Below is the links that provide source codes for scanf (and others).
    [http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libc/port/stdio/scanf.c]
    [http://www.koders.com/c/fid4E0FA789459803C1E4369279B96E5C9B257941C8.aspx?s=printf#L7]
    let me know if you can run your own program on FPGA Opensparc T1.
    Thanks.

  • Detailed log for external programs is not found

    Hi Guys,
    I have scheduled many SAP Jobs for which the steps are external programs ( Basically Unix Scripts ).
    Even though they are completing successfully, and I can see the logs like below, But it is not in detail. Both the detailed log screen we used to get in SAP, and the recent log screen in Redwood are provided here. Can you please suggest what I need to do to get the detailed logs in Redwood?
    The SAP detailed Logs:
    The Recent redwood logs.
    BR
    Madhu

    Hey Madhu,
    When you execute an exernal program that is already defined in SAP, from Redwood, it is still an SAP job for Redwood (not unix job), hence Redwood cannot obtain that details.
    the best way to do this is to install a platform agent in the Unix system and schedule the script directly from Redwood instead of through SAP.
    How/Where did you get the detailed log screen in SAP. Can you please provide the steps to reproduce?
    What you have now:
    Redwood-->SAP-->Unix
    What you should have:
    Redwood-->Unix.
    thanks
    Nanda

  • Log for abap program

    hi frnds  To be specific I would like to ask if there are logs (time, day, user) for the changes (or the activation) in a specific program or a function module or executing a abap program

    Hi,
    You can see the last change in a program in program attribute.
    Last changed by : 01.01.2014  XXXXXXX
                                    ( Date)          (User name)
    Last change in a function also can see using function attribures.
    General Data
    Last changed by : xxx
    Changed on        : 01.01.2014
    Also u can use version management to view the changes done by which user, date and time..
    Regards,
    Pavithra

  • Log for report program

    Hi experts,
    Can I have information about...if a program has been deleted then is there any log maintained for that??
    so that we can make sure that program has been deleted.
    Reg,
    Rajesh

    There is no log, when program is deleted.
    Probably you can verify with table TADIR after deleting a program.

  • Check system for running program

    Hello,
    I'm putting together a java application that is supposed to lunch another program (matlab). However I need to first check to see if the program has been started from outside my java application. Is there any way to queery the system to find out if there is a program running.
    I'm working in the windows environment
    Thanks,
    Michael
    [email protected]

    Thanks for the hints, I'm now trying to query the windows Task manager to find out if there is an active copy of the matlab application running.
    On your suggestion to check for a matlab API, I have looked into thier supported API functions but they are all beta and rather buggy.
    Thanks,
    Michael

  • How to trace the change log for a program ? both local and release versions.

    Hi experts,
    I encounter a very strange problem.
    I changed a program, created a new version TR, , there are three versions before my version which are all have been released.
    but there is one sentence which is not added by me, could anyone tell me how to find the reason why the sentence in my version.
    Any help would be apprecite!
    BR,
    Summer

    Hi,
    Not all the 3 TRs
    Goto SE03, Click on Find Requests under Requests/Tasks section.
    Give all the 3 requests names in Requests/Tasks, Give User name as *
    See any sub tasks are there in the above requests by double clicking on each request.
    Or
    Goto SE03
    Click on Search for Objects in Requests/Tasks under Objects in Requests
    Select the first entry  R3TR PROG give the program name.
    In below Request/Task Selection , check the status Released.
    See what all Requests are displayed, who are all the persons who changed them.
    Thanks & Regards
    Bala Krishna

  • Best Optimization settings on my PC for running Creative Suite programs?

    Hi, I just downloaded the Creative Suite on my PC. I am afraid the my PC is not currently set for best optimization for running programs such as Photoshop and After Effects. While working in After Effects I had problems with pixelated images. I'm working with a Lenovo (IBM), Intel (R) Pentium (R) CPU G2030 3.00 GHZ Processor, 4.00 gb of RAM (3.90 available currently), 64 bit OS, x64 based processor. I know it's not the ideal system, but I don't use it for anything else but the Creative Suite. Any suggestions besides pitching it and purchasing a mac?

    Sorry it was while working in Photoshop that I experienced pixelated images.

  • When running a BI session, what is "detailed/extended log" for?

    Hello all,
    I couldn't find any information about "detailed log" checkbox (forum, notes, online help, sap library, google).
    It is displayed in a popup when we run a BI session from SM35 transaction. It's also the LOGALL parameter ("extended log") of RSBDCSUB program.
    By debugging the system, I noticed that it was used only with All-screen and Error-only display modes. In No-screen mode, the BI session is run with detailed log on.
    In All-screen and Error-only modes, the message 00355 "Transaction was processed successfully" is not stored in the log if the detailed log option is off.
    Are there any other differences?
    Thx a lot

    Thx Harald, I missed it.
    But unfortunately, it doesn't work as described, or there is something I don't understand. You can try with the following code which changes FR 1234567890 bank name to sy-uzeit using FI02 transaction (please create the bank before running the program), and produces both S and W messages, whatever extended log is on or off. The only difference is about the message number 00355 as I stated previously.
    REPORT  zzysro_test6.
    PARAMETERS p_logall TYPE flag AS CHECKBOX.
    DATA ls_bdcdata TYPE bdcdata.
    DATA lt_bdcdata TYPE TABLE OF bdcdata.
    DEFINE d.
      clear ls_bdcdata.
      ls_bdcdata-program = '&1'.
      ls_bdcdata-dynpro  = '&2'.
      ls_bdcdata-dynbegin = '&3'.
      append ls_bdcdata to lt_bdcdata.
    END-OF-DEFINITION.
    DEFINE f.
      clear ls_bdcdata.
      ls_bdcdata-fnam = '&1'.
      ls_bdcdata-fval = '&2'.
      append ls_bdcdata to lt_bdcdata.
    END-OF-DEFINITION.
    DEFINE f2.
      clear ls_bdcdata.
      ls_bdcdata-fnam = '&1'.
      ls_bdcdata-fval = &2.
      append ls_bdcdata to lt_bdcdata.
    END-OF-DEFINITION.
    d sapmf02b  0100  x.
    f bdc_cursor  bnka-banks.
    f bdc_okcode  /00.
    f bnka-banks  fr.
    f bnka-bankl  1234567890.
    d sapmf02b  0110  x.
    f bdc_cursor  bnka-banka.
    f2 bnka-banka sy-uzeit.
    f bdc_okcode  =upda.
    DATA l_bi_qid TYPE apqi-qid.
    DATA l_group TYPE apqi-groupid VALUE 'ZSRO'.
    CALL FUNCTION 'BDC_OPEN_GROUP'
      EXPORTING
        group = l_group
        keep  = 'X'
        user  = sy-uname
      IMPORTING
        qid   = l_bi_qid.
    CALL FUNCTION 'BDC_INSERT'
      EXPORTING
        tcode      = 'FI02'
      TABLES
        dynprotab  = lt_bdcdata.
    CALL FUNCTION 'BDC_CLOSE_GROUP'.
    * now go to SM35 to start the session in A, E or N display mode
    * (N mode always use extended log on, whatever checkbox is ticked or not)
    * There are 2 messages issued by FI02: W210(BF00) (as the bank has been
    * flagged for deletion) and S207(BF00) ("bank modified")
    Edited by: Sandra Rossi on Jun 15, 2010 10:06 AM
    > In sample code above, I removed call to RSBDCSUB program so that we can choose the display mode in SM35 when we execute the BI session

  • We have "dbbackup.exe" in SqlAnywhere in BI 4.1 for running the transaction log truncation/backup. This wasn't present in BOXI 3.1. Any alternative for 3.1?

    1) OS version:
    OS Name : Windows Server 2008 R2
    2) BO version:
        BusinessObjects XI 3.1 SP05.
    3) My question:
        We have “dbbackup.exe” utility in SqlAnywhere in BI 4.1 for running the transaction log ( CMS and Audit) truncation/backup. But the same utility was not present in BOXI 3.1 SP05 for backup.
       Is there an equivalent/alternative utility in BOXI 3.1 SP05 for the same purpose? We use the command below for BI 4.1 Transaction Log truncation/backup:
    E:\Program Files\SAP BusinessObjects\sqlanywhere\BIN64>dbbackup.exe -c "dsn=<System DSN>;uid=< SQL_AW_DBA_UID>;pwd=< SQL_AW_DBA_PASSWD>;host=localhost:2638" -t -x -n "E:
    \Transaction_log_backup\CMS"  
    Any help or clarification on this issue would be greatly appreciated.
    Thanks in advance.
    Conor.

    Hi Conor,
    BOXI 3.1 SP05 does not include the dbbackup utility.  Instead, you issue SQL statements to create the backup.  We published a paper on the subject:
    http://scn.sap.com/docs/DOC-48608
    The paper uses a maintenance plan to schedule regular backups, but you don't need to do that if you want to simply create a backup when required.  To do that (along with transaction log truncation), you run the SQL statement:
    BACKUP DATABASE DIRECTORY 'backup-dir'
    TRANSACTION LOG TRUNCATE;
    For complete details about the BACKUP statement, have a look here:
    http://dcx.sap.com/index.html#1201/en/dbreference/backup-statement.html
    You'll need to execute the statement inside a SQL console - the paper above describes how to get that.
    I hope this helps!
    José Ramos
    Product Manager
    SAP Canada

Maybe you are looking for

  • Explain me about sap implementation in yarn manifacturing industry

    HI, can anybody explain me about sap implementation in yarn manifacturing industry.what type of process it is?either repetitive or SD

  • Portal not configured

    Hi All BI Experts, I need your advice for the follwing issue. My company does not have portal connection . We have BI7.0 SP16. Portal is not configured properly. What  are the pre requisite to configure portal. We use cognos portal for our web report

  • Disappearing Illustrator Layers/Assets, AE CS5

    Hey guys, First my specs, just in case: MAC OSX 10.6.6 AE CS5 10.0.1.19 8-Core 24 GB RAM I'm having the strangest issues with adobe illustrator layers in my timeline... they keep disappearing at random moments during playback. Somtimes its during RAM

  • WEBDEV Problem

    I have multiple schemas to work with on the same oracle server. I have created Webdev folders for each schemas. 1 --- when I try to access one webfolder, it asks for login and password. Then it takes me to the correct folder. 2. Second time when i tr

  • No Data returned for tabular form APEX 4

    Hi, I have a page that uses a tabular form, however it is not showing me any data. If I click the add row button and enter some details and press submit, the data is saved to the database but the page is refreshed and still shows me no data. I don't