<?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: replacement for LOCAL in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/replacement-for-local/m-p/4324638#M1030509</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;local is a keyword used instead of tables statement&lt;/P&gt;&lt;P&gt;it is mandatory to use that when the work areas of subroutine and the call programs are different&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and u can use tables statements if the work areas are same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Aug 2008 08:25:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-27T08:25:23Z</dc:date>
    <item>
      <title>replacement for LOCAL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replacement-for-local/m-p/4324635#M1030506</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 need the replacement for the keyword LOCAL......&lt;/P&gt;&lt;P&gt;some how i found the replacement (by my own) but it is not working properly...&lt;/P&gt;&lt;P&gt;the replacement is data declaration for the local...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example program for local...&lt;/P&gt;&lt;P&gt;REPORT  ZTEST_LOCAL_EXAMPLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA text TYPE string VALUE 'Global text'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE / text.          " Global text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM subr1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE / text.          " Global text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM subr1.&lt;/P&gt;&lt;P&gt;  LOCAL text.&lt;/P&gt;&lt;P&gt;*data text type string.                     "replacement for local&lt;/P&gt;&lt;P&gt;  text = 'Text in subr1'.&lt;/P&gt;&lt;P&gt;  WRITE / text.&lt;/P&gt;&lt;P&gt;  PERFORM subr2 USING text.&lt;/P&gt;&lt;P&gt;  WRITE / text.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM subr2 USING para TYPE string.&lt;/P&gt;&lt;P&gt;  LOCAL para.&lt;/P&gt;&lt;P&gt;  para = 'Text in subr2'.&lt;/P&gt;&lt;P&gt;  WRITE / text.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here it is local statement and the replacement statement... but the replacement is not working properly....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;vishnu. R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 12:37:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replacement-for-local/m-p/4324635#M1030506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-26T12:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: replacement for LOCAL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replacement-for-local/m-p/4324636#M1030507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Output&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Global text     
Text in subr1   
Text in subr2   
Text in subr1   
Global text     
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output with replacement&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Global text      
Text in subr1    
Global text      
Text in subr1    
Global text      
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks fine to me.  What do you expect?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 12:51:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replacement-for-local/m-p/4324636#M1030507</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-08-26T12:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: replacement for LOCAL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replacement-for-local/m-p/4324637#M1030508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just look closely the output it gets varies.........&lt;/P&gt;&lt;P&gt;actually the local is obsoleted and i need the replacement for that...&lt;/P&gt;&lt;P&gt;if u use the replacement the output and the functionality should not get change...&lt;/P&gt;&lt;P&gt;                             got me................ !!!!!!!................&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 08:18:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replacement-for-local/m-p/4324637#M1030508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-27T08:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: replacement for LOCAL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replacement-for-local/m-p/4324638#M1030509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;local is a keyword used instead of tables statement&lt;/P&gt;&lt;P&gt;it is mandatory to use that when the work areas of subroutine and the call programs are different&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and u can use tables statements if the work areas are same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 08:25:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replacement-for-local/m-p/4324638#M1030509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-27T08:25:23Z</dc:date>
    </item>
  </channel>
</rss>

