<?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: Assign a structure fields to a String in Unicode? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-a-structure-fields-to-a-string-in-unicode/m-p/6672799#M1448272</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Handling structures as strings was always dirty programming style. For what reason do you need that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Feb 2010 08:04:15 GMT</pubDate>
    <dc:creator>rainer_hbenthal</dc:creator>
    <dc:date>2010-02-25T08:04:15Z</dc:date>
    <item>
      <title>Assign a structure fields to a String in Unicode?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-a-structure-fields-to-a-string-in-unicode/m-p/6672795#M1448268</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;In Non-Unicode System. We can declare :&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF wt_tab OCCURS 0,&lt;/P&gt;&lt;P&gt;                           field1(10),&lt;/P&gt;&lt;P&gt;                           field2 TYPE MENGE,&lt;/P&gt;&lt;P&gt;                           field3(10),&lt;/P&gt;&lt;P&gt;                 END OF wt_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: wl_char(100) .&lt;/P&gt;&lt;P&gt;MOVE  wt_tab&lt;EM&gt;1115) TO wl_char&lt;/EM&gt;11(15). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in Unicode , We can not do this because the first 10 chars  and then number. So is there's any function that allow us to assign the corresponding fields from structure into a string of characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 06:31:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-a-structure-fields-to-a-string-in-unicode/m-p/6672795#M1448268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-25T06:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a structure fields to a String in Unicode?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-a-structure-fields-to-a-string-in-unicode/m-p/6672796#M1448269</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;In UC systems you cannot use offset on packed data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;wl_char+11(15) = wt_tab-field2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;SUhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 06:43:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-a-structure-fields-to-a-string-in-unicode/m-p/6672796#M1448269</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-02-25T06:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a structure fields to a String in Unicode?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-a-structure-fields-to-a-string-in-unicode/m-p/6672797#M1448270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Suhas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your quick answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean here the offset in structure does not fall into a begining of a field in structure. so We can not get the field directly , This will be wrong data. The code is like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF wt_text occurs 0,&lt;/P&gt;&lt;P&gt;text(500),&lt;/P&gt;&lt;P&gt;end of wt_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF t_data OCCURS 0,&lt;/P&gt;&lt;P&gt;       ebeln LIKE ekko-ebeln,    "  1 - 10.&lt;/P&gt;&lt;P&gt;       ebelp LIKE ekpo-ebelp,    " 11 - 15&lt;/P&gt;&lt;P&gt;       lifnr LIKE ekko-lifnr,    " 16 - 25&lt;/P&gt;&lt;P&gt;       bedat LIKE ekko-bedat,    " 26 - 33&lt;/P&gt;&lt;P&gt;       kdate LIKE ekko-kdate,    " 34 - 41&lt;/P&gt;&lt;P&gt;       waers LIKE ekko-waers,    " 42 - 47&lt;/P&gt;&lt;P&gt;       wkurs LIKE ekko-wkurs,    "48 - 55&lt;/P&gt;&lt;P&gt;       matnr LIKE ekpo-matnr,    " 56 - 74&lt;/P&gt;&lt;P&gt;       txz01 LIKE ekpo-txz01, " 75 - 115&lt;/P&gt;&lt;P&gt;       matkl LIKE ekpo-matkl,  " 116 - 125&lt;/P&gt;&lt;P&gt;       pstyp LIKE ekpo-pstyp,  " 126&lt;/P&gt;&lt;P&gt;       knttp LIKE ekpo-knttp,  " 127&lt;/P&gt;&lt;P&gt;end of wt-data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE  wt_data&lt;EM&gt;50(70) TO wt_text-text&lt;/EM&gt;58(69).&lt;/P&gt;&lt;P&gt;                   &lt;/P&gt;&lt;P&gt;So here how I can replace this code in UNICODE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 06:56:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-a-structure-fields-to-a-string-in-unicode/m-p/6672797#M1448270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-25T06:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a structure fields to a String in Unicode?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-a-structure-fields-to-a-string-in-unicode/m-p/6672798#M1448271</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;In that case i think you have to debug &amp;amp; check what exactly is being done in that offsetting operation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 07:08:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-a-structure-fields-to-a-string-in-unicode/m-p/6672798#M1448271</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-02-25T07:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a structure fields to a String in Unicode?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-a-structure-fields-to-a-string-in-unicode/m-p/6672799#M1448272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Handling structures as strings was always dirty programming style. For what reason do you need that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 08:04:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-a-structure-fields-to-a-string-in-unicode/m-p/6672799#M1448272</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2010-02-25T08:04:15Z</dc:date>
    </item>
  </channel>
</rss>

