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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Apr 23, 2004 at 11:30 AM

    Hi Inde,

    1) customizing: with TA SM69

    2) calling : with function SXPG_CALL_SYSTEM

    regards Andreas

    Add a 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

  • Posted on 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 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.