06-05-2017 6:04 AM
Hi,
I have an requirement in adding the attachment and all the attached file has to be displayed after cross verifying it by user , he will be sending a mail to customer with attachment.
please guide me in how to view the uploaded file using GUI_UPLOAD.
any FM or Class available.
regards,
Guru.
06-05-2017 8:29 AM
You are talking about GUI_UPLOAD, but sorry, you can only use Windows embedded function to "execute files" on the frontend (which could be understood as "display"), so no need to upload, use method EXECUTE of class CL_GUI_FRONTEND_SERVICES. If the user needs to display a file from the application server, first download it to his laptop (GUI_DOWNLOAD), then call EXECUTE.
06-05-2017 8:44 AM
On top of that it depends on what the attachment is. There are various classes that can be used to view data such as the Html_Viewer, a text editor, an autocad viewer etc etc. This can then be embedded in a gui screen using a container (Splitter/docking etc etc) alongside the ALV grid.
07-30-2019 7:52 AM