‎2007 Aug 30 12:02 AM
Hi Gurus!
We have a ftp's problem within a ABAP Program. It runs successfully in DEV and doesn't run in QAS.
We don't Know if it's a basis or programming problem. Apparently the program take the local directory instead of de SAP's directory.
Our landscape is SAP SERVER W2003 - ECC6 , FTP Server Unix
It's the code
1 cd sbo_in
2 lcd 😧
3 put pal_10001412.txt
resultado
1 cd sbo_in
2 250 Instrucción CWD ejecutada con éxito.
3 lcd 😧
4 Local directory now 😧
5 put pal_10001412.txt
6 open pal_10001412.txt errno 22: Invalid argument
Can someone help me with this issue?
Thanks in advance!
Regards,
Miguel
‎2007 Aug 30 12:22 AM
Check whether the directory you specified is existing in Quality system. Check whether the path specified in your program is valid or do you have authorization for that path in Quality. Try with some different user name with all authorizations.
Usually program picks up the local path HOME directory when you dont specify any path.
-Kriss
‎2007 Aug 30 3:35 PM
Hi Kriss, thanks for your reply.
DEV and QAS are both installed in the same Server, then directory exists. Users <sid>adm and SapService<SID> have the same rights on this folder, furthermore in trx al11 we see the same valor DIR_PUT = D:\usr\sap\put
The users which run program has the sap_all authorization
Thanks in advance for your help
Miguel