Skip to Content

Calling unix file program stored in server directory

Hi, how do I start a unix batch program stored on the server directory from an ABAP program. I need to pass a parameter to the program as well. The unix batch program is a script program that will start an FTP file transfer process. I'm using SAP 4.6c running on Windows NT.

Thanks, Inde

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Apr 23, 2004 at 11:30 AM

    Hi Inde,

    1) customizing: with TA SM69

    2) calling : with function SXPG_CALL_SYSTEM

    regards Andreas

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Andreas, thanks for the info. will prove to be very useful.

      Would you be able to give me any guidance on the use of function module FTP_COPY. It's used in ABAP RSFTP004, RSFTP004 parameters include source and destiniation parameters. I have the destination parameters but don't where to get the source (SAP) user or password for RFC destination SAPFTP. I've asked Basis but they have not found anything yet.

      Thanks, Inde

  • Apr 26, 2004 at 06:37 AM

    Hi Inde,

    you need the following parameters:

    1) SOURCE

    a) FTP-User

    b) password

    c) IP-Adress

    d) (source-) file

    2) DESTINATION

    a) FTP-User

    b) password

    c) IP-Adress

    d) (destination-) file

    3) RFC-Destination

    (you'll find this in TA SM59 -> TCP/IP-connections)

    - SAPFTP (on-line)

    or - SAPFTPA (batch)

    -> password is not required for this destination

    regards Andreas

    Add comment
    10|10000 characters needed characters exceeded