<?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: Image Upload in HEX in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/image-upload-in-hex/m-p/7367040#M1542479</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to make it by xstring and bynary mode. &lt;/P&gt;&lt;P&gt;Here is a sample :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
* RAW 1024 to RAW 1022
*
  types: t_1022 type x LENGTH 1022,
         t_1024 type x LENGTH 1024.
  field-SYMBOLS: &amp;lt;fs_converter&amp;gt; TYPE t_1022.       "1022
  data: l_xtr type xstring,
        l_xtr2 type xstring,
        ls_RAW type SDOKCNTBIN.

  loop at DOC_BINARY into ls_raw.
    ASSIGN ls_raw-line to &amp;lt;fs_converter&amp;gt; CASTING.
*    l_xtr = &amp;lt;fs_converter&amp;gt;.
    concatenate l_xtr &amp;lt;fs_converter&amp;gt; into l_xtr IN BYTE MODE.
  endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Oct 2010 15:32:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-13T15:32:22Z</dc:date>
    <item>
      <title>Image Upload in HEX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/image-upload-in-hex/m-p/7367039#M1542478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a 7-bit image in our sap-system (for our label-printers).&lt;/P&gt;&lt;P&gt;With "read dataset" I get the image in hex and I'am able to save this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my problem is, that the image is not in 7-bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So is there a way to convert the image/hex from 8-bit or 16-bit to 7-bit? (FM, Class ...)&lt;/P&gt;&lt;P&gt;I know, that SE78 converts images to 8-bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is there another option to create a 7-bit image?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Oct 2010 06:25:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/image-upload-in-hex/m-p/7367039#M1542478</guid>
      <dc:creator>Private_Member_19084</dc:creator>
      <dc:date>2010-10-13T06:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Image Upload in HEX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/image-upload-in-hex/m-p/7367040#M1542479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to make it by xstring and bynary mode. &lt;/P&gt;&lt;P&gt;Here is a sample :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
* RAW 1024 to RAW 1022
*
  types: t_1022 type x LENGTH 1022,
         t_1024 type x LENGTH 1024.
  field-SYMBOLS: &amp;lt;fs_converter&amp;gt; TYPE t_1022.       "1022
  data: l_xtr type xstring,
        l_xtr2 type xstring,
        ls_RAW type SDOKCNTBIN.

  loop at DOC_BINARY into ls_raw.
    ASSIGN ls_raw-line to &amp;lt;fs_converter&amp;gt; CASTING.
*    l_xtr = &amp;lt;fs_converter&amp;gt;.
    concatenate l_xtr &amp;lt;fs_converter&amp;gt; into l_xtr IN BYTE MODE.
  endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Oct 2010 15:32:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/image-upload-in-hex/m-p/7367040#M1542479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-13T15:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Image Upload in HEX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/image-upload-in-hex/m-p/7367041#M1542480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christophe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, thank you for your fast answer.&lt;/P&gt;&lt;P&gt;However, I think this only converts the hex-code and not the image values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already found a solution on my own.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Making a postscript converts the image into 7-bit. So I do this and then catch the content from the postscript-file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Oct 2010 06:03:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/image-upload-in-hex/m-p/7367041#M1542480</guid>
      <dc:creator>Private_Member_19084</dc:creator>
      <dc:date>2010-10-14T06:03:59Z</dc:date>
    </item>
  </channel>
</rss>

