<?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: Tables in Script in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables-in-script/m-p/1788743#M339453</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The usual practice is that you copy the standard print program and make the necessary modifications you need. This way it will allow you to create yoru own internal tables and access it in the form. Later you need to map this custom program to a output type so that this print program and the form is triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Guru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Dec 2006 23:28:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-06T23:28:44Z</dc:date>
    <item>
      <title>Tables in Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables-in-script/m-p/1788741#M339451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guru's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dought whether we can create any internal table in script. Coz if driver program is standard T.code.  how should we trouble shoot this... How about external subroutine? and how to use this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2006 23:23:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tables-in-script/m-p/1788741#M339451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-06T23:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Tables in Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables-in-script/m-p/1788742#M339452</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 cannot create internal tables in sapscript..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For subroutines check this link..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/EN/d1/803279454211d189710000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/EN/d1/803279454211d189710000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2006 23:27:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tables-in-script/m-p/1788742#M339452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-06T23:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Tables in Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables-in-script/m-p/1788743#M339453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The usual practice is that you copy the standard print program and make the necessary modifications you need. This way it will allow you to create yoru own internal tables and access it in the form. Later you need to map this custom program to a output type so that this print program and the form is triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Guru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2006 23:28:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tables-in-script/m-p/1788743#M339453</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-06T23:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Tables in Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables-in-script/m-p/1788744#M339454</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 cant directly declare the internal table in sapscript but you can creat the external subroutine and call that in your sapscript,&lt;/P&gt;&lt;P&gt;go through this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax in a form window:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: PERFORM &amp;lt;form&amp;gt; IN PROGRAM &amp;lt;prog&amp;gt;&lt;/P&gt;&lt;P&gt;/: USING &amp;amp;INVAR1&amp;amp;&lt;/P&gt;&lt;P&gt;/: USING &amp;amp;INVAR2&amp;amp;&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;/: CHANGING &amp;amp;OUTVAR1&amp;amp;&lt;/P&gt;&lt;P&gt;/: CHANGING &amp;amp;OUTVAR2&amp;amp;&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;/: ENDPERFORM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ABAP subroutine called via the command line stated above must be defined in the ABAP report prog as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM &amp;lt;form&amp;gt; TABLES IN_TAB STRUCTURE ITCSY&lt;/P&gt;&lt;P&gt;OUT_TAB STRUCTURE ITCSY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&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>Thu, 07 Dec 2006 04:02:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tables-in-script/m-p/1788744#M339454</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T04:02:33Z</dc:date>
    </item>
  </channel>
</rss>

