<?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: BAPI associated with MMBE Transaction in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-associated-with-mmbe-transaction/m-p/863131#M48509</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its really as easy as the following code....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001.


data: imard type table of mard with header line,
      imska type table of mska with header line.

parameters: p_matnr type mard-matnr,
            p_werks type mard-werks,
            p_lgort type mard-lgort.

start-of-selection.

  select * into corresponding fields of table imard
           from mard
                 where matnr = p_matnr
                   and werks = p_werks
                   and lgort = p_lgort.

  select * into corresponding fields of table imska
           from mska
                 where matnr = p_matnr
                   and werks = p_werks
                   and lgort = p_lgort.

   check sy-subrc = 0.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give you all of the stock records for that material/plant/storage location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you only want to see where inventory stock &amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001.


data: imard type table of mard with header line,
      imska type table of mska with header line.

parameters: p_matnr type mard-matnr,
            p_werks type mard-werks,
            p_lgort type mard-lgort.

start-of-selection.

  select * into corresponding fields of table imard
           from mard
                 where matnr = p_matnr
                   and werks = p_werks
                   and lgort = p_lgort
                   and LABST &amp;gt; 0.

  select * into corresponding fields of table imska
           from mska
                 where matnr = p_matnr
                   and werks = p_werks
                   and lgort = p_lgort
                   and KALAB &amp;gt; 0.

   check sy-subrc = 0.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just incorporate this code into an RFC enabled function module.  &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, 11 Mar 2005 18:12:33 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2005-03-11T18:12:33Z</dc:date>
    <item>
      <title>BAPI associated with MMBE Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-associated-with-mmbe-transaction/m-p/863124#M48502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I´d like to know the name of the BAPI associated with the MMBE Transaction (Screen) on SAP 46C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2005 13:05:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-associated-with-mmbe-transaction/m-p/863124#M48502</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-03-11T13:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI associated with MMBE Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-associated-with-mmbe-transaction/m-p/863125#M48503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think that there is one.   The data from MMBE comes from tables MARD and MSKA.   You could write your own RFC function module if needed.&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, 11 Mar 2005 13:19:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-associated-with-mmbe-transaction/m-p/863125#M48503</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-03-11T13:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI associated with MMBE Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-associated-with-mmbe-transaction/m-p/863126#M48504</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 do not think that it is likely for this transaction to have a BAPI. It is just a report transaction and displays some values based on the selection criteria. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want the data, then you need to code for your own FM and make it RFC enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;anand mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2005 13:23:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-associated-with-mmbe-transaction/m-p/863126#M48504</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-03-11T13:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI associated with MMBE Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-associated-with-mmbe-transaction/m-p/863127#M48505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Donato,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure about BAPI, but if you are facing any performace related issues with MMBE you can refer to OSS Note 422295.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Lakshman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2005 13:39:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-associated-with-mmbe-transaction/m-p/863127#M48505</guid>
      <dc:creator>Lakshmant1</dc:creator>
      <dc:date>2005-03-11T13:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI associated with MMBE Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-associated-with-mmbe-transaction/m-p/863128#M48506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I decided to stick to bapis and I will try Material.Availability and WarehouseStock.GetList&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2005 17:46:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-associated-with-mmbe-transaction/m-p/863128#M48506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-03-11T17:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI associated with MMBE Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-associated-with-mmbe-transaction/m-p/863129#M48507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An off topic question:&lt;/P&gt;&lt;P&gt;How do I close the post? by rewarding points?&lt;/P&gt;&lt;P&gt;And if no answer was helpful?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2005 17:48:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-associated-with-mmbe-transaction/m-p/863129#M48507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-03-11T17:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI associated with MMBE Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-associated-with-mmbe-transaction/m-p/863130#M48508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Those methods will not get you what you want.&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, 11 Mar 2005 18:00:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-associated-with-mmbe-transaction/m-p/863130#M48508</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-03-11T18:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI associated with MMBE Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-associated-with-mmbe-transaction/m-p/863131#M48509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its really as easy as the following code....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001.


data: imard type table of mard with header line,
      imska type table of mska with header line.

parameters: p_matnr type mard-matnr,
            p_werks type mard-werks,
            p_lgort type mard-lgort.

start-of-selection.

  select * into corresponding fields of table imard
           from mard
                 where matnr = p_matnr
                   and werks = p_werks
                   and lgort = p_lgort.

  select * into corresponding fields of table imska
           from mska
                 where matnr = p_matnr
                   and werks = p_werks
                   and lgort = p_lgort.

   check sy-subrc = 0.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give you all of the stock records for that material/plant/storage location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you only want to see where inventory stock &amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001.


data: imard type table of mard with header line,
      imska type table of mska with header line.

parameters: p_matnr type mard-matnr,
            p_werks type mard-werks,
            p_lgort type mard-lgort.

start-of-selection.

  select * into corresponding fields of table imard
           from mard
                 where matnr = p_matnr
                   and werks = p_werks
                   and lgort = p_lgort
                   and LABST &amp;gt; 0.

  select * into corresponding fields of table imska
           from mska
                 where matnr = p_matnr
                   and werks = p_werks
                   and lgort = p_lgort
                   and KALAB &amp;gt; 0.

   check sy-subrc = 0.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just incorporate this code into an RFC enabled function module.  &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, 11 Mar 2005 18:12:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-associated-with-mmbe-transaction/m-p/863131#M48509</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-03-11T18:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI associated with MMBE Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-associated-with-mmbe-transaction/m-p/863132#M48510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;Its really as easy as the following code....&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as easy and simple as it may be, I have never used RFC. I am not too familiar with ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;Just incorporate this code into an RFC enabled&lt;/P&gt;&lt;P&gt;function module.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I don´t know how to set things up, where do I find an RFC enabled function mod? how do I call it? how do i pass it parameters?? Does anyone have a tutorial for this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2005 19:11:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-associated-with-mmbe-transaction/m-p/863132#M48510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-03-14T19:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI associated with MMBE Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-associated-with-mmbe-transaction/m-p/863133#M48511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In SAP, transaction code SE37 is where you create function modules. You give name to your function module(of course within the customer name range), define the interface(i.e., IMPORT, EXPORT, CHANGING, TABLES), and in the attributes section, you will define the function module as remotely executable which makes it a RFC. You will have to assign a function group to your function module even before you do all this. So create a funciton group by going through the menu in SE37 'Go To&lt;DEL&gt;&amp;gt; Function Group&lt;/DEL&gt;&amp;gt;Create Group'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the link to the documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/22/0427c0488911d189490000e829fbbd/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/22/0427c0488911d189490000e829fbbd/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2005 19:40:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-associated-with-mmbe-transaction/m-p/863133#M48511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-03-14T19:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI associated with MMBE Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-associated-with-mmbe-transaction/m-p/863134#M48512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Donato Azevedo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i got the same requirement which u got previously, can u please let me know how u proceeded. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my requirement is for mmbe transaction code material field looks like parameters, here we need it as select-options. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can contact me on avkvaraprasad@gmail.com&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 10:29:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-associated-with-mmbe-transaction/m-p/863134#M48512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T10:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI associated with MMBE Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-associated-with-mmbe-transaction/m-p/863135#M48513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rich - Thanks much for the great info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question: Have you ever used function module MB_CHECK_MATERIAL_STOCKS? I am sure you have. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so - can you direct me towards how to effectively populate the import and/or table parameters in order to get this same info?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks much for your insight.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Sep 2010 02:01:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-associated-with-mmbe-transaction/m-p/863135#M48513</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-28T02:01:06Z</dc:date>
    </item>
  </channel>
</rss>

