<?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 for plant determination in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-plant-determination/m-p/10189263#M1823872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nilesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The plant proposed during the Sales order creation is either determined from Customer master info record or customer master or material master.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you wan the plant to be fetched&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From customer master info record:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT werks FROM knmt INTO c_lv_werks WHERE vkorg = '' AND vtweg = '' AND kunnr = '' AND matnr = ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From customer master:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT werks FROM kna1 INTO c_lv_werks WHERE kunnr = ' XXXX'.&amp;nbsp;&amp;nbsp; &amp;lt;---- pass the ship to party of sales order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From material master:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use function module "MATERIAL_READ_PLANTS" to read all the plants of the material master.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Thanga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 16 Mar 2014 06:02:50 GMT</pubDate>
    <dc:creator>ThangaPrakash</dc:creator>
    <dc:date>2014-03-16T06:02:50Z</dc:date>
    <item>
      <title>Function Module for plant determination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-plant-determination/m-p/10189261#M1823870</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 there any function module for plant determination which will return exactly the same plant as returned while creation of the sales order?\&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Mar 2014 12:16:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-plant-determination/m-p/10189261#M1823870</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-15T12:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module for plant determination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-plant-determination/m-p/10189262#M1823871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Mar 2014 16:26:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-plant-determination/m-p/10189262#M1823871</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2014-03-15T16:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module for plant determination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-plant-determination/m-p/10189263#M1823872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nilesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The plant proposed during the Sales order creation is either determined from Customer master info record or customer master or material master.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you wan the plant to be fetched&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From customer master info record:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT werks FROM knmt INTO c_lv_werks WHERE vkorg = '' AND vtweg = '' AND kunnr = '' AND matnr = ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From customer master:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT werks FROM kna1 INTO c_lv_werks WHERE kunnr = ' XXXX'.&amp;nbsp;&amp;nbsp; &amp;lt;---- pass the ship to party of sales order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From material master:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use function module "MATERIAL_READ_PLANTS" to read all the plants of the material master.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Thanga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2014 06:02:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-plant-determination/m-p/10189263#M1823872</guid>
      <dc:creator>ThangaPrakash</dc:creator>
      <dc:date>2014-03-16T06:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module for plant determination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-plant-determination/m-p/10189264#M1823873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Thanga.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually in our system BADI was implemented which was considering Ship-to Party first to get the record from KNMT and if record not found then used Sold-to Party which was missed as a part of Report logic hence there was a issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 06:42:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-plant-determination/m-p/10189264#M1823873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-17T06:42:27Z</dc:date>
    </item>
  </channel>
</rss>

