Skip to Content
author's profile photo Former Member
Former Member

RFC enable Fm for upload and download PDF file.

Hi Experts,

I need a function module through which i can upload and download a pdf file from SAP server.

I made a wrapper FM for GUI_Upload and similar Fm for Download. But only upload FM is working which upload PDF file in ASC or Binary format but don't know where this file stored. (Suppose) I want to download the same file then what can i do for that.

i also found a link for this but when tried to work according to link some popup occurs in it like abap_char1 is unknown. plz see the link below.

[http://wiki.sdn.sap.com/wiki/display/ABAP/FunctionModuletoUploadandDownloadfilesfromandtoApplicationServer|http://wiki.sdn.sap.com/wiki/display/ABAP/FunctionModuletoUploadandDownloadfilesfromandtoApplicationServer]

Please if you have any idea in this please let me know(apart from GOS Upload).

Thanks And Regards

Ranjeet Singh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Oct 28, 2010 at 01:39 PM

    Your question isn't clear - you mention the app server and reference a Wiki about the app server but then you mention GUI_UPLOAD? Are you performing a local file operation or a server-based file operation? Why would you use ASC mode for a PDF? Remote PDF uploads/downloads have been answered here by myself and many others. Have you searched? I would stay away from that wiki code and just use your own simple dataset commands.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Brad,

      Actually our requirement we want to upload and download pdf files from mobiles as we work in smartphone applications. RFC enable function module used by our JAVA professional. We need to attach pdf files with our application each time for every single user and at the same time one can download that pdf.

      I made wrapper for GUI_DOWNLOAD and similar wrapper for GUI_DOWNLOAD. Here question is only with function module how can i download the same or other files which i have uploaded in to the SAP System.

      Thanks And Regards

      Ranjeet Singh

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.