Skip to Content
0

Run OS Command - Unix FTP

Apr 17, 2017 at 01:39 PM

47

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Evgeniy Kolmakov Apr 17, 2017 at 02:10 PM
0

Hi Khaja!

Try this:

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

Regards, Evgeniy

Share
10 |10000 characters needed characters left characters exceeded
Anurag Tyagi Apr 18, 2017 at 10:24 AM
0
Share
10 |10000 characters needed characters left characters exceeded