<?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: Access to variables from calling subprogram using field-symbols in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/access-to-variables-from-calling-subprogram-using-field-symbols/m-p/1005887#M77783</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked it with forms, it has no reference possible to 'local' variables. I assume it to be the same for functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jul 2005 07:38:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-07-04T07:38:59Z</dc:date>
    <item>
      <title>Access to variables from calling subprogram using field-symbols</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/access-to-variables-from-calling-subprogram-using-field-symbols/m-p/1005886#M77782</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;We can use a variable from calling programs using field-symbols like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: str(30) type c value '(prog)var'.&lt;/P&gt;&lt;P&gt;field-symbols:&lt;/P&gt;&lt;P&gt;      &amp;lt;fs&amp;gt; type any.&lt;/P&gt;&lt;P&gt;assign str to &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variable var is global in the program. &lt;/P&gt;&lt;P&gt;Can I use a variable if it defines inside of the calling form/function as a local variable.&lt;/P&gt;&lt;P&gt;Ivan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jul 2005 07:14:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/access-to-variables-from-calling-subprogram-using-field-symbols/m-p/1005886#M77782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-04T07:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Access to variables from calling subprogram using field-symbols</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/access-to-variables-from-calling-subprogram-using-field-symbols/m-p/1005887#M77783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked it with forms, it has no reference possible to 'local' variables. I assume it to be the same for functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jul 2005 07:38:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/access-to-variables-from-calling-subprogram-using-field-symbols/m-p/1005887#M77783</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-04T07:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Access to variables from calling subprogram using field-symbols</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/access-to-variables-from-calling-subprogram-using-field-symbols/m-p/1005888#M77784</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;try that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var1 is your local variable in Program zprog1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in zprog2 you assign above-named variable :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ASSIGN ('(ZPROG1)VAR1') TO &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this code is from the foll. link &lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://www.abapforum.com/forum/viewtopic.php?t=573&amp;amp;highlight=dirty+assign"&amp;gt;dirty assign&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jul 2005 07:44:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/access-to-variables-from-calling-subprogram-using-field-symbols/m-p/1005888#M77784</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-07-04T07:44:51Z</dc:date>
    </item>
  </channel>
</rss>

