<?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 to determine batch automatically in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-determine-batch-automatically/m-p/2049010#M422240</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am not sure whether a BAPI exists for it.&lt;/P&gt;&lt;P&gt;Better to find an User exit and to fetch/check the Batch data for that material in MCH1,MCHA tables and to save PP order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Mar 2007 14:08:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-13T14:08:10Z</dc:date>
    <item>
      <title>BAPI to determine batch automatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-determine-batch-automatically/m-p/2049009#M422239</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;Is there any way to determine batch of a production order item using a BAPI or FM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to do batch determintion of production order item through program and save the production order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise me other then doing a BDC is there any BAPI or FM?&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;Your valuable inputs will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 13:50:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-determine-batch-automatically/m-p/2049009#M422239</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T13:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI to determine batch automatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-determine-batch-automatically/m-p/2049010#M422240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am not sure whether a BAPI exists for it.&lt;/P&gt;&lt;P&gt;Better to find an User exit and to fetch/check the Batch data for that material in MCH1,MCHA tables and to save PP order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 14:08:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-determine-batch-automatically/m-p/2049010#M422240</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T14:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI to determine batch automatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-determine-batch-automatically/m-p/2049011#M422241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rajesh,&lt;/P&gt;&lt;P&gt;Look at BAPI &amp;lt;b&amp;gt;'BAPI_MATERIAL_GETBATCHES'&amp;lt;/b&amp;gt;. This might help you.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here ia sample code:&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_MATERIAL_GETBATCHES'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        material                = MATERIAL&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      BATCHNUMBER             =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       plant                    = PLANT&lt;/P&gt;&lt;P&gt;      expirydatefrom            = DATE&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      EXPIRYDATETO            = 99991231&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      AVAILABLEDATEFROM       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      AVAILABLEDATETO         = 99991231&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      RETURN                  =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     TABLES&lt;/P&gt;&lt;P&gt;        batches                 = it_batches.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 15:18:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-determine-batch-automatically/m-p/2049011#M422241</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T15:18:08Z</dc:date>
    </item>
  </channel>
</rss>

