How to download a clob file from a table to my local drive?

Hii Everyone,
I'm havig a table of this structure
Create table r_dummy
c_clob_file clob
How to download this file into my local drive?Please give me some hints.Can this be done using dbms_lob??
Regards
Raghu.

You need to share a directory on your local drive and give permissions for the database server to write a file on your local drive. Or you may create the file on your database server and copy the same to your local drive.
conn / as sysdba
create or replace directory ext_tab_dir as 'C:\ExtTab_Dir';
/* you may need to give a network path in place of C:\ExtTab_Dir if you want to create the file on your local drive. The directory should be created manually by you on the file system*/
grant read, write on directory ext_tab_dir to scott;
conn scott/tiger
declare
        clb clob;
        l_output utl_file.file_type;
        len integer(6);
        vstart integer(6):=1;
        bytelen integer(6):=32000;
        my_vr varchar2(32000);
        x integer(6);
begin
         l_output := utl_file.fopen('EXT_TAB_DIR','Clob_File.txt','w',32767);
        select c_clob_file into clb
         from r_dummy;
         len:=dbms_lob.getlength(clb);
         x:=len;
        while vstart < len and bytelen > 0
        loop
            dbms_lob.read(clb,bytelen,vstart,my_vr);
            utl_file.put(l_output,my_vr);
            utl_file.fflush(l_output);
            vstart:=vstart+bytelen;
            x:=x-bytelen;
            if x< 32000 then
               bytelen := x;
            end if;
        end loop;
        utl_file.fclose(l_output);
exception when others then
        utl_file.fclose(l_output);
        raise;
end;
/Edited by: Preta on Sep 29, 2010 10:53 AM

