Skip to Content

Reading File From Message Server.

Hi,

I want to upload a file in the message server into an internal table in my program.I konw the server by its IP.

Can anybody help me in this.

thanx for spending your time.

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 11, 2005 at 12:24 PM

    arul,

    use function module ws_upload in your program well in this you will have to specify the file path whose file content will get copy to internal table.

    hope this help you.

    - john

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 13, 2005 at 05:16 AM

    Hi Arul,

    What do you mean by message server . Do you mean application server . You can read files from application server directly by using command READ DATASET.

    Cheers

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member ArulJothi Arumugam

      Hi Arul,

      The path filename is the path / filename on the application server . For example /tmp/test.txt in unix .

      The file should exist on the operating system of the application server and the file should have appropriate permissions to read . Otherwise read dataset has no meaning . I am also not sure why you need FTP . Is the file located on some other system which you are trying to read. Please give more details of file you want to read and where it is located.

      Cheers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 13, 2005 at 05:39 AM

    Hi Arul,

    The function of the message server in the ABAP environment is to transfer requests between the application servers.

    The application layer consists of one or more <b>application servers and a message server</b>. Each application server contains a set of services used to run the R/3 System. Theoretically, you only need one application server to run an R/3 System. In practice, the services are distributed across more than one application server. This means that not all application servers will provide the full range of services.

    <b>The message server is responsible for communication between the application servers. It passes requests from one application server to another within the system. It also contains information about application server groups and the current load balancing within them. It uses this information to choose an appropriate server when a user logs onto the system.</b>

    Also check this link,

    http://www.sapgenie.com/basis/>

    Thanks,

    Ruthra

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 11, 2005 at 01:00 PM

    hi,

    or use sapftp - function group SFTP

    (example RSFTP004)

    Andreas

    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.