<?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: passing internal table to smart forms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-to-smart-forms/m-p/1333905#M169799</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the form interface,there is a tab called 'TYPES'.&lt;/P&gt;&lt;P&gt;In that write like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of ty_mara,&lt;/P&gt;&lt;P&gt;matnr type mara-matnr,&lt;/P&gt;&lt;P&gt;end of ty_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the form interface , there is a tab called 'GLOBAL DATA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that declare as below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa type ty_mara "for work area&lt;/P&gt;&lt;P&gt;itab type standard table of ty_mara "for internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of doubts, get back to me.&lt;/P&gt;&lt;P&gt;If problem solved , reward points and close this thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Jun 2006 12:12:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-09T12:12:12Z</dc:date>
    <item>
      <title>passing internal table to smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-to-smart-forms/m-p/1333902#M169796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am new to smartforms.I have got a internal table in one of the programs whose type is not of standard tables type.I want to pass that table to Smart forms for printing .is it possible &amp;amp; if yes how will i declare the table in the form interface .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Malathi V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 12:07:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-to-smart-forms/m-p/1333902#M169796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-09T12:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: passing internal table to smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-to-smart-forms/m-p/1333903#M169797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;u try to create a structure of the itab type in se11 and use it in global declaration in smartform&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 12:10:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-to-smart-forms/m-p/1333903#M169797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-09T12:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: passing internal table to smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-to-smart-forms/m-p/1333904#M169798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Malthi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define a table type reference to pass an internal table to the smartforms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Cheeers&lt;/P&gt;&lt;P&gt; VJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 12:10:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-to-smart-forms/m-p/1333904#M169798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-09T12:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: passing internal table to smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-to-smart-forms/m-p/1333905#M169799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the form interface,there is a tab called 'TYPES'.&lt;/P&gt;&lt;P&gt;In that write like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of ty_mara,&lt;/P&gt;&lt;P&gt;matnr type mara-matnr,&lt;/P&gt;&lt;P&gt;end of ty_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the form interface , there is a tab called 'GLOBAL DATA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that declare as below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa type ty_mara "for work area&lt;/P&gt;&lt;P&gt;itab type standard table of ty_mara "for internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of doubts, get back to me.&lt;/P&gt;&lt;P&gt;If problem solved , reward points and close this thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 12:12:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-to-smart-forms/m-p/1333905#M169799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-09T12:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: passing internal table to smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-to-smart-forms/m-p/1333906#M169800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi malathi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a structure in se11 and in smartforms &amp;lt;b&amp;gt;Form Interface&amp;lt;/b&amp;gt; in &amp;lt;b&amp;gt;TABLES&amp;lt;/b&amp;gt; tab give as&lt;/P&gt;&lt;P&gt;parameter name; itab like zstruct.&lt;/P&gt;&lt;P&gt;and declare the &amp;lt;b&amp;gt;WA in GLOBAL DEFINITIONS&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;WA like zstruct.as u will loop the internal table into the WA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps,&lt;/P&gt;&lt;P&gt;priya.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Priya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 12:14:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-to-smart-forms/m-p/1333906#M169800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-09T12:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: passing internal table to smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-to-smart-forms/m-p/1333907#M169801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Malathi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a structure and reference in smartform&lt;/P&gt;&lt;P&gt;Under Global definition&lt;/P&gt;&lt;P&gt;-&amp;gt;Global data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Laxmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 12:20:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-to-smart-forms/m-p/1333907#M169801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-09T12:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: passing internal table to smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-to-smart-forms/m-p/1333908#M169802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;create a strucure with the fields present in ur internal table.use : itab type structure in the tables tab of the form interface for the application &lt;/P&gt;&lt;P&gt;data to be available for the Smartform to print.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;keerthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 12:29:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-to-smart-forms/m-p/1333908#M169802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-09T12:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: passing internal table to smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-to-smart-forms/m-p/1333909#M169803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Malathi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can pass data to smartforms either through a print program or directly within smartforms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to pass int.table (not of standard table type) , you can do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) In the Form Interface ,create a variable &lt;/P&gt;&lt;P&gt;ITAB         LIKE         ZSHAIL_T1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) In the Global definition, create a structure&lt;/P&gt;&lt;P&gt;STRUCT       LIKE         ZSHAIL_T1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)Create a Table Node and in the DATA tab, give it as &lt;/P&gt;&lt;P&gt;ITAB to STRUCT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) You can switch on the Field list (Ctrl&lt;EM&gt;shift&lt;/EM&gt;f4) and drag and drop your text(&amp;amp;struct-field_name&amp;amp;) wherever you want it to be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) From the main program, call the FM SSF_FUNCTION_MODULE_NAME to get the FM name and then call the generated FM name and pass the internal table name in the tables parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is clear for you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 12:47:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-to-smart-forms/m-p/1333909#M169803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-09T12:47:52Z</dc:date>
    </item>
  </channel>
</rss>

