<?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 Compliant: Sample test plan in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-compliant-sample-test-plan/m-p/3772536#M907742</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Manali&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to run transaction UCCHECK (SAP release &amp;gt;= 6.20) and remove all errors displayed with a red LED.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warnings (yellow LED) may be corrected as well but usually there are so many of them that you do not have the time to remove them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to test the &lt;STRONG&gt;ABAP file interface&lt;/STRONG&gt; (OPEN DATASET) very carefully because it makes a difference whether you open or write a file as UTF-8 / NON-UTF-8 on Unicode / non-Unicode system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further reading: [SAP Network Blog: Unicode File Handling in ABAP|/people/ulrich.brink/blog/2005/08/18/unicode-file-handling-in-abap]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 May 2008 21:07:24 GMT</pubDate>
    <dc:creator>uwe_schieferstein</dc:creator>
    <dc:date>2008-05-06T21:07:24Z</dc:date>
    <item>
      <title>Unicode Compliant: Sample test plan</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-compliant-sample-test-plan/m-p/3772535#M907741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are trying to make all Z objects Unicode compliant in Non-Unicode system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After checking Unicode flag in program attributes, what are the important points which any developer should check to make sure changes are working Ok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 20:54:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-compliant-sample-test-plan/m-p/3772535#M907741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T20:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode Compliant: Sample test plan</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-compliant-sample-test-plan/m-p/3772536#M907742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Manali&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to run transaction UCCHECK (SAP release &amp;gt;= 6.20) and remove all errors displayed with a red LED.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warnings (yellow LED) may be corrected as well but usually there are so many of them that you do not have the time to remove them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to test the &lt;STRONG&gt;ABAP file interface&lt;/STRONG&gt; (OPEN DATASET) very carefully because it makes a difference whether you open or write a file as UTF-8 / NON-UTF-8 on Unicode / non-Unicode system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further reading: [SAP Network Blog: Unicode File Handling in ABAP|/people/ulrich.brink/blog/2005/08/18/unicode-file-handling-in-abap]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 21:07:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-compliant-sample-test-plan/m-p/3772536#M907742</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-05-06T21:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode Compliant: Sample test plan</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-compliant-sample-test-plan/m-p/3772537#M907743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Off the top of my head... (ok not really, I did a little looking back at old code)&lt;/P&gt;&lt;P&gt;-"Open Dataset" needs the "encoding" statement added to it. Like&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;OPEN  DATASET F_FILELIST FOR INPUT IN TEXT MODE encoding default.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Anywhere where you have inserted a carriage return/Line feed could need attention. Like....&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: v_cr(1) type c.   "Carrage return = '0D'
FORM get_CR_character .
  data: f_cr_hex(5) type c value ''.
* Unicode/4.7 Upgrade Fix 21/9/2005
  CALL FUNCTION 'STPU1_HEX_TO_CHAR'
    EXPORTING
      HEX_STRING       = '\X\0D'      "Carrage return
    IMPORTING
      CHAR_STRING       = f_cr_hex.
  v_cr = f_cr_hex.
ENDFORM.                    " get_CR_character&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Closing files that didn't open properly&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;OPEN DATASET V_DEV_NULL FOR OUTPUT FILTER V_COMMAND in text mode encoding default.
  IF SY-SUBRC &amp;lt;&amp;gt; 0.
    RAISE WORKFILE_DELETE_ERROR.
  ENDIF.
* Unicode/4.7 Upgrade Fix 
* Added the TRY/CATCH as now if there are no files to process,
* then core dumps when it tries to CLOSE it
  try.
    CLOSE DATASET V_DEV_NULL.
    catch CX_SY_FILE_CLOSE.
  endtry.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Describe statements&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DESCRIBE FIELD IT_DATA_MEDIUM LENGTH F_MEDIUM_SIZE in character mode.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Structure assigning (or overlaying)&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* Unicode/4.7 Upgrade Fix 
field-symbols: &amp;lt;G_FROM_STRUCT&amp;gt; type x.
field-symbols: &amp;lt;G_TO_STRUCT&amp;gt;   type x.
*  F_RECORD = IT_RAW.
  assign IT_RAW           to &amp;lt;G_FROM_STRUCT&amp;gt; casting.
  assign F_RECORD         to &amp;lt;G_TO_STRUCT&amp;gt;   casting.
  &amp;lt;G_TO_STRUCT&amp;gt; =  &amp;lt;G_FROM_STRUCT&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Tab characters &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CONSTANTS:  c_delimiter TYPE c VALUE cl_abap_char_utilities=&amp;gt;horizontal_tab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Substring commands can cause issues&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Function Module WS_UPLOAD and WS_DOWNLOAD changed to GUI_UPLOAD and GUI_DOWNLOAD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 22:49:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-compliant-sample-test-plan/m-p/3772537#M907743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T22:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode Compliant: Sample test plan</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-compliant-sample-test-plan/m-p/3772538#M907744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i cant get your second point. can you please explain me and post in manju.chintha@gmail .com ...... Please ..........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 01:40:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-compliant-sample-test-plan/m-p/3772538#M907744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T01:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode Compliant: Sample test plan</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-compliant-sample-test-plan/m-p/3772539#M907745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all these suggestion..&lt;/P&gt;&lt;P&gt;-We did UCCheck&lt;/P&gt;&lt;P&gt;-Complied all list&lt;/P&gt;&lt;P&gt;-Made required changes in development&lt;/P&gt;&lt;P&gt;-Now we have to check Unicode flag and test program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to come up with generic test script which will be applicable to most of the ABAP..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was thinking of dividing testing in following categories..&lt;/P&gt;&lt;P&gt;-Interface&lt;/P&gt;&lt;P&gt;     *Inbound&lt;/P&gt;&lt;P&gt;     *Outbound&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Function Group&lt;/P&gt;&lt;P&gt;-Class/Methods&lt;/P&gt;&lt;P&gt;-Reports&lt;/P&gt;&lt;P&gt;-User exits / enhancements and bolt-ons&lt;/P&gt;&lt;P&gt;-BSPs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As suggested by you for interfaces it is important to test&lt;/P&gt;&lt;P&gt;-open/close data set is functioning as per expectation&lt;/P&gt;&lt;P&gt;-Describe is length is returning right count etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to understand, excluding above, are there any important steps which should be included in test script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 12:58:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-compliant-sample-test-plan/m-p/3772539#M907745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T12:58:48Z</dc:date>
    </item>
  </channel>
</rss>

