<?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 about unicode program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-unicode-program/m-p/2469955#M555158</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello expert:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using CALL METHOD CL_GUI_FRONTEND_SERVICES=&amp;gt;GUI_UPLOAD &lt;/P&gt;&lt;P&gt;to read local file into a internal table 'A'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i have a B structure&lt;/P&gt;&lt;P&gt;data: begin of g_file_item_rec,&lt;/P&gt;&lt;P&gt;        stype type bbseg-stype,"Batch Input Interface Record Type&lt;/P&gt;&lt;P&gt;        newbs type bbseg-newbs,"Posting Key for the Next Line Item&lt;/P&gt;&lt;P&gt;        newko type bbseg-newko,"Account or Matchcode for Next Line Item&lt;/P&gt;&lt;P&gt;        wrbtr type bbseg-wrbtr,"Amount in document currency&lt;/P&gt;&lt;P&gt;        dmbtr type bbseg-dmbtr,"Amount in local currency&lt;/P&gt;&lt;P&gt;        fwbas type bbseg-fwbas, "Tax Base Amount in Document Currency&lt;/P&gt;&lt;P&gt;        hwbas type bbseg-hwbas, "Tax Base Amount in Local Currency&lt;/P&gt;&lt;P&gt;        mwskz type bbseg-mwskz,"Tax on Sales/Purchases Code&lt;/P&gt;&lt;P&gt;        zuonr type bbseg-zuonr,"Assignment number&lt;/P&gt;&lt;P&gt;        sgtxt type bbseg-sgtxt,"Item Text&lt;/P&gt;&lt;P&gt;        fdlev type bbseg-fdlev,"Planning level&lt;/P&gt;&lt;P&gt;        zfbdt type bbseg-zfbdt,"Baseline Date&lt;/P&gt;&lt;P&gt;        zterm type bbseg-zterm,"Terms of payment key&lt;/P&gt;&lt;P&gt;        zlsch type bbseg-zlsch,"Payment Method&lt;/P&gt;&lt;P&gt;        zlspr type bbseg-zlspr,"Payment Block Key&lt;/P&gt;&lt;P&gt;        qsskz_i type bbseg-qsskz,"Withholding Tax Code for Invoice&lt;/P&gt;&lt;P&gt;        qsskz_p type bbseg-qsskz,"Withholding Tax Code for Payment&lt;/P&gt;&lt;P&gt;        kostl type bbseg-kostl,"Cost Center&lt;/P&gt;&lt;P&gt;        aufnr type bbseg-aufnr,"Order Number&lt;/P&gt;&lt;P&gt;        prctr type bbseg-prctr,"Profit Center&lt;/P&gt;&lt;P&gt;        vbund type bbseg-vbund,"Company ID of Trading Partner&lt;/P&gt;&lt;P&gt;        newum like bbseg-newum, "Spl G/L Indicator for Next Line Item&lt;/P&gt;&lt;P&gt;    newbw like bbseg-newbw, "asset transaction type&lt;/P&gt;&lt;P&gt;    gsber like bbseg-gsber, "business area&lt;/P&gt;&lt;P&gt;    hbkid like bbseg-hbkid, "house bank&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;for extended withholding tax at invoice&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    witht_i like bwith-witht, "withhold tax type&lt;/P&gt;&lt;P&gt;    wt_qsshb_i like bwith-wt_qsshb, "withhold tax base amt in Doc Curry&lt;/P&gt;&lt;P&gt;    wt_qsshh_i like bwith-wt_qsshh, "withhold tax base amt in Loc Curry&lt;/P&gt;&lt;P&gt;    wt_qbuihb_i like bwith-wt_qbuihb, "withholding tax amt in Doc Curry&lt;/P&gt;&lt;P&gt;    wt_qbuihh_i like bwith-wt_qbuihh, "withholding tax amt in Loc Curry&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;for extended withholding tax at payment&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    witht_p like bwith-witht, "withhold tax type&lt;/P&gt;&lt;P&gt;    wt_qsshb_p like bwith-wt_qsshb, "withhold tax base amt in Doc Curry&lt;/P&gt;&lt;P&gt;    wt_qsshh_p like bwith-wt_qsshh, "withhold tax base amt in Loc Curry&lt;/P&gt;&lt;P&gt;    wt_qbuihb_p like bwith-wt_qbuihb, "withholding tax amt in Doc Curry&lt;/P&gt;&lt;P&gt;    wt_qbuihh_p like bwith-wt_qbuihh, "withholding tax amt in Loc Curry&lt;/P&gt;&lt;P&gt;    valut like bbseg-valut, "value date&lt;/P&gt;&lt;P&gt;    bewar like bbseg-bewar, "consolidation transaction type&lt;/P&gt;&lt;P&gt;      end of g_file_item_rec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i copy A to B in unicode system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jun 2007 08:52:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-25T08:52:08Z</dc:date>
    <item>
      <title>about unicode program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-unicode-program/m-p/2469955#M555158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello expert:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using CALL METHOD CL_GUI_FRONTEND_SERVICES=&amp;gt;GUI_UPLOAD &lt;/P&gt;&lt;P&gt;to read local file into a internal table 'A'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i have a B structure&lt;/P&gt;&lt;P&gt;data: begin of g_file_item_rec,&lt;/P&gt;&lt;P&gt;        stype type bbseg-stype,"Batch Input Interface Record Type&lt;/P&gt;&lt;P&gt;        newbs type bbseg-newbs,"Posting Key for the Next Line Item&lt;/P&gt;&lt;P&gt;        newko type bbseg-newko,"Account or Matchcode for Next Line Item&lt;/P&gt;&lt;P&gt;        wrbtr type bbseg-wrbtr,"Amount in document currency&lt;/P&gt;&lt;P&gt;        dmbtr type bbseg-dmbtr,"Amount in local currency&lt;/P&gt;&lt;P&gt;        fwbas type bbseg-fwbas, "Tax Base Amount in Document Currency&lt;/P&gt;&lt;P&gt;        hwbas type bbseg-hwbas, "Tax Base Amount in Local Currency&lt;/P&gt;&lt;P&gt;        mwskz type bbseg-mwskz,"Tax on Sales/Purchases Code&lt;/P&gt;&lt;P&gt;        zuonr type bbseg-zuonr,"Assignment number&lt;/P&gt;&lt;P&gt;        sgtxt type bbseg-sgtxt,"Item Text&lt;/P&gt;&lt;P&gt;        fdlev type bbseg-fdlev,"Planning level&lt;/P&gt;&lt;P&gt;        zfbdt type bbseg-zfbdt,"Baseline Date&lt;/P&gt;&lt;P&gt;        zterm type bbseg-zterm,"Terms of payment key&lt;/P&gt;&lt;P&gt;        zlsch type bbseg-zlsch,"Payment Method&lt;/P&gt;&lt;P&gt;        zlspr type bbseg-zlspr,"Payment Block Key&lt;/P&gt;&lt;P&gt;        qsskz_i type bbseg-qsskz,"Withholding Tax Code for Invoice&lt;/P&gt;&lt;P&gt;        qsskz_p type bbseg-qsskz,"Withholding Tax Code for Payment&lt;/P&gt;&lt;P&gt;        kostl type bbseg-kostl,"Cost Center&lt;/P&gt;&lt;P&gt;        aufnr type bbseg-aufnr,"Order Number&lt;/P&gt;&lt;P&gt;        prctr type bbseg-prctr,"Profit Center&lt;/P&gt;&lt;P&gt;        vbund type bbseg-vbund,"Company ID of Trading Partner&lt;/P&gt;&lt;P&gt;        newum like bbseg-newum, "Spl G/L Indicator for Next Line Item&lt;/P&gt;&lt;P&gt;    newbw like bbseg-newbw, "asset transaction type&lt;/P&gt;&lt;P&gt;    gsber like bbseg-gsber, "business area&lt;/P&gt;&lt;P&gt;    hbkid like bbseg-hbkid, "house bank&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;for extended withholding tax at invoice&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    witht_i like bwith-witht, "withhold tax type&lt;/P&gt;&lt;P&gt;    wt_qsshb_i like bwith-wt_qsshb, "withhold tax base amt in Doc Curry&lt;/P&gt;&lt;P&gt;    wt_qsshh_i like bwith-wt_qsshh, "withhold tax base amt in Loc Curry&lt;/P&gt;&lt;P&gt;    wt_qbuihb_i like bwith-wt_qbuihb, "withholding tax amt in Doc Curry&lt;/P&gt;&lt;P&gt;    wt_qbuihh_i like bwith-wt_qbuihh, "withholding tax amt in Loc Curry&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;for extended withholding tax at payment&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    witht_p like bwith-witht, "withhold tax type&lt;/P&gt;&lt;P&gt;    wt_qsshb_p like bwith-wt_qsshb, "withhold tax base amt in Doc Curry&lt;/P&gt;&lt;P&gt;    wt_qsshh_p like bwith-wt_qsshh, "withhold tax base amt in Loc Curry&lt;/P&gt;&lt;P&gt;    wt_qbuihb_p like bwith-wt_qbuihb, "withholding tax amt in Doc Curry&lt;/P&gt;&lt;P&gt;    wt_qbuihh_p like bwith-wt_qbuihh, "withholding tax amt in Loc Curry&lt;/P&gt;&lt;P&gt;    valut like bbseg-valut, "value date&lt;/P&gt;&lt;P&gt;    bewar like bbseg-bewar, "consolidation transaction type&lt;/P&gt;&lt;P&gt;      end of g_file_item_rec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i copy A to B in unicode system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 08:52:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-unicode-program/m-p/2469955#M555158</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T08:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: about unicode program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-unicode-program/m-p/2469956#M555159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If A and B are of same structure then u can very well write:&lt;/P&gt;&lt;P&gt;b[] = a[].&lt;/P&gt;&lt;P&gt;if they are of different structure then,&lt;/P&gt;&lt;P&gt;you have to create a work area for internal table b and move one by one from table a.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it solves your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Navneeth K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 08:58:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-unicode-program/m-p/2469956#M555159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T08:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: about unicode program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-unicode-program/m-p/2469957#M555160</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;DATA: ITAB_A type table of A,&lt;/P&gt;&lt;P&gt;          WA_A like line of ITAB_A,&lt;/P&gt;&lt;P&gt;          ITAB_B type table of B,&lt;/P&gt;&lt;P&gt;          WA_B like line of ITAB_B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB_A into WA_A.&lt;/P&gt;&lt;P&gt;MOVE-CORRESPONDING WA_A to WA_B.&lt;/P&gt;&lt;P&gt;APPEND WA_B to ITAB_B.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 08:59:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-unicode-program/m-p/2469957#M555160</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-06-25T08:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: about unicode program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-unicode-program/m-p/2469958#M555161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am programing on a unicode system&lt;/P&gt;&lt;P&gt;please consider that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 09:35:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-unicode-program/m-p/2469958#M555161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T09:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: about unicode program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-unicode-program/m-p/2469959#M555162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Kevin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u paste the structure of table A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Navneeth K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 10:33:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-unicode-program/m-p/2469959#M555162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T10:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: about unicode program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-unicode-program/m-p/2469960#M555163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data: t_rawfile(1000) occurs 0 with header line,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      filename            = l_pc_filename&lt;/P&gt;&lt;P&gt;      filetype            = 'ASC'&lt;/P&gt;&lt;P&gt;      has_field_separator = ' '&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      data_tab            = t_rawfile&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      file_open_error     = 1&lt;/P&gt;&lt;P&gt;      file_read_error     = 2&lt;/P&gt;&lt;P&gt;      others              = 17.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at t_rawfile.&lt;/P&gt;&lt;P&gt;    l_line = t_rawfile.&lt;/P&gt;&lt;P&gt;    add 1 to l_file_row_no.&lt;/P&gt;&lt;P&gt;    if l_line(1) = '1'.&lt;/P&gt;&lt;P&gt;      l_runno = l_runno + 1.&lt;/P&gt;&lt;P&gt;      g_file_hdr_rec = l_line.&lt;/P&gt;&lt;P&gt;      clear t_doc_hdr.&lt;/P&gt;&lt;P&gt;      move-corresponding g_file_hdr_rec to t_doc_hdr.&lt;/P&gt;&lt;P&gt;      t_doc_hdr-runno = l_runno.&lt;/P&gt;&lt;P&gt;      t_doc_hdr-file_row_no = l_file_row_no.&lt;/P&gt;&lt;P&gt;      perform get_internal_format changing t_doc_hdr-runno.&lt;/P&gt;&lt;P&gt;      t_doc_hdr-runno(01) = 'D'.&lt;/P&gt;&lt;P&gt;      append t_doc_hdr.&lt;/P&gt;&lt;P&gt;    elseif l_line(1) = '2'.&lt;/P&gt;&lt;P&gt;      clear g_file_item_rec.&lt;/P&gt;&lt;P&gt;      g_file_item_rec = l_line.&lt;/P&gt;&lt;P&gt;      move-corresponding g_file_item_rec to t_doc_item.&lt;/P&gt;&lt;P&gt;      t_doc_item-runno = t_doc_hdr-runno.&lt;/P&gt;&lt;P&gt;      t_doc_item-file_row_no = l_file_row_no.&lt;/P&gt;&lt;P&gt;      append t_doc_item.&lt;/P&gt;&lt;P&gt;    else.&lt;/P&gt;&lt;P&gt;      l_str = l_line.&lt;/P&gt;&lt;P&gt;      condense l_str.&lt;/P&gt;&lt;P&gt;      if  not l_str is initial.&lt;/P&gt;&lt;P&gt;        l_str = l_line.&lt;/P&gt;&lt;P&gt;        write: at /3 'Unknown record type found:',&lt;/P&gt;&lt;P&gt;          (70) l_str(1).&lt;/P&gt;&lt;P&gt;        write: at /3 'Error record is: ',&lt;/P&gt;&lt;P&gt;          (70) l_str.&lt;/P&gt;&lt;P&gt;        write: at /3 'Read # as space in error record'.&lt;/P&gt;&lt;P&gt;        perform stop_processing.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 13:24:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-unicode-program/m-p/2469960#M555163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T13:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: about unicode program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-unicode-program/m-p/2469961#M555164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try by using Field-symbols....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of STRUC,&lt;/P&gt;&lt;P&gt;F1(3) type x,&lt;/P&gt;&lt;P&gt;F2(8) type p, F3(10) type c&lt;/P&gt;&lt;P&gt;end of STRUC,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONTAINER(1000) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field-symbols: &amp;lt;C_STRUC&amp;gt; type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assign STRUC to &amp;lt;C_STRUC&amp;gt; casting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;C_STRUC&amp;gt; = CONTAINER. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or u can also use the FM SO_CHAR_TO_STRUCT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;priya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 13:32:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-unicode-program/m-p/2469961#M555164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T13:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: about unicode program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-unicode-program/m-p/2469962#M555165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank u very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try it tomorrow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if okey. i will award points&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD cl_abap_container_utilities=&amp;gt;read_container_c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it also doesnot work in unicode system&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;Message was edited by: &lt;/P&gt;&lt;P&gt;        Kevin Gao&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Kevin Gao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 15:50:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-unicode-program/m-p/2469962#M555165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T15:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: about unicode program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-unicode-program/m-p/2469963#M555166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Who have met such case?&lt;/P&gt;&lt;P&gt;The source string is including Chinese.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the result is some fields are slip off&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 09:57:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-unicode-program/m-p/2469963#M555166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T09:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: about unicode program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-unicode-program/m-p/2469964#M555167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;  my_dest TYPE rfcdest VALUE 'my_dest',&lt;/P&gt;&lt;P&gt;  my_tab  TYPE TABLE OF t100,&lt;/P&gt;&lt;P&gt;  cp_tab  TYPE nls_langu_cp_tab,&lt;/P&gt;&lt;P&gt;  cc      TYPE REF TO cl_nls_struc_container,&lt;/P&gt;&lt;P&gt;  stru    LIKE t100u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;fs&amp;gt; TYPE t100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Do the remote function call.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'MY_F' DESTINATION my_dest&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    tab = my_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get the code page information.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'NLS_GET_LANGU_CP_TAB' &lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    destination = my_dest&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    cp_tab = cp_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create an instance of the alignment correction class.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;cc = cl_nls_struc_container=&amp;gt;create( cp_tab = cp_tab ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Process contents of my_tab.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;LOOP AT my_tab ASSIGNING &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Convert the container &amp;lt;fs&amp;gt;-text into the structure stru with&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;correct alignment, taking into account the language key &amp;lt;fs&amp;gt;-sprsl.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  cc-&amp;gt;cont_to_struc( EXPORTING langu = &amp;lt;fs&amp;gt;-sprsl&lt;/P&gt;&lt;P&gt;                               cont  = &amp;lt;fs&amp;gt;-text&lt;/P&gt;&lt;P&gt;                     IMPORTING struc = stru ).&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Continue processing stru ...&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If just the name of the structure (but not a structure variable) is available when the alignment correction is done, the class CL_NLS_STRUC_CONTAINER_SNAME can be used: &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create an instance of the alignment correction class;&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;needs the name of the structure.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;cc = cl_nls_struc_container_sname=&amp;gt;create( cp_tab     = cp_tab &lt;/P&gt;&lt;P&gt;                                           struc_name = 'T100U' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Correct the alignment of the container &amp;lt;fs&amp;gt;-text,&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;taking into account the language key &amp;lt;fs&amp;gt;-sprsl.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA cont like t100-text.&lt;/P&gt;&lt;P&gt;cont = &amp;lt;fs&amp;gt;-text.&lt;/P&gt;&lt;P&gt;cc-&amp;gt;cont_to_struc( EXPORTING langu = &amp;lt;fs&amp;gt;-sprsl&lt;/P&gt;&lt;P&gt;                   CHANGING  cont  = cont ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the most generic case, the lengths of the fields of the structure can be specified in an internal table and the class CL_NLS_STRUC_CONTAINER_OFFS is used: &lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;  cc       TYPE REF TO cl_nls_struc_container_offs,&lt;/P&gt;&lt;P&gt;  len_tab  TYPE nls_length_tab,&lt;/P&gt;&lt;P&gt;  cont(31) TYPE c,&lt;/P&gt;&lt;P&gt;  truncation_pos TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create an instance of the alignment correction class.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;cc = cl_nls_struc_container_offs=&amp;gt;create( cp_tab = cp_tab ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Register a structure.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;APPEND 1  TO len_tab.&lt;/P&gt;&lt;P&gt;APPEND 10 TO len_tab.&lt;/P&gt;&lt;P&gt;APPEND 20 TO len_tab.&lt;/P&gt;&lt;P&gt;cc-&amp;gt;register_struc( EXPORTING struc_name = 'STRUC1'&lt;/P&gt;&lt;P&gt;                              len_tab    = len_tab ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Register another structure.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;REFRESH len_tab.&lt;/P&gt;&lt;P&gt;APPEND 3  TO len_tab.&lt;/P&gt;&lt;P&gt;APPEND 1  TO len_tab.&lt;/P&gt;&lt;P&gt;APPEND 15 TO len_tab.&lt;/P&gt;&lt;P&gt;cc-&amp;gt;register_struc( EXPORTING struc_name = 'STRUC2'&lt;/P&gt;&lt;P&gt;                              len_tab    = len_tab ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;... Get data into the container CONT ...&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Correct the alignment of the container CONT,&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;taking into account the language key.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;cc-&amp;gt;cont_to_struc( EXPORTING langu          = 'F'&lt;/P&gt;&lt;P&gt;                             struc_name     = 'STRUC1'&lt;/P&gt;&lt;P&gt;                   IMPORTING truncation_pos = truncation_pos&lt;/P&gt;&lt;P&gt;                   CHANGING  cont           = cont ).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 01:04:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-unicode-program/m-p/2469964#M555167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T01:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: about unicode program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-unicode-program/m-p/2469965#M555168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;answered by myself&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 01:05:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-unicode-program/m-p/2469965#M555168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T01:05:14Z</dc:date>
    </item>
  </channel>
</rss>

