<?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: unicode programming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-programming/m-p/3011349#M711621</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;ABAP and Unicode&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From Release 6.10, ABAP supports multi-byte coding for characters in Unicode. Prior to Release 6.10, ABAP used only character sets that were based on single-byte codes &amp;#150; such as ASCII and EBCDIC &amp;#150; or double-byte codes, such as SJIS and BIG5. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This switch to Unicode affects all statements where an explicit or implicit assumption is made about the internal length of a character. If you use these statements in a program that is designed to exploit the Unicode capabilities of the runtime environment, they must be checked and changed if necessary. Once a Unicode-enabled program has been changed accordingly, it behaves in the same way in both Unicode and non-Unicode systems. You can develop programs in a non-Unicode system (NUS) and then import them into a Unicode system (US). The following sections describe the conversions that are necessary:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2004/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2004/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if usefull&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Nov 2007 11:51:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-13T11:51:42Z</dc:date>
    <item>
      <title>unicode programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-programming/m-p/3011346#M711618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wht is unicode programming and uni code check&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 11:46:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-programming/m-p/3011346#M711618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T11:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: unicode programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-programming/m-p/3011347#M711619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unicode - an international standard that supports virtually all of the languages and scripts used in the world, ensuring that they function no matter what the language or platform. Future versions of SAP applications will be exclusively in 64-bit and Unicode starting in 2007&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main difference is that one character can be more then one byte now. So weird programs are showing non-aligned lists now. Or interfaces will no more work if the code insist that the starting of some fields always is at the same position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Casting in a non-unicode envirinment might be ok but can fail in a unicode environment, syntax check does not help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to test all programs even those untouched if they still do what they are intended to do, listlayout might be disturbed, screen layout might be disturbed, import/export of files is extremly dangerous causi it can happen that no error will occur, but strange data is handled&lt;/P&gt;&lt;P&gt;The Link will be helpful to you.&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3296796"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="369696"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very good document:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.doag.org/pub/docs/sig/sap/2004-03/Buhlinger_Maxi_Version.pdf" target="test_blank"&gt;http://www.doag.org/pub/docs/sig/sap/2004-03/Buhlinger_Maxi_Version.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d37d1ad9-0b01-0010-ed9f-bc3222312dd8" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d37d1ad9-0b01-0010-ed9f-bc3222312dd8&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/589d18d9-0b01-0010-ac8a-8a22852061a2" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/589d18d9-0b01-0010-ac8a-8a22852061a2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f8e316d9-0b01-0010-8e95-829a58c1511a" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f8e316d9-0b01-0010-8e95-829a58c1511a&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the Below SAP link to know about the Unicode programming&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/62/3f2cadb35311d5993800508b6b8b11/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/62/3f2cadb35311d5993800508b6b8b11/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/62/3f2cadb35311d5993800508b6b8b11/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/62/3f2cadb35311d5993800508b6b8b11/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://service.sap.com/unicode" target="test_blank"&gt;http://service.sap.com/unicode&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://service.sap.com/unicode@SAP" target="test_blank"&gt;http://service.sap.com/unicode@SAP&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://service.sap.com/i18n" target="test_blank"&gt;http://service.sap.com/i18n&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/collaboration" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/collaboration&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="920839"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Check this website.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.unicode.org/" target="test_blank"&gt;http://www.unicode.org/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards if useful.......&lt;/P&gt;&lt;P&gt;        Minal Nampalliwar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 11:49:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-programming/m-p/3011347#M711619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T11:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: unicode programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-programming/m-p/3011348#M711620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Upto 4.6B SAP systems are non-unicode systems, which will not support multiple code pages. it will support only single code pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if it helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 11:50:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-programming/m-p/3011348#M711620</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T11:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: unicode programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-programming/m-p/3011349#M711621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;ABAP and Unicode&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From Release 6.10, ABAP supports multi-byte coding for characters in Unicode. Prior to Release 6.10, ABAP used only character sets that were based on single-byte codes &amp;#150; such as ASCII and EBCDIC &amp;#150; or double-byte codes, such as SJIS and BIG5. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This switch to Unicode affects all statements where an explicit or implicit assumption is made about the internal length of a character. If you use these statements in a program that is designed to exploit the Unicode capabilities of the runtime environment, they must be checked and changed if necessary. Once a Unicode-enabled program has been changed accordingly, it behaves in the same way in both Unicode and non-Unicode systems. You can develop programs in a non-Unicode system (NUS) and then import them into a Unicode system (US). The following sections describe the conversions that are necessary:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2004/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2004/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if usefull&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 11:51:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-programming/m-p/3011349#M711621</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T11:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: unicode programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-programming/m-p/3011350#M711622</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;Intial screen where you can enter your selection criteria, only field you will prob need to chnage is the max number of &lt;/P&gt;&lt;P&gt;programs field so that it is high enough to return all your potential problems.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have not set your max programs field high enough you will see the following screen during execution.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the transaction as finished analysing your systenm it will provide you with a report detailing all your objects which do not currently have &lt;/P&gt;&lt;P&gt;the unicode attribute selected. It also details what problems you will have when you check the unicode attribute and try to reactivate the object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Unicode attribute can be turned on without any modification to the object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Modification(s) to the object will be required before unicode can be switched on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Error in code which is unrelated to unicode conversion&lt;/P&gt;&lt;P&gt;Error code 	Solution instructions &lt;/P&gt;&lt;P&gt;MESSAGEG@3 	&lt;/P&gt;&lt;P&gt;Replace variable declaration of type X with appropriate value from method cl_abap_char_utilities &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. 	CONSTANTS: 	con_tab TYPE x VALUE '09',&lt;/P&gt;&lt;P&gt;			con_cret TYPE x VALUE '0D'.&lt;/P&gt;&lt;P&gt;would be replaced with&lt;/P&gt;&lt;P&gt;	CONSTANTS: 	con_tab TYPE c value cl_abap_char_utilities=&amp;gt;HORIZONTAL_TAB,&lt;/P&gt;&lt;P&gt;			con_cret TYPE c value cl_abap_char_utilities=&amp;gt;CR_LF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See here for further Hex code values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPLO 	&lt;/P&gt;&lt;P&gt;Upload/ws_upload and download/ws_download are obsolete, since they are not Unicode enabled. Replace &lt;/P&gt;&lt;P&gt;with appropriate methods from cl_gui_frontend_services. Please also note that the data types of the various &lt;/P&gt;&lt;P&gt;parameters will also probably also need changing for the new method calls but the code below demonstrates &lt;/P&gt;&lt;P&gt;how to do this. I_TABLE is the original table and IT_UCTABLE is the converted table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. Function module &amp;#145;WS_DOWNLOAD&amp;#146;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'WS_DOWNLOAD'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;           FILENAME                = p_file&lt;/P&gt;&lt;P&gt;           FILETYPE                = 'ASC'&lt;/P&gt;&lt;P&gt;         MODE                    = ' '&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            DATA_TAB                = i_table&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;would be replaced with&lt;/P&gt;&lt;P&gt;data: gd_file type string.&lt;/P&gt;&lt;P&gt;types: t_uctable like line of i_table.&lt;/P&gt;&lt;P&gt;data:  it_uctable type standard table of t_uctable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  gd_file = p_file.&lt;/P&gt;&lt;P&gt;  it_uctable[] = i_table[].&lt;/P&gt;&lt;P&gt;  CALL METHOD cl_gui_frontend_services=&amp;gt;gui_download&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    filename = gd_file&lt;/P&gt;&lt;P&gt;    filetype = 'ASC' " DAT,WK1&lt;/P&gt;&lt;P&gt;    Append   = ' '   "if mode = A then this would be X&lt;/P&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;    data_tab = it_uctable&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    OTHERS   = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function module &amp;#145;DOWNLOAD&amp;#146;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'DOWNLOAD'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          filename = p_file&lt;/P&gt;&lt;P&gt;          filetype = 'WK1'&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          data_tab = i_table.&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;would be replaced with&lt;/P&gt;&lt;P&gt;data: gd_file type string.&lt;/P&gt;&lt;P&gt;DATA: ld_filename TYPE string,&lt;/P&gt;&lt;P&gt;      ld_path TYPE string,&lt;/P&gt;&lt;P&gt;      ld_fullpath TYPE string,&lt;/P&gt;&lt;P&gt;      ld_result TYPE i.&lt;/P&gt;&lt;P&gt;types: t_uctable like line of i_table.&lt;/P&gt;&lt;P&gt;data:  it_uctable type standard table of t_uctable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  gd_file = p_file.&lt;/P&gt;&lt;P&gt;  shift gd_file RIGHT DELETING TRAILING '\'.&lt;/P&gt;&lt;P&gt;  shift gd_file RIGHT DELETING TRAILING '/'.&lt;/P&gt;&lt;P&gt;  shift gd_file left DELETING LEADING space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD cl_gui_frontend_services=&amp;gt;file_save_dialog&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      DEFAULT_EXTENSION = 'WK1'&lt;/P&gt;&lt;P&gt;      default_file_name = gd_file&lt;/P&gt;&lt;P&gt;      INITIAL_DIRECTORY = gd_file&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      filename          = ld_filename&lt;/P&gt;&lt;P&gt;      path              = ld_path&lt;/P&gt;&lt;P&gt;      fullpath          = ld_fullpath&lt;/P&gt;&lt;P&gt;      user_action       = ld_result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  check ld_result eq 0.&lt;/P&gt;&lt;P&gt;  gd_file = ld_fullpath.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  gd_file = p_file.&lt;/P&gt;&lt;P&gt;  it_uctable[] = i_table[].&lt;/P&gt;&lt;P&gt;  CALL METHOD cl_gui_frontend_services=&amp;gt;gui_download&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    filename = gd_file&lt;/P&gt;&lt;P&gt;    filetype = 'ASC' " DAT,WK1&lt;/P&gt;&lt;P&gt;    Append   = ' '   "if mode = A then this would be X&lt;/P&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;    data_tab = it_uctable&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    OTHERS   = 1.&lt;/P&gt;&lt;P&gt;Or in circumstances where you need to add field texts to the first line of the file you could use the &lt;/P&gt;&lt;P&gt;GUI_DOWNLOAD function module:&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF fields_tab OCCURS 0,&lt;/P&gt;&lt;P&gt;        f1(50),&lt;/P&gt;&lt;P&gt;      END   OF fields_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fields_tab-f1 = 'field1 text'.&lt;/P&gt;&lt;P&gt;APPEND fields_tab.&lt;/P&gt;&lt;P&gt;fields_tab-f1 = 'field2 text'.&lt;/P&gt;&lt;P&gt;APPEND fields_tab.&lt;/P&gt;&lt;P&gt;fields_tab-f1 = 'field3 text'.&lt;/P&gt;&lt;P&gt;APPEND fields_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      filename                = i_filename&lt;/P&gt;&lt;P&gt;      filetype                = 'DAT'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      filelength              = filelen&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      data_tab                = itab&lt;/P&gt;&lt;P&gt;      fieldnames              = fields_tab&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;           .....&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;Note: &amp;#145;ws_upload&amp;#146; and &amp;#145;upload&amp;#146; would be the same as above but would use the &lt;/P&gt;&lt;P&gt;cl_gui_frontend_services=&amp;gt;gui_upload method call instead:&lt;/P&gt;&lt;P&gt; CALL METHOD cl_gui_frontend_services=&amp;gt;gui_upload&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    filename = gd_file&lt;/P&gt;&lt;P&gt;    filetype = 'ASC' " DAT,WK1&lt;/P&gt;&lt;P&gt;    Append   = ' '&lt;/P&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;    data_tab = it_uctable&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    OTHERS   = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN 004 	&lt;/P&gt;&lt;P&gt;Add &amp;#145;ENCODING&amp;#146; addition to statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. 	OPEN DATASET G_DATAFILE for OUTPUT IN TEXT MODE.&lt;/P&gt;&lt;P&gt;would be replaced with&lt;/P&gt;&lt;P&gt;	OPEN DATASET G_DATAFILE for OUTPUT IN TEXT MODE ENCODING NON-UNICODE.&lt;/P&gt;&lt;P&gt;OPEN 002 	&lt;/P&gt;&lt;P&gt;IN..Mode is expected within open dataset command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. 	OPEN DATASET wfilepath FOR OUTPUT.&lt;/P&gt;&lt;P&gt;would be replaced with&lt;/P&gt;&lt;P&gt;	OPEN DATASET wfilepath FOR OUTPUT IN TEXT MODE ENCODING NON-UNICODE.&lt;/P&gt;&lt;P&gt;Or 	OPEN DATASET wfilepath FOR OUTPUT IN BINARY MODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN 001 	&lt;/P&gt;&lt;P&gt;FOR INPUT, FOR OUTPUT, FOR APPENDING or FOR UPDATE expected! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. 	OPEN DATASET wfilepath FOR OUTPUT.&lt;/P&gt;&lt;P&gt;would be replaced with&lt;/P&gt;&lt;P&gt;	OPEN FOR OUTPUT DATASET wfilepath FOR OUTPUT IN TEXT MODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCIBE002 	&lt;/P&gt;&lt;P&gt;THE DESCRIBE LENGTH can only be used with the IN BYTE or IN CHARACTER MODE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. 	describe field e_text length line_length.&lt;/P&gt;&lt;P&gt;would be replaced with &lt;/P&gt;&lt;P&gt;	describe field e_text length line_length IN CHARACTER MODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN 019 	&lt;/P&gt;&lt;P&gt;The statement &amp;#145;ASSIGN PATH+PATHLENGTH TO &lt;/P&gt;&lt;P&gt;.&amp;#146; Returns the following error message: &lt;/P&gt;&lt;P&gt;"You cannot use ASSIGN f+offset. Always use an explicit length (or '*')". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. 	ASSIGN PATH+PATHLENGTH TO &lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;would be replaced with&lt;/P&gt;&lt;P&gt;	ASSIGN PATH+PATHLENGTH(2) TO &lt;/P&gt;&lt;P&gt;. &amp;#147;replace 2 with the length of the field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGEG!2 	&lt;/P&gt;&lt;P&gt;Itab/structure and &amp;#147; &amp;#147;  are not mutually convertible in a Unicode program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. 	G_SHOW_LIST = SPACE.&lt;/P&gt;&lt;P&gt;would be replaced with &lt;/P&gt;&lt;P&gt;	Clear: G_SHOW_LIST.&lt;/P&gt;&lt;P&gt;Or  	G_SHOW_LIST-field1 = space.&lt;/P&gt;&lt;P&gt;	G_SHOW_LIST-field2 = space.&lt;/P&gt;&lt;P&gt;					&amp;#133;etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGEG!3 	&lt;/P&gt;&lt;P&gt;var and var  are not comparable in a Unicode program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example 	Data: VAR like tabix.&lt;/P&gt;&lt;P&gt;was replaced with &lt;/P&gt;&lt;P&gt;		Data: VAR type sy-tabix.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 11:56:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-programming/m-p/3011350#M711622</guid>
      <dc:creator>mahaboob_pathan</dc:creator>
      <dc:date>2007-11-13T11:56:05Z</dc:date>
    </item>
  </channel>
</rss>

