<?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: open data set in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-data-set/m-p/6405603#M1406952</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 with OPEN DATASET IN BINARY MODE and even if that's not working, try to explicitly mention the code page for the special characters using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
OPEN DATASET....IN LEGACY TEXT MODE CODE PAGE 'xxxx'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Dec 2009 10:18:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-03T10:18:05Z</dc:date>
    <item>
      <title>open data set</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-data-set/m-p/6405602#M1406951</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;I am sending file from sap system to printer server . File has data for licence tags meaning numbers and some text &lt;/P&gt;&lt;P&gt;that shoul be printed on licence tag with bar code . &lt;/P&gt;&lt;P&gt;Numbers are printed properly  but  text has errors when we a using some special characters that we found in German or &lt;/P&gt;&lt;P&gt;French alfabet like (éèçà ). Other characters are  like A B C  are printed properly with no errors . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data to be send is in table ( OUTREC )with one field type CHAR length 8000 , &lt;/P&gt;&lt;P&gt;file to be opened (g_filename ) on server is of TYPE string . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is   should I use FOR OUTPUT IN BINARY MODE instead of actual code  ,&lt;/P&gt;&lt;P&gt;to be sure that special characters will be printed in the way tey been send to printer ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is actual code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET g_filename FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;IF sy-subrc NE 0. &lt;/P&gt;&lt;P&gt;err_flag = 'X'.&lt;/P&gt;&lt;P&gt;RAISE lbl_create_err.&lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT outrec.&lt;/P&gt;&lt;P&gt;TRANSFER outrec TO g_filename.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;CLOSE DATASET g_filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 10:02:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-data-set/m-p/6405602#M1406951</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-03T10:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: open data set</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-data-set/m-p/6405603#M1406952</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 with OPEN DATASET IN BINARY MODE and even if that's not working, try to explicitly mention the code page for the special characters using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
OPEN DATASET....IN LEGACY TEXT MODE CODE PAGE 'xxxx'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 10:18:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-data-set/m-p/6405603#M1406952</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-03T10:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: open data set</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-data-set/m-p/6405604#M1406953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 10:29:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-data-set/m-p/6405604#M1406953</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-03T10:29:49Z</dc:date>
    </item>
  </channel>
</rss>

