<?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: please explain the following code.. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-explain-the-following-code/m-p/2507313#M566830</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;see this below code.&lt;/P&gt;&lt;P&gt;so that u can understand how ur code works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:var(10) value 'abcd'.&lt;/P&gt;&lt;P&gt;data:abcd(10) value 'xyz'.&lt;/P&gt;&lt;P&gt;field-symbols:&amp;lt;fs&amp;gt;  type any.&lt;/P&gt;&lt;P&gt;assign (var) to &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/ &amp;lt;fs&amp;gt;."here it will give value of 'abcd'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jul 2007 15:07:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-06T15:07:12Z</dc:date>
    <item>
      <title>please explain the following code..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-explain-the-following-code/m-p/2507311#M566828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have to made some changes in material master..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i foung following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA:   h_name(30).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  FIELD-SYMBOLS: &amp;lt;h_aktvstatus&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Maintained views are retrieved&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  h_name = '(SAPLMGMU)aktvstatus'.&lt;/P&gt;&lt;P&gt;  ASSIGN (h_name) TO &amp;lt;h_aktvstatus&amp;gt;.&lt;/P&gt;&lt;P&gt;  r_pstat_m = &amp;lt;h_aktvstatus&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please explain it specially "'(SAPLMGMU)aktvstatus'." part&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 14:51:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-explain-the-following-code/m-p/2507311#M566828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T14:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: please explain the following code..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-explain-the-following-code/m-p/2507312#M566829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is happening here, is that the code is trying to access a variable field within the callstack and not within the local program memory, this is a little trick that we do when working within user exits and we don't have a specific field or internal table being passed to the exit's funciton module.  Here the program name is specified and then immediately, the variable name, or this could be an internal table name as well.  By assign to a field symbol, you can then gain access to this variable from your program, which of course could be very dangerous, so be careful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 14:56:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-explain-the-following-code/m-p/2507312#M566829</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-07-06T14:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: please explain the following code..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-explain-the-following-code/m-p/2507313#M566830</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;see this below code.&lt;/P&gt;&lt;P&gt;so that u can understand how ur code works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:var(10) value 'abcd'.&lt;/P&gt;&lt;P&gt;data:abcd(10) value 'xyz'.&lt;/P&gt;&lt;P&gt;field-symbols:&amp;lt;fs&amp;gt;  type any.&lt;/P&gt;&lt;P&gt;assign (var) to &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/ &amp;lt;fs&amp;gt;."here it will give value of 'abcd'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 15:07:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-explain-the-following-code/m-p/2507313#M566830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T15:07:12Z</dc:date>
    </item>
  </channel>
</rss>

