<?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: A BSP application involving multiple table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-bsp-application-involving-multiple-table/m-p/5517241#M1261246</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sravan, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Till now I worked on small BSP application where in there is a single select query using which all record go in to a single internal table(which is genrally  written in event handler)  which can be displayed writing code in layout tab. &lt;/P&gt;&lt;P&gt;Now my requirement is that I have a internal table &lt;STRONG&gt;itab&lt;/STRONG&gt;  and for every single record of &lt;STRONG&gt;itab&lt;/STRONG&gt; I have few records which are appended to &lt;STRONG&gt;itab2&lt;/STRONG&gt;. I need to display  the records in &lt;STRONG&gt;itab2&lt;/STRONG&gt; for each loop pass of &lt;STRONG&gt;itab&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Apr 2009 12:10:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-30T12:10:58Z</dc:date>
    <item>
      <title>A BSP application involving multiple table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-bsp-application-involving-multiple-table/m-p/5517239#M1261244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.. I am in learning process of BSP .&lt;/P&gt;&lt;P&gt;I have a requirement as below . I am getting confused as to which part of coding I write in layout and in even handler. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each time the loop runs I need to get the corresponding &lt;STRONG&gt;&lt;U&gt;itab-feild&lt;/U&gt;&lt;/STRONG&gt; records which are there in  *itab_final *  &lt;/P&gt;&lt;P&gt;This is the sample code in abap editor. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
Loop at itab . 
...
....
....
....
Loop at  itab1. 
         Read itab2 with key feild1 = itab1-field1. 

            If sy-ubrc &amp;lt;&amp;gt; 0. 

       move  table1-field1 to itab_final.
       append itab_final.
            
            endif. 
Endloop. 

Write : Records for tab1-fld. 

         Loop at itab_final. 
              write : / itab_final-field1. 
         Endloop. 
Endloop. 



&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;       &lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can plz some one suggest me how do i go about this requirement to implement in a BSP application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 11:32:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-bsp-application-involving-multiple-table/m-p/5517239#M1261244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-30T11:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: A BSP application involving multiple table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-bsp-application-involving-multiple-table/m-p/5517240#M1261245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you explain u r requirement a bit more clear..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 12:03:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-bsp-application-involving-multiple-table/m-p/5517240#M1261245</guid>
      <dc:creator>former_member242255</dc:creator>
      <dc:date>2009-04-30T12:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: A BSP application involving multiple table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-bsp-application-involving-multiple-table/m-p/5517241#M1261246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sravan, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Till now I worked on small BSP application where in there is a single select query using which all record go in to a single internal table(which is genrally  written in event handler)  which can be displayed writing code in layout tab. &lt;/P&gt;&lt;P&gt;Now my requirement is that I have a internal table &lt;STRONG&gt;itab&lt;/STRONG&gt;  and for every single record of &lt;STRONG&gt;itab&lt;/STRONG&gt; I have few records which are appended to &lt;STRONG&gt;itab2&lt;/STRONG&gt;. I need to display  the records in &lt;STRONG&gt;itab2&lt;/STRONG&gt; for each loop pass of &lt;STRONG&gt;itab&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 12:10:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-bsp-application-involving-multiple-table/m-p/5517241#M1261246</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-30T12:10:58Z</dc:date>
    </item>
  </channel>
</rss>

