<?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: Template or table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180163#M463451</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 link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/display-a-contents-of-a-table-on-smartform-with-loop.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/display-a-contents-of-a-table-on-smartform-with-loop.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 May 2007 14:06:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-07T14:06:17Z</dc:date>
    <item>
      <title>Template or table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180160#M463448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In smartforms I need to design a table with fixed no of rows to be output. Is there a way to do this. The data in the rows will be variable though. Should I use a template  ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 13:33:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180160#M463448</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T13:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Template or table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180161#M463449</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;In Smart Forms, although templates still have a fixed number of rows, the number of rows in a Smart Form table can be dynamic.In both Smart Form templates and tables, you can determine how many cells a line of a table output should have using the Table Painter's row types&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Template contains a fixed number of rows and columns, where the output is fixed.&lt;/P&gt;&lt;P&gt;The Table can have variable number of rows&lt;/P&gt;&lt;P&gt;&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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 13:39:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180161#M463449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T13:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Template or table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180162#M463450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my main I need to create a table of exactly 15 rows and this will display the invoice information. If the invoice has less than 15 items then the remaining rows will be left blank else if the invoice has more than 15 items then the next page should have 15 rows and the rest of the items should be displayed on the next page&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 13:55:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180162#M463450</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T13:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: Template or table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180163#M463451</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 link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/display-a-contents-of-a-table-on-smartform-with-loop.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/display-a-contents-of-a-table-on-smartform-with-loop.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 14:06:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180163#M463451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T14:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Template or table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180164#M463452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont think using a template will work. I need to use a table but merely display 15 rows fixed. Is there a way to do that ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 14:43:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180164#M463452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T14:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Template or table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180165#M463453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Megan,&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;P&gt;                Template in smartforms is having fixes no of rows.The data in that template are also of fixed lenth. for ur requirement use table.&lt;/P&gt;&lt;P&gt;U create a internal table of 15 records and pass that table into ur&lt;/P&gt;&lt;P&gt;smartform&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.  data : begin of  itab occurs 0,&lt;/P&gt;&lt;P&gt;             .........&lt;/P&gt;&lt;P&gt;             end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hemant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 14:59:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180165#M463453</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T14:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Template or table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180166#M463454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my Data tab in Table Node I say Loop Internal Table mytable into itab Row 1 to 999999 &lt;/P&gt;&lt;P&gt;Should I change this to Row 1 to 15 ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont think this would change anything&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 15:04:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180166#M463454</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T15:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Template or table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180167#M463455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try adjusting the height of your Main Window so that only 15 rows will fit.  Then if there are more than 15 rows in your table, it will print the remaining rows on page 2 (assuming you have the Next Page of your First Page set up correctly).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 15:10:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180167#M463455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T15:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Template or table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180168#M463456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem I have is I want to print 15 rows even if there isnt enough line items &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If my invoice has 5 line items, 15 rows should be printed with 5 populated &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If my invoice has 20 line items, 15 rows should be printed on first page all populated and the rest 5 should be printed on the next page&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 15:12:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180168#M463456</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T15:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Template or table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180169#M463457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you adjust the height of your Main Window to fit 15 rows then when you loop through your data if there are only 5 line items, only 5 will be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there are 20 line items only 15 will be displayed because the Main Window is only big enough to support 15 lines.  The other 5 will be displayed on page 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also use a Program Lines node to count the number of lines that are output.  When this count reaches 15, clear it and set a flag.&lt;/P&gt;&lt;P&gt;In a Command Node go to page 2 if the flag is set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Matt Nagel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 15:17:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180169#M463457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T15:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Template or table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180170#M463458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My page is set to landscape and I set the height of the main window to 18.00 cm, it still does not print blank rows. Basically I need to be able to display blank rows using table . thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 15:54:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180170#M463458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T15:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Template or table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180171#M463459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure I understand.  How can you print something that is blank?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the problem that you need borders around blank cells?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 15:58:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180171#M463459</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T15:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Template or table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180172#M463460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Matt, I need borders around blank cells.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 16:01:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180172#M463460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T16:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Template or table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180173#M463461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are going to need to add some logic in a Program Lines node.&lt;/P&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE i_itab LINES v_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_mod = v_lines MOD 15.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO v_mod TIMES.&lt;/P&gt;&lt;P&gt;  APPEND wa_itab TO i_itab.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use "APPEND INITIAL LINE TO i_itab" also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Matt Nagel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 16:10:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/template-or-table/m-p/2180173#M463461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T16:10:42Z</dc:date>
    </item>
  </channel>
</rss>

