Skip to Content
avatar image
-1
Former Member

Upload and View attachment in ALV grid

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jun 05, 2017 at 07: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.

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 05, 2017 at 07: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.

    Add comment
    10|10000 characters needed characters exceeded