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

Problem in COPY and PASTE a file from application server (AL11)

Hi all,

I have a requirement like copying the file from application server from one path and pasting the same file to other path (backup copy) in the server itself.

I am using a function module SXPG_COMMAND_EXECUTE and passing a ‘COPY’ OS command to that.

I am getting a message “External program terminated with exit code 4” in EXEC_PROTOCOL from function module.

I am unable to get what exactly this message says….

Please help.

Thanks in advance.

Siva.

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 27, 2007 at 10:48 PM

    Either you do not have the permissions or the system is not configured to execute external commands.

    Thanks,

    - Cheers

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 28, 2007 at 03:57 AM

    Hi,

    I have created a external command in SM69. While executeing the created command in SM49 i am getting the error "External program terminated with exit code 04".

    i found exit code 4 resembles ' The system cannot open the file.'

    Now i want to solve this! Any inputs???

    Thanks,

    Siva.

    Add comment
    10|10000 characters needed characters exceeded