<?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-Declaring Internal Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-declaring-internal-table/m-p/1443420#M210705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly is your requirement...? Are you passing an internal table into the smartform..? Then you should declare the internal table in the Tables tab in the Form Interface...Then create a work area in teh Global defintion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are trying to create a internal table containing specified number of fields, then create a work area and internal table in the Types tab of Global definition like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: types: begin of t_lips,&lt;/P&gt;&lt;P&gt;vgbel type vgbel,&lt;/P&gt;&lt;P&gt;end of t_lips.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: ITAB type table of t_lips.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Global data tab, do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB1 TYPE ITAB&lt;/P&gt;&lt;P&gt;t_lips type t_lips.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the loop section (if you are using any loops), specify &lt;/P&gt;&lt;P&gt;ITAB1 INTO t_lips.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this method , you can't use internal table with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Close the thread once the problem is resolved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Jul 2006 04:02:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-12T04:02:52Z</dc:date>
    <item>
      <title>Smartforms-Declaring Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-declaring-internal-table/m-p/1443418#M210703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Is there a way to declare an internal table, which does not refer to a data dictionary, in a smartform? I think this can be implemented using the TYPES node in the GLOBAL DEFINITIONS but Im not sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Saikiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2006 03:55:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-declaring-internal-table/m-p/1443418#M210703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-12T03:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms-Declaring Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-declaring-internal-table/m-p/1443419#M210704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do that exactly the way you have said. Declare a structure in the TYPES declaration and in the GLOBAL DATA tab you can declare the internal table referring to that TYPE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just did this in TYPES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types:begin of ty_mara.&lt;/P&gt;&lt;P&gt; include structure mara.&lt;/P&gt;&lt;P&gt;types: end of ty_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in GLOBAL DATA tab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T_MARA	TYPE TABLE OF	TY_MARA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's all&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;Note :Please mark all the helpful answers and close the thread if the issue is resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Ravikumar Allampallam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2006 03:59:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-declaring-internal-table/m-p/1443419#M210704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-12T03:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms-Declaring Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-declaring-internal-table/m-p/1443420#M210705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly is your requirement...? Are you passing an internal table into the smartform..? Then you should declare the internal table in the Tables tab in the Form Interface...Then create a work area in teh Global defintion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are trying to create a internal table containing specified number of fields, then create a work area and internal table in the Types tab of Global definition like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: types: begin of t_lips,&lt;/P&gt;&lt;P&gt;vgbel type vgbel,&lt;/P&gt;&lt;P&gt;end of t_lips.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: ITAB type table of t_lips.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Global data tab, do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB1 TYPE ITAB&lt;/P&gt;&lt;P&gt;t_lips type t_lips.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the loop section (if you are using any loops), specify &lt;/P&gt;&lt;P&gt;ITAB1 INTO t_lips.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this method , you can't use internal table with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Close the thread once the problem is resolved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2006 04:02:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-declaring-internal-table/m-p/1443420#M210705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-12T04:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms-Declaring Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-declaring-internal-table/m-p/1443421#M210706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you r right, you can declare the internal table in the type tab of the global definition node.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is a example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ypes : begin of x_norec,&lt;/P&gt;&lt;P&gt;vbeln like vttp-vbeln ,&lt;/P&gt;&lt;P&gt;end of x_norec .&lt;/P&gt;&lt;P&gt;types : ty_norec type table of x_norec .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of x_detail,&lt;/P&gt;&lt;P&gt;matnr like lips-matnr,&lt;/P&gt;&lt;P&gt;stawn like marc-stawn,&lt;/P&gt;&lt;P&gt;maktx like makt-maktx,&lt;/P&gt;&lt;P&gt;vbeln like lips-vbeln,&lt;/P&gt;&lt;P&gt;posnr like lips-posnr,&lt;/P&gt;&lt;P&gt;lfimg1(15) type c,&lt;/P&gt;&lt;P&gt;vgbel like lips-vgbel,&lt;/P&gt;&lt;P&gt;vgpos like lips-vgpos,&lt;/P&gt;&lt;P&gt;bstnk like vbak-bstnk,&lt;/P&gt;&lt;P&gt;kzwi4 like lips-kzwi4,&lt;/P&gt;&lt;P&gt;lfimg like lips-lfimg,&lt;/P&gt;&lt;P&gt;stprs(15) type c ,&lt;/P&gt;&lt;P&gt;herkl like marc-herkl,&lt;/P&gt;&lt;P&gt;totamt(15) type c ,&lt;/P&gt;&lt;P&gt;end of x_detail.&lt;/P&gt;&lt;P&gt;types : ty_detail type &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;mrutyun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2006 04:25:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-declaring-internal-table/m-p/1443421#M210706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-12T04:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms-Declaring Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-declaring-internal-table/m-p/1443422#M210707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue is solbed, The Thread can be closed now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2006 05:01:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-declaring-internal-table/m-p/1443422#M210707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-12T05:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms-Declaring Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-declaring-internal-table/m-p/1443423#M210708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have to close the thread by choosing "Solved my problem" against the answer that helped you solve the problem. Then the thread will be marked as closed.&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>Wed, 12 Jul 2006 05:14:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-declaring-internal-table/m-p/1443423#M210708</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-12T05:14:08Z</dc:date>
    </item>
  </channel>
</rss>

