Skip to Content
avatar image
Former Member

Getting from SAP and transefering AS400 a file

Hello, experts

I'm having a big problem on PRD environment, I need to get a file in source server (SAP) and transfering via FTP to AS400 server, how can I do this??? are there a FM ?

Please It's urgent, any helpfull information I will appreciate it.

Regards

mgg

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Aug 22, 2007 at 12:57 PM

    Where on the AS400, into the IFS(Integrated File System)? Is this folder on IFS shared out? If so, then it will look like any other folder or directory on the the network, so you could simply use the GUI_DOWNLOAD function to put the file on the AS400 file system. If the source is on the SAP application server, you will need to use the OPEN DATASET statement to load the file in to an internal table of your program. I do not having any experience with FTP in ABAP, so not sure how you would use that.

    Regards,

    Rich Heilman

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Rich Heilman

      Thanks, again

      I'm going to check my code lines and modify some lines as you suggested, I will let you know how helpfull was your advice

      Regards,

      mgg

  • avatar image
    Former Member
    Aug 28, 2007 at 08:17 PM

    Thanks Rich, your code lines were very very helpfull.

    Regards

    mgg

    Add comment
    10|10000 characters needed characters exceeded