<?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: Loop in Smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-smartforms/m-p/1293287#M156129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please look at smartform SF_LB_INVOICE. You can see how loops are used here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 May 2006 23:49:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-24T23:49:51Z</dc:date>
    <item>
      <title>Loop in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-smartforms/m-p/1293286#M156128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am stuck at one point in smartforms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me explain in detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My company will be having an agreement with some distributors over some materials. I am developing smartform for those agreements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The agreements may hold good for one or many distributors. I have to pull the distributor information on to smartform one by one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the problem is...how to loop at those distributors at the form level. I can create loop under a window only. How to handle loops at form level. I want to generate the whole form for one distributor...then for next distributor...then next...like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody got any idea.....how to handle this situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And other question is...what is the use of creating folders in smartforms?&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, 24 May 2006 22:30:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-smartforms/m-p/1293286#M156128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T22:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Loop in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-smartforms/m-p/1293287#M156129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please look at smartform SF_LB_INVOICE. You can see how loops are used here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 23:49:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-smartforms/m-p/1293287#M156129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T23:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Loop in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-smartforms/m-p/1293288#M156130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Naren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case the logic should be to call the SMART Form inside a loop of the internal table from the print program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the SMART Form prints the details for one distributor, then you must be passing details for the smart form, of that dist. right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, you should have a internal table with the list of dist and call the SMART form in the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, when and where are you printing these, it depends on that as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Folders - These are more seggregating your objects logically, nothing more than that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note : Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2006 00:17:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-smartforms/m-p/1293288#M156130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-25T00:17:40Z</dc:date>
    </item>
  </channel>
</rss>

