<?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: Smartform - usage template and table - queries in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-usage-template-and-table-queries/m-p/6774366#M1463603</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Apr 2010 23:22:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-14T23:22:24Z</dc:date>
    <item>
      <title>Smartform - usage template and table - queries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-usage-template-and-table-queries/m-p/6774364#M1463601</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;I need to create a smartform where I have to print the header details at the start and then below that details for all line items for a particular document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i have data ;ike :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Header data :&lt;/P&gt;&lt;P&gt;field 1 :            field 2:&lt;/P&gt;&lt;P&gt;Field3 :            field4:&lt;/P&gt;&lt;P&gt;field5:             field6:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Item data :&lt;/P&gt;&lt;P&gt;field1                          field2                  field3  --&amp;gt; Item 1&lt;/P&gt;&lt;P&gt;field1                          field2                   field3 --&amp;gt;Item 2&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;field 1                      field2                       field3--&amp;gt;Item3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the Header data,Im planning to use a template in a secondary window.&lt;/P&gt;&lt;P&gt;However for the item data,i need to use a table (As i know the no of records only at  runtime).Also another reason for usng table would be that I dont need the header on each flloowing page but only the Line item details on the following pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my ques is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Is the above solution perfect for the output i need?Like do i need to use anything else in place of template/table etc???Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.My Item data to be printed will be in internal table.Now when i loop at the table in form using my Internal table which I will be passing throgh my driver program,how will the records get printed one after another and continue printing on succesive pages?Do I need to create more then 1 page in my smartform and include the same details as in first page i.e. Template for header and table for Item details???In short,Page 2,page3 etc will be copies of Page 1?Like this how many pages should I create in my smartform as I know the no of line items  only at runtime?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 21:57:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-usage-template-and-table-queries/m-p/6774364#M1463601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-14T21:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Smartform - usage template and table - queries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-usage-template-and-table-queries/m-p/6774365#M1463602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    You can use Template in a secondary wihdow for displaying header details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     For displaying item details you can use a table in the Main Window. Based on the number of line items automatically the data will be printed in the second page. In the first page general attributes you can give the same first page as next page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 22:42:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-usage-template-and-table-queries/m-p/6774365#M1463602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-14T22:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Smartform - usage template and table - queries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-usage-template-and-table-queries/m-p/6774366#M1463603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 23:22:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-usage-template-and-table-queries/m-p/6774366#M1463603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-14T23:22:24Z</dc:date>
    </item>
  </channel>
</rss>

