<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: View binary data from application server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909882#M1597598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Now Iam trying to view the binary data content in a seperate window as a document&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How are you doing this? Via AL11? Not possible ... AL11 is nothing but a report which just gives a snapshot of the file, it is not the "physical file".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to download it to your PC using the usual AS file download trxns viz., CG3Y, CACS_FILE_COPY, if you want to view the actual file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further info on the forums.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 May 2011 07:00:56 GMT</pubDate>
    <dc:creator>SuhaSaha</dc:creator>
    <dc:date>2011-05-27T07:00:56Z</dc:date>
    <item>
      <title>View binary data from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909881#M1597597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have uploaded a document (can be any format) as binary to application server.&lt;/P&gt;&lt;P&gt;Now Iam trying to view the binary data content in a seperate window as a document. I have tried to convert the binary data(which is in the form of a table) to string, text, but the document continues to show in unmeaningful format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest how do I handle this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried searching SDN and other sites, but did not get proper solution. I should only display the document.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 06:34:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909881#M1597597</guid>
      <dc:creator>former_member196438</dc:creator>
      <dc:date>2011-05-27T06:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: View binary data from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909882#M1597598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Now Iam trying to view the binary data content in a seperate window as a document&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How are you doing this? Via AL11? Not possible ... AL11 is nothing but a report which just gives a snapshot of the file, it is not the "physical file".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to download it to your PC using the usual AS file download trxns viz., CG3Y, CACS_FILE_COPY, if you want to view the actual file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further info on the forums.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 07:00:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909882#M1597598</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-05-27T07:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: View binary data from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909883#M1597599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to achieve this using the code.&lt;/P&gt;&lt;P&gt;I get the application server content in a table, in binary format. I next tried to convert it to string, text, but still the data remains unmeaningful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 07:13:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909883#M1597599</guid>
      <dc:creator>former_member196438</dc:creator>
      <dc:date>2011-05-27T07:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: View binary data from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909884#M1597600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;If  you want to open one binary file( except text file ), you need download it into local PC and open it by some program(word, pdf).&lt;/P&gt;&lt;P&gt;1. Use OPEN DATASET to get file content&lt;/P&gt;&lt;P&gt;2. Use GUI_DOWNLOAD to download&lt;/P&gt;&lt;P&gt;3. Use OPEN_FILE to open downloaded file(You need know the application to open that file)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some sap standard program like 'attachment display' use this way too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 07:31:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909884#M1597600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-27T07:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: View binary data from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909885#M1597601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you need to provide more information on the complete scenario,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;I have uploaded a document (can be any format) as binary to application server.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Well, while saving this definitely is easy as you are saving it in the binary format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Now Iam trying to view the binary data content in a seperate window as a document. &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The issue is if you want to open the binary as a document, you need to know which format the document it is PDF/DOC/TXT etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;I have tried to convert the binary data(which is in the form of a table) to string, text, but the document continues to show in unmeaningful format.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Why do you want to convert the binary into a string/text...i mean it is a image file(as you say it can be of any format) that is uploaded, then it is no surprise that you are getting meaningless format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now assuming(that is all we can do, unless you are more descriptive) that you are uploading a PDF file onto the app server, and want to display it on a separate window, you can try the below piece of code as a starting point...but if your scenario is any different from the above...then provide more info on what exactly is that you are looking at/for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  DATA v_url  TYPE c LENGTH 255.
  DATA lcl_html_viewer TYPE REF TO cl_gui_html_viewer.
  DATA: li_contents TYPE TABLE OF sdokcntbin.

  CALL METHOD cl_gui_cfw=&amp;gt;flush.

  CREATE OBJECT lcl_html_viewer
    EXPORTING
      parent   = cl_gui_container=&amp;gt;screen2
      lifetime = 0.

  lcl_html_viewer-&amp;gt;load_data(
                   EXPORTING type = '/pdf'
                   IMPORTING assigned_url = v_url
                   CHANGING data_table = li_contents ). "Pass the Binary content here.

  CALL METHOD lcl_html_viewer-&amp;gt;show_url "_in_browser
    EXPORTING
      url        = v_url
      in_place   = ' '
    EXCEPTIONS
      cntl_error = 1
      OTHERS     = 2.
  IF sy-subrc NE 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Chen K V on May 27, 2011 1:06 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Chen K V on May 27, 2011 1:06 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 07:36:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909885#M1597601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-27T07:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: View binary data from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909886#M1597602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the document was, for example, a word 97 format document - what would results would you want?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 07:38:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909886#M1597602</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2011-05-27T07:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: View binary data from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909887#M1597603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The uploaded document can be word or PDF or txt. I would want to display it in PDF format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 07:52:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909887#M1597603</guid>
      <dc:creator>former_member196438</dc:creator>
      <dc:date>2011-05-27T07:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: View binary data from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909888#M1597604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then follow Chen's advice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 08:07:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909888#M1597604</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2011-05-27T08:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: View binary data from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909889#M1597605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the following code snippet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: gv_filepath     TYPE string,
      gv_filedata     TYPE xstring,
      gv_filesize     TYPE i,
      gt_bin_data     TYPE STANDARD TABLE OF raw255,
      gv_pc_filepath  TYPE string.

* Open the file in binary mode
OPEN DATASET gv_filepath FOR INPUT IN BINARY MODE.
IF sy-subrc = 0.
* Since the file is opened in Binary mode, the entire contents of the
* file is read in one go!
  READ DATASET gv_filepath INTO gv_filedata.
  IF sy-subrc = 0.
    CLOSE DATASET gv_filepath. "Close the file
  ELSE.
    "Error handling
  ENDIF.
