FM to Upload/Download Word files

Hi Experts,
My requirement is i want to upload Ms-Word file in SAP through RFC, and after uploading the file i want to reterive that file through RFC.
Is there any standard FM to upload and download the file.
Regards,
Rajneesh Gupta

Hi use this
reward if help
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
FILENAME = FILENAME
FILETYPE = 'ASC'
TABLES
DATA_TAB = BUFFER
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22

Similar Messages

  • ITS - upload/download of files - getting java error on download

    Hi, I'm working on ITS to upload/download some files, really simple files in ASC and i use cl_gui_frontend_services=>gui_upload it works fine, and to download the cl_gui_frontend_services=>gui_download that in R/3 works but on the ITS give an error.
    Any idea or someone that happend the same?
    Thanks in advance to all
    Regards
    Jaime

    there is a dedicated ITS forum at Internet Transaction Server (ITS)
    search that forum, this has been discussed may times.
    Raja

  • How to read and upload microsoft word file into database using forms9i

    Hi,
    How to read and upload microsoft word file into oracle database using forms9i. I appretiate if anyone can send me example or atleast a sujjetion.
    Thanks in advance
    Mahesh Ragineni

    The webutil package includes the ability up upload from the client to the database. See otn.oracle.com/products/forms and click on webutil for more details.
    Regards
    Grant Ronald
    Forms Product Management

  • Does iWeb support the uploading/downloading of files

    I believe at one time, iWeb would support the upload and download of files from the mobileme account. I don't see anything like that in the templates. Am I correct in assuming it was there at one time and now it has disappeared?

    It's still there.
    This is how you do it.
    Select something on your iWeb page you want to use as the hyperlink. (for example the words "link to file")
    In the Link Inspector window check the box "enable as hyperlink" then select "Link to a file", then choose the file you want to link to. Publish, that's it. If you want the file to automatically open on the downloaders computer, then zip it first and select the zipped file to link to.
    David

  • Uploading/Downloading word,excel..etc in Oracle8i using Forms6i

    Dear Friends
    I want to insert word,excel or image from client m/cn to server's database(Oracle8i) using Forms6i.
    Can anyone please suggest me the best way of uploading/downloading these kind of file using Forms6i.
    Other than OLE.Bcoz I have acheived this thro' OLE in Forms but I am lookin for some other solution in Forms only.This is not required for any web application...only client/server architecture.
    Please advice asap.

    It's not possible with Forms6i ... The reason being that Forms6i lacks any built-ins to deal with binary data in file access! The only way in C/S is OLE which you already have ... or if you don't mind then you can write a small external utility yourself that can do the upload/download. This you could write for example as an OCX, an external DLL ... or most simple as just a stand alone executeable called by HOST-command.
    Regards,
    Stefan

  • Upload / download of files

    Dear Friends,
    I know that the question will probably be redundant to you
    all but here it goes: how do I go about uploading a file for
    download from my site. ( in this case a PDF ). I suspect that it
    has to go in a ftp public folder but don't have a clue how to do it
    and perhaps because of shortage of vocabulary on my part, can't
    find it in the help files either.
    Thank you in advance

    Hi Alan,
    Thank you for such quick reply, it looks so simple that I'm a
    bit confused: by 'Local Site folder' you mean the site folder on my
    HD, right? And when uploading the pdf file, do I send it to the
    public.html folder of the server along with the page(s)
    itself?...I'm sorry I'm such a dumb A. but this is all news to me
    and then there's the lingo that sometimes plays tricks on me too.
    Thanks a lot
    jvmonteiro

  • How do I upload Microsoft Word file on Dreamweaver?

    I uploaded a Microsoft Word file onto a web page, but when it's opened, the file is corrupted. Can you help?

    Hi,
    Here’s the URL:
    http://wealthybaglady.com/action/action120813.html
    The PDF looks great, but you can see that the Microsoft Word file is missing the header, footer and some information.
    Any suggestions would be appreciated.
    Thanks so much,
    Linda Hollander

  • Uploading/downloading a file to database

    Hello friends,
    I have created a page into which there is a button names "Upload Resume".
    The idea is when an HR person clicks this button it should fetch out the resume
    from his local machine and it save resume into the database.
    My doubts are as follow:-
    1. Where does the resume get stored in database or at the unix box
    2. What we can do to download the same resume.
    Please guide me.
    Waiting for your responses.
    Regards,
    Pankaj Kedia

    user12055837 wrote:
    Hi,
    The code that you have referred to me is a lot different than what I currently have. For example in the code it seems like you have the following statements(below) in the Process Request of Controller, But I have it in the AMImpl. Please let me know where these should be.Off course you can have the code in the AM as well.
    >
    OAApplicationModule ap = pageContext.getApplicationModule(webBean);
    OAViewObject vo = (OAViewObject)ap.findViewObject("FndLobsVO");
    if (!vo.isPreparedForExecution())
    vo.executeQuery();
    Row row = vo.createRow();
    vo.insertRow(row);
    Also I have my BLOB in the same view object as other data(LacEmpExposureVO) which refers to a custom table. I am NOT storing them in the FND_LOBS.
    Do I need 2 columns one for storing the "uploaded file name" of type varchar2 and the other of type BLOB for the "uploaded file"
    Yes it is the same as in FND_LOBS, i have a column FILE_NAME that contains the name (varchar2) of the uploaded file.
    The OAMessageFileUploadBean View Attribute points to the BLOB column, called FILE_DATA (in the case of FND_LOBS).
    Either ways it is not working as expected.
    I modified the code like this and it is not erroring now, But not saving the file name either. When I display the column on the search page then it is displaying the contents of the BLOB column (UploadDataBlob) taking up the entire page instead of displaying it as a hyper link with the file name.
    // get a handle to the uploadbean. the column UploadDataBlob is of type BLOB
    OAMessageFileUploadBean uploadBean = (OAMessageFileUploadBean)webBean.findChildRecursive("UploadDataBlob");
    // set file name display in the column UploadDataBlobFilename of type varchar2
    OADataBoundValueViewObject displayNameBoundValue = new OADataBoundValueViewObject(uploadBean, "UploadDataBlobFilename");
    uploadBean.setAttributeValue(DOWNLOAD_FILE_NAME,displayNameBoundValue);
    In the code above if I change the following statement:
    OADataBoundValueViewObject displayNameBoundValue = new OADataBoundValueViewObject(uploadBean, "UploadDataBlobFilename");
    TO
    OADataBoundValueViewObject displayNameBoundValue = new OADataBoundValueViewObject(uploadBean, "UploadDataBlob");
    I get the following error:
    UploadDataBlob - JBO-25009: Cannot create an object of type:oracle.jbo.domain.BlobDomain with value:F1606_ApplicantFlowLog.pdf
    You cannot assign the BLOB column this way, because the OADataBoundValueViewObject is only used to get the UploadBean to display the uploaded file name, that is why i assign the FileName.
    Why do you want to assign the BLOB column ?
    Use this to assign the file name:
    // set file name display
    OADataBoundValueViewObject displayNameBoundValue = new OADataBoundValueViewObject(uploadBean, "FileName");
    uploadBean.setAttributeValue(DOWNLOAD_FILE_NAME,displayNameBoundValue);
    And for example this to assign MIME type (if you have this info in your table off course):
    // set content type (MIME)
    OADataBoundValueViewObject contentBoundValue = new OADataBoundValueViewObject(uploadBean, "FileContentType");
    uploadBean.setAttributeValue(FILE_CONTENT_TYPE, contentBoundValue);
    >
    Any Help is greatly appreciated..
    Thanks,
    Mir

  • Quick Question : Upload/Download text files

    Hi,
    can I use interMedia to upload text files on the Database. I don't need to query them for size or
    whatever metadata but I'd like to retrieve them without any harm done :-)
    I don't expect any problems but would still like to confirm.
    Thanks,
    Steve

    Which interMedia object are you using to store the content?
    No we don't do anyting to the content. You won't be able to use it easily within the database. You won't have any character set support. You will need to specify the mimetype yourself.
    But it should work for raw storage and retrieval.

  • I can not open the download word file converted from PDF

    HOw do I get the Download to open

    Sounds like you are using one of the online services, like the cloud. This forum is for the stand-alone Acrobat and I have no clue. The cloud or related forum should provide better info.

  • How can I store a word file in database and other one download this file

    My dears:
    I want to upload a word file at my form then store in database
    and other one user want to download this file
    I Use developer 10g R2
    Database 1og
    thanks more

    If you take a look at the WebUtil page, there is a demo which can be downloaded. Look carefully at the option to upload to DB. If you want to manipulate the doc you can use OLE. This is also offered as part of the example.
    http://www.oracle.com/technetwork/developer-tools/forms/webutil-090641.html
    Be sure to carefully review the included ReadMe file as it includes some minor configuration required to use file upload/download functionality.

  • Unable to upload/download large html files(71 MB) into  rooms

    Hi,
        I am unable to upload download HTML file(71 MB)into folders of collabration rooms.if it is uploaded also its getting Scripted/corrupted.
    other files are working properly.
    Is it because of large size or any other configuration settings.there is no error msg buts its getting scripted.
    Waiting for your response
    Thanks
    Amit kumar Koyal

    Hi Kerstin,
    the note also says: "This restriction is no longer valid".
    With SP19 I do run tests continously that test content up to 2GB.
    Amit: What portal version are you running? What repository implementation is the file stored in? If the file is stored in a file system, what is it's file size limitation?
    Regards,
    Michael

  • [MX 2004} Can't upload! The file may not exist, or there could be a permission problem

    I'm running MX 2004 on Windows XP. All's been well for the
    last few months, doing site maintenance at this part-time job. I
    get tangled up a bit in checking files in and out, coming from
    GoLive, and since there's no one else with FTP access, yesterday I
    told it to check the entire site in. I didn't have any changes I
    didn't want to commit, and I figured that would keep things a
    little neater.
    As of today, I can post revisions to existing pages, or
    resize image files, but when I create a new page, or try to place a
    new image file on an existing page, I can't upload it.
    So, to be clear: I have two pages already up on the site,
    index.html and apple.html, with a link between them. If I create
    new page banana.html and make a link to it from index, index.html
    will upload that revised link, but banana.html is refused with the
    message
    FTP error: The file may not exist, or there could be a
    permission problem
    I know the file doesn't exist (remotely); I just made it.
    I've gone to Prefs and disable Check In / Check Out, which didn't
    do me any good. What next?

    Can you open the FTP log, select one of these new files and
    upload it- then
    cut and paste relevant part of the ftp log?
    Also- does this site have a "host directory", a subfolder
    that your public
    files need to go into? If yes- is this folder listed in the
    host directory
    line of the remote server info?
    And odd past thing i've seen-
    Had hosting that used public_html as the public folder name.
    They also had a symbolic link named www that pointed to
    public_html
    Could upload/download existing files with www in "host
    directory" line of
    dw; but could not upload new files or work with files in
    subfolders.
    changing to public_html instead of the www symlink fixed this
    for me.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • .JS files download as .TXT files how can I download the files corectly

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [/questions/750416]<br>
    Thanks - c</blockquote><br>
    Recently upgraded to version 3.6.3 and since then when I try to download .JS files they actually download as .TXT files. I can download word files without a problem. I'm downloading scripts from my internet hosted database. In previous versions of FF I didn't have a problem. Is there a setting that I need to change or plugin I need?

    Try "Reset Download Actions": http://kb.mozillazine.org/File_types_and_download_actions

  • Function Group : Upload/ download

    Hi Experts,
    is there any Function group which will help me upload/download excel file?Kindly advise.
    thanks & regards,
    M.S

    Yes you can but you must save data in text mode (tabulation or delimited) . 
    It's not possible to upload directly a excel file with GUI_UPLOAD
    But it's possible with ALSM_EXCEL_TO_INTERNAL_TABLE.
    Rgds

Maybe you are looking for