<?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 perform statement 7.4 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement-7-4/m-p/12443893#M1998912</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
  &lt;P&gt;I have a select statement which uses inline decl to get records. Eg : @lt_final&lt;/P&gt;
  &lt;P&gt;Now I want to place this select query in a perform get_data subrotine as a tables or changing.&lt;/P&gt;
  &lt;P&gt;This is to use it for below further code. But it says LT_FINAL is unknown.&lt;/P&gt;
  &lt;P&gt;Can someone assist in writing the perform statement and FORM-ENDFORM for this.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Aug 2021 06:14:31 GMT</pubDate>
    <dc:creator>rangerlet_mesee</dc:creator>
    <dc:date>2021-08-16T06:14:31Z</dc:date>
    <item>
      <title>perform statement 7.4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement-7-4/m-p/12443893#M1998912</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
  &lt;P&gt;I have a select statement which uses inline decl to get records. Eg : @lt_final&lt;/P&gt;
  &lt;P&gt;Now I want to place this select query in a perform get_data subrotine as a tables or changing.&lt;/P&gt;
  &lt;P&gt;This is to use it for below further code. But it says LT_FINAL is unknown.&lt;/P&gt;
  &lt;P&gt;Can someone assist in writing the perform statement and FORM-ENDFORM for this.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 06:14:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement-7-4/m-p/12443893#M1998912</guid>
      <dc:creator>rangerlet_mesee</dc:creator>
      <dc:date>2021-08-16T06:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: perform statement 7.4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement-7-4/m-p/12443894#M1998913</link>
      <description>&lt;P&gt;1) Without you posting the relevant code (use the code button in the browser editor) it's impossible to answer your question.&lt;/P&gt;&lt;P&gt;2) FORMs and PERFORMs are obsolete (except in rare cases) in 7.4+. This from 7.53 doc, but it's been true for a long long time. Use classes and methods instead. &lt;A href="https://help.sap.com/doc/abapdocu_753_index_htm/7.53/en-US/abenprogram_call_obsolete.htm" target="test_blank"&gt;https://help.sap.com/doc/abapdocu_753_index_htm/7.53/en-US/abenprogram_call_obsolete.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;3) Prefixes like lt_ are not regarded good style by SAP and the German ABAP user group. &lt;A href="https://help.sap.com/doc/abapdocu_751_index_htm/7.51/en-US/abenabap_pgl.htm" target="test_blank"&gt;https://help.sap.com/doc/abapdocu_751_index_htm/7.51/en-US/abenabap_pgl.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 06:23:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement-7-4/m-p/12443894#M1998913</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2021-08-16T06:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: perform statement 7.4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement-7-4/m-p/12443895#M1998914</link>
      <description>&lt;P&gt;As Matt said, without your code (please, use the CODE button) we cannot see what your problem is.&lt;/P&gt;&lt;P&gt;Have you declared that oldie?&lt;/P&gt;&lt;P&gt;I have the hunch your code looks like&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT *
  FROM table
  INTO TABLE @lt_final.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and nope, you still need to declare the table, although you can do it inline, like&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select fiel1, field2, field3
  from table
  into table @data(final_list).&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 16 Aug 2021 11:06:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement-7-4/m-p/12443895#M1998914</guid>
      <dc:creator>VXLozano</dc:creator>
      <dc:date>2021-08-16T11:06:49Z</dc:date>
    </item>
  </channel>
</rss>

