<?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: BADI 'invoice_update' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-invoice-update/m-p/6932034#M1485877</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here 'SAVE' i mean that when I simulate, then the check happens and when i directly post bu pressing 'SAVE' button with simulate, then the check does note happen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 May 2010 10:32:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-12T10:32:57Z</dc:date>
    <item>
      <title>BADI 'invoice_update'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-invoice-update/m-p/6932032#M1485875</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;I am using BADI 'Invoice_Update' and written some coding for check in 'CHANGE_AT_SAVE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have put a break-point in the code to check. When I am doing transaction in MIRO, and when i 'SIMULATE' it goes the break-point and does the check and relevent error message is generated. But when I directly press "SAVE' in MIRO, it does not go to the break-point and the check is not happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can be th reason.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 13:42:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-invoice-update/m-p/6932032#M1485875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-11T13:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: BADI 'invoice_update'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-invoice-update/m-p/6932033#M1485876</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;when you say:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I directly press "SAVE' in MIRO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;are you holding RBKP-RBSTAT = ' ', &lt;/P&gt;&lt;P&gt;parking RBKP-RBSTAT = 'A',&lt;/P&gt;&lt;P&gt;or saving  as complete RBKP-RBSTAT = ' B'&lt;/P&gt;&lt;P&gt;the document?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to SAP Note 1156325 - BAdIs in the Logistics Invoice Verification environment:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Definition name: INVOICE_UPDATE&lt;/P&gt;&lt;P&gt;Usage&lt;/P&gt;&lt;P&gt;The BAdI 'INVOICE_UPDATE' was only designed to execute checks during&lt;/P&gt;&lt;P&gt;document entry or document posting in transaction MIRO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to SAP Note 392342 - MIRO: No data change through Bussiness Add In&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Symptom&lt;/P&gt;&lt;P&gt;In the logistics invoice verification MIRO, you cannot change data using&lt;/P&gt;&lt;P&gt;Business Add In 'INVOICE_UPDATE'.&lt;/P&gt;&lt;P&gt;Additional key words&lt;/P&gt;&lt;P&gt;BAdI, SE18, MRM_BADI_INVOICE_CHECK,&lt;/P&gt;&lt;P&gt;Cause and prerequisites&lt;/P&gt;&lt;P&gt;This system behavior is correct.&lt;/P&gt;&lt;P&gt;BAdI 'INVOICE_UPDATE' was only designed to execute checks during the&lt;/P&gt;&lt;P&gt;document entry or document posting in Transaction MIRO. Therefore, it has&lt;/P&gt;&lt;P&gt;only import parameters. There are no export parameters. This means that the&lt;/P&gt;&lt;P&gt;data changed in the BAdI is not processed further in standard program MIRO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Pablo Casamayor on May 11, 2010 4:56 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 14:54:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-invoice-update/m-p/6932033#M1485876</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2010-05-11T14:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: BADI 'invoice_update'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-invoice-update/m-p/6932034#M1485877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here 'SAVE' i mean that when I simulate, then the check happens and when i directly post bu pressing 'SAVE' button with simulate, then the check does note happen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 10:32:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-invoice-update/m-p/6932034#M1485877</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-12T10:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: BADI 'invoice_update'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-invoice-update/m-p/6932035#M1485878</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;when i post the document from simulation subscreen the badi gets called in:&lt;/P&gt;&lt;P&gt;Program SAPLMRMP&lt;/P&gt;&lt;P&gt;include LMRMPU01&lt;/P&gt;&lt;P&gt;fm MRM_INVOICE_POST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF i_simulation NE 'Y'.
 BAdI Invoice_update (at_save)
  CALL FUNCTION 'MRM_BADI_INVOICE_CHECK'
    EXPORTING
      i_rbkpv  = rbkpv
      i_xupda  = 'I'
    TABLES
      ti_drseg = t_drseg.
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 11:03:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-invoice-update/m-p/6932035#M1485878</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2010-05-12T11:03:39Z</dc:date>
    </item>
  </channel>
</rss>

