How to create the log file?

Hi,
I am working with the transcation f-30, But this question is on technical area.
So after complition of BDC program excution, if you go for this screen in ALL DISPLAY MODE , you will get one list of documents, which are POSTED or SIMULATED.
So Now my question is,
I want to save this records as a LOG FILE to application server. For this I am having selection screen parameter too.
But how can I Transfer this list to the output file?
Thanks,
Naveen Inuganti

Hi
U need to "write" the log in the file instead of in the list.
See the help for OPEN DATASET, TRANSFER DATASET statament
Max

Similar Messages

  • How to create the log file in remote system using log4j.

    Hi,
    How to create the log file in remote system using log4j. please give me a sample code or related links.The below example i used for create the log file in remote system but it return the below exception.Is there any authandication parameter for accessing the remote path? Please help.
    public class Logging
    Logger log=null;
    FileAppender fileapp=null;
    public Logging(String classname)
    try
    log = Logger.getLogger(classname);
    String path=" [\\192.168.0.14\\c$\\LOG\\d9\\May_08_2008_log.txt|file://\\192.168.0.14\\c$\\LOG\\d9\\May_08_2008_log.txt]";
    fileapp = new FileAppender(new PatternLayout("%r [%t] %-5p %c %x - %m%n"),path, true);
    log.addAppender(fileapp);
    log.info("Logger initilized");
    }catch(Exception ex)
    ex.printStackTrace();
    java.io.FileNotFoundException: \\192.168.0.14\c$\LOG\d9\May_08_2008_log.txt (The network path was not found)
    at java.io.FileOutputStream.openAppend(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at org.apache.log4j.FileAppender.setFile(FileAppender.java:290)
    at org.apache.log4j.FileAppender.<init>(FileAppender.java:109)
    at annwyn.logger.BioCapLogger.<init>(Logging.java:23)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Please help.
    Thanks in advance.
    Saravanan.K

    Sorry path is missing for the above request.
    path="\\192.168.0.14\c$\LOG\d9\May_08_2008_log.txt ";
    please help.
    Saravanan.K

  • How to create different log files for each of web applications deployed in OC4J

    Hi All,
    I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know
    1. how to create different log files for each of my deployed web applications ?
    2. what are the advantages in running multiple instances of oc4j and in what case we should run
    multiple instances of OC4J ?
    3. how to run OC4J as Windows2000 Service rather than Windows2000 Application ?
    Thanks and Regards,
    Kumar.

    Hi Avi,
    First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
    I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
    I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
    Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
    Thanks and Regards,
    Ravi.

  • How to create the SWF file which was included surrogate pairs.

    I would like to make sure how to create the SWF file which are included surrogate pairs.
    The error of outside the scope of unicode occurred when I compiled(mxmlc) the as file which was set surrogate pairs to 'Unicoderange'.
    Ex, I set the '  '(UTF-16 is '20B9F') to 'Unicoderange'.
    However, I cannot add the surrogate pairs.
    The error of outside the scope of Unicode occurred when I compiled the AS file.
    The reason of error was that the Unicode(UTF-16) of surrogate pairs is invalid.
    Then, I read the following pages.
    These pages are written that unicode-range supported surrogate pairs.
    http://livedocs.adobe.com/flex/3/html/help.html?content=fonts_07.html
    http://www.w3.org/TR/1998/REC-CSS2-19980512/fonts.html#descdef-unicode -range
    So please let me know how to create the SWF file which are included surrogate pairs.
    Environment
    - Flex3.5a
    - TTC: meiryo(ver6.02), msgothic(ver2.50), mspgothic(ver2.50)
    Thanks,
    Takeshi Ishihara.

    I've been able to create project jar files in Eclipse by selecting Export from the File menu, then choose Java - Jar file - and provide the required information, name, destination folder etc. But when I do this, I do not export other jars on the build path this way nor do I expect to do this. I am only concerned with creating a jar file of my own work. A jar file does not "contain" other jar files. If the jar file contains the main method, and requires other jars for it's execution, then you may wish to include a reference to required jars on the class path entry of the Manifest file of the jar file you create. I'm not sure how to create a Manifest file in eclipse though..

  • How to create the War file

    Can you help me , how to create the war file.
    I am using the tomcat 5.0 server, i have book folder in webapp.
    how i can create the war file? what is command?
    help me
    ramya

    using jar command u can create a war file
    jar -cmf myweb.war *.*<files to be included in war file>
    regd,
    ritu

  • How to create the exe file for java project.

    How to create the exe file for java project.
    am done the project in java swing , i like to create the project in exe format, so any one help for me,
    send the procedure for that.
    thanking u.

    How to create the exe file for java project.Have you ever heard of google? I pasted your exact "question" into a google search:
    http://www.google.com/search?q=How+to+create+the+exe+file+for+java+project.
    and got several useful links.
    Better search terms might yield even better results.
    Sheesh.

  • CELL-01528: Unable to create the log file in directory

    Hi ,
    We have Qtr-Exadata
    I'm getting error msg in 2 of Storage Servers when trying access cellcli
    CELL-01528: Unable to create the log file in directory
                             /opt/oracle/cell11.2.2.3.2_LINUX.X64_110520/cellsrv/deploy/log.
    Error: Couldn't get lock for
                             /opt/oracle/cell11.2.2.3.2_LINUX.X64_110520/cellsrv/deploy/log/cellcli.lst.
    in that directory there are too many files [cellcli.lst.0.lck...............cellcli.lst.0.99.lck]
    whereas in the third stg-server which run smoothly there are three files [cellcli.lst.0,cellcli.lst.0.1,cellcli.lst.0.2]
    without any file with "lck" extension
      ( Sorry for bad English)
    BR
    Sami

    Hello, check directory permissions

  • How to create the exe files for java application

    How to create the exe file for java application?
    got any software to do that?
    Thanks

    In terms of converting java applications into exe files, there are 3 schools of thought:
    1) Instead of converting it to an exe, convert it to a jar file. Jar files are more portable than exe files because they can be double-clicked on any operating system. The caveat is that a Java interpreter must be installed on the target computer for the double-clicking to work.
    http://developer.java.sun.com/developer/Books/javaprogramming/JAR/
    2) Create an exe launcher that, when double-clicked, attempts to find a Java interpreter on the local computer and launches the Java application. The exe file is still double-clickable but whether your java application runs depends on whether a Java interpretor is installed on the target computer.
    http://www.sureshotsoftware.com/exej/
    http://www.objects.com.au/products/jstart/index.jsp
    http://www.duckware.com/products/javatools.html
    http://www.ucware.com/jexec/
    http://www.rolemaker.dk/nonRoleMaker/javalauncher/
    http://www.jelude.cjb.net/
    http://thor.prohosting.com/~dfolly/java/index.html
    3) Create an exe launcher that bundles a Java interpretor. Same as above but when the exe file is double-clicked, it searches for a Java interpreter and if one is not found, it installs one on the target computer. The caveat is that the exe file would have an overhead of 10 MB in size for the interpreter.
    http://www.excelsior-usa.com/jet.html (evaluation version available)
    4) Convert the Java application into a native exe file. The caveat is that if you use Swing for your GUI, it won't be converted. Also this option is still somewhat experimental.
    Can't think of any free options right now.

  • How to make the Java Logging to create the log file

    Hey,
    I need some help. Below is my code that create a log file for my application however, there is no log file being created when i perform a MarsLogger.log.info("test") in my code for my application.
    * LogManager.java
    * Created on April 10, 2006, 11:42 AM
    package comp1.mars.beans.ejb.util;
    import java.util.logging.*;
    import java.io.*;
    public class LogManager {
    /** Creates a new instance of LogManager */
    public LogManager() {
    protected static Logger getLogManager()
    //String dir = "C:/Sun03/studio5u1_se/appserver7/domains/domain1/server1/logs/an/my.log";
    String dir = "my.log";
    Logger logger = Logger.getLogger("compl1.mars.bean.ejb");
    try {
    // Create an appending file handler
    boolean append = true;
    FileHandler handler = new FileHandler(dir, append);
    //FileHandler(String pattern, int limit, int count, boolean append)
    // Add to the desired logger
    logger = Logger.getLogger("compl1.mars.bean.ejb");
    logger.addHandler(handler);
         logger.setLevel (Level.ALL);
    } catch (IOException e)
    e.printStackTrace();
    } catch(SecurityException se)
    se.printStackTrace();
    return logger;
    }//end of method
    }//end of class
    * MarsLog.java
    * Created on April 10, 2006, 3:24 PM
    package comp1.mars.beans.ejb.util;
    import java.util.logging.*;
    * @author Administrator
    public class MarsLogger extends LogManager {
    /** Creates a new instance of MarsLog */
    public MarsLogger() {
    public static Logger log= getLogManager();
    }

    What is the level of thte handler?
    http://java.sun.com/j2se/1.5.0/docs/api/java/util/logging/Handler.html#setLevel(java.util.logging.Level)

  • How to create a log file for bapi return structure

    Hi ppl,
         I am using BAPI_PO_CHANGE to mark the delivery of POs as complete after many validations through a classic report now my concern is i have been asked to create a log file which details the errors in the POs which is in the bapi return structure.
       I don't know how to do can any one help at the earliest.
    Regards,
    Bharathy.

    hi
    pls see this thread...
    it may help you...
    /people/kamalkumar.ramakrishnan/blog/2007/01/10/a-primer-on-using-and-creating-sap-application-log
    thx
    pavan
    *pls mark for helpful answers

  • How to create different log files for different users in log4j

    I want to create different logs for different users, using different appenders for each user so that logs are created in his file only.
    Confusion:How to direct them to different files in my logger class

    Hi Avi,
    First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
    I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
    I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
    Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
    Thanks and Regards,
    Ravi.

  • How to create the logical file name

    Hi All,
        I have requirement where i need to post the Inventory Management data. for this i need to execute std. program RM07MMBL which is having logical file name in the selection screen. but i have placed my input file in application server.
       Can any one tell how to create the Logical filename which refers the physical path. I also tried <b>t-code SF01 & Table - FILENAMEC</b>I and found that we need to add an entry in this table but i really dont know how we have to do since this table cannot be maintained in SM30 also..
      Help Me.
      Thanks in Advance!...
    Regards,
    Ramkumar

    Hi Ram,
    Try using FILE transaction code...
    Follow these steps to create:::
    Double click on Logical file Path Definition
    Click on New Entries,
    Give Logical file Path name as Z_LOGICAL PATH and save it
    now choose this path and double click on Assignemt of Physical path to Logical path
    double click on the OS name
    Give some description and give some Physical path name from AL11 transaction and save it
    Now Double click on Logical File Name Definition,
    Click on New Entries,
    Give some logical file name: Z_LOGICAL_FILENAME
    Physical file: test
    Data Format: BIN
    Logical Path: Z_LOGICAL PATH
    Hope this helps
    Regards,
    Phani
    Message was edited by:
            Sivapuram Phani Kumar

  • How to create a Log file on Client machine

    Hi All,
    I am trying to create a log file on my local machine using TEXT_IO.FILE_TYPE in a stored procedure but it is throwing a compiler error as Error(5,10): PLS-00201: identifier 'TEXT_IO.FILE_TYPE' must be declared. I seem it is occuring because of WebUtil and I am using Oracle SQL Developer on my machine.
    Is there any way to create log file on local machine.Can anyone help me out, Since three day I am struging to get out from this.
    With regards
    R e h a n

    Hi,
    TEXT_IO.FILE_TYPE Package is used in Oracle Forms. Please Post in the relevant Forum for Questions for these.
    Forms
    You can Use the UTL_FILE in PL/SQL to create Log Files on the database server directory and Share the directory.
    Thanks,
    Shankar.

  • How to create the .BPDX file required to scedule PDF index updates?

    Hi All,
    I'm having trouble creating the .BPDX file required to schedule index updates. There is very little information on the subject & i have been going round in circles for the last couple of days.
    I have created several files that appear to initiate the task (ie. will launch Acrobat), but they don't do anything once open. I have tried several different file path formats, etc, with no luck & i cant find any examples of what the BPDX file should actually contain?
    I'm using a Mac running Acrobat Pro 9.4.3. Any help would be much appreciated...
    Thanks, Jason.

    Yes, I find this a bit frustrating too. I managed to glean some information a while ago from earlier documents that appear to have been removed since. With this information I've managed to successfully regenerate a catalog using a BPDX file, on Windows. And the instructions Adobe gives are circular - they say to search for BPDX, but all you get are the same hits, which tell you to search for BPDX ....
    I assume that you've already enabled the use of BPDX files in the preferences.
    For a single catalog, the BPDX file should contain the full path to the .pdx file, quoted if necessary, followed by flags. To rebuild a catalog, add the flag "/rebuild". For example (windows format)
    "C:\mypdffolder\mypdfindex.pdx" /rebuild
    If you run Acrobat.exe with the .bpdx file as an argument, it opens Acrobat and regenerates the index. I've tried this in a script, and it works. What I haven't yet figured out is how to close Acrobat after it's done.
    Hope this helps. I know this is Windows and not Mac, but it should be the same format.
    Ken Dyall.

  • How to create outside Logging file in osb 11g using log4j.jar?

    Hi all,
    Currently, i am using osb 11g to develop a system. In the system we need to create a log file using log4j.jar library. This sub-program is working in the osb 10g base but fail to work in the osb 11g base. Can anyone give me some advice about this matter? Have anyone created one like this in 11g? Is it successful?

    Sorry path is missing for the above request.
    path="\\192.168.0.14\c$\LOG\d9\May_08_2008_log.txt ";
    please help.
    Saravanan.K

Maybe you are looking for