<?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 TABLE? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-table/m-p/6451726#M1413938</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;... and for simplification please write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FIELD-SYMBOLS: 
  &amp;lt;table&amp;gt; TYPE TABLE,
  &amp;lt;struc&amp;gt; TYPE ANY.

ASSIGN ('(REPID)TABNAME[]') TO &amp;lt;table&amp;gt;.

LOOP AT &amp;lt;table&amp;gt; ASSIGNING &amp;lt;struc&amp;gt;.

ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. It was release 4.something that it was in the ABAP online help with the hint that it should not be used because it may be changed in the next release. They did not change anything since then but removed the documentation &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Dec 2009 21:45:20 GMT</pubDate>
    <dc:creator>Clemenss</dc:creator>
    <dc:date>2009-12-23T21:45:20Z</dc:date>
    <item>
      <title>ASSIGN TABLE?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-table/m-p/6451721#M1413933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need access to an internal table from the call stack.  So how do I use the ASSIGN statement to grab the contents of a table and then start looping at the table within my subroutine?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2009 12:20:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-table/m-p/6451721#M1413933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-23T12:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: ASSIGN TABLE?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-table/m-p/6451722#M1413934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is how to do it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: mem_name TYPE char60 VALUE '(REPID)TABNAME[]'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;table&amp;gt; TYPE ANY TABLE,&lt;/P&gt;&lt;P&gt;                             &amp;lt;struc&amp;gt; TYPE ANY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN (mem_name) TO &amp;lt;table&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT &amp;lt;table&amp;gt; ASSIGNING &amp;lt;struc&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2009 15:45:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-table/m-p/6451722#M1413934</guid>
      <dc:creator>franois_henrotte</dc:creator>
      <dc:date>2009-12-23T15:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: ASSIGN TABLE?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-table/m-p/6451723#M1413935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;misunderstanding_removed_by_moderator&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Julius Bussche on Dec 23, 2009 11:33 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2009 16:02:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-table/m-p/6451723#M1413935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-23T16:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: ASSIGN TABLE?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-table/m-p/6451724#M1413936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;david,&lt;/P&gt;&lt;P&gt;no offense but please go though this to know about call stacks..&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/7b/0441c9f2e0174687bb77e69ce70f69/frameset.htm"&gt;call stack&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;François has given a very good response to it... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;
@modos: please do the needful
&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2009 16:34:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-table/m-p/6451724#M1413936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-23T16:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: ASSIGN TABLE?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-table/m-p/6451725#M1413937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I misunderstood the question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2009 18:31:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-table/m-p/6451725#M1413937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-23T18:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: ASSIGN TABLE?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-table/m-p/6451726#M1413938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;... and for simplification please write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FIELD-SYMBOLS: 
  &amp;lt;table&amp;gt; TYPE TABLE,
  &amp;lt;struc&amp;gt; TYPE ANY.

ASSIGN ('(REPID)TABNAME[]') TO &amp;lt;table&amp;gt;.

LOOP AT &amp;lt;table&amp;gt; ASSIGNING &amp;lt;struc&amp;gt;.

ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. It was release 4.something that it was in the ABAP online help with the hint that it should not be used because it may be changed in the next release. They did not change anything since then but removed the documentation &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2009 21:45:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-table/m-p/6451726#M1413938</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2009-12-23T21:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: ASSIGN TABLE?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-table/m-p/6451727#M1413939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; They did not change anything since then but removed the documentation &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Are you sure? There have been a lot of changes in ABAP and I heard that (dirty ('(assign's) &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; where on a list somewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Certainly they have been security considerations...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2009 22:32:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-table/m-p/6451727#M1413939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-23T22:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: ASSIGN TABLE?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-table/m-p/6451728#M1413940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just tip, apart from above replies:&lt;/P&gt;&lt;P&gt;Check for SY-SUBRC value as 0, immediately after ASSIGN, other wise, it throws dump (OR) catch the system exception at root level and handle it.&lt;/P&gt;&lt;P&gt;Also, at the end use UNASSIGN for performence reasons.&lt;/P&gt;&lt;P&gt;thanq&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2009 00:56:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-table/m-p/6451728#M1413940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-24T00:56:03Z</dc:date>
    </item>
  </channel>
</rss>

