2020 Nov 06 11:00 AM
Hello experts,
I created a parameter on my selection screen where the user can put a path like C:\INTERFACES\....
PARAMETERS : arc2purg LIKE rlgrap-filename.
And I want to know if there is any FM that can read data from AL11 from this directory of my selection screen paramater ?
Thanks in advance
2020 Nov 06 11:22 AM
Hi Anass,
Use the Function Module 'EPS2_GET_DIRECTORY_LISTING' to get all the file names in a particular directory (in your case Selection Screen Parameter), then for each file path use OPEN DATA SET, READ DATA SET and CLOSE DATA to get the file data.
Hope this helps.
Thanks
Ayushi Jain
2020 Nov 06 11:22 AM
Hi Anass,
Use the Function Module 'EPS2_GET_DIRECTORY_LISTING' to get all the file names in a particular directory (in your case Selection Screen Parameter), then for each file path use OPEN DATA SET, READ DATA SET and CLOSE DATA to get the file data.
Hope this helps.
Thanks
Ayushi Jain
2020 Nov 06 11:54 AM
Thank you so much Ayushi, that is exactly what I am looking for !