<?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 Moving work area to a string type variable gives unicode error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-work-area-to-a-string-type-variable-gives-unicode-error/m-p/2128851#M447266</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a work area of type sflight. I want to move this work area into a variable of type string. But it gives me a syntax error saying that it is not possible in unicode programs. Is there any way to move a work area to a string or char type variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example Code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : l_str type string.&lt;/P&gt;&lt;P&gt;DATA : wa_sflight type sflight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move wa_sflight to l_str. "This line gives me a syntax error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Koushik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Apr 2007 08:34:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-18T08:34:16Z</dc:date>
    <item>
      <title>Moving work area to a string type variable gives unicode error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-work-area-to-a-string-type-variable-gives-unicode-error/m-p/2128851#M447266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a work area of type sflight. I want to move this work area into a variable of type string. But it gives me a syntax error saying that it is not possible in unicode programs. Is there any way to move a work area to a string or char type variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example Code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : l_str type string.&lt;/P&gt;&lt;P&gt;DATA : wa_sflight type sflight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move wa_sflight to l_str. "This line gives me a syntax error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Koushik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 08:34:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-work-area-to-a-string-type-variable-gives-unicode-error/m-p/2128851#M447266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T08:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Moving work area to a string type variable gives unicode error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-work-area-to-a-string-type-variable-gives-unicode-error/m-p/2128852#M447267</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;It is not possible in unicode system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpful answers..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;V.Raghavender.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 08:36:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-work-area-to-a-string-type-variable-gives-unicode-error/m-p/2128852#M447267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T08:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Moving work area to a string type variable gives unicode error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-work-area-to-a-string-type-variable-gives-unicode-error/m-p/2128853#M447268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your work area all the fields must be of character or convertable to character type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then only you can do like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SFLIGHT some fields are of non-character (not convertable to character also).. so you are unable to do like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do the same in any method also the data will be moved as junk characters )non-character data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so ... only move character or compatible data...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 08:37:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-work-area-to-a-string-type-variable-gives-unicode-error/m-p/2128853#M447268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T08:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Moving work area to a string type variable gives unicode error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-work-area-to-a-string-type-variable-gives-unicode-error/m-p/2128854#M447269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Koushik,&lt;/P&gt;&lt;P&gt;    You shoul move the fields field by field.&lt;/P&gt;&lt;P&gt;Whenever there are non char like fields, yoy hsould use write statement nstead.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 08:37:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-work-area-to-a-string-type-variable-gives-unicode-error/m-p/2128854#M447269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T08:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Moving work area to a string type variable gives unicode error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-work-area-to-a-string-type-variable-gives-unicode-error/m-p/2128855#M447270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How you will move Sflight structure to a string?&lt;/P&gt;&lt;P&gt;Sflight structure is different.&lt;/P&gt;&lt;P&gt;String may be a length CHAR field.&lt;/P&gt;&lt;P&gt;So you can't move.&lt;/P&gt;&lt;P&gt;If you need to move, then fetch all the fields of Sflight into some CHAR fields and concatenate them and move to STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;ANJI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 08:38:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-work-area-to-a-string-type-variable-gives-unicode-error/m-p/2128855#M447270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T08:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Moving work area to a string type variable gives unicode error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-work-area-to-a-string-type-variable-gives-unicode-error/m-p/2128856#M447271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Koushik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot directly pass work area to string.&lt;/P&gt;&lt;P&gt;try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate wa_sflight-carrid wa_sflight-connid into  l_str separated by space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can concatenate any no. of fields as per your requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 08:41:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-work-area-to-a-string-type-variable-gives-unicode-error/m-p/2128856#M447271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T08:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Moving work area to a string type variable gives unicode error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-work-area-to-a-string-type-variable-gives-unicode-error/m-p/2128857#M447272</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;if you want to concatenate all the values in the work area to a string , USE commant 'CONCATENATE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate wa_sfight-fld1&lt;/P&gt;&lt;P&gt;                   wa_sfight-fld1&lt;/P&gt;&lt;P&gt;                   wa_sfight-fld1&lt;/P&gt;&lt;P&gt;                   wa_sfight-fld1&lt;/P&gt;&lt;P&gt;          to l_str.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Tanmay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 08:44:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-work-area-to-a-string-type-variable-gives-unicode-error/m-p/2128857#M447272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T08:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Moving work area to a string type variable gives unicode error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-work-area-to-a-string-type-variable-gives-unicode-error/m-p/2128858#M447273</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;if you want to concatenate all the values in the work area to a string , USE commant 'CONCATENATE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate wa_sfight-fld1&lt;/P&gt;&lt;P&gt;wa_sfight-fld1&lt;/P&gt;&lt;P&gt;wa_sfight-fld1&lt;/P&gt;&lt;P&gt;wa_sfight-fld1&lt;/P&gt;&lt;P&gt;into l_str.&lt;/P&gt;&lt;P&gt;SEPARATED BY&lt;/P&gt;&lt;P&gt;space.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 08:46:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-work-area-to-a-string-type-variable-gives-unicode-error/m-p/2128858#M447273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T08:46:43Z</dc:date>
    </item>
  </channel>
</rss>

