<?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: Assign {O:[NNN]*\FUNCTION-POOL…} shape in ABAP program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-o-nnn-function-pool-shape-in-abap-program/m-p/12092415#M1972008</link>
    <description>&lt;P&gt;you need the program name of that method, that value is in debug screen only. but if that attribute is private or protected, i think it wont work.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Aug 2019 00:14:39 GMT</pubDate>
    <dc:creator>DoanManhQuynh</dc:creator>
    <dc:date>2019-08-07T00:14:39Z</dc:date>
    <item>
      <title>Assign {O:[NNN]*\FUNCTION-POOL…} shape in ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-o-nnn-function-pool-shape-in-abap-program/m-p/12092413#M1972006</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt;I'm trying to assign an internal table wich i got it form an upper programme, but in vain :&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1713668-assign.png" /&gt;&lt;/P&gt;
  &lt;P&gt;I tried with this code :&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;&amp;lt;code&amp;gt;data val TYPE string.
FIELD-SYMBOLS &amp;lt;fs_fact&amp;gt; TYPE any.

val2 = '{O:279*\FUNCTION-POOL=MMPUR_ME2ON\CLASS=LCL_FACTORY}-MT_STOCK'.

ASSIGN (val) to &amp;lt;fs_fact&amp;gt;.  "=&amp;gt; Sy-subrc = 4 &lt;/CODE&gt;&lt;/PRE&gt; 
  &lt;P&gt;How can i fix it please ?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 15:14:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-o-nnn-function-pool-shape-in-abap-program/m-p/12092413#M1972006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-08-06T15:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Assign {O:[NNN]*\FUNCTION-POOL…} shape in ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-o-nnn-function-pool-shape-in-abap-program/m-p/12092414#M1972007</link>
      <description>&lt;P&gt;This syntax:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;{O:279*\FUNCTION-POOL=MMPUR_ME2ON\CLASS=LCL_FACTORY}-MT_STOCK&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;is valid only for the debugger.&lt;/P&gt;&lt;P&gt;The only way to access it is to know a global reference variable or a public class reference attribute referring to this object (or possibly via methods, but I can't tell because I know nothing of the function group MMPUR_ME2ON); if a global reference variable exists and is named GO_REF then use:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ASSIGN ('(SAPLMMPUR_ME2ON)GO_REF-&amp;gt;MT_STOCK') TO &amp;lt;fs_fact&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But remember that &lt;A href="https://help.sap.com/doc/abapdocu_753_index_htm/7.53/en-US/index.htm?file=abapassign_mem_area_dynamic_dobj.htm#!abap_alternative_1@1@"&gt;this form of ASSIGN&lt;/A&gt; is "&lt;STRONG&gt;For internal use only&lt;/STRONG&gt;". I personally prefer (if possible) to implement enhancement options to add custom procedures and transfer the variable via a parameter.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 17:44:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-o-nnn-function-pool-shape-in-abap-program/m-p/12092414#M1972007</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-08-06T17:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Assign {O:[NNN]*\FUNCTION-POOL…} shape in ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-o-nnn-function-pool-shape-in-abap-program/m-p/12092415#M1972008</link>
      <description>&lt;P&gt;you need the program name of that method, that value is in debug screen only. but if that attribute is private or protected, i think it wont work.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 00:14:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-o-nnn-function-pool-shape-in-abap-program/m-p/12092415#M1972008</guid>
      <dc:creator>DoanManhQuynh</dc:creator>
      <dc:date>2019-08-07T00:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Assign {O:[NNN]*\FUNCTION-POOL…} shape in ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-o-nnn-function-pool-shape-in-abap-program/m-p/12092416#M1972009</link>
      <description>&lt;P&gt;IMPORTANT NOTE: as &lt;A href="https://answers.sap.com/users/36313/quynhdoanmanh.html"&gt;Quynh Doan Manh&lt;/A&gt; said, if the attribute is private or protected, you cannot directly read the attribute, so you may only try enhancement options.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 07:20:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-o-nnn-function-pool-shape-in-abap-program/m-p/12092416#M1972009</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-08-07T07:20:03Z</dc:date>
    </item>
  </channel>
</rss>

