Hi,
I've a program to show a pdf file within a SAP window using the open document method form the class cl_gui_pdfviewer. Now I want to delete the pdf file once I choose the back button or exit the program. How can I do that.
In the PAI for the screen showing the pdf file, I have a case statement to perform the following
......
When 'EXIT'
call method my_pdf_viewer->close_document.
....
..... <--- some coding to try deleting the pdf file
.....
leave program.
endcase.
It seems that the pdf file is still in use by the program and cannot be deleted before leaving the program. Please help.
Thanks in advance,
Francis