<?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/1369295#M182139</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hII Rajendra ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In &amp;lt;b&amp;gt;SP01&amp;lt;/b&amp;gt;,we can find our spool number and we can print the content of spool request number .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check thisink &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/d9/4a8efb51ea11d189570000e829fbbd/frameset.htm&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revert back for more help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Jun 2006 13:44:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-05T13:44:21Z</dc:date>
    <item>
      <title>smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369286#M182130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello experts,&lt;/P&gt;&lt;P&gt;I designed a Invoice smartform (not using SAP standard).&lt;/P&gt;&lt;P&gt;I developed executable pgm.(print pgm) for that smartform.&lt;/P&gt;&lt;P&gt;It showing the print preview properly, problem is for printing the smartform only. how can i print it. plz help me. By using NACE or any other way is there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 09:58:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369286#M182130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T09:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369287#M182131</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;I can't understand which kind of invoice you're speaking about.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you can use NACE trx to set the parameter to manage it, but it depends on the kind of your document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 10:01:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369287#M182131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T10:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369288#M182132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note down the Spool number and check the status in SP01 or make sure that you are sending to your local printer.&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;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 10:06:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369288#M182132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T10:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369289#M182133</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;You need to specify the printer in the parameters and also other parmeters in the OUTPUT_OPTIONS parameters.&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;&lt;/P&gt;&lt;P&gt;Note :Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 10:10:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369289#M182133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T10:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369290#M182134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi prasad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have configure your smartform and the printer progrma in the nace transaction for that particulkar output type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Invoice you can do it for RD00 output types so that wheren you create a invoice vf03, you can print it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 10:13:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369290#M182134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T10:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369291#M182135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can do that using NACE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note down the Spool number and check the status in SP01 or make sure that you are sending to your local printer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be you have not set the &amp;lt;b&amp;gt;PRINT IMMEDIATELY&amp;lt;/b&amp;gt; option, because of this it creates the spool and waits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first set that option and check .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revert back for more help .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 10:17:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369291#M182135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T10:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369292#M182136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Rajendra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GET_PRINT_PARAMETERS'&lt;/P&gt;&lt;P&gt;  EXPORTING MODE                  = 'BATCH'&lt;/P&gt;&lt;P&gt;              REPORT                = 'MYREPORT'&lt;/P&gt;&lt;P&gt;  IMPORTING OUT_PARAMETERS        = PARAMS&lt;/P&gt;&lt;P&gt;              VALID                 = VALID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look into this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/d5/6243ea8a4111d4b605006094192fe3/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/d5/6243ea8a4111d4b605006094192fe3/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to set the USER_SETTINGS perameter in your SmartForm to SPACE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Sreenivasulu P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 10:31:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369292#M182136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T10:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369293#M182137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Naresh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Mace i replaced my Pgm &amp;amp; form name But still i cont print the form. where can i get the Spool no. i d'not find any spool no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u plz help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 13:35:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369293#M182137</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T13:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369294#M182138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Naresh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Nace i replaced my Pgm &amp;amp; form name But still i cont print the form. where can i get the Spool no. i can't find any spool no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u plz help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 13:40:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369294#M182138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T13:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369295#M182139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hII Rajendra ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In &amp;lt;b&amp;gt;SP01&amp;lt;/b&amp;gt;,we can find our spool number and we can print the content of spool request number .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check thisink &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/d9/4a8efb51ea11d189570000e829fbbd/frameset.htm&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revert back for more help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 13:44:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369295#M182139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T13:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369296#M182140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please follow this procedure to print it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i am assume invoice is from SD. so, please consider the tcode VF02 or VF03.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, finish your print (driver or triggering) program and layout as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example..have a look at the standard invoice print program RLB_INVOICE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure that your print program must have ENTRY routine as follows..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      FORM ENTRY&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM entry USING return_code us_screen.&lt;/P&gt;&lt;P&gt;  DATA: lf_retcode TYPE sy-subrc.&lt;/P&gt;&lt;P&gt;  CLEAR retcode.&lt;/P&gt;&lt;P&gt;  xscreen = us_screen.&lt;/P&gt;&lt;P&gt;  PERFORM processing USING us_screen&lt;/P&gt;&lt;P&gt;                     CHANGING lf_retcode.&lt;/P&gt;&lt;P&gt;  IF lf_retcode NE 0.&lt;/P&gt;&lt;P&gt;    return_code = 1.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    return_code = 0.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within the PROCESSING form you can write your own code to call and print smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, Go to NACE and select the application 'V3' and click on 'output type' button on the toolbar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get a list of output types. Now, you can select RD00 form the list or you can create your own output type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then select the desited output type the click on the 'Processing routine' which on the left side  and enter details as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program: your print program (driver program or triggring program)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form routine: ENTRY&lt;/P&gt;&lt;P&gt;Form: leave it blank&lt;/P&gt;&lt;P&gt;SmartForm: your smartform layout name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also maintain Partner functions as well.&lt;/P&gt;&lt;P&gt;Do not forgot to maintain the Access Sequence as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you finished allout above, Now, goto VF02 and select any invoice and press enter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, follow the path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto -&amp;gt; Header -&amp;gt; output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the output screen..maintain the parameters as follows..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the output type to whom you have assigned print program name, layout and press enter. Automatically other cells on that row will be filled with data on that screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, you have to choose, the processing type..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the entry and press 'Further data' button and choose send immediately when saving the application (this is option 4 on the dropdown list)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then come back the output screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, select the output type row again and press 'Communication method' button on the top.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have to enter Printer Name and no of copies here and also select print immedicately checkbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then finally, Save it. you will see your dream printout.&lt;/P&gt;&lt;P&gt;or you can go to SP01 and excute it. you will see list of spools created for your user id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Letme know if you have any questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 14:04:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369296#M182140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T14:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369297#M182141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for ur reply...&lt;/P&gt;&lt;P&gt;&amp;amp; one more problem i got...&lt;/P&gt;&lt;P&gt;i can export one table data to Smartform through function module( smartform generated Function module).&lt;/P&gt;&lt;P&gt;ex---CALL FUNCTION '/1BCDWB/SF00000001'&lt;/P&gt;&lt;P&gt;     TABLES&lt;/P&gt;&lt;P&gt;    KTAB                       = ITAB.&lt;/P&gt;&lt;P&gt;This KTAB i declared in Smartform(smartForm in that FormInterface in that tables --- ktab like kna1)&lt;/P&gt;&lt;P&gt;it is working..but my problem is i want data from kna1,vbrk,vbkd &amp;amp; vbrp tables by using join condition(i know how to joins that tables)...how can i send it to the smartform? &amp;amp; how i can declare that tables in that smartform? (one customer &amp;amp; multiple items)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope u can understand my problem..plz help me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 13:02:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369297#M182141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-06T13:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369298#M182142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii Rajendra ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your abap program collect all data at once into itab ..then pass that itab to smart form..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use for all entries for performance issue&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Calling SMARTFORMS from your ABAP program. &lt;/P&gt;&lt;P&gt;Collecting all the table data in your program, and pass once to SMARTFORMS &lt;/P&gt;&lt;P&gt; &amp;lt;b&amp;gt;SMARTFORMS &lt;/P&gt;&lt;P&gt; Declare your table type in :- &lt;/P&gt;&lt;P&gt; Global Settings -&amp;gt; Form Interface &lt;/P&gt;&lt;P&gt; Global Definintions -&amp;gt; Global Data &lt;/P&gt;&lt;P&gt; Main Window -&amp;gt; Table -&amp;gt; DATA&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;chk this program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZSMARTFORM.  &lt;/P&gt;&lt;P&gt;TABLES: MKPF.  &lt;/P&gt;&lt;P&gt;DATA: FM_NAME TYPE RS38L_FNAM.  &lt;/P&gt;&lt;P&gt;DATA: BEGIN OF INT_MKPF OCCURS 0. &lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE MKPF. &lt;/P&gt;&lt;P&gt;DATA: END OF INT_MKPF.  &lt;/P&gt;&lt;P&gt;SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.  &lt;/P&gt;&lt;P&gt;SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR. &lt;/P&gt;&lt;P&gt;   MOVE-CORRESPONDING MKPF TO INT_MKPF. &lt;/P&gt;&lt;P&gt;   APPEND INT_MKPF.  &lt;/P&gt;&lt;P&gt;ENDSELECT.  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;At the end of your program. &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Passing data to SMARTFORMS  &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;call function 'SSF_FUNCTION_MODULE_NAME' &lt;/P&gt;&lt;P&gt;  exporting &lt;/P&gt;&lt;P&gt;    formname                 = 'ZSMARTFORM' &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  VARIANT                  = ' ' &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DIRECT_CALL              = ' ' &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IMPORTING &lt;/P&gt;&lt;P&gt;    FM_NAME                  = FM_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;if sy-subrc &amp;lt;&amp;gt; 0. &lt;/P&gt;&lt;P&gt;   WRITE: / 'ERROR 1'. &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endif.  &lt;/P&gt;&lt;P&gt;call function FM_NAME &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_INDEX              = &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_INDEX_TAB          = &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_PARAMETERS         = &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CONTROL_PARAMETERS         = &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_APPL_OBJ              = &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_RECIPIENT             = &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_SENDER                = &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OUTPUT_OPTIONS             = &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  USER_SETTINGS              = 'X' &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DOCUMENT_OUTPUT_INFO       = &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  JOB_OUTPUT_INFO            = &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  JOB_OUTPUT_OPTIONS         = &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TABLES &lt;/P&gt;&lt;P&gt;    GS_MKPF                    = INT_MKPF &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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points f helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 14:04:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369298#M182142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-06T14:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369299#M182143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to get data from different tables, you must declare the structure both in Layout as well as in the driver program and also you will have to create a TABLE type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, instead of that, just create a driver program and pass the NAST to the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, you have NAST record in the layout. So, Create 'Program lines' in the Main window and write your code to fetch the data from those tables based on NAST record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Or) you can also write code at Initialization tab in Global definations. This code will be executed before layout is processed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know if you have any questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 15:37:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369299#M182143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-06T15:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369300#M182144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you plz explane me detail..&lt;/P&gt;&lt;P&gt;For this can i use FORM ENTRY  are not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 07:11:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369300#M182144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-07T07:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369301#M182145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have to use FROM ENTRY for this..&lt;/P&gt;&lt;P&gt;Let me know if you got confused about execution process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 09:54:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/1369301#M182145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-07T09:54:42Z</dc:date>
    </item>
  </channel>
</rss>

