<?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: Using values from main program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-values-from-main-program/m-p/4489348#M1062591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I fiexed it witht the field symbol trick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Oct 2008 09:23:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-08T09:23:26Z</dc:date>
    <item>
      <title>Using values from main program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-values-from-main-program/m-p/4489342#M1062585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to retrieve values from the main program (SAPMM07M in my case) while being in an user-exit, several levels 'deeper' in the source?&lt;/P&gt;&lt;P&gt;And, secondly is it possible to alter these values, eventhough they're not exported from the user-exit?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2008 14:45:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-values-from-main-program/m-p/4489342#M1062585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-15T14:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using values from main program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-values-from-main-program/m-p/4489343#M1062586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are out of the visibility of the data objects of &lt;STRONG&gt;SAPMM07M&lt;/STRONG&gt; program you will not see its variables.&lt;/P&gt;&lt;P&gt;You can check when debugging if you see them. If they are global ones you may be lucky one, otherwise I am sorry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is one way to make these data objects visible at that point. You would have to use SAP memory or ABAP memory, but it requires adapation of main program. It means you would first have to export data objects you are interest in from main &lt;STRONG&gt;SAPMM07M&lt;/STRONG&gt;, then when you are at lower level just import them back from the memory. &lt;/P&gt;&lt;P&gt;Unfortunatelly in this case changing stand. SAP programs is not possible so I affraid you can't do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2008 14:55:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-values-from-main-program/m-p/4489343#M1062586</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2008-09-15T14:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using values from main program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-values-from-main-program/m-p/4489344#M1062587</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 know I can see the vars during debugging with viewing &lt;STRONG&gt;(SAPMM07M)mseg&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried making it visible by:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;statics: lw_table(100),
            lt_mseg type standard table of mseg with header line.

   field-symbols: &amp;lt;lfs_mseg&amp;gt; type any table.

   lw_table = '(SAPMM07M)mseg[]'.

   assign (lw_table) to &amp;lt;lfs_mseg&amp;gt;.

   lt_mseg[] = &amp;lt;lfs_mseg&amp;gt;[].&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2008 15:06:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-values-from-main-program/m-p/4489344#M1062587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-15T15:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using values from main program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-values-from-main-program/m-p/4489345#M1062588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the solution for &lt;STRONG&gt;using the value&lt;/STRONG&gt; is to create a field-symbol:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FIELD-SYMBOLS: &amp;lt;fs&amp;gt; TYPE ANY TABLE.
DATA: name(14) VALUE '(SAPMM07M)mseg'.
ASSIGN (name) TO &amp;lt;fs&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I'm not sure about &lt;STRONG&gt;modifying&lt;/STRONG&gt; ... just try it ... but if it works just do it carefull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Valter Oliveira.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2008 15:13:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-values-from-main-program/m-p/4489345#M1062588</guid>
      <dc:creator>valter_oliveira</dc:creator>
      <dc:date>2008-09-15T15:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using values from main program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-values-from-main-program/m-p/4489346#M1062589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; I'm not sure about &lt;STRONG&gt;modifying&lt;/STRONG&gt; ... just try it ... but if it works just do it carefull.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Regards.&lt;/P&gt;&lt;P&gt;&amp;gt; Valter Oliveira.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Valter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A small update. It's not really about reading the value ( I know see that the value of MSEG fields are visible) but the challenge is to update the field, while it is &lt;STRONG&gt;not&lt;/STRONG&gt; an export parameter of the exit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2008 15:19:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-values-from-main-program/m-p/4489346#M1062589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-15T15:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Using values from main program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-values-from-main-program/m-p/4489347#M1062590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, did you try it? Change (SAPMM07M)mseg in debug mode (not programatically, see the value of the itab itself) .. and see if changes are stored in main program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2008 15:54:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-values-from-main-program/m-p/4489347#M1062590</guid>
      <dc:creator>valter_oliveira</dc:creator>
      <dc:date>2008-09-15T15:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using values from main program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-values-from-main-program/m-p/4489348#M1062591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I fiexed it witht the field symbol trick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 09:23:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-values-from-main-program/m-p/4489348#M1062591</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-08T09:23:26Z</dc:date>
    </item>
  </channel>
</rss>

