2018 Feb 27 10:28 AM
How to get URL (.TXT) data into Internal table in Background mode is there any FM for this i have tried FM 'DP_GET_STREAM_FROM_URL' but its not working in background
2018 Feb 27 11:34 AM
You can not achieve it by DP_GET_STREAM_FROM_URL, due to program run it in background.
But you can fetch the file from FTP.
Create one FTP and define it in SAP and fetch the file and then data from FTP folder.
2018 Feb 27 11:43 AM
Hi Arulraj,
thanks for your quick reply.
can u please share some doc. /link for FTP definition n all if u have ,so that i can achieve the above requirement.
Thanks & Regards,
Suhel Sheikh
2018 Mar 14 8:30 AM
There are TONS of threads and wiki about this!
You should be proactive and look for them before asking people to do it for you
2018 Mar 20 1:38 PM
Hi Simone,
i am not asking any one to do the work for me,
i just asked if he can help me with some doc.(if available).i know that every one is busy in there own task.
and right there may be many threads about the issue but i haven't found the proper one so i asked here.
Regards,
Suhel Sheikh
2018 Feb 28 6:03 PM
FM HTTP_GET? Not sure though what exactly you mean by "URL text data". Please make sure to use the accurate terminology.
2018 Mar 05 11:18 AM
Hi Jelena,
Thanks for the reply,
I mean URL Contains Text file which needs to be downloaded into SAP internal table ,by using FM : DP_GET_STREAM_FROM_URL ,m getting URL data into internal table in foreground mode but in background mode i m not getting URL data into internal table .
so is there any way for it ?
2018 Mar 05 4:22 PM
To "download a file" we use FTP (which has been covered exhaustively on SCN). Using HTTP we can access the content, which is not the same as "download a file". URL is just an address that can be used for both protocols.
There seems to be a lot of confusion here. Only when you have a good understanding of what the task is exactly then you can find the best solution.
2018 Mar 05 9:37 PM
Jelena told you : HTTP_GET. Or class CL_HTTP_CLIENT, that's the same. Search the web for more information.
2018 Mar 09 9:12 AM
Thank you Jelena and Sandra.
Sure will check.
Regards,
Suhel Sheikh