Skip to Content
0
Former Member
Apr 22, 2009 at 04:16 PM

How can show binary attachment from SAP GUI.

428 Views

<H5>Does have anybody idea,

to show some file stored in memory on local machine ?</H5>

For example binary stream of file is stored in local value typed xstring, binary table or raw data in database table.

<H6>Sample scenario:

1) store file to database table

2) show stored file, without copy to local machine.</H6>

One way is copy file to local machine using CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD,

than call

CALL FUNCTION 'WS_EXECUTE'

EXPORTING

COMMANDLINE = '/C start filename'

PROGRAM = 'cmd'

<H6>but it's not optimal way</H6>