ELSE.
  "Error Handling
ENDIF.

* Convert the file from hex-string to Binary format
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
  EXPORTING
    buffer        = gv_filedata
  IMPORTING
    output_length = gv_filesize
  TABLES
    binary_tab    = gt_bin_data.

* Download the file in "Binary" mode as well
cl_gui_frontend_services=&amp;gt;gui_download(
  EXPORTING
    bin_filesize              = gv_filesize
    filename                  = gv_pc_filepath
    filetype                  = 'BIN'
  CHANGING
    data_tab                  = gt_bin_data
  EXCEPTIONS
    file_write_error          = 1
    no_batch                  = 2
    gui_refuse_filetransfer   = 3
    invalid_type              = 4
    no_authority              = 5
    unknown_error             = 6
    header_not_allowed        = 7
    separator_not_allowed     = 8
    filesize_not_allowed      = 9
    header_too_long           = 10
    dp_error_create           = 11
    dp_error_send             = 12
    dp_error_write            = 13
    unknown_dp_error          = 14
    access_denied             = 15
    dp_out_of_memory          = 16
    disk_full                 = 17
    dp_timeout                = 18
    file_not_found            = 19
    dataprovider_exception    = 20
    control_flush_error       = 21
    not_supported_by_gui      = 22
    error_no_gui              = 23
    OTHERS                    = 24
       ).
IF sy-subrc = 0.
* Open the file in a new window
  cl_gui_frontend_services=&amp;gt;execute(
    EXPORTING
      document               = gv_pc_filepath
    EXCEPTIONS
      cntl_error             = 1
      error_no_gui           = 2
      bad_parameter          = 3
      file_not_found         = 4
      path_not_found         = 5
      file_extension_unknown = 6
      error_execute_failed   = 7
      synchronous_failed     = 8
      not_supported_by_gui   = 9
      OTHERS                 = 10
         ).
  IF sy-subrc &amp;lt;&amp;gt; 0.
    "Error handling
  ENDIF.

ELSE.
  "Error handling
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Chen: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;The issue is if you want to open the binary as a document, you need to know which format the document it is PDF/DOC/TXT etc.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; I don't think the fileformat makes any difference when you open the file in binary format!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 08:08:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909889#M1597605</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-05-27T08:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: View binary data from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909890#M1597606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suhas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;don't think the fileformat makes any difference when you open the file in binary format!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i send you a binary file and asked you to open it...wouldn't your question be...what is the format of the file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your example, i guess you are specifying the format in the file extension, so if you just sent the file path like &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;c:\temp\binary_doc&lt;/STRONG&gt; as input to the below method...what would happen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; cl_gui_frontend_services=&amp;gt;execute(&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      document               = gv_pc_filepath&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      cntl_error             = 1&lt;/P&gt;&lt;P&gt;      error_no_gui           = 2&lt;/P&gt;&lt;P&gt;      bad_parameter          = 3&lt;/P&gt;&lt;P&gt;      file_not_found         = 4&lt;/P&gt;&lt;P&gt;      path_not_found         = 5&lt;/P&gt;&lt;P&gt;      file_extension_unknown = 6&lt;/P&gt;&lt;P&gt;      error_execute_failed   = 7&lt;/P&gt;&lt;P&gt;      synchronous_failed     = 8&lt;/P&gt;&lt;P&gt;      not_supported_by_gui   = 9&lt;/P&gt;&lt;P&gt;      OTHERS                 = 10&lt;/P&gt;&lt;P&gt;         ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 08:35:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909890#M1597606</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-27T08:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: View binary data from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909891#M1597607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;If i send you a binary file and asked you to open it...wouldn't your question be...what is the format of the file?&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Infact i had realised this question was coming &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt; But the catch is, we know the source filepath &amp;amp; hence can get the file format!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My solution:The OP will be specifying the AS filepath with OPEN DATASET. We can get the filename(along with the extension) from this path. So we can get the "filetype" in this case it'll be either *.doc, *.pdf &amp;amp; *.txt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;I don't think the fileformat makes any difference when you open the file in binary format&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;By this i mean no special handling need to be done! You can forget about the file format &amp;amp; just display/download it as you've mentioned &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your comments?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 08:43:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909891#M1597607</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-05-27T08:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: View binary data from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909892#M1597608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Suhas - You are right, there isn't any special handling needed, except that with gui_download you need to specify where you want to save the file...so i guess it just a matter of what the actual scenario is and how the solution needs implemented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 09:40:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909892#M1597608</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-27T09:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: View binary data from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909893#M1597609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aiswarya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a file in binary format must be interpreted by a software that makes the content visible and understandable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PDF will be interpreted and displayed by ACROBAT or any other PDF viewer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DOC files may be interpreted and displayed by MS Word or Open Office, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pictures formatted as JPG, BMP or one of the many graphics formats will be interpreted and displayed by MS Paint or any other graphics software.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP ABAP is very limited. You can display pictures in a picture control of class cl_gui_picture. Pure ASCII text may be shown as a LIST. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Word, PDF, Excel etc. can not be displayed by SAP/ABAP. The only way is to provide the binary on the client (PC) side and start the software installed locally. There is OLE integration that allows you to run PC software in a GUI control so you may get the imagination as if it comes from SAP Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this sheds a little light on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 10:20:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-binary-data-from-application-server/m-p/7909893#M1597609</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-05-27T10:20:15Z</dc:date>
    </item>
  </channel>
</rss>

