Skip to Content

Run OS Command - Unix FTP

hi,

I have Run OS command after message processing. I want to move files with name HRT to another folder in PO server.

I have the following command. But it is not working, if i run manually from OS level then it is working.

cd /usr/sap/interface/frompo/ ; mv /usr/sap/interface/frompo/*HRT* /usr/sap/interface/frompo/StmtsFrmBnk/ ; %f

Here I removed the ;%f and tested still it is not working. This user is having full authorizations.

I got the error from trace as follows..

Error while executing OS command: {0}

Regards,

Khaja.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Apr 17, 2017 at 02:10 PM

    Hi Khaja!

    Try this:

    cd /usr/sap/interface/frompo/ ; mv /usr/sap/interface/frompo/*HRT* StmtsFrmBnk;

    Regards, Evgeniy

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 18, 2017 at 10:24 AM
    Add comment
    10|10000 characters needed characters exceeded