Similar Messages

  • How to download a pdf file from the server from an strut application?

    Hi,
    I wan to download a pdf file from the server side to local system. Please help me how i use the down load option.

    Read up on the Struts download action [1].
    And next time, please post in the relevant forum, one of the web-tier ones [2].
    [1] http://wiki.apache.org/struts/StrutsFileDownload
    [2] http://forum.java.sun.com/category.jspa?categoryID=20
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    ----------------------------------------------------------------

  • How to download a .pdf file from a JavaMail application?

    hi to all,
    iam unable to download a .pdf file from a mailserver using
    my javamail application.i have downloaded all kind of files except .pdf.
    my code snipnet:
    public static void dumpPart(Part p) throws Exception {
    //     if (p instanceof Message)          dumpEnvelope((Message)p);
              System.out.println("CONTENT-TYPE: " + p.getContentType());
              Object o = p.getContent();
              if (o instanceof String) {
                   System.out.println("This is a String");
                   System.out.println((String)o);
                   } else if (o instanceof Multipart) {
                        System.out.println("This is a Multipart");
                        Multipart mp = (Multipart)o;
                        int count = mp.getCount();
    System.out.println("****************************************");
    System.out.println("count" + count);
    System.out.println("****************************************");
                        for (int i = 0; i < count; i++){
                             System.out.println("CONTENT-TYPE: " + p.getContentType());
                             dumpPart(mp.getBodyPart(i));
                        } else if (o instanceof InputStream) {
                             System.out.println("This is just an input stream");
                             InputStream is = (InputStream)o;
                             String filename=System.currentTimeMillis()+".exe     ";
                             FileOutputStream fos=new FileOutputStream(filename);
                             int c;
                             while ((c = is.read()) != -1)
                                  //System.out.write(c);
                                  fos.write((char)c);
    }//dumpPart
    what's wrong with this code?
    Nagaraju.G

    fos.write((char)c);Converting the byte to a char is unnecessary and probably harmful. Just do this: fos.write(c);

  • How to download a text file from the server

    hi everyone,
    can anyone tell me how to download and read a text file from the server and saved in into resource folder.
    with regards
    pallavi

    its really easy
    To read from server, use something like:
    HttpConnection connector = null;
    InputStream inp_stream = null;
    OutputStream out_stream = null;
    void CloseConnection()
         if(inp_stream!=null)inp_stream.close();
         inp_stream=null;
         if(out_stream!=null)out_stream.close();
         out_stream=null;
         connector.close();
         connector = null;
    public void getResponse(String URL,String params)
      try
         if(connector==null)connector = (HttpConnection)Connector.open(URL);//URL of your text file / php script
         connector.setRequestMethod(HttpConnection.POST);
         connector.setRequestProperty("User-Agent","Profile/MIDP-2.0 Configuration/CLDC-1.1");
         connector.setRequestProperty("content-type", "application/x-www-form-urlencoded");
         //connector.setRequestProperty("charset","windows-1251");
         //*** If you need to send ("arg1=value&arg2=value") arguments to script use this:
         out_stream = connector.openOutputStream();
         byte postmsg[] = params.getBytes();
         out_stream.write(postmsg);
         int rc = connector.getResponseCode();//in any case here connection will be opened & closed
         if (rc != HttpConnection.HTTP_OK)
              CloseConnection();
              throw new IOException("HTTP response code: " + rc);
         inp_stream = connector.openInputStream();
         int pack_len = inp_stream.available();
         byte answ[]=new byte[pack_len];
         inp_stream.read(answ);
         CloseConnection();
         ProcAnswer(answ);//process received data
      catch(Exception ex)
         System.err.println("ERROR IN getResponse(): "+ex);
    } And you can read from resource file like
    public void loadFile(String filename)
        DataInputStream dis = new DataInputStream(getClass().getResourceAsStream("/"+filename));
        String str="";
        try
             while (true)
                ch = dis.read();//read character
                if(ch=='\r')continue;//if file made in windows
                if(ch=='\n' || ch==-1)//end of line or end of file
                    if(str.length()==0)continue;//if empty line
                    //do some thing with "str"
                    if(ch==-1)break;//it was last line
                    str="";//next line
                    continue;
                 str+=(char)ch;
           dis.close();
       catch (Exception e)
           System.err.println("ERROR in loadFile() " + e);
    }Welcome! =)
    Edited by: MorskoyZmey on Aug 14, 2008 3:40 AM

  • How to download converted .docx files from Adobe?

    I have converted five .pdf files into .docx files, but when I click on "the download icon" after putting a "check" in the box before the first converted file, nothing happens? 
    Is there a process to use?  I am using a PC using Windows 7 Ultimate Operating System, and my internet browser is IE 9.  I cannot upgrade to IE 10 as it compromises my MSN mail account: Outlook.com.
    I have tried to read all other answers to questions about this same issue, but none address the simple process of downloading a converted .pdf file back onto one's PC.
    Thanks for your help, Thomboy

    The trouble with these kind of situations is that an applet runs on the client. If you want an applet to connect to a specific server (which means the client makes a connection to that server), you basically have to give the entire world access rights to that server. I don't think your friendly local administrator will be too happy with such a prospect.
    What you could do is put a man in the middle. Don't upload to the file server directly, but to for example the web server where the applet was downloaded from, for example by making a servlet available that takes a HTTP file upload. When that upload is complete, send the file from your man in the middle server to the file server using whatever method you like/have available/know how to code. In this situation only your web server needs access to the file server, which is far easier to secure.

  • VBA How to download a generated file from IE

    Hi guys,
    Apologies if this is an easy one, I couldn't find anything that helped me with my problem and was hoping someone might point me in the right direction for which object/argument to use.
    I'm trying to automate the downloading of a report, it will be a CSV file however it's not a static address (i.e. www.hello.com/files/goodbye.csv)
    The website is a CMS with database backend and upon clicking a button, the report is generated and the user will be prompted to download a resulting file (once it has been prepared).
    It is this action that I am trying to automate, however I'm not sure how to get IE to click the button and automatically saving instead of prompting the user at all (ideally this will be done with IE Visible being false in the end).
    Any help would be greatly appreciated!
    Best regards,
    Jeff.

    You can use an API to do the work too!
    Option Explicit
    Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" ( _
    ByVal lpClassName As String, ByVal lpWindowName As String) As Long
    Public Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" ( _
    ByVal hWnd1 As Long, ByVal hwnd2 As Long, _
    ByVal lpsz1 As String, ByVal lpsz2 As String) As Long
    Public Declare Function SendMessage Lib "user32" Alias "SendMessageA" ( _
    ByVal hWnd As Long, _
    ByVal wMsg As Long, _
    ByVal wParam As Long, _
    lParam As Any) As Long
    Public Declare Function PostMessage Lib "user32.dll" Alias "PostMessageA"
    ByVal hWnd As Long, _
    ByVal wMsg As Long, _
    ByVal wParam As Long, _
    ByVal lParam As Long) As Long
    Public Declare Function SetForegroundWindow Lib "user32" (ByVal hWnd As
    Long) As Long
    Public Declare Sub Sleep Lib "kernel32.dll" (ByVal dwMilliseconds As Long)
    Public Const TCM_SETCURFOCUS As Long = &H1330&
    Public Const BM_CLICK As Long = &HF5&
    Private Const WM_COMMAND As Long = &H111
    Sub Download()
    Dim i As Long, res As Long
    Dim hWndUI As Long, hWndBtn As Long
    Dim timeOut As Double
    Const cClsName As String = "#32770" ' same classname for all the control
    windows we'll need
    ReDim aWinText(1 To 3) As String
    aWinText(1) = "File Download - Security Warning"
    aWinText(2) = "Save As"
    aWinText(3) = "Download complete"
    ' 1, get the File download window and click Save
    ' 2, get the Save As window and click Save
    For i = 1 To 2
    hWndUI = 0
    timeOut = Timer + 5
    While hWndUI = 0 And Timer < timeOut
    Sleep 100&
    hWndUI = FindWindow(cClsName, aWinText(i))
    Wend
    If hWndUI = 0 Then
    ' eg bad url
    Err.Raise 12345, , "didn't get " & vbCr & aWinText(i)
    End If
    SetForegroundWindow hWndUI
    Sleep 100&
    hWndBtn = FindWindowEx(hWndUI, 0&, "Button", "&Save")
    Sleep 200&
    res = SendMessage(hWndBtn, TCM_SETCURFOCUS, 1, ByVal 0&)
    'res = SendMessage(hWndBtn, BM_CLICK, ByVal 0&, ByVal 0&)
    res = PostMessage(hWndBtn, BM_CLICK, ByVal 0&, ByVal 0&)
    res = SendMessage(hWndBtn, WM_COMMAND, 0&, 0&)
    Next
    ' 3, wait until Download complete appears
    hWndUI = 0
    timeOut = Timer + 10 ' increase timeOut with bigger files
    While hWndUI = 0 And Timer < timeOut
    hWndUI = FindWindow(cClsName, aWinText(3))
    Wend
    ' optional open folder
    hWndBtn = FindWindowEx(hWndUI, 0&, "Button", "Open &Folder")
    res = SendMessage(hWndBtn, TCM_SETCURFOCUS, 1, ByVal 0&)
    res = PostMessage(hWndBtn, BM_CLICK, ByVal 0&, ByVal 0&)
    ' res = SendMessage(hWndBtn, BM_CLICK, ByVal 0&, ByVal 0&)
    res = SendMessage(hWndBtn, WM_COMMAND, 0&, 0&)
    DoEvents
    End Sub
    Sub Test1()
    Dim url As String
    Dim objIE As Object
    On Error GoTo errH
    url = "http://social.microsoft.com/Forums/getfile/25241/"
    ' iso IE suggest add a WebBrowser control to a sheet or a userform
    ' and use that rather than starting an instance of IE
    Set objIE = CreateObject("internetexplorer.application")
    objIE.Navigate url
    Download
    done:
    On Error Resume Next
    objIE.Quit
    Exit Sub
    errH:
    MsgBox Err.Description
    End Sub
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • How to download a single file from abs cvs (community)?

    As a little edit of soloport's ingenious script for downloading single packages/directories from ABS instead of downloading everything, this is absget.
    #!/bin/bash
    # Downloads a single package from CVS CURRENT (much like ABS)
    # Requires one or two arguments, one which specifes the CVS path (e.g. kernels/kernel26)
    # and the other who specifies the repository (defaults to "arch")
    # Creates a local DIR, for example, where DIR=kernel26 in kernels/kernel26
    if [ "$BASH_ARGC" ]; then
    [ "$2" ] && REPOS="$2" || REPOS="arch"
    export CVSROOT=:pserver:anonymous:[email protected]:/home/cvs-$REPOS
    DIR="$1"
    declare -a ARY
    declare -i NUM
    ARY=( `echo $DIR | sed 's/// /g'` )
    NUM=${#ARY[*]}-1
    PKG=${ARY[$NUM]}
    echo DIR="$DIR", PKG="$PKG", REPOS="$REPOS"
    [ "$REPOS" = "arch" ] && cvs -z3 co -r CURRENT -d $PKG arch/build/$DIR
    [ "$REPOS" = "extra" ] && cvs -z3 co -r CURRENT -d $PKG extra/$DIR
    [ "$REPOS" = "unstable" ] && cvs -z3 co -r CURRENT -d $PKG unstable/$DIR
    rm CVS CVSROOT -R 2>/dev/null
    exit 0
    else
    echo "not enough arguments"
    exit 1
    fi
    As you maybe can see, it's missing a line for community. Whenever I try to test this method with the community dir (/home/cvs-community) I get this error:
    $ export CVSROOT=:pserver:anonymous:[email protected]:/home/cvs-community
    $ cvs -z3 co .
    no such user anonymous in CVSROOT/passwd
    cvs seems to authenticate in a different way than cvsup does, I've tried for hours to get this working (even with the help of wireshark), but with no luck. Can anyone help?

    byte wrote:This could be a hint: http://cvs.archlinux.org/cgi-bin/viewcv … vsroot=AUR (not "Community")
    yes, but I don't know how  to access it without using abs or viewcvs

  • How to download attachments excel file from gmail

    hi,
    i cant able to download attachments from gmail.com, ly i can able to view. can anyone explain how to download attachments from mail.
    rgds
    pravin

    You can't download attachments with an email account via webmail access using a browser.
    You can view attachments in a received email when accessing the account with the iPhone's Mail app and you can save photo attachments to the iPhone's Camera Roll and save PDF attachments to the iBooks app, but all other attachments such as a Word or Excel document can be viewed only.

  • How to Download a PDF file from Webdynpro ABAP Screen

    Hi,
    I have developed a input form in webdynpro - ABAP(Not Adobe),
    As I am not using above services here, but would like to download the information I am capturing into a PDF file.
    can I do it without using adobe interactive forms ?
    thanks
    Siddharth

    Hi siddharth,
    My suggestion would be to create your output as a Smartform and call your Smartform in your View.
    For more Click this link.
    [HOW TO DISPLAY A SMARTFORM AS PDF DOCUMENT IN WEB DYNPRO FOR ABAP|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0de1eb8-0b98-2910-7996-8a3c2fcf6785]
    Regards
    Bulent

  • How to download a jpeg file from a webpage, daily, automatically

    Hello,
    do you know any app or Automator script that allows me to download an image from a webpage, everyday at the same hour, and without doing any action?
    I need that the Mac will do it automatically.
    Thanks.

    Well, first it would depend on DRM protection (copyrights of the author) whether you can legally download it at all.
    Aside from that, you would also have to automate your Mac to be on that very specific website, connected to the internet, with the mouse choosing which specific image you want to download (as websites can contain many images).

  • How do i transfer music files from itunes to an external flash drive for the car

    I would like to listen to my music from itunes in the car, how do I transfer files to a usb flash drive?

    Open iTunes, go to the music library, highlight the files you want to transfer and right-click and Copy.  Minimize iTunes and right click your flash drive, Paste.  Should copy the files to the flash drive.

  • How to delete an .xml file from xmltype table?

    Hi expert,
    I am in I am in Oracle Enterprise Manager 11g 11.2.0.1.0.
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Feb 22 11:40:23 2011
    I have inserted 3 .xml files into an xmltype table: DOCUMENT
    SQL> SELECT OBJECT_VALUE FROM document;
    OBJECT_VALUE
    <?xml version="1.0" encoding="WINDOWS-1252"?>
    <?xml-stylesheet href="http://www.accessdata.fda.gov/spl/stylesheet/spl.xsl" type="text/xsl"?>
    <document xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLoc
    ation="urn:hl7-org:v3 http://localhost:8080/home/DEV/xsd/spl.xsd" classCode="DOC">
    <id root="5ca4e3cb-7298-4948-8cc2-58e71ad32694"/>
    <code code="51725-0" c
    <?xml version="1.0" encoding="WINDOWS-1252"?>
    <?xml-stylesheet href="http://www.accessdata.fda.gov/spl/stylesheet/spl.xsl" type="text/xsl"?>
    <document xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLoc
    ation="urn:hl7-org:v3 http://localhost:8080/home/DEV/xsd/spl.xsd" classCode="DOC">
    <id root="03d6a2cd-fdda-4fe1-865d-da0db9212f34"/>
    <code code="51725-0" c
    <?xml version="1.0" encoding="WINDOWS-1252"?>
    <?xml-stylesheet href="http://www.accessdata.fda.gov/spl/stylesheet/spl.xsl" type="text/xsl"?>
    <document xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLoc
    ation="urn:hl7-org:v3 http://localhost:8080/home/DEV/xsd/spl.xsd" classCode="DOC">
    <id root="09ff06d6-8b85-43dd-b5cc-e22d00f02bd0"/>
    <code code="51725-0" c
    I tried to delete one xml file which with id root="03d6a2cd-fdda-4fe1-865d-da0db9212f34'
    delete from DOCUMENT
    where xmlexists('$p/document/id[@root="03d6a2cd-fdda-4fe1-865d-da0db9212f34"]'PASSING OBJECT_VALUE AS "p");
    but failed.
    Is there any expert can help?
    Thanks a lot!
    Cow
    Edited by: Cow on Mar 11, 2011 7:02 PM

    Hi,
    Namespace issue.
    You have to declare it in the XQuery prolog :
    DELETE FROM document
    WHERE XMLExists( 'declare default element namespace "urn:hl7-org:v3"; (::)
                      $p/document/id[@root=$root_value]'
                     passing object_value as "p",
                             '03d6a2cd-fdda-4fe1-865d-da0db9212f34' as "root_value" )
    ;

  • How do I move all files from one project, to another hard drive?

    I am using CS3- I created a project on one hard drive, began editing, etc.- but now I'd like to move that project to another hard drive.
    Where are all of the files associated with it so I can move it successfully?
    Thanks!

    You will also find links to many
    free tutorials in the PremiereProPedia that will quickly show you how things are done in Premiere Pro.
    Cheers
    Eddie
    PremiereProPedia   (
    RSS feed)
    - Over 300 frequently answered questions
    - Over 250 free tutorials
    - Maintained by editors like
    you
    Forum FAQ

  • How to Create a excel file from a table.

    i want to excel output from a oracle table.

    Please use below one:
    DECLARE
    CURSOR C1
    IS
    SELECT DISTINCT JVH_LCM_LCTN_CODE FROM F_JV_HDR;
    CURSOR C2 (V_LOC VARCHAR2)
    IS
    SELECT *
    FROM
    (SELECT *
    FROM F_JV_HDR
    WHERE JVH_JV_DATE <= '31-OCT-2011'
    AND JVH_DSM_DCMNT_TYPE = 'SJV'
    AND JVH_LCM_LCTN_CODE = V_LOC
    ORDER BY JVH_JV_DATE DESC
    WHERE ROWNUM <= 10
    UNION ALL
    SELECT *
    FROM
    (SELECT *
    FROM F_JV_HDR
    WHERE JVH_JV_DATE > '31-OCT-2011'
    AND JVH_DSM_DCMNT_TYPE = 'SJV'
    AND JVH_LCM_LCTN_CODE = V_LOC
    ORDER BY JVH_JV_DATE
    WHERE ROWNUM <= 10;
    v_file utl_file.file_type;
    linebuf VARCHAR2(32767);
    BEGIN
    v_file := utl_file.FOPEN('MAIL_OUTPUT','F_JV_HDR-SJV.csv','w') ;      --Change the CSV file name
    LINEBUF := 'JVH_LCM_LCTN_CODE,JVH_DSM_DCMNT_TYPE,JVH_JV_TMPRY_NMBR,JVH_JV_TMPRY_DATE,JVH_SRCE_INDCTR,JVH_CRTD_DATE,JVH_CRTD_BY,JVH_ATHRSTN_STS,JVH_DSM_TRM_TR_CODE,JVH_DSM_DCMNT_SRS,JVH_LCM_LCTN_CODE_BOOK,JVH_ATHRSTN_RQRD_INDCTR,JVH_FNCL_CLSRE_INDCTR,JVH_TRNSCTN_WITH_INDCTR,JVH_TRNSCTNR_CODE,JVH_JV_NMBR,JVH_JV_DATE,JVH_RMRKS,JVH_JV_RVRSD_NMBR,JVH_CHQE_DUE_DATE,JVH_ATHRSD_DATE,JVH_ATHRSD_BY,JVH_TR_CODE_RVRSD,JVH_DCMNT_TYPE_RVRSD,JVH_JV_RVRSD_INDCTR,JVH_NJV_TAG,JVH_TYPE,JVH_AUTO_RVSL_INDCTR,JVH_AUTO_RVSL_DATE,JVH_BUS_BKS_UPLOAD';                --Chage the headings
    utl_file.put_line(v_file,linebuf);
    FOR I1 IN C1
    LOOP
    FOR I2 IN C2(I1.JVH_LCM_LCTN_CODE)                    --Change the cursor parameter
    LOOP
    LINEBUF := I2.JVH_LCM_LCTN_CODE||','||I2.JVH_DSM_DCMNT_TYPE||','||I2.JVH_JV_TMPRY_NMBR||','||I2.JVH_JV_TMPRY_DATE||','||I2.JVH_SRCE_INDCTR||','||I2.JVH_CRTD_DATE||','||I2.JVH_CRTD_BY||','||I2.JVH_ATHRSTN_STS||','||I2.JVH_DSM_TRM_TR_CODE||','||I2.JVH_DSM_DCMNT_SRS||','||I2.JVH_LCM_LCTN_CODE_BOOK||','||I2.JVH_ATHRSTN_RQRD_INDCTR||','||I2.JVH_FNCL_CLSRE_INDCTR||','||I2.JVH_TRNSCTN_WITH_INDCTR||','||I2.JVH_TRNSCTNR_CODE||','||I2.JVH_JV_NMBR||','||I2.JVH_JV_DATE||','||I2.JVH_RMRKS||','||I2.JVH_JV_RVRSD_NMBR||','||I2.JVH_CHQE_DUE_DATE||','||I2.JVH_ATHRSD_DATE||','||I2.JVH_ATHRSD_BY||','||I2.JVH_TR_CODE_RVRSD||','||I2.JVH_DCMNT_TYPE_RVRSD||','||I2.JVH_JV_RVRSD_INDCTR||','||I2.JVH_NJV_TAG||','||I2.JVH_TYPE||','||I2.JVH_AUTO_RVSL_INDCTR||','||I2.JVH_AUTO_RVSL_DATE||','||I2.JVH_BUS_BKS_UPLOAD; --Change the cursor values
    utl_file.put_line(v_file,linebuf);
    END LOOP;
    END LOOP;
    UTL_FILE.FCLOSE(V_FILE);
    END;
    /

  • How to dump data in file from inetrnal table.

    LOOP AT I_KEYROLEUSERS.
    READ TABLE I_USERS WITH KEY UNAME = I_KEYROLEUSERS-UNAME INTO WA_USERS.
    IF sy-datum > WA_USERS-DFROM and sy-datum < WA_USERS-DTO.
    Concatenate 'SAPP40' '001305900' I_KEYROLEUSERS-UNAME 'GID'
                 WA_USERS-LNAME WA_USERS-FNAME WA_USERS-EMAIL '1'
                 WA_USERS-DFROM WA_USERS-DTO I_KEYROLEUSERS-KEYROLE '563H'
                 INTO WA_STRING SEPARATED BY '!'.
    ELSE.
    Concatenate 'SAPP40' '001305900' I_KEYROLEUSERS-UNAME 'GID'
                 WA_USERS-LNAME WA_USERS-FNAME WA_USERS-EMAIL '0'
                 WA_USERS-DFROM WA_USERS-DTO I_KEYROLEUSERS-KEYROLE '563H'
                 INTO WA_STRING SEPARATED BY '!'.
    ENDIF.
    APPEND WA_STRING TO I_STRING.
    ENDLOOP.

    if you would like to put the file in app server.. u can do it using Open dataset
    it would be a nice option to do:
    when executed in foreground put to local dirve using GUI_Download FM and when executed in back-ground (sy-batch = 'X') write to app file using open dataset.

Maybe you are looking for

  • Windows vista boot disc won't come out without booting on my macbook

    how would i get the boot disc out with out it booting the installer for windows. and i just got this macbook yesterday bexause my other one didn't have a working optical drive it was doa. can some one help me?

  • Moving iPhoto library to a second drive bay on a MacPro

    My iPhoto library is 190 GB and I need to move it to an alternate drive bay on my MacPro. I copied (not moved) the library over to the new drive. When I launch iPhoto, it still uses the original iPhoto library on the home drive (even if I launch with

  • Is the Airport Express first Generation compatible with Mavericks?

    I've an Airport Express first generation, and since upgrading to Mavericks, it doesn't show anymore in Airport Utility, and the light on it keeps blinking. The Airport Extreme works fine. Any help is welcome. Thanks. Pedro

  • Artifacts in mp3 encoding

    I have been using itunes to encode audio recordings to mp3 for years but recently I have started to get artifacts appearing in the recordings. It looks like it is some kind of cross talk from one channel to the other (eg left to right) If there is sp

  • Can I make a mosaic in iPhoto?

    Can I create a mosaic - I have 142 images earmarked - in iPhoto (iLife'08, running on a recent model iMac) that can be printed off as a poster, A2 or A3 (or nearesst US equivalent) size through Apple Photo Services or an external print source? Or do