<?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: Function Module - Help!!!!!!! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-help/m-p/1688093#M302671</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; inside of Function module my coding is like this..&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; &amp;lt;b&amp;gt;Submit RMMMBEST with ms_matnr  = '100-500'&lt;/P&gt;&lt;P&gt;                     with ms_werks  = '2000' and return.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am working in 4.7 version..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Nov 2006 17:15:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-23T17:15:07Z</dc:date>
    <item>
      <title>Function Module - Help!!!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-help/m-p/1688084#M302662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     I need to display the result of Tcode MMBE in Function Module...For to do this i find out the STD program name &amp;amp; Copy the program content in SE37 by creating new FM.But that STD program contains lot of includes..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so its not working in custom FM....Is there any way to display result of Tcode MMBE in Function Module..bcz we are in interface..&amp;lt;b&amp;gt;we have to give result of Tcode MMBE to third party by using FM...&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz give me some idea...its very urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2006 16:23:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-help/m-p/1688084#M302662</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-23T16:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module - Help!!!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-help/m-p/1688085#M302663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can get the data directly from table MARD and MSKA(special stock).&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>Thu, 23 Nov 2006 16:29:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-help/m-p/1688085#M302663</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-11-23T16:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module - Help!!!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-help/m-p/1688086#M302664</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;Perhaps you can create RFC enabled function module and incorporate this Rich's sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="291518"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2006 16:32:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-help/m-p/1688086#M302664</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2006-11-23T16:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module - Help!!!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-help/m-p/1688087#M302665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   our requirement is to get the same output screen of TCODE MMBE.Bcz we are going do show as Demo to third party..so we need exact output screen of TCODE MMBE. we have to do it in function module...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  we are passing the output screen of TCODE MMBE  to Third party by using RFC enable function module..Plz help me how to proceed...its really urgent..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2006 16:38:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-help/m-p/1688087#M302665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-23T16:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module - Help!!!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-help/m-p/1688088#M302666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,  understand that you will not be able to pass the output screen of MMBE anywhere.  It will be local to the sapgui.  You can only get the data in which is shown in the MMBE screen.  Which you should create an RFC enabled function module and read the tables MARD and/or MSKA to get the data, you can then pass this data back thru the RFC funciton module.  If you truely want to display this screen inside SAPgui via a function module,  all you need to do is SUBMIT the underlying program of MMBE and pass a varaible for the material number(you can also pass plant and storage location).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

submit RMMMBEST
      with ms_matnr = '000000000040001000'   "&amp;lt;- Some material number
            and return.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&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>Thu, 23 Nov 2006 16:43:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-help/m-p/1688088#M302666</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-11-23T16:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module - Help!!!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-help/m-p/1688089#M302667</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 also tried to submit the STD program in custom function module (input parameters r Material,plant,st.location) . its giving results for all plant to one material while entering input materail &amp;amp; plant...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here how can i restrict to get result based on my input plant only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eq..suppose i 'm giving input for Material 100-500 &amp;amp; plant 2000..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its giving results for Material 100-500 &amp;amp; all plants (1000,2000,3000,4000,,,..)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i want results for Material 100-500 &amp;amp; plant 2000 only...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to restrict  it to get result based on my input plant only....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2006 16:50:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-help/m-p/1688089#M302667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-23T16:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module - Help!!!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-help/m-p/1688090#M302668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simply passing the plant like the material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;



 submit RMMMBEST
      with ms_matnr = '000000000040001000'   "&amp;lt;- Some material number
      with ms_werks = '2000'
            and return.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works fine in my 46c system.&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>Thu, 23 Nov 2006 16:54:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-help/m-p/1688090#M302668</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-11-23T16:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module - Help!!!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-help/m-p/1688091#M302669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I tried as you told..but still i am getting all plants for one material...&lt;/P&gt;&lt;P&gt;like Material 100-500 &amp;amp; plant (1000,2000,3000,400,,,)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want one plant for material..How to restrict it..plz check &amp;amp; let me know..&lt;/P&gt;&lt;P&gt;like Material 100-500 &amp;amp; plant (2000) result..while enter input plant 2000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2006 17:05:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-help/m-p/1688091#M302669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-23T17:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module - Help!!!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-help/m-p/1688092#M302670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please post your code and tell what version of R/3 you are working with.&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>Thu, 23 Nov 2006 17:08:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-help/m-p/1688092#M302670</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-11-23T17:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module - Help!!!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-help/m-p/1688093#M302671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; inside of Function module my coding is like this..&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; &amp;lt;b&amp;gt;Submit RMMMBEST with ms_matnr  = '100-500'&lt;/P&gt;&lt;P&gt;                     with ms_werks  = '2000' and return.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am working in 4.7 version..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2006 17:15:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-help/m-p/1688093#M302671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-23T17:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module - Help!!!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-help/m-p/1688094#M302672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am on 46c and it works fine.  So not sure what the problem is.  Lets test one thing first.  Change the code as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Submit RMMMBEST via selection-screen
     with ms_matnr = '100-500'
     with ms_werks = '2000' and return.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will throw the selection-screen when executed,  lets see if 2000 comes in the plant parameter field.  If not,  then the parameter name may have been changed,  to check this look inside the program and check the parameter name.  In my system, it is in the first INCLUDE of the program.&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>Thu, 23 Nov 2006 17:20:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-help/m-p/1688094#M302672</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-11-23T17:20:57Z</dc:date>
    </item>
  </channel>
</rss>

