Dear Experts,
In my company customer places order in our customer portal web site and the text file is generated in FTP holding all information of sales order.
Now, my job is to pick flat file from FTP folder and generate the sales order in SAP.
To fulfill this requirement I used FTP_CONNECT function module to connect to FTP then to fetch records from ftp and store in internal table I am using FTP_SERVER_TO_R3 function module.
Problem I am facing is that sometimes my program get stuck in FTP_SERVER_TO_R3 function module and it does not fetch records. I waited for hour but nothing happened. I was getting proper reply from host as well. Then I used FTP_COMMAND function module to get records but I facing same problem.
Kindly help.