<?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 Function Module -- Enhancement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-enhancement/m-p/6826539#M1470830</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;   I have created Source Code Enhancements(Plug-ins) in a standard function module(one at the begining and second at the End of Function Module).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  In these enhancements, I have some business logic coded which are triggerd before and at the End of the standard logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Problem here is : I want to access one of the function Module's parameter to do some custom business logic in my enhancement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Please advice on how to access a parameter from my Enhancement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;RJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Mar 2010 03:26:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-25T03:26:55Z</dc:date>
    <item>
      <title>Function Module -- Enhancement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-enhancement/m-p/6826539#M1470830</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;   I have created Source Code Enhancements(Plug-ins) in a standard function module(one at the begining and second at the End of Function Module).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  In these enhancements, I have some business logic coded which are triggerd before and at the End of the standard logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Problem here is : I want to access one of the function Module's parameter to do some custom business logic in my enhancement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Please advice on how to access a parameter from my Enhancement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;RJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 03:26:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-enhancement/m-p/6826539#M1470830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-25T03:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module -- Enhancement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-enhancement/m-p/6826540#M1470831</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;You need to read the Standard program/ function module usign field symbol.&lt;/P&gt;&lt;P&gt;See the below logicto read the YMSEG table into your exit/Badi of standard program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data :  l_name1(40) TYPE c ,&lt;/P&gt;&lt;P&gt;            g_mseg  TYPE STANDARD TABLE OF mseg,&lt;/P&gt;&lt;P&gt; FIELD-SYMBOLS: &amp;lt;fs1&amp;gt; TYPE ANY .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  l_name1 = '(SAPMM07M)YMSEG[]'.&lt;/P&gt;&lt;P&gt;  ASSIGN (l_name1) TO &amp;lt;fs1&amp;gt;.&lt;/P&gt;&lt;P&gt;  IF &amp;lt;fs1&amp;gt; IS ASSIGNED.&lt;/P&gt;&lt;P&gt;    g_mseg[] = &amp;lt;fs1&amp;gt;.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 05:54:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-enhancement/m-p/6826540#M1470831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-25T05:54:15Z</dc:date>
    </item>
  </channel>
</rss>

