<?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/3140501#M746353</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Thanks a lot for your valuable answer. Until now i dont know there is option for smartform like START_FORM in scripts. Thanks for your valuable answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Dec 2007 07:36:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-14T07:36:08Z</dc:date>
    <item>
      <title>Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/3140498#M746350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I am developing smartform. For that am calling the smartform in the loop. So while printing it is coming one page and when i press back it is showing another page. Instead of that can i get all the pages at one time? Is there any option for that? For that we can do by passing all the internal table into the smartform and we can check there. But i dont want to modify the smartform. Here am attaching my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      FORMNAME           = 'ZPAY'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      FM_NAME            = V_FORM_NAME&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      NO_FORM            = 1&lt;/P&gt;&lt;P&gt;      NO_FUNCTION_MODULE = 2&lt;/P&gt;&lt;P&gt;      OTHERS             = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***********CALLING THE FM TO DISPLAY PAYSLIP&lt;/P&gt;&lt;P&gt;  LOOP AT IT_RT-ZPAY INTO ZPAYROLL1.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION V_FORM_NAME&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        RT                   = ZPAYROLL1&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;        FORMATTING_ERROR     = 1&lt;/P&gt;&lt;P&gt;        INTERNAL_ERROR       = 2&lt;/P&gt;&lt;P&gt;        SEND_ERROR           = 3&lt;/P&gt;&lt;P&gt;        USER_CANCELED        = 4&lt;/P&gt;&lt;P&gt;        OTHERS               = 5.&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;      WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points will be awarded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 07:16:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/3140498#M746350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T07:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/3140499#M746351</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;This is because you are calling the smartform in loop.There you are passing only record each time.&lt;/P&gt;&lt;P&gt;***********CALLING THE FM TO DISPLAY PAYSLIP&lt;/P&gt;&lt;P&gt;LOOP AT IT_RT-ZPAY INTO ZPAYROLL1.&lt;/P&gt;&lt;P&gt;CALL FUNCTION V_FORM_NAME&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;RT = ZPAYROLL1&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;FORMATTING_ERROR = 1&lt;/P&gt;&lt;P&gt;INTERNAL_ERROR = 2&lt;/P&gt;&lt;P&gt;SEND_ERROR = 3&lt;/P&gt;&lt;P&gt;USER_CANCELED = 4&lt;/P&gt;&lt;P&gt;OTHERS = 5.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of that pass the entire table and get the entire in smartform and then loop the table in smartform for display.&lt;/P&gt;&lt;P&gt;Check this link.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 07:19:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/3140499#M746351</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2007-12-14T07:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/3140500#M746352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have to use function module SSF_OPEN and SSF_CLOSE also with the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For complete help you can check the code of standard example program for Smartforms "SF_EXAMPLE_03".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points, if helpful,&lt;/P&gt;&lt;P&gt;Sandeep Kaushik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 07:21:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/3140500#M746352</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T07:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/3140501#M746353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Thanks a lot for your valuable answer. Until now i dont know there is option for smartform like START_FORM in scripts. Thanks for your valuable answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 07:36:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/3140501#M746353</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T07:36:08Z</dc:date>
    </item>
  </channel>
</rss>

