<?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 Trigger Idoc when Batch is created or changed in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-idoc-when-batch-is-created-or-changed/m-p/7020124#M1497880</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have to transfer Batch ID,Status and Batch Characteristics through IDoc to PI when Batch is created or updated. This can be possible by 3 scenarios.&lt;/P&gt;&lt;P&gt;When Batch is created or updated manually through Tcode MSC1N.&lt;/P&gt;&lt;P&gt;When Batch is created or updated at the time of Goods Receipt.( Tcode MIGO)&lt;/P&gt;&lt;P&gt;When Batch is created or updated at process order creation.(After Release of Process order) Tcode COR1.&lt;/P&gt;&lt;P&gt;For first 2 scenarios we have found user exit 'EXIT_SAPLCLFM_002' from where we can fill the required Idoc data and trigger IDoc to PI system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also for third scenario we have found user exit 'EXIT_SAPLCOBT_001' where we can get Batch Data but not the characteristics data that is created or updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both the above cases User Exit is fired before Commit to database statement. Therefore my query is whether we can trigger IDoc through Z function modules in these user exits in update mode? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide any input on this situation or can you suggest any alternative method or exits to achieve this functionality?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jun 2010 11:09:20 GMT</pubDate>
    <dc:creator>former_member1144231</dc:creator>
    <dc:date>2010-06-18T11:09:20Z</dc:date>
    <item>
      <title>Trigger Idoc when Batch is created or changed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-idoc-when-batch-is-created-or-changed/m-p/7020124#M1497880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have to transfer Batch ID,Status and Batch Characteristics through IDoc to PI when Batch is created or updated. This can be possible by 3 scenarios.&lt;/P&gt;&lt;P&gt;When Batch is created or updated manually through Tcode MSC1N.&lt;/P&gt;&lt;P&gt;When Batch is created or updated at the time of Goods Receipt.( Tcode MIGO)&lt;/P&gt;&lt;P&gt;When Batch is created or updated at process order creation.(After Release of Process order) Tcode COR1.&lt;/P&gt;&lt;P&gt;For first 2 scenarios we have found user exit 'EXIT_SAPLCLFM_002' from where we can fill the required Idoc data and trigger IDoc to PI system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also for third scenario we have found user exit 'EXIT_SAPLCOBT_001' where we can get Batch Data but not the characteristics data that is created or updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both the above cases User Exit is fired before Commit to database statement. Therefore my query is whether we can trigger IDoc through Z function modules in these user exits in update mode? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide any input on this situation or can you suggest any alternative method or exits to achieve this functionality?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jun 2010 11:09:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-idoc-when-batch-is-created-or-changed/m-p/7020124#M1497880</guid>
      <dc:creator>former_member1144231</dc:creator>
      <dc:date>2010-06-18T11:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger Idoc when Batch is created or changed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-idoc-when-batch-is-created-or-changed/m-p/7020125#M1497881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BATMAS / BATMAS03 -  for Tcode MSC1N. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And  I  have only information that there is a SAP note is available on this.&lt;/P&gt;&lt;P&gt;865778 MIGO to post a goods receipt for a purchase order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jun 2010 06:07:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-idoc-when-batch-is-created-or-changed/m-p/7020125#M1497881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-19T06:07:30Z</dc:date>
    </item>
  </channel>
</rss>

