<?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 data to smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-data-to-smartforms/m-p/8412678#M1645824</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 either need to create a structure in SE11 with the same list of fields and then Create a table type and use in both the print program as well as smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can create a structure in smartform types tab ( in Global definitions ) and then declare a table type of standard table of the structure defined and use it in the interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Sriranjani Chimakurthy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Dec 2011 05:05:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-12-23T05:05:56Z</dc:date>
    <item>
      <title>passing internal table data to smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-data-to-smartforms/m-p/8412674#M1645820</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 have to pass the my internal table data to the smartforms.my internal table declaration is like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA: BEGIN OF i_data OCCURS 0,&lt;/P&gt;&lt;P&gt;        sel,&lt;/P&gt;&lt;P&gt;        seqno    type i,&lt;/P&gt;&lt;P&gt;        pernr        TYPE pernr-pernr,&lt;/P&gt;&lt;P&gt;        ename        TYPE p0001-ename,&lt;/P&gt;&lt;P&gt;        trfgr        type p0008-trfgr,&lt;/P&gt;&lt;P&gt;        begda         type p0000-begda,&lt;/P&gt;&lt;P&gt;         orgeh         type p0001-orgeh,&lt;/P&gt;&lt;P&gt;        orgtx          type t527x-orgtx,&lt;/P&gt;&lt;P&gt;        kostl        TYPE p0001-kostl,&lt;/P&gt;&lt;P&gt;        ktext          type cskt-ktext,&lt;/P&gt;&lt;P&gt;        CTEXT4 LIKE HRP1000-SHORT,     "Current subsection desc.&lt;/P&gt;&lt;P&gt;        CTEXT3 LIKE HRP1000-SHORT,     "Current section desc.&lt;/P&gt;&lt;P&gt;        CTEXT2 LIKE HRP1000-SHORT,     "Current department desc.&lt;/P&gt;&lt;P&gt;         CTEXT6 LIKE HRP1000-SHORT,    " division&lt;/P&gt;&lt;P&gt;         CTEXT1 LIKE HRP1000-SHORT,&lt;/P&gt;&lt;P&gt;        n_late_att   TYPE t_num,&lt;/P&gt;&lt;P&gt;        s_late_att   TYPE t_scr,&lt;/P&gt;&lt;P&gt;        n_paid_mc    TYPE t_num,&lt;/P&gt;&lt;P&gt;        s_paid_mc    TYPE t_scr,&lt;/P&gt;&lt;P&gt;        n_unpaid_lv  TYPE t_num,&lt;/P&gt;&lt;P&gt;        s_unpaid_lv  TYPE t_scr,&lt;/P&gt;&lt;P&gt;        n_unpaid_mc  TYPE t_num,&lt;/P&gt;&lt;P&gt;        s_unpaid_mc  TYPE t_scr,&lt;/P&gt;&lt;P&gt;        n_hospitalz  TYPE t_num,&lt;/P&gt;&lt;P&gt;        s_hospitalz  TYPE t_scr,&lt;/P&gt;&lt;P&gt;        s_total      TYPE t_scr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      END OF i_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   i retrieved all the data into i_data. so i need to pass this data to smart form. i know about the function module but how to kept declaration  in smartform??&lt;/P&gt;&lt;P&gt;  can anyone suggest on this??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2011 04:33:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-data-to-smartforms/m-p/8412674#M1645820</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-23T04:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: passing internal table data to smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-data-to-smartforms/m-p/8412675#M1645821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arjun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After fetching the data into internal , call the smartforms from your program then you can use this internal table in your smartform by giving input of smartform name and function module name.By looping that internal table  you can display the data in smartform print preview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;G.Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2011 04:42:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-data-to-smartforms/m-p/8412675#M1645821</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-23T04:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: passing internal table data to smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-data-to-smartforms/m-p/8412676#M1645822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arjun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to define the structure 'i_data' as a dictionary object (T. Code: SE11).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then this structure can be referred to in the Global Definition of the SMARTFORM.&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;Pranav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2011 04:45:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-data-to-smartforms/m-p/8412676#M1645822</guid>
      <dc:creator>former_member222709</dc:creator>
      <dc:date>2011-12-23T04:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: passing internal table data to smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-data-to-smartforms/m-p/8412677#M1645823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a structure with same fields in SE11. Ie as a global structure because you can specify only global types in smart forms. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After creating structure you can create a table type using that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare a structure and internal table using the respective structure and internal table in the global definition of smart forms. &lt;/P&gt;&lt;P&gt;Then you can use it with the form and can process the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you will be much clear after reading this if you still have queries please revert back to me will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri Hari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2011 04:52:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-data-to-smartforms/m-p/8412677#M1645823</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-23T04:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: passing internal table data to smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-data-to-smartforms/m-p/8412678#M1645824</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 either need to create a structure in SE11 with the same list of fields and then Create a table type and use in both the print program as well as smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can create a structure in smartform types tab ( in Global definitions ) and then declare a table type of standard table of the structure defined and use it in the interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Sriranjani Chimakurthy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2011 05:05:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-data-to-smartforms/m-p/8412678#M1645824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-23T05:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: passing internal table data to smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-data-to-smartforms/m-p/8412679#M1645825</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;               thanks for replies.problem has been solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2011 08:05:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-internal-table-data-to-smartforms/m-p/8412679#M1645825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-23T08:05:15Z</dc:date>
    </item>
  </channel>
</rss>

