<?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: Internal table in smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-smartforms/m-p/7196899#M1520583</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pravin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you said, i have  done  but by this way  you can only split records .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So again i made new internal table itab1  for  storing records in range .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on condition  if next = first +1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      wa_tab1 = first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    append    wa_tab1 to itab1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else &lt;/P&gt;&lt;P&gt;   wa_tab = first.&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;But here we are printing records from wa_tab because i have taken loop on itab for printing .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also we  can get range from  table itab1 through concatenate  .But when you get again new number series in records then how will you print?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for giving  responce.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Aug 2010 12:15:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-03T12:15:36Z</dc:date>
    <item>
      <title>Internal table in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-smartforms/m-p/7196896#M1520580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One internal table have lot of records,  in those records some  are in sequence and some  are not in  sequence &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;ITAB[] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1977&lt;/P&gt;&lt;P&gt;1980&lt;/P&gt;&lt;P&gt;1981&lt;/P&gt;&lt;P&gt;1982&lt;/P&gt;&lt;P&gt;1983&lt;/P&gt;&lt;P&gt;1988&lt;/P&gt;&lt;P&gt;1992&lt;/P&gt;&lt;P&gt;1993&lt;/P&gt;&lt;P&gt;1994&lt;/P&gt;&lt;P&gt;1995&lt;/P&gt;&lt;P&gt;2000&lt;/P&gt;&lt;P&gt;2001&lt;/P&gt;&lt;P&gt;2002&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i need to  split the records  based on condition like if records in sequence then record  will display in  range otherwise will display  individually.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;As mentioned above ,on the basis of scenario  , i need to print  these records in smart form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help on the same that would be very helpful asap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 11:40:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-smartforms/m-p/7196896#M1520580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-03T11:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-smartforms/m-p/7196897#M1520581</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;Print the first value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use a counter and check for the condition viz current record +  1 = next record. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Print the current record value when the condition fails. ( This means you are having the first and last value of a sequence.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 11:47:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-smartforms/m-p/7196897#M1520581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-03T11:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-smartforms/m-p/7196898#M1520582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Two Variables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Last_Value and current_value..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when current_value - last_value &amp;gt;= 1 Write current value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do this on a CODE statement in the smartform&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 11:51:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-smartforms/m-p/7196898#M1520582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-03T11:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-smartforms/m-p/7196899#M1520583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pravin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you said, i have  done  but by this way  you can only split records .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So again i made new internal table itab1  for  storing records in range .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on condition  if next = first +1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      wa_tab1 = first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    append    wa_tab1 to itab1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else &lt;/P&gt;&lt;P&gt;   wa_tab = first.&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;But here we are printing records from wa_tab because i have taken loop on itab for printing .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also we  can get range from  table itab1 through concatenate  .But when you get again new number series in records then how will you print?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for giving  responce.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 12:15:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-smartforms/m-p/7196899#M1520583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-03T12:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-smartforms/m-p/7196900#M1520584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for giving response, Your suggestion is helpful for  splitting  the records .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK .but after splitting the records  i need to print records based on condition as mentioned in posted mail...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So please  let me give more idea on the same.&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;Alok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 05:24:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-smartforms/m-p/7196900#M1520584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-04T05:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-smartforms/m-p/7196901#M1520585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 04:39:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-smartforms/m-p/7196901#M1520585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-06T04:39:29Z</dc:date>
    </item>
  </channel>
</rss>

