<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign/m-p/4113137#M983407</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;Try changing the assign statement like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN ( ZXM06U43)CEKKO to &amp;lt;cekko&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Keerthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jul 2008 13:53:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-09T13:53:19Z</dc:date>
    <item>
      <title>ASSIGN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign/m-p/4113133#M983403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts&lt;/P&gt;&lt;P&gt;i have this assign statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;cekko&amp;gt; TYPE cekko.&lt;/P&gt;&lt;P&gt;ASSIGN ('( ZXM06U43)CEKKO') to &amp;lt;cekko&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;lt;cekko&amp;gt;-usrn1 = 30.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the third row i get runtime error  GETWA_NOT_ASSIGNED &lt;/P&gt;&lt;P&gt;Short text:&lt;/P&gt;&lt;P&gt;    Field symbol has not yet been assigned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont understand what's wrong&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2008 13:27:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign/m-p/4113133#M983403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-09T13:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: ASSIGN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign/m-p/4113134#M983404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a very dirty construction to read data from memory in places where you don't have access to this data: for instance a user exit but this data is not passed as parameter.&lt;/P&gt;&lt;P&gt;I would recommend to NEVER use this as any change in the calling program (e.g. next SAP release) could lead to a short dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error you get here indicates that structure CEKKO in program ZXM06U43 is not available, hence the assignment to the field-symbol fails.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2008 13:32:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign/m-p/4113134#M983404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-09T13:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: ASSIGN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign/m-p/4113135#M983405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should be using the main program of ZXM06U43 and not ZXM06U43.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2008 13:34:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign/m-p/4113135#M983405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-09T13:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: ASSIGN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign/m-p/4113136#M983406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand from the declaration and assign statement that you are assigning the structure and not the internal table . In which case can you explain what do you mean by third row. &lt;/P&gt;&lt;P&gt;if ZXM06U43 is an include, donot use the include program . Use the SAP Main program &lt;/P&gt;&lt;P&gt;Also check for sy-subrc after the assign statement.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;cekko&amp;gt; TYPE cekko.&lt;/P&gt;&lt;P&gt;ASSIGN ('( SAP******)CEKKO') to &amp;lt;cekko&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;lt;cekko&amp;gt;-usrn1 = 30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the sample code for an internal table assignment from the buffer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: i_cekko like cekko occurs 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;CEEKO&amp;gt; like  i_cekko.&lt;/P&gt;&lt;P&gt;ASSIGN ('( SAP*****)CEKKO[]') to &amp;lt;CEEKO&amp;gt;.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;loop at &amp;lt;CEEKO&amp;gt; INTO WA.&lt;/P&gt;&lt;P&gt;Process the field value and modify the table &amp;lt;CEEKO&amp;gt;.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2008 13:41:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign/m-p/4113136#M983406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-09T13:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: ASSIGN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign/m-p/4113137#M983407</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;Try changing the assign statement like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN ( ZXM06U43)CEKKO to &amp;lt;cekko&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Keerthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2008 13:53:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign/m-p/4113137#M983407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-09T13:53:19Z</dc:date>
    </item>
  </channel>
</rss>

