<?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: smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/3485586#M838017</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 that print program u can write code like below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into wa..     " each po comes into wa now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Loop at itab into wa where ponumber = wa-ponumber.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  (*&lt;STRONG&gt;" this loop will repeat and call that    smartform that many items for same PO number.&lt;/STRONG&gt;*)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL THE SMARTFORM FUNCTION MODULE&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.  " second loop gives another PO number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Another thing is that for your smartform inputs should be PO number and Item number.. write u r logic inside the smartform based on inputs... Then it will work definately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Surya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Mar 2008 13:11:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-08T13:11:58Z</dc:date>
    <item>
      <title>smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/3485584#M838015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to have the smartform work for the multiple po how can we do it and also the each po has multiple line items&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Mar 2008 10:49:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/3485584#M838015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-08T10:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/3485585#M838016</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; we can loop the table or template , here write  the po number in the table main or in the template.&lt;/P&gt;&lt;P&gt;then loop it .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or do like this....this is a good example which is working,&lt;/P&gt;&lt;P&gt;here i had put every thing in the template.i created texts for the template and i had given the parameters .&lt;/P&gt;&lt;P&gt;no loop is needed inside the smartform for this example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT it_final.&lt;/P&gt;&lt;P&gt;*---Function module to display the smart form&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION '/1BCDWB/SF00000052'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    pernr                      = it_final-pernr&lt;/P&gt;&lt;P&gt;    vorna                      = it_final-vorna&lt;/P&gt;&lt;P&gt;    nachn                      = it_final-nachn&lt;/P&gt;&lt;P&gt;    cname                      = it_final-cname&lt;/P&gt;&lt;P&gt;    ansal                      = it_final-ansal&lt;/P&gt;&lt;P&gt;    dat01                      = it_final-dat01&lt;/P&gt;&lt;P&gt;    pct01                      = it_final-pct01&lt;/P&gt;&lt;P&gt;    bet01                      = it_final-bet01&lt;/P&gt;&lt;P&gt;    pkt01                      = it_final-pkt01&lt;/P&gt;&lt;P&gt;    finyr                      = it_final-finyr&lt;/P&gt;&lt;P&gt;    name2                      = it_final-name2&lt;/P&gt;&lt;P&gt;    ansal1                     = it_final-ansal1&lt;/P&gt;&lt;P&gt;    pm_rating                  = it_final-pm_rating&lt;/P&gt;&lt;P&gt;    v_finyr1                   = v_finyr1&lt;/P&gt;&lt;P&gt;    v_ansal2                   = it_final-ansal2.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Mar 2008 11:12:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/3485585#M838016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-08T11:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/3485586#M838017</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 that print program u can write code like below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into wa..     " each po comes into wa now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Loop at itab into wa where ponumber = wa-ponumber.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  (*&lt;STRONG&gt;" this loop will repeat and call that    smartform that many items for same PO number.&lt;/STRONG&gt;*)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL THE SMARTFORM FUNCTION MODULE&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.  " second loop gives another PO number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Another thing is that for your smartform inputs should be PO number and Item number.. write u r logic inside the smartform based on inputs... Then it will work definately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Surya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Mar 2008 13:11:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/3485586#M838017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-08T13:11:58Z</dc:date>
    </item>
  </channel>
</rss>

