How to save the report file in network drive

Hi experts,
Can any one of you pls tell me how can  save the report file in network drive.
My requirement:
by running a report i wll get daily data into a list.SO, i want to keep this in a common drive (network drive:Z) where every one can acces the txt file.
I want the code in SAP to design this.
Awaiting for an early reply.

Is the Z drive in the application or presentation server ?
make sure the server has write access to the required folder
for presentation server
CALL FUNCTION 'GUI_DOWNLOAD'
  EXPORTING
    filename              = 'c:\test_xls.xls'
    filetype              = 'ASC'
    write_field_separator = 'X'
  TABLES
    data_tab              = itab.
for the application server, use
data: outfile(120).
  OPEN DATASET outfile FOR APPENDING IN TEXT MODE ENCODING DEFAULT.

Similar Messages

  • How to print the report file name and path and the last mod date

    Good morning,
    I am trying to print on the footer of the report the report file name and path as well as the report last modification date.
    Anyone would know how I can do that? I have checked the doc but found nothing.
    Thks. Philippe.

    Did you ever determine how to print report name and report last mod date?
    Thanks

  • How to save the pdf file or word doc into sap table

    Hi Expertu2019s
       I have a pfd file in my presentation server .Now I want to save the pdf file into sap table using module pool program. Whenever i need, I want to open that file from the table and show it in the Screen. Please any one tell me how I can save the file. What is the table name, guide me.
    Regards,
    S.Nehru.

    Hi,
    Try the following code
    FORM gui_upload.
      DATA: lv_filetype(10) TYPE c,
            lv_gui_sep TYPE c,
            lv_file_name TYPE string.
      lv_filetype = 'PDF'.
      lv_file_name = <name of ur file>.
    DATA: tb_file_data TYPE TABLE OF text4096.
    * FM call to upload file
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = lv_file_name
          filetype                = lv_filetype
          has_field_separator     = lv_gui_sep
        TABLES
          data_tab                = tb_file_data
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          OTHERS                  = 17.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "gui_upload
    I dont think you can save the data into sap tables in PDF format.
    With the above code you can save data into an internal table.
    Regards,
    Manish

  • How to save the CorelDraw file as Tiff.

    I am new to CorelDraw. How to open the CorelDraw file in CorelDraw and save it as Tiff format using Visual Basic. Kindly help me with examples.
    Thanks,
    Prabudass

    Sorry but this is a Photoshop forum nothing to do with CoralDraw.
    You could try here. http://coreldraw.com/forums/

  • How to save the client file to DB?

    I use ENCTYPE="multipart/form-data" in the html,post the file binary stream to my servlet,but I don't know how to get the file binary stream and save them to the DB :
    The html:
    <form name="frmMain" method="POST" ENCTYPE="multipart/form-data" action="servlet/myservlet">
    <input type="file" name="fileName" size=35>
    <input type="submit" value="submit" >
    </form>
    The servlet included:
    String sql="insert into test(id,photo) values(?,?)";
    PreparedStatement ps=conn.prepareStatement(sql);
    ps.setInt(1,getNextId());
    ps.setBinaryStream(2,in,in.available()); //"in" is InputStream
    ps.executeUpdate();
    ps.close() ;
    how to get InputStream?how to write my servlet ?
    Thank for any help!
    Thanks in advance!

    Well, I'm not sure to have understood what you want to do, but you can get the inputStream of the client with HttpServletRequest.getInputStream() (for example in the doPost() method of your servlet).
    Just be careful that, in this way, you will retrieve the whole HTTP stream, including headers and multipart separators. You should parse this stream if you want to get only the binary stream of the file posted...
    Well, in fact you just have to implement/obtain a basic upload servlet...
    Hope it helps...

  • I am in hurry,how to save  the xml file without attributes

    i have the following xml file with attributes,
    <?xml version="1.0"?>
    <Ve2.Configuration>
         <Ve2.Displaymanager>
              <type type="combobox">eVeDisplayStandardType</type>
              <setCounter type="bool">false</setCounter>
              <frames type="textfield">20</frames>
         </Ve2.Displaymanager>
    </Ve2.Configuration>
    but i want to save it without attributes, that means, my saved xml file look like this.:
    <?xml version="1.0"?>
    <Ve2.Configuration>
         <Ve2.Displaymanager>
              <type >eVeDisplayStandardType</type>
              <setCounter >false</setCounter>
              <frames20</frames>
         </Ve2.Displaymanager>
    </Ve2.Configuration>
    how can i do it with java.

    If you know the format of the XML file, then you can write a straight forward XSL file to transform it.
    Paul
    www.codetelligence.com

  • HOW TO SAVE THE FLAT FILE.

    Hi Exports,
         Flat file comes to our Internal table.then i build our logic.After that i wann to save this flat file is some location(may be in presentation/ application server).that to file name along with date,time and location.agin i run the pgm and save same location and file name is also same.
    here iam giving file format.
    emp no               file name        location.
    1                          XXX               h:\kkk.txt
    2
    3
    4
    5
    again i am running same pgm
    emp no               file name        location.
    6                           XXX               h:\kkk.txt
    7
    8
    9
    10
    file name and location same but diff emp no.
    Regards,
    Krishna.

    Hi Krishna Kumar,
    if u wnat to download in to presentation server..
    then use GUI_DOWNLOAD.
    if u want to save in application server (in AL11) then u need to use
    open data set...
      DATA : dl_string(250).           " String
    *--Open data set
        OPEN DATASET dg_filename FOR INPUT IN TEXT MODE ENCODING DEFAULT.
        IF sy-subrc <> 0.
          dg_subrc = sy-subrc.
        ELSE.
    *--Transfer data
          DO.
            READ DATASET dg_filename INTO dl_string.
            IF sy-subrc = 0.
              APPEND dl_string TO dt_data.
              CLEAR  dl_string.
            ELSE.
              EXIT.
            ENDIF.
          ENDDO.
    *--Close data set
          CLOSE DATASET dg_filename.
        ENDIF.

  • How to SaveAs the MSword file into xml file format using Java APIS?

    Hello all,
    I want to convert MSword file into Xml format using java APIS or any other inbuilt APIS that i can integrate in Java code.

    Sorry, that doesn't make much sense.
    The XML you gave is a configuration file for txt2xml utility. It doesn't represent the output format.
    Are you a user of this utility?

  • I download, but always saves files of 1KB.  How can I save the whole file.

    I registered the unlock of QT Pro. I try to download, it tries to save audio file as something.mov, but the file is 1KB in size. It actually does not save the whole thing.
    How can save the whole file from a URL?
    Thanks,
    Juan

    The site is probably using pointer movies which may indicate that the movies are streaming and so cannot be saved. I'd suggest checking with site's support staff and ask if the movies are downloadable or are streaming only.

  • In oracle 2.5 version report builder how to add option to generate/save the report as pdf file?

    I am working with reports of 2.5 version and i got a requirement for adding an option to save the report in pdf format. Can anybody please help me on this asap
    Thanks & Regards

    Are u sure about  the report version.
    Please do upgrade  while  even in oracle  they almost stopped for new version -Developer suite

  • How to store the data coming from network analyser into a text or excel file

    Hii everyone
    I'm using Agilent 8719ET network analyser and wish to store the data coming from netowrk analyser into a text file/ excel file.
    Presently I'm able to get the data on Labview graph using GPIB . Can anyone suggest how to go ahead after collect data sub vi. How can the data be stored into a file apart from showing on the graph?
    Attached is the vi for kind consideration...
    Looking for help
    Regards
    Rohit
    Attachments:
    Agilent 87XX Series Exceed Max Meas.vi ‏43 KB

    First let me say that your code really looks pretty good. The data handling could be made more efficient by calculating the number of datapoints that are going to be in the completed dataset and preallocating the entire array -- but depending upon your answer to my questions, the logic in the lower shift register may be going away - so we won't worry about that right now.
    The thing I need to know before addressing the data storage question is: Each time you call "Collect and Display Data.vi", how many element are in the array? Are you reading single data points, or a group of data? (BTW: if the answer to that question is obvious based on the way the other VIs are setup, I don't have the drivers so I can't tell what the setup values are.) Second, how fast does the loop iterate? Are we talking msec per loop?, seconds? fortnights?
    The issues here are two-fold: how much data? and how fast is it coming? The answer to these will tell you how to save the data.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Can't save a report file in the Reports Builder

    dev environment : w2k, Oracle92iDS(rel 2) and patch set 9.0.2.2.0
    Problem description :
    Saving a report corrupts the report file(jsp, rdf) in the reports builder, when a report has the bind variable used in the functions.
    I can execute the report well, if I don't try to save .
    The moment the file is saved and the report can never be reopened and run.
    Please note it works fine when there is no bind variabled used in the function. Here are the steps to reproduce.
    Can someone verify this, if so is there an workaround for this problem on the Reports Builder?
    ===
    set serveroutput on
    create or replace
    package Q_REP_test
    as
    type drec is record
    sdate date
    type dreccursor is ref cursor return drec;
    Procedure Get_sysdate(retdate out dreccursor);
    procedure add_days_tocurdate(no_of_days in number, retdate out dreccursor);
    end q_rep_test;
    show errors
    create or replace
    package body q_rep_Test
    as
    procedure Get_sysdate(retdate out dreccursor)
    is
    begin
    open retdate for
    select sysdate retdate from dual;
    end;
    procedure add_days_tocurdate(no_of_days in number, retdate out dreccursor)
    is
    begin
    open retdate for
    select sysdate+no_of_days retdate from dual;
    end;
    end q_rep_test;
    show errors
    ===
    Invoke the SP as follows:
    ===
    function QR_1RefCurDS return q_rep_test.dreccursor is
    tempc q_rep_test.dreccursor ;
    begin
    q_rep_test.add_days_tocurdate(:p_1,tempc);
    return tempc;
    end;
    ===
    1. Create a report
    2. create an user parameter(p_1)
    3. add a pl/sql as above
    4. run it(to verify the report works)
    5. save it.
    6. close the report
    7. Open it again, you get an as
    "REP-0002: Unable to retrieve a string from the Report Builder Message file". Now it is corrupted and can't be used at all.

    Mac OS X 10.9.2
    MacBook Pro Retina 15" Late 2013 w/ nVidia GT 750M
    Adobe Audition 6.0 Build 732 (64 bit)
    Downloaded WAV file from internet in a ZIP. Unzipped it. Played it in iTunes. Quit iTunes. Right clicked the file and chose Open With and Adobe Audition CC. I'm pretty sure this is the first time I've opened Audition on this computer, since I just recenly upgraded from an older MacBook. Edited the WAV, had the issue. Read the forums, closed and was prompted to save. Saved and then it finished closing. Right clicked on the file again and chose Open With and Adobe Audition CC. Now the file gave me the option to Save or Save As depending on how much further I edited the file, which was just cutting out more of the track. The razor tool, though, still not available. Had to put the cursor where I wanted, then used the Shift and Home buttons to select the beginning part of the track and the Delete key to remove it.

  • Save the pdf file in after report trigger

    Hi friends,
    How can I save the report PDF result file in table from after report triger?
    I am using Oracle report 10g. So is it possible to do that.
    thanks

    You can install the pluggable database destination from OTN.
    http://www.oracle.com/technology/products/reports/pluginxchange/index.html
    After deploying it on the reports server you can print the PDF to a BLOB column of a table in the database.
    An other "older" option is described over here:
    http://technology.amis.nl/blog/?p=576
    Hope this helps
    Marcos

  • How can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,-

    how can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,…"

    It sounds like if you open Preferences in Word there will be a place where you can specify where to store autorecover files. Right now it sounds like it's pointing to somewhere that doesn't exist.

  • HT201361 Is it possible to save the screenshot files to a different folder than desktop. How can I change the folder?

    Is it possible to save the screenshot files to a different folder than desktop (that is the default). How can I change the destination folder? Thank you, Sal

    To change the screenshot capture location to a new place on your Mac, first think of a location that would serve you properly. We like to place ours in a "Screenshot" folder located inside of the User's "Pictures" folder. To change the location to this new location, open the Terminal and enter the following command:
    defaults write com.apple.screencapture location /Users/[u]/Pictures/Screenshots/
    Replace "[u]" with the name of the user on your system. Once you have entered this command, let's restart the screen capture utility by restarting the SystemUIServer by entering the following command:
    killall SystemUIServer
    You can optionally log out and back in instead of entering this second command, thus restarting the SystemUIServer. Once restarted, all screen captures taken from here on out will end up in your /Pictures/Screenshots/ folder in the User's home folder on your Mac.

Maybe you are looking for

  • After complete OS reinstall, software DVD's are not recognized

    I recently had to completely reinstall my OSX and wipe my HD. I did this for 'spring cleaning' so to speak. After my Erase and Install OSX I started reinstalling the various software I use. These included both CD and DVD install discs. Smaller progra

  • 8mm movie conversion

    I have about 1200 feet of old 8mm movie film that I would like to have converted so that I can import it into Apple's iMovie where I can edit it and make a movie of it and put it on a DVD with menus. What format do I want to have it converted to ? Wh

  • MAC AddressBook and BB Desktop Software

    HI, my problem is  that for some cards ( all that have company filled) after the sync, it duplicates these ones in BB and in the Address Book. I have tried to use always the same fields between BB and Address Book but no good, he duplicates more than

  • (SOLVED) Lock screen suddenly doesn't work as expected

    It doesn't matter which lock screen (PIN, swipe, etc.) I choose, after the first unlock (after a reboot or change of lock screen), the phone no longer locks. Using the power button to lock doesn't work and I have the phone set to lock right away on s

  • MemoryOutOfError in jvm native heap

    hi, i am getting MemoryOutOfError at JVM native heap. anybody tell me why this is coming ? thanks Rams