<?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 MATER_IDOC_DISTRIBUTE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-mater-idoc-distribute/m-p/5847536#M1319115</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 the fn module MASTER_IDOC_DISTRIBUTE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import parameter  MASTER_IDOC_CONTROL is used to specify the control data...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables MASTER_IDOC_DATA - is our actual data which we pass&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sajid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jul 2009 09:44:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-08T09:44:05Z</dc:date>
    <item>
      <title>function module MATER_IDOC_DISTRIBUTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-mater-idoc-distribute/m-p/5847534#M1319113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abap gurus, &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I know the purpose of the function module  master_idoc_distribute is to generate idocs and pass them to the ALE layer for distribution. I have the following doubts given below, &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;1.Why do we need to use DEQUEUE_ALL before calling the function module master_idoc_distribute? what objects are unlocked and why they are unlocked? &lt;/P&gt;&lt;P&gt;2. Why do we execute commit work, after exeuting master_idoc_distribute ? &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Also please explain me the import, export and tables parameters used in the master_idoc_distribute function module. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanking you &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Lakshminarasimhan.N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 02:10:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-mater-idoc-distribute/m-p/5847534#M1319113</guid>
      <dc:creator>lakshminarasimhan_n4</dc:creator>
      <dc:date>2009-07-08T02:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: function module MATER_IDOC_DISTRIBUTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-mater-idoc-distribute/m-p/5847535#M1319114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DEQUEUE_ALL is helpful in maintaining the idoc status to 03.Also it is used to release the locks on the idoc.If we d'ont use DEQUEUE_ALL we have to process the idoc using the program RSEOUT00 to bring the idoc from status 30 to status 03.When we execute the standalone program for generating idoc, lock is maintained on both the program and idoc generated which you can see in transaction SM12.According to my knowledge i think DEQUEUE_ALL should be used after MASTER_IDOC_DISTRIBUTE and before COMMIT WORK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 04:33:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-mater-idoc-distribute/m-p/5847535#M1319114</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-08T04:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: function module MATER_IDOC_DISTRIBUTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-mater-idoc-distribute/m-p/5847536#M1319115</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 the fn module MASTER_IDOC_DISTRIBUTE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import parameter  MASTER_IDOC_CONTROL is used to specify the control data...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables MASTER_IDOC_DATA - is our actual data which we pass&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sajid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 09:44:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-mater-idoc-distribute/m-p/5847536#M1319115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-08T09:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: function module MATER_IDOC_DISTRIBUTE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-mater-idoc-distribute/m-p/5847537#M1319116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Laksmi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the Function module documentation. It clearly says "A COMMIT WORK must be dispatched in the calling program, otherwise the IDocs may not be dispatched."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation also mentions the use of the parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bikash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 10:04:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-mater-idoc-distribute/m-p/5847537#M1319116</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-08T10:04:23Z</dc:date>
    </item>
  </channel>
</rss>

