<?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: Create an additional FI document after initial MM/FI posting in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-additional-fi-document-after-initial-mm-fi-posting/m-p/9707853#M1769773</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronnie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose you are talking of material document posting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;BAdI : MB_DOCUMENT_BADI &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Method : &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;MB_DOCUMENT_UPDATE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Note : The UPDATE method of MB_DOCUMENT_BADI has a COMMIT WORK in it. So if COMMIT WORK is called twice then the update process terminates. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Call the BAPI as an RFC call with DESTINATION NONE and the commit also in similar fashion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call it using IN BACKGROUND TASK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Regards&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Aug 2013 05:42:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-08-29T05:42:53Z</dc:date>
    <item>
      <title>Create an additional FI document after initial MM/FI posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-additional-fi-document-after-initial-mm-fi-posting/m-p/9707851#M1769771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; What we are trying to do is post an MM document and then after the MM document and FI have posted, we want to post a subsequent document in FI to offset additional accounts.&amp;nbsp; We don't want the across the board effects of a T030 determination change would have.&amp;nbsp; Right now it was developed to at the MM posting save the document number, then after a minute or two read the document and make another FI posting.&amp;nbsp; We would want this at run time.. basically create 1 MM doc and 2 FI documents in the same company code.&amp;nbsp; Any help would be appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ronnie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 15:57:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-additional-fi-document-after-initial-mm-fi-posting/m-p/9707851#M1769771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-28T15:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Create an additional FI document after initial MM/FI posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-additional-fi-document-after-initial-mm-fi-posting/m-p/9707852#M1769772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know that there is a better way than what I will propose.&amp;nbsp; Maybe by proposing it however, it will get the others to respond.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the MM transaction, I would find the form or function where it branches to creating the FI document.&amp;nbsp; Then in at then end of it I would create an implicit enhancement.&amp;nbsp; There I would call the FB01 BAPI.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how does that strike you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 19:15:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-additional-fi-document-after-initial-mm-fi-posting/m-p/9707852#M1769772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-28T19:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create an additional FI document after initial MM/FI posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-additional-fi-document-after-initial-mm-fi-posting/m-p/9707853#M1769773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronnie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose you are talking of material document posting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;BAdI : MB_DOCUMENT_BADI &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Method : &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;MB_DOCUMENT_UPDATE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Note : The UPDATE method of MB_DOCUMENT_BADI has a COMMIT WORK in it. So if COMMIT WORK is called twice then the update process terminates. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Call the BAPI as an RFC call with DESTINATION NONE and the commit also in similar fashion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call it using IN BACKGROUND TASK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Regards&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 05:42:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-additional-fi-document-after-initial-mm-fi-posting/m-p/9707853#M1769773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-29T05:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Create an additional FI document after initial MM/FI posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-additional-fi-document-after-initial-mm-fi-posting/m-p/9707854#M1769774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, when the material document is posted to MSEG, AFTER that and the matching FI document is posted, we need to post one additional FI document.&amp;nbsp; The problem with the other BAdI/exit solutions I have looked at is that the commit hasn't happened yet so you can't commit the new document.&amp;nbsp; I will look into this one.. thanks for the suggestion&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 14:30:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-an-additional-fi-document-after-initial-mm-fi-posting/m-p/9707854#M1769774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-29T14:30:15Z</dc:date>
    </item>
  </channel>
</rss>

