<?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: Fetch from MBEW table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-from-mbew-table/m-p/7101558#M1508520</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Donot relate MSEG with MBEW ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whats your requirement ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Jul 2010 16:38:37 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2010-07-01T16:38:37Z</dc:date>
    <item>
      <title>Fetch from MBEW table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-from-mbew-table/m-p/7101557#M1508519</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 have a situation where I need to fetch some records form MSEG table and for each record fetched I need to get the Standard Price(STPRS) from MBEW table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for fetching a unique record from MBEW table, I need to fetch based on its primary keys - MATNR, BWKEY, BWTAR.&lt;/P&gt;&lt;P&gt;What values should I pass for BWKEY and BWTAR for fetching a unique record?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched in SDN and found that BWKEY can have values Plant or Company Code. But I'm not sure when I should populate it with Plant and when I should populate it with company code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sreeraj Pulickal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 15:49:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-from-mbew-table/m-p/7101557#M1508519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-01T15:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch from MBEW table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-from-mbew-table/m-p/7101558#M1508520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Donot relate MSEG with MBEW ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whats your requirement ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 16:38:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-from-mbew-table/m-p/7101558#M1508520</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-07-01T16:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch from MBEW table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-from-mbew-table/m-p/7101559#M1508521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keshav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to fetch unique record from MBEW table. But this table has MATNR, BWKEY, and BWTAR as key fields.&lt;/P&gt;&lt;P&gt;Please let me know what values I should pass for BWKEY and BWTAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sreeraj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sreeraj Pulickal on Jul 1, 2010 6:55 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 16:55:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-from-mbew-table/m-p/7101559#M1508521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-01T16:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch from MBEW table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-from-mbew-table/m-p/7101560#M1508522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What's in the table rows as it exists?  Probably Plant, right? Should be easy to figure out what your data values need to be to read MBEW...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 17:38:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-from-mbew-table/m-p/7101560#M1508522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-01T17:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch from MBEW table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-from-mbew-table/m-p/7101561#M1508523</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;Pass Plant code in MBEW-BWKEY. Value in field BWTAR is based on the valuation category (Whether split valuation is applicable or not), BWTAR will not hold any value is there is no split valuation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 05:18:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-from-mbew-table/m-p/7101561#M1508523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-02T05:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch from MBEW table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-from-mbew-table/m-p/7101562#M1508524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the information. &lt;/P&gt;&lt;P&gt;How can we know whether a split evaluation is applicable?&lt;/P&gt;&lt;P&gt;Also when are we suppose to pass Company Code to BWKEY?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreeraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 08:34:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-from-mbew-table/m-p/7101562#M1508524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-02T08:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch from MBEW table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-from-mbew-table/m-p/7101563#M1508525</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;See the SAP documentation of BWKEY.  It clearly specifies when to pass Company Code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Valuation area

    Organizational level at which the material is valuated. A valuation area
    can be one of the following:

    o   Plant

    o   All plants belonging to a company code, in which case the valuation
        area is the company code&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit :&lt;/P&gt;&lt;P&gt;Regarding valuation type, you can get the valuation category(BWTTY) from MARC by passing Material Number and Plant.&lt;/P&gt;&lt;P&gt;Get tye valuation Type from Table T149C by passing BWTTY as input parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vinod Kumar on Jul 2, 2010 2:15 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 08:40:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-from-mbew-table/m-p/7101563#M1508525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-02T08:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch from MBEW table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-from-mbew-table/m-p/7101564#M1508526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vinod. That was really helpful and it solved my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I found that we have to set the valuation level in SPRO in the following path. This would determine whether to use Plant or Company Code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPRO -&amp;gt; Enterprise Structure -&amp;gt; Definition -&amp;gt; Logistics-General -&amp;gt; Define Valuation Level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreeraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 11:28:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-from-mbew-table/m-p/7101564#M1508526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-02T11:28:09Z</dc:date>
    </item>
  </channel>
</rss>

