<?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 Barcode PDF-417 print using XSTRING (Hex Data) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/barcode-pdf-417-print-using-xstring-hex-data/m-p/12388808#M1994570</link>
    <description>&lt;P&gt;Dear experts,&lt;/P&gt;
  &lt;P&gt;I currently have a requirement of creating a PDF417 barcode using Hex-data (XSTRING).&lt;/P&gt;
  &lt;P&gt;I have already created the data in an XSTRING and also read the note 645158.&lt;/P&gt;
  &lt;P&gt;Inside the note it says that if we want to render data in Hex mode, we should use the \BYTEMODE prefix.&lt;/P&gt;
  &lt;P&gt;My data is the following (in an XSTRING)&lt;/P&gt;
  &lt;P&gt;DATA: l_barcodedata_x TYPE XSTRING VALUE '000002024801000100313134D742756C6CF'&lt;/P&gt;
  &lt;P&gt;Some of this data contain hex values that don't have an iso 1100 equivalent.&lt;/P&gt;
  &lt;P&gt;Does anyone know how it is possible to generate a barcode in human readable format, using the above hex values?&lt;/P&gt;
  &lt;P&gt;I tried creating a string variable and adding the the \BYTEMODE prefix, but it didn't work.&lt;/P&gt;
  &lt;P&gt;Any ideas will be helpful.&lt;/P&gt;
  &lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 20 Apr 2021 09:34:07 GMT</pubDate>
    <dc:creator>nikos_c</dc:creator>
    <dc:date>2021-04-20T09:34:07Z</dc:date>
    <item>
      <title>Barcode PDF-417 print using XSTRING (Hex Data)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/barcode-pdf-417-print-using-xstring-hex-data/m-p/12388808#M1994570</link>
      <description>&lt;P&gt;Dear experts,&lt;/P&gt;
  &lt;P&gt;I currently have a requirement of creating a PDF417 barcode using Hex-data (XSTRING).&lt;/P&gt;
  &lt;P&gt;I have already created the data in an XSTRING and also read the note 645158.&lt;/P&gt;
  &lt;P&gt;Inside the note it says that if we want to render data in Hex mode, we should use the \BYTEMODE prefix.&lt;/P&gt;
  &lt;P&gt;My data is the following (in an XSTRING)&lt;/P&gt;
  &lt;P&gt;DATA: l_barcodedata_x TYPE XSTRING VALUE '000002024801000100313134D742756C6CF'&lt;/P&gt;
  &lt;P&gt;Some of this data contain hex values that don't have an iso 1100 equivalent.&lt;/P&gt;
  &lt;P&gt;Does anyone know how it is possible to generate a barcode in human readable format, using the above hex values?&lt;/P&gt;
  &lt;P&gt;I tried creating a string variable and adding the the \BYTEMODE prefix, but it didn't work.&lt;/P&gt;
  &lt;P&gt;Any ideas will be helpful.&lt;/P&gt;
  &lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 09:34:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/barcode-pdf-417-print-using-xstring-hex-data/m-p/12388808#M1994570</guid>
      <dc:creator>nikos_c</dc:creator>
      <dc:date>2021-04-20T09:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Barcode PDF-417 print using XSTRING (Hex Data)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/barcode-pdf-417-print-using-xstring-hex-data/m-p/12388809#M1994571</link>
      <description>&lt;P&gt;The &lt;A href="https://launchpad.support.sap.com/#/notes/645158"&gt;note 645158 - New bar code technology&lt;/A&gt; says:&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;"\BYTEMODE at the start of the bar code data: The entire bar code uses binary mode&lt;BR /&gt;to encode the data (see SAP Note 2040530).&lt;BR /&gt;Prerequisite: The kernel patch from SAP Note 2040530 has been applied in the system."&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The &lt;A href="https://launchpad.support.sap.com/#/notes/2040530"&gt;note 2040530 - PDF417 Barcode: accommodate 1100 bytes as input&lt;/A&gt; says:&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;&lt;EM&gt;"Although the PDF417 2-D Barcode ISO specification allows for 1100 raw bytes to be output in a single barcode, the barcode generation for SAPscript/Smart Forms (see note 645158) cannot generate such a barcode because the built-in encoding algorithm switches between Text and Byte compaction modes, which allows for only about 1040 raw byte values in total."&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In fact, I don't understand what the note says, but I don't understand why you say "iso 1100". In the note, 1100 is the number of bytes, not the SAP code page 1100 (iso-8859-1).&lt;/P&gt;&lt;P&gt;The variable inside the PDF417 barcode character format should contain:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; \BYTEMODE000002024801000100313134D742756C6CF&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and that should generate the barcode correctly (provided that the kernel is installed).&lt;/P&gt;&lt;P&gt;Hexadecimal "00" does not correspond to "human-readable format" in any way, so I don't understand what your question is.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 14:02:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/barcode-pdf-417-print-using-xstring-hex-data/m-p/12388809#M1994571</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-04-20T14:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Barcode PDF-417 print using XSTRING (Hex Data)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/barcode-pdf-417-print-using-xstring-hex-data/m-p/12388810#M1994572</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you for the answer.&lt;/P&gt;&lt;P&gt;By "human readable" I mean that when scanned, the barcode must show any ISO8859-1 characters (1100) converted in human readable format (for e.g. its should show "This is a test" instead of "54 68 69 73 20 69 73 20 61 20 74 65 73 74").&lt;/P&gt;&lt;P&gt;I tried with the approach you mentioned, but the system created a barcode with HEX info only.&lt;/P&gt;&lt;P&gt;Maybe, I'm missing the KERNEL installation in this case?&lt;/P&gt;&lt;P&gt;Thanks once again.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 14:13:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/barcode-pdf-417-print-using-xstring-hex-data/m-p/12388810#M1994572</guid>
      <dc:creator>nikos_c</dc:creator>
      <dc:date>2021-04-20T14:13:19Z</dc:date>
    </item>
  </channel>
</rss>

