cancel
Showing results for 
Search instead for 
Did you mean: 

Delete files by ALV

Former Member
0 Kudos

Hi,

My WD File Manager Application has a ALV.

How can I delete the files choosing the ALV´s line?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

would like delete the file or the line?

CL_GUI_FRONTEND_SERVICES->FILE_DELETE .

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

> Hi,

>

> would like delete the file or the line?

>

> CL_GUI_FRONTEND_SERVICES->FILE_DELETE .

Sorry, but that does not work. All the functions in the CL_GUI_FRONTEND_SERVICES are not usable from Web Dynpro. They rely on the SAPGUI for the connectivity to the desktop. When running Web Dynpro you are in a web browser.

Where are the files you want to delete? Are they on the client machine? More details are really needed before anyone could provide a useful solution. However I can tell you that if they are on the client you really won't be able to delete them from Web Dynpro. Because you are running in a browser, you have limited access to the client machine. Remember that web browsers weren't built to run business applications and you certainly want to let any arbritary website just delete files off of your hard drive. In Web Dynpro we have file upload and download UI elements and that is about it.

Former Member
0 Kudos

Hi Mr. Jung,

The files are in the SAP Server and the clients can delete them.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

If the files are on the server, then just use the DELETE DATASET (see the online help) commands to delete the files.