07-05-2018 9:34 AM
Dear Menbers,
I have requirement that i will place some txt files in a ftp location. From that location sap zreport needs to pick the files and update the same in sap. I have developed a report for the same with all ftp parameters hot-coded. When i run the report in frontend it is picking the files and updating into Sap properly. When i have scheduled the same report in background it is showing that the no files are found in mentioned location. But, the files are moving from current folder to archive folder,.the user for frontend execution and background execution are same.
Please suggest a solution for the same.
07-05-2018 9:49 AM
Check the below mentioned thread for some lead......
https://archive.sap.com/discussions/thread/1567410
K.Kiran.
07-05-2018 10:49 AM
Add a protocol to your job and put error messages from ftp (look at returned tables such as DATA or PROTOCOL in the FM you call) in this protocol (or at least in background job log) - Then pass this protocol to your basis/security for authorization failure or locked port.
07-05-2018 12:40 PM
The exact issue is FTP_SERVER_TO_R3 Fm report is unable to read files fron FTP, the same is happening if we run report through foreground.
07-05-2018 12:50 PM
"pass this protocol to your basis/security for authorization failure or locked port."
That is what Raymond is referring to in the above statement.Working with Basis team will let you know if there are any missing authorisations or Port not available when the same program is running in the background.
K.Kiran.