<?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: main program , include , global itab in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/main-program-include-global-itab/m-p/2680199#M619382</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If that subroutine is used by some other programs too then you can not change the interface of the subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My suggestion is to copy that subroutine to new subroutine in same include and then change the code of the new subroutine as you may like, by added parameter or by declaring a global internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Aug 2007 15:22:54 GMT</pubDate>
    <dc:creator>Pawan_Kesari</dc:creator>
    <dc:date>2007-08-17T15:22:54Z</dc:date>
    <item>
      <title>main program , include , global itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/main-program-include-global-itab/m-p/2680197#M619380</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 main program , which calls a perform stmt whose  form is  written in a include program.&lt;/P&gt;&lt;P&gt;now for my requirement, i need to work on an internal table, &lt;/P&gt;&lt;P&gt;and calculations have to be done in the form inside the &lt;/P&gt;&lt;P&gt;include program. and send back this itab after performing the calculations on itab in form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one trial  could be that, i  add one more parameter perform stmt, but there  are 10 more  programs  using the &lt;/P&gt;&lt;P&gt;same include and same form, they  all will get  affect, which is a serious  concern,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;another idea  would be to declare this  itab in main program as global use it  in the perform inside include,&lt;/P&gt;&lt;P&gt;after manipulations  on itab, we can use it  back in our  program, after the changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does  any  one know  a better idea, can any one help  me  creating such  global  data  as to  use &lt;/P&gt;&lt;P&gt; both in include and main program&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 15:15:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/main-program-include-global-itab/m-p/2680197#M619380</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-17T15:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: main program , include , global itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/main-program-include-global-itab/m-p/2680198#M619381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you have to use the same include then.. you have no option left , other than delclating this intenal table in the main program before the include statemant and manipulate the table in include and it will be available back in the main program with data.&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;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 15:20:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/main-program-include-global-itab/m-p/2680198#M619381</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-17T15:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: main program , include , global itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/main-program-include-global-itab/m-p/2680199#M619382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If that subroutine is used by some other programs too then you can not change the interface of the subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My suggestion is to copy that subroutine to new subroutine in same include and then change the code of the new subroutine as you may like, by added parameter or by declaring a global internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 15:22:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/main-program-include-global-itab/m-p/2680199#M619382</guid>
      <dc:creator>Pawan_Kesari</dc:creator>
      <dc:date>2007-08-17T15:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: main program , include , global itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/main-program-include-global-itab/m-p/2680200#M619383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for the replies,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but  can any  one help me declare the global internal table before the include,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that  is  syntax  and  example  etc.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 15:53:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/main-program-include-global-itab/m-p/2680200#M619383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-17T15:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: main program , include , global itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/main-program-include-global-itab/m-p/2680201#M619384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even after declaration of this ITAB in main program, you have to declare it in all other programs which are having that include program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 16:21:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/main-program-include-global-itab/m-p/2680201#M619384</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-17T16:21:54Z</dc:date>
    </item>
  </channel>
</rss>

