<?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 Display data in binary format in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-data-in-binary-format/m-p/1389935#M189549</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to read data from a flat file and convert that to binary format and display it in binary itself(0s and 1s). Reading stuff I can do but i cannot convert that to binary and display it in the form of a report.&lt;/P&gt;&lt;P&gt;I have looked into some standard function modules but i am not sure of the input parameters required by those modules. Can somebody please help me ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jun 2006 13:53:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-21T13:53:19Z</dc:date>
    <item>
      <title>Display data in binary format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-data-in-binary-format/m-p/1389935#M189549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to read data from a flat file and convert that to binary format and display it in binary itself(0s and 1s). Reading stuff I can do but i cannot convert that to binary and display it in the form of a report.&lt;/P&gt;&lt;P&gt;I have looked into some standard function modules but i am not sure of the input parameters required by those modules. Can somebody please help me ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 13:53:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-data-in-binary-format/m-p/1389935#M189549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-21T13:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Display data in binary format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-data-in-binary-format/m-p/1389936#M189550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Looks like this FM C13Z_FILE_DOWNLOAD_BINARY will be helpful to you.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 13:59:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-data-in-binary-format/m-p/1389936#M189550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-21T13:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Display data in binary format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-data-in-binary-format/m-p/1389937#M189551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Kirti&lt;/P&gt;&lt;P&gt;Check the following Code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flat file Contents is : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAT991            CCOUP Srinivas material01                      Kg&lt;/P&gt;&lt;P&gt;MAT992            CCOUP Srinivas material01                      Kg&lt;/P&gt;&lt;P&gt;MAT993            CCOUP Srinivas material01                      Kg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of it_mara occurs 0,&lt;/P&gt;&lt;P&gt;matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;mbrsh like mara-mbrsh,&lt;/P&gt;&lt;P&gt;mtart like mara-mtart,&lt;/P&gt;&lt;P&gt;maktx like makt-maktx,&lt;/P&gt;&lt;P&gt;meins like mara-meins,&lt;/P&gt;&lt;P&gt;end of it_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    FILENAME                      = 'c:\new.txt'&lt;/P&gt;&lt;P&gt;    FILETYPE                      = 'BIN'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    DATA_TAB                      = it_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_mara.&lt;/P&gt;&lt;P&gt; write : it_mara-matnr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Sreenivasulu P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 14:05:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-data-in-binary-format/m-p/1389937#M189551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-21T14:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Display data in binary format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-data-in-binary-format/m-p/1389938#M189552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt; I greatly appreciate you replying to my problem. But this FM is not enough for my purpose.&lt;/P&gt;&lt;P&gt; The FM C13Z_FILE_DOWNLOAD_BINARY can only download the file in binary format to the presentation server but i need to read that file in binary itself and display it in the form of a report. I can read that file as well but this data is converted to ASCII when read and the 0s and 1s seems to disappear.&lt;/P&gt;&lt;P&gt; I have already tried with this FM but am facing difficulties in displaying the binary data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 14:10:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-data-in-binary-format/m-p/1389938#M189552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-21T14:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: Display data in binary format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-data-in-binary-format/m-p/1389939#M189553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the code Sreenivasulu but this will display the data in the form of characters itself and what i want is 0s and 1s.&lt;/P&gt;&lt;P&gt;Can you please suggest something that can display it in the form of 0s and 1s.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Kirti Bhushan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 14:17:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-data-in-binary-format/m-p/1389939#M189553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-21T14:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Display data in binary format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-data-in-binary-format/m-p/1389940#M189554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kirti,&lt;/P&gt;&lt;P&gt; Do something on this lines:&lt;/P&gt;&lt;P&gt;data:  CHAR(2) type C value '14',&lt;/P&gt;&lt;P&gt;       INT TYPE I,&lt;/P&gt;&lt;P&gt;       hex type x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INT = CHAR.&lt;/P&gt;&lt;P&gt;       hex = int.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      write: hex.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       case hex.&lt;/P&gt;&lt;P&gt;       when '00'.&lt;/P&gt;&lt;P&gt;       write: '0000'.&lt;/P&gt;&lt;P&gt;       when '01'.&lt;/P&gt;&lt;P&gt;       write: '0001'.&lt;/P&gt;&lt;P&gt;       when '02'.&lt;/P&gt;&lt;P&gt;       write: '0010'.&lt;/P&gt;&lt;P&gt;       when '03'.&lt;/P&gt;&lt;P&gt;       write: '0011'.&lt;/P&gt;&lt;P&gt;       when '04'.&lt;/P&gt;&lt;P&gt;       write: '0100'.&lt;/P&gt;&lt;P&gt;       when '05'.&lt;/P&gt;&lt;P&gt;       write: '0101'.&lt;/P&gt;&lt;P&gt;       when '06'.&lt;/P&gt;&lt;P&gt;       write: '0110'.&lt;/P&gt;&lt;P&gt;       when '07'.&lt;/P&gt;&lt;P&gt;       write: '0111'.&lt;/P&gt;&lt;P&gt;       when '08'.&lt;/P&gt;&lt;P&gt;       write: '1000'.&lt;/P&gt;&lt;P&gt;       when '09'.&lt;/P&gt;&lt;P&gt;       write: '1001'.&lt;/P&gt;&lt;P&gt;       when '0A'.&lt;/P&gt;&lt;P&gt;       write: '1010'.&lt;/P&gt;&lt;P&gt;       when '0B'.&lt;/P&gt;&lt;P&gt;       write: '1011'.&lt;/P&gt;&lt;P&gt;       when '0C'.&lt;/P&gt;&lt;P&gt;       write: '1100'.&lt;/P&gt;&lt;P&gt;       when '0D'.&lt;/P&gt;&lt;P&gt;       write: '1101'.&lt;/P&gt;&lt;P&gt;       when '0E'.&lt;/P&gt;&lt;P&gt;       write: '1110'.&lt;/P&gt;&lt;P&gt;       when '0F'.&lt;/P&gt;&lt;P&gt;       write: '1111'.&lt;/P&gt;&lt;P&gt;       endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 14:26:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-data-in-binary-format/m-p/1389940#M189554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-21T14:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Display data in binary format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-data-in-binary-format/m-p/1389941#M189555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your flat file on appserver? then try the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: v_hex type x,&lt;/P&gt;&lt;P&gt;      v_bit type n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open dataset file_name for input in &amp;lt;b&amp;gt;binary mode&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;do.&lt;/P&gt;&lt;P&gt;read dataset file_name into v_hex.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;close dataset file_name&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do 8 times.&lt;/P&gt;&lt;P&gt;get bit sy-index of v_hex into v_bit.&lt;/P&gt;&lt;P&gt;write v_bit no-gap.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sridahr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Sridhar K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 16:01:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-data-in-binary-format/m-p/1389941#M189555</guid>
      <dc:creator>sridhar_k1</dc:creator>
      <dc:date>2006-06-21T16:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Display data in binary format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-data-in-binary-format/m-p/1389942#M189556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;  Thanks for the help. I have checked with your lines but it can only display numbers in binary. In order to display alphabets as well as special characters the code needs to be modified manifold and the binary code of every character has to be checked with. Also this may take lots of processing time and such performance issues won't be accepted by my seniors.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Kirti Bhushan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 04:28:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-data-in-binary-format/m-p/1389942#M189556</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T04:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Display data in binary format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-data-in-binary-format/m-p/1389943#M189557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sridhar,&lt;/P&gt;&lt;P&gt;     Thanks a ton for the solution you provided me for my problem. Its workin fine and I am very much satisfied with the results. Thanks again and thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kirti Bhushan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 04:49:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-data-in-binary-format/m-p/1389943#M189557</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T04:49:32Z</dc:date>
    </item>
  </channel>
</rss>

