Creation of file

Hi Abapers.
Can any body tell me how create the a logical and physical file by using FILE tcose.
Please tell me step by step.
<Moved thread, has nothing to do with ABAP Objects. Please choose your forums more carefully in future>
Edited by: Mike Pokraka on Aug 4, 2008 7:03 PM

hi,
Here is the process to create Logical File Path.
1)Go to tcode FILE.
2) Click on Logical File Path Definition. Give name "ZTEST" and some description.
3) Click on Assignment of Physical Path to Logical Path. and provide Syntax Group and physical path.
4) Click on Logical File Name Definition and give descrition, physical filename, Data format as ASC, Application area and logical path which you have created.
hope this helps you.

Similar Messages

  • DB creation control files

    Hello,
    when creating an Oracle Database manually. I seem to have trouble with the creation of my control files. When the manual creation fails and i view the error log, it is the control files that it seems to point to. In my initialisation file my control files are given the extension '.ctl' but i have noticed some examples are given the extension '.ora'. What is the difference here?
    Thanks in advance

    Hello
    In oracle Database creation, the file extension has no meaning. You can give any extension u want. your controlfile can have the extension .alano also.
    This applicable for all Datafiles, logfiles....
    What is the difference here?There is no difference here..
    Its just for easy differentiating we give the extensions

  • Creation of  File through Scheduled Batch Job

    Hi Friends.
    How to create a file through scheduled batch job .ie data has to be sent in particular file which should be stored in SAP so that The file is expected to provide quick reconciliation when data in SAP gets archived .
    With thanks and regarsds
    Uma

    Which part? The creation of the file?  Since running in background, you would need to create the file using DATASET statements on the appliation server.  You will not be able to put the file on any frontend PC or server, only on the application server where you program is running.
    Regards,
    Rich Heilman

  • Creation of file through batch job scheduling

    Hi friends,
    I have a situation where I need to select vendor / customer and after that I need to select one of the option between invoice or payments when User select vendor then it should create a file through schedule batch job .
    I am not getting how to do it .
    Please help me if any one knows about it.
    Thanks in advance.
    Gaurav

    Which part? The creation of the file?  Since running in background, you would need to create the file using DATASET statements on the appliation server.  You will not be able to put the file on any frontend PC or server, only on the application server where you program is running.
    Regards,
    Rich Heilman

  • Problem in creation of File with random numbers

    hi all,
    i have written a function which generates random num,ber and stores in a text file.
    public static void main(String[ ] args) {
    int count=0;
    System.out.println("Generate Files");
    Random R=new Random();
    File F= new File("C:/e.cartesian");
    try{
    FileWriter fw=new FileWriter(F);
    int c=0;
    int rand=200;
    int l=0;
    for(int i=0;i<3;i++)
    {    for(int j=0;j<5;j++)
    {   for(int k=0;k<80;k++)
    c+=1;
    double d=R.nextDouble()*100;
    Double D=new Double(d);
    int dtoi=D.intValue();
    float itof=(dtoi/(float)100.0)+R.nextInt(200)+l;
    Float f=new Float(itof);
    fw.write(f.toString()+" ");
    System.out.println(f.toString());
    fw.write("\n");
    count+=1;
    l+=200;
    System.out.println("Count==>"+count);
    }catch(IOException e){}
    Problem is , if i run this code with condition k<79 or some other smaller value than 80 it doesnt save any value in text file.

    If you close the file after writing it works: fw.close();

  • Issue in segment creation for File to IDOC mapping

    Hi,
    I have file with many feilds, i need to create a segment in IDOC for unique combination of 2 feilds.
    eg:
    408
    430050
    segment
    208
    430050
    segment
    208
    430050
    208
    460100
    segment
    208
    452010
    segment
    408
    432000
    segment
    208
    432000
    segment
    the value for the combination of first column and 2nd column are equal it should trigger one segment instead of 2segments else(for different combination) trigger the segment
    eg from table:
    in table for 208,430050 is occuring twice but it should trigger only one segment(unique combinations of 2 columns), for all other combinations it should trigger one segment for each.

    Hi Swapna,
    You can use below mapping.
    UDF:
    Execution type : All Values Of Context
    public void removeDuplicates(String[] context, ResultList result, Container container) throws StreamTransformationException{
    HashSet<String> hashSet = new HashSet<String>();      
            for (int i = 0; i < context.length; i++) {
                if (hashSet.add(context[i]))
                   result.addValue(context[i]);             
                else {
                   result.addSuppress();              
    Reards,
    Praveen.

  • Is there limit to file creation of file on application ?

    Hello Gurus,
    I have a huge internal  table nearly of size 3-4 GB which is being downloaded on application server.
    using ws_download.
    Now when this process is going on the program is giving a dump saying the maximum limit is reached.
    And in the code analysis part, The arrow is pointed to the line of " transfer to file statement "
    So my question is whether there is any such limit to the file we create on the application serevre ?
    If so then plz suggest me some solution over this problem.
    As when I am trying to download the file on presentation server using open_dataset it is again giving dump in some standard sap code.
    Thanks in advance!!

    I was able to merge with 40 different fields.
    I didn't try with more.
    Yvan KOENIG (from FRANCE lundi 29 juin 2009 11:38:49)

  • Creation of file object

    I am working on jsp
    I want to create a file object with path "http://localhost:8080/examples/"
    so i have tried to create file with URI as parameter but i'm not able to succed. so
    please do help me. thanks in advance.
    actual situation is any remote client must be able to create a file on the server. so please suggest a way for that

    i just get some exception raised.No. Exception has a name, a message, and a stack trace.
    Print them.
    It will give you a LOT OF ideas on what went wrong.
    >
    when i referred this page
    http://java.sun.com/docs/books/tutorial/networking/url
    s/readingURL.html
    at the end of the above mentioned page it says set
    the proxy host ..... can any one explain me what is
    it and how to do that.
    Proxy could be an issue. But are you using a proxy on your test machine?
    If not, then it is NOT the source of your problem.

  • Creation of file using URI

    I am working on jsp
    I want to create a file object with path "http://localhost:8080/examples/"
    so i have tried to create file with URI as parameter but i'm not able to succed. so
    please do help me. thanks in advance.
    actual situation is any remote client must be able to create a file on the server. so please suggest a way for that

    Which problem exactly are you occurring? At which step are you failing?
    1) Get request parameter using HttpServletRequest#getParameter().
    2) Use request parameter for file path or filename somehow.
    3) Create file using new File(path, name).
    4) Put contents in file?
    5) Write file using Writer#write() or OutputStream#write().

  • Creation of files on server from client

    i want to create a file on server from client.
    so i have to create the file using uri that resides on server, but i am not able to create file using that URI
    i want to create in this location.
    "http://localhost:8080/web/a.jsp"
    so please give me the syntax for that.
    thanks in advance

    i checked that url........but its talking ablut urlconnection and url......but i want to create file with uri....could u plz help me
    thx & regds

  • Creation of file using relative path

    I am working on JSP
    I want to create a file object by passing a relative path as parameter to
    File f = new File("<relative path>");
    i encounter the following error
    "it says server cannot find the file in the path specified."
    I have searched the forums but not able to get any relevant expalination.
    Its an urgent requirement. So please reply. Thanks in advance.

    I notice that servletContext.getRealPath()
    returns path from root directory to the ../webapps/examples folder
    am i correct or it can get real path for any file residing in any subfolder
    like ../webapps/examples/a/df/a.txt ?

  • Namespace Creation for file to idoc scenario

    Hi ,
    while creating new  namespace in integration repository for file-> XI-> idoc scenario ( that is data is to be pushed from a file to R/3 using idoc ) we have to enter the connection data viz:
                                           system :..............
                                           Client .................
    Pl confirm the above system and client to be mentioned is of XI server or R/3 system.
    Further when we go for
                                   imported objetcs ->
                                                IDOCS -import of sap object-->
                                                Application server Name :....................
                                                System No:..............................
                                                User :.................
                                                Name :................
                                                Pwd:.................
    Pl confirm the above data to be mentioned is of XI server or R/3 system.
    pl help.

    Hi,
    <b>while creating new namespace in integration repository for file-> XI-> idoc scenario ( that is data is to be pushed from a file to R/3 using idoc ) we have to enter the connection data viz:
    system :..............
    Client .................
    Pl confirm the above system and client to be mentioned is of XI server or R/3 system.</b>
    Ans <b>R/3</b>
    <b>Further when we go for
    imported objetcs ->
    IDOCS -import of sap object-->
    Application server Name :....................
    System No:..............................
    User :.................
    Name :................
    Pwd:.................
    Pl confirm the above data to be mentioned is of XI server or R/3 system.</b>
    Ans: <b>R/3</b>
    Regards,

  • Newbie Question On Library Creation and File Duplication

    I'm new to iTune's hard drive file organizing structure, so bare with me.
    I have a single directory on Hard Drive 2 (HD2) called "Music". When I create a music library in iTunes from that music directory source, iTunes appears to create its own new directory in "Macintosh HD/Users/iTunes/Music" (HD1) and thus I now have duplicate directories of music on two different hard drives, HD1 and HD2. Add Time Machine to this mix (which backs up both drives) and I now have four directories with duplicate music. Nice.
    Okay. So, assuming this is the case (and please correct me if I am wrong), then my question is, once I create a Library via iTunes program, can I now delete my original HD2/Music directory of files since iTunes is referencing its newly created directory in HD1? Or, is there some sort of association still going on and I must live with the duplicate directories and subsequent quadrupled directories? (Which I know I can selectively exclude some stuff from Time Machine, but it is easier to back up everything.)
    Thank you in advance for your input and advise.

    Yes once music has been added to iTunes you can remove it from its original location with way you have iTunes set up at the moment.
    On the other hand you could change the iTunes preferences so that it does not copy files into the iTunes library, instead it leaves the files were there where and points to them.

  • Creation of file that have path with spaces (on aplication server)

    Hello all,
    Does anybody know how to do this? When I try to save save file with path like
    '/usr/sap/some dir/file.txt' than '/usr/sap/some' is being created (everything after first space is being cut). What should I do?

    Hi Marcin,
    you may surround the path with quotes ('').
    I hope it helps. Best regards,
    Alvaro

  • PDF creation - deleted file?

    I've just come back from my hols to find that that clever d*ick who covered for me decided to do a little housekeeping and delete a few PDFs. Unfortunately, that also ruined InDesign's ability to create PDFs any more - obviously it went as far as binning system files as well!!!
    He has since been caned but I'm trying to find out what files I need to retrieve and where from. Time Machine will have it all on backup, but whenever I try to create a PDF, I select the preset, select export and it says 'Cannot open resource file'.
    I don't particularly want to re-install the lot again, particularly since it's been updated since it was first installed. Anyone got any ideas? Currently I'm having to export as EPS to Distiller, but it means I have to put manual crops on all my files...

    Deleting a few PDFs by itself cannot
    ruin InDesign's ability to create PDFs any more. Other files must have been moved or deleted.
    You should attempt to fully reinstall InDesign.
    - Dov

Maybe you are looking for