Delete test files from the UNIX/application server using function module
Introduction:
Many times while performing the unit testing we create the n number of test files on the UNIX server. Once we complete the unit testing its difficult to find out the latest file in those N numbers of test files.
This article elaborates you, how the unwanted test files will be deleted from the Application server.
Steps:
1. 1. In my example I have created below files on the application server.
2. 2. Now I wanted to delete these files in one click. For this go to SE37 and enter the function module name ‘FMCT_DELETE_UNIXFILE’
3. 3. Execute the function module and enter the file path which you want to delete the files.
Output:
Check the file at AL11 in the above directory:
In this way we can delete the test files from the Application server without writing a single line of code.