09-12-2011 10:14 AM
Hai,
I am trying to move the file from application server to folder in non-sap server using DOS commands in a batch file.
Commands in the batch file is below.
E:
cd E:\HSBC\HSBC_IN\
for /f %%a IN ('dir /b *.xml') do (
move %%a
host name\HSBC\Temp
exit;
)
I have created a command in SM69(E:\HSBC\hsbc.bat) and trying to execute, it is properly executing in Development server and file is moving. Same is not executing in Quality server. Its giving an error as Logon failure: unknown user name or bad password. External program terminated with exit code 1. For that destination folder i have given permission for both Delelopment server and Quality server.
Please help on this issue with high priority .
<priority is downgraded>
Thank you.
Edited by: Suhas Saha on Sep 12, 2011 2:52 PM
09-12-2011 11:31 AM
Hi,
May be my suggestion is a stupid one but still you can just look into it if nothing works out.
See the non-SAP server you are mentioning here, should also be same type I mean if you are moving file from SAP-DEV then the non-SAP server also should be of type DEV, SAP-Quality to Non-SAP Quality etc
Check this.
09-12-2011 5:02 PM
I'm guessing you might have to change the password to that of QA for that username.
09-12-2011 5:15 PM
Hi,
Check the password in QA system, it may be different comparing to DEV.
Shiva