<?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: reports in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/2257664#M489026</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yah santosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; that's ok but give me some conditions with entire code.pls.if use full full points...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx&lt;/P&gt;&lt;P&gt;lokanadhan.k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 May 2007 13:03:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-25T13:03:27Z</dc:date>
    <item>
      <title>reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/2257661#M489023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi to all&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; i want to trasfer the data from 5 tables to 6th internal table.how can i?pls provide me &lt;/P&gt;&lt;P&gt;a sample of code so that i can understand easily...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx&lt;/P&gt;&lt;P&gt;lokanadhan.k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2007 12:56:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/2257661#M489023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-25T12:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/2257662#M489024</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;do this way &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at table1.
  read table table2 with key &amp;lt;condtions&amp;gt;.
  if sy-subrc = 0.
      read table table3 with key &amp;lt;condtions&amp;gt;.
      if sy-subrc = 0.
        read table table4 with key &amp;lt;condtions&amp;gt;.
        if sy-subrc = 0.
             read table table5 with key &amp;lt;condtions&amp;gt;.
             if sy-subrc = 0.
               table6-field1 = table1-field1.
               ...............
               append table6
             endif.
       endif.
      endif.
  endif. 
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2007 12:59:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/2257662#M489024</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-25T12:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/2257663#M489025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;What's meant by 6th internal table.&lt;/P&gt;&lt;P&gt;Data of 5 tables to be put into a single internal table,&lt;/P&gt;&lt;P&gt;Yes, you can put it&lt;/P&gt;&lt;P&gt;use table JOINS for them, provided if all of them are linked with keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2007 13:00:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/2257663#M489025</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-25T13:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/2257664#M489026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yah santosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; that's ok but give me some conditions with entire code.pls.if use full full points...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx&lt;/P&gt;&lt;P&gt;lokanadhan.k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2007 13:03:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/2257664#M489026</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-25T13:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/2257665#M489027</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;Check the following code:&lt;/P&gt;&lt;P&gt;SELECT MBLNR MJAHR BUDAT1 ETIME FROM ZGEXIT INTO TABLE ITAB WHERE&lt;/P&gt;&lt;P&gt;    MBLNR = IMBLNR AND MJAHR = IMJAHR.&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SELECT MBLNR MJAHR WERKS LGORT FROM MSEG&lt;/P&gt;&lt;P&gt;             INTO  CORRESPONDING FIELDS OF table ITAB1&lt;/P&gt;&lt;P&gt;             for all entries in ITAB&lt;/P&gt;&lt;P&gt;             WHERE MBLNR = ITAB-MBLNR AND MJAHR = ITAB-MJAHR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SELECT MBLNR MJAHR BUDAT OIB_BLTIME FROM MKPF INTO CORRESPONDING&lt;/P&gt;&lt;P&gt;      FIELDS OF table ITAB2  for all entries in itab&lt;/P&gt;&lt;P&gt;      WHERE MBLNR = ITAB-MBLNR&lt;/P&gt;&lt;P&gt;      AND MJAHR = ITAB-MJAHR.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  sort itab1 by mblnr mjahr.&lt;/P&gt;&lt;P&gt;  sort itab2 by mblnr mjahr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Loop at itab.&lt;/P&gt;&lt;P&gt;    read table itab1 with key mblnr = itab-mblnr&lt;/P&gt;&lt;P&gt;                              mjahr = itab-mjahr binary search.&lt;/P&gt;&lt;P&gt;    if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      move-corresponding itab1 to itab.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;    read table itab2 with key mblnr = itab-mblnr&lt;/P&gt;&lt;P&gt;                              mjahr = itab-mjahr binary search.&lt;/P&gt;&lt;P&gt;    if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      move-corresponding itab2 to itab.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;    modify itab transporting WERKS LGORT BUDAT OIB_BLTIME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    clear: itab, itab1, itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this &amp;lt;b&amp;gt;I'm moving data of 2 tables to 3rd one&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sipra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2007 13:09:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/2257665#M489027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-25T13:09:05Z</dc:date>
    </item>
  </channel>
</rss>

