<?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: Export / Import   to memory Id 2 . ( Unicode System) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory-id-2-unicode-system/m-p/3423913#M822324</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unicode systems have a problem in that you can't define stuff as type X. Structures also have to be properly "bounded".  You can also no longer rely on code such as field1+7(9) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could define your structure as a STRING and delimit the fields with say a tab symbol ( use the attribute in cl_abap_utilities to get the tab char in a unicode system).&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;export the string to memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on the import end use the SPLIT command on the string to re-create your data elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will then have to manage the decimal arithmetic yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's a pain - but that's largely the point of Unicode --everything is treated as TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structures containing anything other than type C data are also a real problem if you want to upload / download data. Handling Binary files is a nightmare.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some SAP supplied utilities  / notes / documentations on converting to a Unicode system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jimbo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Feb 2008 10:10:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-20T10:10:32Z</dc:date>
    <item>
      <title>Export / Import   to memory Id 2 . ( Unicode System)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory-id-2-unicode-system/m-p/3423910#M822321</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;we get unicode syntax error for the statement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   EXPORT d1200  TO MEMORY ID 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error discription is -&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; 2 must be a character-type field (data type C, N, D, or T) . "INTERFACE".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We get similar error in import statement as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer this code ..........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:  BEGIN OF d1200,&lt;/P&gt;&lt;P&gt;         form    LIKE mard-matnr,&lt;/P&gt;&lt;P&gt;         formbez LIKE makt-maktx,&lt;/P&gt;&lt;P&gt;         labst(10),&lt;/P&gt;&lt;P&gt;         zeichnr LIKE drad-doknr,&lt;/P&gt;&lt;P&gt;         zeichnr1 LIKE drad-doknr,&lt;/P&gt;&lt;P&gt;         produktion_brutto(08) TYPE p, " (16) type c&lt;/P&gt;&lt;P&gt;         reparatur(08) TYPE p,&lt;/P&gt;&lt;P&gt;         zaehlerstand(16),&lt;/P&gt;&lt;P&gt;         maxprod(08) TYPE p,&lt;/P&gt;&lt;P&gt;         kapazitaet(06) TYPE p DECIMALS 2,&lt;/P&gt;&lt;P&gt;         hoehe(07),&lt;/P&gt;&lt;P&gt;         gewicht(07),&lt;/P&gt;&lt;P&gt;         netto-gesamt(07) TYPE p,&lt;/P&gt;&lt;P&gt;         ausschuss-gesamt(07) TYPE p,&lt;/P&gt;&lt;P&gt;         brutto-gesamt(07) TYPE p,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       restmenge(07) TYPE p,&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*mico20000430&lt;/P&gt;&lt;P&gt;*notwendig für korrekte Anzeige in Druckliste&lt;/P&gt;&lt;P&gt;         restmenge(08) TYPE p,&lt;/P&gt;&lt;P&gt;         datenuebernahme(16),&lt;/P&gt;&lt;P&gt;         menge(08) TYPE p decimals 0 ,&lt;/P&gt;&lt;P&gt;         maxprod2(08) TYPE p decimals 0,&lt;/P&gt;&lt;P&gt;         umwertung(08) TYPE p decimals 0,&lt;/P&gt;&lt;P&gt;         ohnefa(08) TYPE p decimals 0,&lt;/P&gt;&lt;P&gt;         charge like mchb-charg,&lt;/P&gt;&lt;P&gt;         fhmnr LIKE mara-matnr,&lt;/P&gt;&lt;P&gt;       END   OF d1200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; EXPORT d1200  TO MEMORY ID 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 09:23:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory-id-2-unicode-system/m-p/3423910#M822321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-20T09:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Export / Import   to memory Id 2 . ( Unicode System)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory-id-2-unicode-system/m-p/3423911#M822322</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;Write it in this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;constants: gc_id(3)   TYPE c  VALUE '&amp;lt;replace with 3 digit id&amp;gt;'&lt;/P&gt;&lt;P&gt;example. gc_id(3)   TYPE c  VALUE 'ABC'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORT d1200 FROM d12001 TO MEMORY ID gc_id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLZ reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 09:31:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory-id-2-unicode-system/m-p/3423911#M822322</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-20T09:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Export / Import   to memory Id 2 . ( Unicode System)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory-id-2-unicode-system/m-p/3423912#M822323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Kunal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Memory id is just a name given to Memory Space. it can be of any length.&lt;/P&gt;&lt;P&gt;u just need to give the name in Quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg - '123ABC'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Preeti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 09:38:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory-id-2-unicode-system/m-p/3423912#M822323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-20T09:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Export / Import   to memory Id 2 . ( Unicode System)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory-id-2-unicode-system/m-p/3423913#M822324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unicode systems have a problem in that you can't define stuff as type X. Structures also have to be properly "bounded".  You can also no longer rely on code such as field1+7(9) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could define your structure as a STRING and delimit the fields with say a tab symbol ( use the attribute in cl_abap_utilities to get the tab char in a unicode system).&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;export the string to memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on the import end use the SPLIT command on the string to re-create your data elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will then have to manage the decimal arithmetic yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's a pain - but that's largely the point of Unicode --everything is treated as TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structures containing anything other than type C data are also a real problem if you want to upload / download data. Handling Binary files is a nightmare.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some SAP supplied utilities  / notes / documentations on converting to a Unicode system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jimbo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 10:10:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-import-to-memory-id-2-unicode-system/m-p/3423913#M822324</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-20T10:10:32Z</dc:date>
    </item>
  </channel>
</rss>

