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

How can i upload a file from my PC to the application server as a one off.

Hi,

Is there a function module or utility or transaction that i can use to upload a file to the application server. If so, please tell me the EXACT instructions on how i would go about doing so please. Thanks,

Samir

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Mar 18, 2009 at 01:26 PM

    Upload a file to where? Filesystem? Table?

    Markus

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Markus Doehr

      Hi Samir

      if you want to upload an excel into an table you can use

      function module

      ALSM_EXCEL_TO_INTERNAL_TABLE

      else

      • Retrieve data file from presentation server(Upload from PC)

      DATA: i_file like rlgrap-filename value '/usr/sap/tmp/file.txt'.

      DATA: begin of it_datatab occurs 0,

      row(500) type c,

      end of it_datatab.

      CALL FUNCTION 'GUI_UPLOAD'

      EXPORTING

      filename = i_file

      filetype = 'ASC'

      TABLES

      data_tab = it_datatab "ITBL_IN_RECORD[]

      EXCEPTIONS

      file_open_error = 1

      hope this helps

      regards

      dEE

      Edited by: Deep Kwatra on Mar 19, 2009 1:23 PM

  • author's profile photo Former Member
    Former Member
    Posted on Mar 18, 2009 at 01:31 PM

    Hai,

    If you want to upload file to Filesystems then you can use FTP.

    You can use some FTP utilities to do this.

    http://www.freedownloadscenter.com/Network_and_Internet/FTP_and_Archie_Clients/Hummingbird_FTP.html

    I guess the below link is your destination.

    /people/rajat.chaturvedi/blog/2009/03/17/uploading-data

    Regards,

    Yoganand.V

    Edited by: Yoganand Vedagiri on Mar 18, 2009 4:35 PM

    Add a comment
    10|10000 characters needed characters exceeded

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.