Skip to Content
-1

Upload and View attachment in ALV grid

Jun 05, 2017 at 05:04 AM

43

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Sandra Rossi Jun 05, 2017 at 07:29 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
Richard Harper Jun 05, 2017 at 07:44 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded