
In the previous article published, Upload & Download Files from OS Level within SAPGUI, you can find the steps on how to download or upload files from or to your local laptop.
In this article, we are going to share on how do we perform the file deletion from the AL11 directory.
Step 1: As an example, we have created a FileA.txt file inside the TEST folder. The same directory is created from the AL11.


Step 2: We want to remove the FileA.txt from the E:\TEST\ directory. Open transaction code SE37 and enter the function module EPS_DELETE_FILE. Press on F8 (Execute).

Step 3: Enter the FILE_NAME value as FileA.txt and DIR_NAME value as the E:\TEST\ which is the location of the FILE_NAME.

Step 4: Press F8 (Execute). The execution will delete the file from the AL11 directory.

Step 5: To confirm, you can open the transaction code AL11 and jump to the E:\TEST\ directory and the FileA.txt should no longer be there.
