Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

FTP problem in ECC6 PROGRAM

Former Member
0 Likes
362

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

2 REPLIES 2
Read only

former_member192429
Active Participant
0 Likes
332

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

Read only

Former Member
0 Likes
332

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