<?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: Smartform printing &amp; sending multyple table data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-printing-sending-multyple-table-data/m-p/1363151#M180038</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Raj.&lt;/P&gt;&lt;P&gt;There are many method to send the data from diff-2 table from the database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. U will join in the print program and pass the internal table using smartform function module.&lt;/P&gt;&lt;P&gt;( if you wanted the commann information.&lt;/P&gt;&lt;P&gt;You can also pass as many single internal table as a parameter of the SSF fucntion module parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;decalare the internal tables in the smartform in the  table tab and declare a work area as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fill the table using the code node or use the code under routine tab.And then use in the samartform where u needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not enoughf to customize using NACE. U have to declare the output type as well and while printing select the same output type to see the output of your smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it will help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reg.&lt;/P&gt;&lt;P&gt;Vikas Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jun 2006 09:41:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-07T09:41:07Z</dc:date>
    <item>
      <title>Smartform printing &amp; sending multyple table data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-printing-sending-multyple-table-data/m-p/1363150#M180037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I designed a smartform &amp;amp; print Pgm.( for Invoice not SAP standard)&lt;/P&gt;&lt;P&gt;How can i send multiple table(kna1,vbrk,vbrp,vbdk) data in to a smart form? &amp;amp; how can i declare that internal table in smart form &amp;amp; in print pgm? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it is also not printing.even i set it in NACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz any one can help me asap..&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 09:13:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-printing-sending-multyple-table-data/m-p/1363150#M180037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-07T09:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Smartform printing &amp; sending multyple table data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-printing-sending-multyple-table-data/m-p/1363151#M180038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Raj.&lt;/P&gt;&lt;P&gt;There are many method to send the data from diff-2 table from the database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. U will join in the print program and pass the internal table using smartform function module.&lt;/P&gt;&lt;P&gt;( if you wanted the commann information.&lt;/P&gt;&lt;P&gt;You can also pass as many single internal table as a parameter of the SSF fucntion module parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;decalare the internal tables in the smartform in the  table tab and declare a work area as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fill the table using the code node or use the code under routine tab.And then use in the samartform where u needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not enoughf to customize using NACE. U have to declare the output type as well and while printing select the same output type to see the output of your smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it will help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reg.&lt;/P&gt;&lt;P&gt;Vikas Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 09:41:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-printing-sending-multyple-table-data/m-p/1363151#M180038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-07T09:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Smartform printing &amp; sending multyple table data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-printing-sending-multyple-table-data/m-p/1363152#M180039</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;smart forms works like any function module. In global settings-&amp;gt;form interface there´s the tab Import, where you can declare your tables, which are transmitted from the calling program. I recommend not to do it under Tables because somehow it doesn´t work properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Import you can say &lt;/P&gt;&lt;P&gt;MYKNA1 type typ_kna1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in global definitions-&amp;gt;types you declare &lt;/P&gt;&lt;P&gt;types typ_kna1 type table of kna1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 09:41:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-printing-sending-multyple-table-data/m-p/1363152#M180039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-07T09:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Smartform printing &amp; sending multyple table data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-printing-sending-multyple-table-data/m-p/1363153#M180040</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 must have to create a new Structure and a new TABLE TYPE in program to send multiple data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say, you have created Main internal table in your print program to send multiple data to smartforms as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF ty_cus,&lt;/P&gt;&lt;P&gt;          F1,&lt;/P&gt;&lt;P&gt;          F2,&lt;/P&gt;&lt;P&gt;          F3,&lt;/P&gt;&lt;P&gt;          F4,&lt;/P&gt;&lt;P&gt;       END OF ty_cus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, instead defining above types in your program, just create a new structure(lets say Z_CUS) with the above fields in SE11.&lt;/P&gt;&lt;P&gt;Then create new TABLE TYPE (ZT_CUS) with that structure (Z_CUS).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, in your print program, create internal table with the type of Z_CUS as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: it_cus TYPE TABLE TYPE z_cus,&lt;/P&gt;&lt;P&gt;      wa_cus TYPE z_cus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in the Layout, Form interface - Tables section give it as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IS_CUS    TYPE   ZT_CUS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your print program, assign your internal table to IS_CUS for generated function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION fm_module.&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   .....&lt;/P&gt;&lt;P&gt;   .....&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   .....&lt;/P&gt;&lt;P&gt;   .....&lt;/P&gt;&lt;P&gt; TABLES&lt;/P&gt;&lt;P&gt;   IS_CUS   = it_cus&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   ......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you hav any quesions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 09:42:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-printing-sending-multyple-table-data/m-p/1363153#M180040</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-07T09:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Smartform printing &amp; sending multyple table data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-printing-sending-multyple-table-data/m-p/1363154#M180041</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;Better way is to create a structure with reference to the internal table what you have to pass to smartform.&lt;/P&gt;&lt;P&gt;For more Help Check this Tutorial &amp;lt;a href="http://www.sapgenie.com/abap/smartforms.htm"&amp;gt;SAPGENIE&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;Or You can see many example step by step with screen shots in &amp;lt;u&amp;gt;&amp;lt;b&amp;gt;SDN CODE SAMPLES.&amp;lt;/b&amp;gt; &amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 09:42:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-printing-sending-multyple-table-data/m-p/1363154#M180041</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-07T09:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Smartform printing &amp; sending multyple table data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-printing-sending-multyple-table-data/m-p/1363155#M180042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can pass any number of internal tables as you like. &lt;/P&gt;&lt;P&gt;Like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION fm_name&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      itab_post                  = itab_post&lt;/P&gt;&lt;P&gt;      exp_obj44                  = exp_obj44&lt;/P&gt;&lt;P&gt;      exp_obj66                  = exp_obj66&lt;/P&gt;&lt;P&gt;      copy_fund                  = copy_fund&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In smartform you have declare these tables in &lt;/P&gt;&lt;P&gt;'Form Interface' &lt;/P&gt;&lt;P&gt;And create structures in data dictionary for reference in declaration.&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;&lt;/P&gt;&lt;P&gt;Wasim Ahmed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Wasim Ahmed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 09:48:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-printing-sending-multyple-table-data/m-p/1363155#M180042</guid>
      <dc:creator>dani_mn</dc:creator>
      <dc:date>2006-06-07T09:48:31Z</dc:date>
    </item>
  </channel>
</rss>

