<?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 BATCH field has no Value in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-field-has-no-value/m-p/8040900#M1610754</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 want to fetch Material No, Batch and Quantity by passing Production Order No and Movement Type = '261'  from MSEG table .&lt;/P&gt;&lt;P&gt;I can't do direct select queries as i have to use the logic in side Loop EndLoop , so i am in search of any BAPI or FM .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked &lt;STRONG&gt;BAPI_PRODORD_GET_DETAIL&lt;/STRONG&gt; ,  but its not showing any values in  &lt;STRONG&gt;BATCH&lt;/STRONG&gt; fields under the table parameter  COMPONENT where as Maetrial , Quantity are shwoing . If i check in table MSEG for the same PRD Ord no and Movement type Materials with Batch are showing .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggestion for any solution if  anything i am missing in running this BAPI . Or any Other BAPI or FM for fulfilling my requirement will be highly appreciated .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Aug 2011 11:36:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-08-09T11:36:53Z</dc:date>
    <item>
      <title>BATCH field has no Value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-field-has-no-value/m-p/8040900#M1610754</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 want to fetch Material No, Batch and Quantity by passing Production Order No and Movement Type = '261'  from MSEG table .&lt;/P&gt;&lt;P&gt;I can't do direct select queries as i have to use the logic in side Loop EndLoop , so i am in search of any BAPI or FM .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked &lt;STRONG&gt;BAPI_PRODORD_GET_DETAIL&lt;/STRONG&gt; ,  but its not showing any values in  &lt;STRONG&gt;BATCH&lt;/STRONG&gt; fields under the table parameter  COMPONENT where as Maetrial , Quantity are shwoing . If i check in table MSEG for the same PRD Ord no and Movement type Materials with Batch are showing .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggestion for any solution if  anything i am missing in running this BAPI . Or any Other BAPI or FM for fulfilling my requirement will be highly appreciated .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 11:36:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-field-has-no-value/m-p/8040900#M1610754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-09T11:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: BATCH field has no Value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-field-has-no-value/m-p/8040901#M1610755</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;In MSEG table you will find only the material document... You need to check AFPO table for production order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are using correct bapi to read the production order details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 11:46:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-field-has-no-value/m-p/8040901#M1610755</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2011-08-09T11:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: BATCH field has no Value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-field-has-no-value/m-p/8040902#M1610756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't do direct select queries as i have to use the logic in side Loop EndLoop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the data outside the loop and use the data inside the loop. Suppose if you are calling function module inside the loop are you sure that the select will not be executed multiple times inside the fm  ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kesav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 15:21:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-field-has-no-value/m-p/8040902#M1610756</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-08-09T15:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: BATCH field has no Value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-field-has-no-value/m-p/8040903#M1610757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thanks for the suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cant do selection of data before the loop . Anyway its my requirement . &lt;/P&gt;&lt;P&gt;My query is i have used the BAPI - BAPI_PRODORD_GET_DETAIL to get the Material No , Batch and Quantity from MSEG based on &lt;/P&gt;&lt;P&gt;the Production Order No and Movement type = '261' . But i am not getting the Batch No in the output table parameter of Component , through MSEG table has Batch No .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can suggest me some solution why the BATCH no is not getting populated in the BAPI .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 16:33:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-field-has-no-value/m-p/8040903#M1610757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-09T16:33:42Z</dc:date>
    </item>
  </channel>
</rss>

