<?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 Basic ABAP queries in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-queries/m-p/1574652#M259452</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;I am new to ABAP...kindly answer these queries...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1&amp;gt;Why Loop at doesnot work for windows other than MAIN in sap scripts ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2&amp;gt;What is the best way to inner join multiple database(more than 6 or 7) tables? is there any direct method to inner join internal tables ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3&amp;gt; Why do we have to activate ?? In which scenarios is activation not requried .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Sep 2006 08:34:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-29T08:34:06Z</dc:date>
    <item>
      <title>Basic ABAP queries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-queries/m-p/1574652#M259452</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;I am new to ABAP...kindly answer these queries...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1&amp;gt;Why Loop at doesnot work for windows other than MAIN in sap scripts ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2&amp;gt;What is the best way to inner join multiple database(more than 6 or 7) tables? is there any direct method to inner join internal tables ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3&amp;gt; Why do we have to activate ?? In which scenarios is activation not requried .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2006 08:34:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-queries/m-p/1574652#M259452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-29T08:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Basic ABAP queries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-queries/m-p/1574653#M259453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt; try to answer to your questions .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1&amp;gt;Why Loop at doesnot work for windows other than MAIN in sap scripts ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop instruction, is called in the program that commands the sapscript (the control program). So in script u declare an element to print on the form, and in the control program, u give the instruction (with a particular CALL FUNCTION) to print it.&lt;/P&gt;&lt;P&gt;The MAIN window is different from other kind of windows because is able to resize itself depends on how elements u print in it: more elements you print, more MAIN window will be big on the page. The other windows have a standard size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2&amp;gt;What is the best way to inner join multiple database(more than 6 or 7) tables? is there any direct method to inner join internal tables ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually, u can use nested select clausole for example:&lt;/P&gt;&lt;P&gt; select * from vbak where&lt;/P&gt;&lt;P&gt;  select * from vbap where vbeln = vbak-vbeln ...&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or u can use "inner join" instruction for example&lt;/P&gt;&lt;P&gt;select * from vbak as a&lt;/P&gt;&lt;P&gt; inner join vbap as b&lt;/P&gt;&lt;P&gt;  on a~vbeln = b~vbeln....&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or u can use internal tables with select&lt;/P&gt;&lt;P&gt;select * from vbak into table ivbak.&lt;/P&gt;&lt;P&gt;loop at ivabk.&lt;/P&gt;&lt;P&gt; select * from vbap where vbeln = ivbak-vbeln.&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually, is the programmer that decide what is the best way to perform the selection based on the business requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3&amp;gt; Why do we have to activate ?? In which scenarios is activation not requried . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Activation is ALWAYS necessary and implies saving data.&lt;/P&gt;&lt;P&gt;Each object in SAP must be activated. Development packages (like $tmp for example), not requiring the activation process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pls reward if it helps&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2006 08:49:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-queries/m-p/1574653#M259453</guid>
      <dc:creator>andrea_galluccio2</dc:creator>
      <dc:date>2006-09-29T08:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Basic ABAP queries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-queries/m-p/1574654#M259454</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;Thanks for the reply ...its of great help..however addtional &lt;/P&gt;&lt;P&gt;doubts rise...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1&amp;gt; is there ne direct way to inner join two internal tables ?&lt;/P&gt;&lt;P&gt;(as we cant use inner join on two internal with select statement and even for using for all enteries, atleast one database table is required )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2&amp;gt; is activation just a mere combination of save and check ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2006 09:03:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-queries/m-p/1574654#M259454</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-29T09:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Basic ABAP queries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-queries/m-p/1574655#M259455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; Hi,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Thanks for the reply ...its of great help..however&lt;/P&gt;&lt;P&gt;&amp;gt; addtional &lt;/P&gt;&lt;P&gt;&amp;gt; doubts rise...&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; 1&amp;gt; is there ne direct way to inner join two internal&lt;/P&gt;&lt;P&gt;&amp;gt; tables ?&lt;/P&gt;&lt;P&gt;&amp;gt; (as we cant use inner join on two internal with&lt;/P&gt;&lt;P&gt;&amp;gt; select statement and even for using for all enteries,&lt;/P&gt;&lt;P&gt;&amp;gt; atleast one database table is required )&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;No you cannnot join the internal tables the way you do the database tables.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; 2&amp;gt; is activation just a mere combination of save and&lt;/P&gt;&lt;P&gt;&amp;gt; check ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It also compiles the code converts that into executable format internally.&lt;/P&gt;&lt;P&gt;&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>Fri, 29 Sep 2006 09:14:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-queries/m-p/1574655#M259455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-29T09:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Basic ABAP queries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-queries/m-p/1574656#M259456</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;&lt;/P&gt;&lt;P&gt;3) After coding, we should Activate because during Activation, the system creates a Run Time object. When we execute, the system executes this Run Time Object.&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;Sailaja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2006 09:15:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-queries/m-p/1574656#M259456</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-29T09:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Basic ABAP queries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-queries/m-p/1574657#M259457</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;Thanks Andrea ,Sailaja and Ravi ..thanks for the reply ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not able to put rewards points for you guys..it says some forum error...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ravi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Then watz the best way to inner join two internal tables ...other than looping wrt one table and using read statement on other....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2006 09:23:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-queries/m-p/1574657#M259457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-29T09:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Basic ABAP queries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-queries/m-p/1574658#M259458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is the best option available, you don't have a choice. You can use SORTED / HASHED tables, so that the performance impact will not be there.&lt;/P&gt;&lt;P&gt;&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>Fri, 29 Sep 2006 09:27:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-queries/m-p/1574658#M259458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-29T09:27:54Z</dc:date>
    </item>
  </channel>
</rss>

