<?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: regarding event &amp; command in smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-event-command-in-smartforms/m-p/4471154#M1059093</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;Where exactly did you put the command node under the loop node... is it first or after the display of the record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop node&lt;/P&gt;&lt;P&gt;     command node   --  condition not on first page&lt;/P&gt;&lt;P&gt;     text node&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;padma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Sep 2008 10:42:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-08T10:42:41Z</dc:date>
    <item>
      <title>regarding event &amp; command in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-event-command-in-smartforms/m-p/4471153#M1059092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have an assignment like this,i need to develop an smartforms in which &lt;/P&gt;&lt;P&gt;employees details will come page wise means for first employee the details will come &lt;/P&gt;&lt;P&gt;in the first page for second employee the details will come in the second page &lt;/P&gt;&lt;P&gt;like this i need the outptut ,here i need to use templates plz let me know how will&lt;/P&gt;&lt;P&gt;i proceed in smartforms as well as in the driver programs....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if possible plz send ur codes as i m new to smartforms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR THIS i already post the maater and got this answer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write the driver program in se38 ......with taking an internal table with the details of all&lt;/P&gt;&lt;P&gt;employees for your selection.......&lt;/P&gt;&lt;P&gt;in the driver program itself call ssf_function_module ........and pass the internl atable to &lt;/P&gt;&lt;P&gt;this FM .......sort the table by employee number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now create a smartform ......with one page...desgin the page as per your requirement.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the mail window create a loop (assgin the tAable ....to it which has been passed from driver program....)&lt;/P&gt;&lt;P&gt;inside the loop create at new (down you will see ) and put the employee number field.....&lt;/P&gt;&lt;P&gt;next inside the loop create a command ...and put a new page(call) ...&lt;/P&gt;&lt;P&gt;new page will trigger automatically for each employeee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i did as per the answer but i m not getting here in my smartforms i m using&lt;/P&gt;&lt;P&gt;table under this i have sorted pernr in the data tab and under this event i m &lt;/P&gt;&lt;P&gt;putting command in this command i m using go to new page,as per this scenario&lt;/P&gt;&lt;P&gt;i m getting my output but one blank page is also coming in the output ,&lt;/P&gt;&lt;P&gt;how to remove this page plz help me i also tried in the condition not on first page but it is not coming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 10:38:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-event-command-in-smartforms/m-p/4471153#M1059092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-08T10:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: regarding event &amp; command in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-event-command-in-smartforms/m-p/4471154#M1059093</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;Where exactly did you put the command node under the loop node... is it first or after the display of the record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop node&lt;/P&gt;&lt;P&gt;     command node   --  condition not on first page&lt;/P&gt;&lt;P&gt;     text node&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;padma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 10:42:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-event-command-in-smartforms/m-p/4471154#M1059093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-08T10:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: regarding event &amp; command in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-event-command-in-smartforms/m-p/4471155#M1059094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;after command i have put the main area of the table ,,,,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 11:12:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-event-command-in-smartforms/m-p/4471155#M1059094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-08T11:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: regarding event &amp; command in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-event-command-in-smartforms/m-p/4471156#M1059095</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;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Uncheck the goto new page command and put the condition pernr not equal to prevevious pernr in the conditions tab of the new command.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be done as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;with in loop and endloop at the end of the loop create text node(cretae a var called W_prev_pernr and then w_prev_pernr = itab-pernr.) which stores the current pernr.at in the conditions tab of the new command(Create&lt;/STRONG&gt;&lt;DEL&gt;&lt;STRONG&gt;&amp;gt;Flow Logic&lt;/STRONG&gt;&lt;/DEL&gt;&amp;gt;Command) put the condition like : pernr NE w_prev_pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rama.P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 11:57:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-event-command-in-smartforms/m-p/4471156#M1059095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-08T11:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: regarding event &amp; command in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-event-command-in-smartforms/m-p/4471157#M1059096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In driver program declare the structure refering to the employee details.&lt;/P&gt;&lt;P&gt;ex:fs_emp type z_emp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In smartform&lt;DEL&gt;&amp;gt;form interface&lt;/DEL&gt;&amp;gt;Include fs_emp ,&lt;/P&gt;&lt;P&gt;                      mainwindow---&amp;gt;create the text node and drap &amp;amp; drop the fields as per your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In driver program use loop at t_emp into fs_emp.&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;Sravanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 12:21:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-event-command-in-smartforms/m-p/4471157#M1059096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-08T12:21:00Z</dc:date>
    </item>
  </channel>
</rss>

