<?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: assignment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/assignment/m-p/2680808#M619584</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think its not possible then...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below is extract from sap help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Conversion between structures and single fields&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following rules apply for converting a structure into a single field and vice versa:&lt;/P&gt;&lt;P&gt;If a structure is purely character type, it is treated like a C field during conversion&lt;/P&gt;&lt;P&gt;If the single field is of type C, but only part of the structure is character type, conversion is only possible if the&lt;/P&gt;&lt;P&gt;structure begins with a character type group and if this group is at least as long as the single field. Conversion now&lt;/P&gt;&lt;P&gt;takes place between the first character type group of the structure and the single field. If the structure is the&lt;/P&gt;&lt;P&gt;target field, the character type sections of the remainder are filled with blanks, and all other components are&lt;/P&gt;&lt;P&gt;filled with the type-adequate initial value&lt;/P&gt;&lt;P&gt;Conversion is not permitted if the structure is not purely character type and if the single field is not character&lt;/P&gt;&lt;P&gt;type.&lt;/P&gt;&lt;P&gt;As with the assignment between structures, filling non-character type components with the initial value is&lt;/P&gt;&lt;P&gt;incompatible. In addition, an incompatible semantic change results if the target is a single field of type N and&lt;/P&gt;&lt;P&gt;parts of the structure content were previously relevant to conversion that do not originate from the first character&lt;/P&gt;&lt;P&gt;type component.&lt;/P&gt;&lt;P&gt;The conversion cannot be performed if the structure is not purely character-type and the single field is not of type&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Aug 2007 15:51:16 GMT</pubDate>
    <dc:creator>Pawan_Kesari</dc:creator>
    <dc:date>2007-08-17T15:51:16Z</dc:date>
    <item>
      <title>assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assignment/m-p/2680805#M619581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Is it possible to assign a structure of partly character type of length 39 to a single field of type character and length 75.If so help me its urgent.Thanks in advance and points will be rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Padma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 15:36:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assignment/m-p/2680805#M619581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-17T15:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assignment/m-p/2680806#M619582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if your system is unicode then i doubt..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 15:41:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assignment/m-p/2680806#M619582</guid>
      <dc:creator>Pawan_Kesari</dc:creator>
      <dc:date>2007-08-17T15:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assignment/m-p/2680807#M619583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;yes am system is unicode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 15:43:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assignment/m-p/2680807#M619583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-17T15:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assignment/m-p/2680808#M619584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think its not possible then...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below is extract from sap help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Conversion between structures and single fields&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following rules apply for converting a structure into a single field and vice versa:&lt;/P&gt;&lt;P&gt;If a structure is purely character type, it is treated like a C field during conversion&lt;/P&gt;&lt;P&gt;If the single field is of type C, but only part of the structure is character type, conversion is only possible if the&lt;/P&gt;&lt;P&gt;structure begins with a character type group and if this group is at least as long as the single field. Conversion now&lt;/P&gt;&lt;P&gt;takes place between the first character type group of the structure and the single field. If the structure is the&lt;/P&gt;&lt;P&gt;target field, the character type sections of the remainder are filled with blanks, and all other components are&lt;/P&gt;&lt;P&gt;filled with the type-adequate initial value&lt;/P&gt;&lt;P&gt;Conversion is not permitted if the structure is not purely character type and if the single field is not character&lt;/P&gt;&lt;P&gt;type.&lt;/P&gt;&lt;P&gt;As with the assignment between structures, filling non-character type components with the initial value is&lt;/P&gt;&lt;P&gt;incompatible. In addition, an incompatible semantic change results if the target is a single field of type N and&lt;/P&gt;&lt;P&gt;parts of the structure content were previously relevant to conversion that do not originate from the first character&lt;/P&gt;&lt;P&gt;type component.&lt;/P&gt;&lt;P&gt;The conversion cannot be performed if the structure is not purely character-type and the single field is not of type&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 15:51:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assignment/m-p/2680808#M619584</guid>
      <dc:creator>Pawan_Kesari</dc:creator>
      <dc:date>2007-08-17T15:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assignment/m-p/2680809#M619585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You just need to move the structure fields into the char75 field individually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; char75+0(10) = structure-field1.  "If type c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write structure-field2 to char75+10(16).  "for numeric types&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or use temporary intermediate fields that you condense to remove spaces if needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write  structure-field3 to l_temp1.&lt;/P&gt;&lt;P&gt;CONDENSE l_temp1 NO-GAPS.&lt;/P&gt;&lt;P&gt;char75+26(5) = l_temp1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2007 04:39:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assignment/m-p/2680809#M619585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-18T04:39:15Z</dc:date>
    </item>
  </channel>
</rss>

