‎2010 Jun 15 7:38 AM
For INVOICE in MIRO tansaction, i supply PO number in PO reference..
When i change the quantity in item level for PO , Amount corrresponding should get updated before saving .
Amount = quantity * Price.
I have gone through uer exits and BADIS
Kindly suggest proper user exit or BADI implementation or Method.
‎2010 Jun 15 8:03 AM
Hi,
Try customerexit LMR1M001 -- User exits in Logistics Invoice Verification.In this function module to be used is EXIT_SAPLMRMP_010. If you getting the amount in E_TDRSEG.Then you only need to update this table found in fm EXIT_SAPLMRMP_010. I dont have a test system to actually check when it is getting triggered.So kindly try this and let me know the status.
Regards,
NickD.
‎2010 Jun 15 8:03 AM
Hi,
Try customerexit LMR1M001 -- User exits in Logistics Invoice Verification.In this function module to be used is EXIT_SAPLMRMP_010. If you getting the amount in E_TDRSEG.Then you only need to update this table found in fm EXIT_SAPLMRMP_010. I dont have a test system to actually check when it is getting triggered.So kindly try this and let me know the status.
Regards,
NickD.
‎2010 Jun 15 10:20 AM
I checked the above enhancement. i wriiteen my code in it.
but it is not going into debugging. MIRO screen number is 6000.
Kindly elaborate in detal...
‎2010 Jun 15 10:20 AM
I checked the above enhancement. i wriiteen my code in it.
but it is not going into debugging. MIRO screen number is 6000.
Kindly elaborate in detal...
‎2010 Jun 15 10:20 AM
I checked the above enhancement. i wriiteen my code in it.
but it is not going into debugging. MIRO screen number is 6000.
Kindly elaborate in detal...
‎2010 Jun 15 10:21 AM
I checked the above enhancement. i wriiteen my code in it.
but it is not going into debugging. MIRO screen number is 6000.
Kindly elaborate in detal...
‎2010 Jun 15 10:21 AM
I checked the above enhancement. i wriiteen my code in it.
but it is not going into debugging. MIRO screen number is 6000.
Kindly elaborate in detail...
‎2010 Jun 15 10:23 AM
I checked the above enhancement. i wriiteen my code in it.
but it is not going into debugging. MIRO screen number is 6000.
Kindly elaborate in detail...
‎2010 Jun 15 10:23 AM
I checked the above enhancement. i wriiteen my code in it.
but it is not going into debugging. MIRO screen number is 6000.
Kindly elaborate in detail...
‎2010 Jun 15 10:24 AM
I checked the above enhancement. i wriiteen my code in it.
but it is not going into debugging. MIRO screen number is 6000.
Kindly elaborate in detail...
‎2010 Jun 15 8:06 AM
‎2010 Jun 15 8:27 AM
Hi,
Please use BADI INVOICE_UPDATE.Check method CHANGE_AT_SAVE .
Thanks and Regards,
P.Bharadwaj
‎2010 Jun 15 10:25 AM
I checked the above enhancement. i wriiteen my code in it.
but it is not going into debugging. MIRO screen number is 6000.
Kindly elaborate in detail...
‎2010 Jun 15 11:00 AM
Hi,
I checked further this is what I found :
According to SAP Note 1156325 - BAdIs in the Logistics Invoice Verification environment:
Definition name: INVOICE_UPDATE
Usage
The BAdI 'INVOICE_UPDATE' was only designed to execute checks during
document entry or document posting in transaction MIRO.
According to SAP Note 392342 - MIRO: No data change through Bussiness Add In
Symptom
In the logistics invoice verification MIRO, you cannot change data using
Business Add In 'INVOICE_UPDATE'.
Additional key words
BAdI, SE18, MRM_BADI_INVOICE_CHECK,
Cause and prerequisites
This system behavior is correct.
BAdI 'INVOICE_UPDATE' was only designed to execute checks during the
document entry or document posting in Transaction MIRO. Therefore, it has
only import parameters. There are no export parameters. This means that the
data changed in the BAdI is not processed further in standard program MIRO.
So When you are using transaction MIRO 'SIMULATE' it goes the break-point .The badi is called in FM 'MRM_BADI_INVOICE_CHECK'
THanks and Regards,
P.Bharadwaj
‎2010 Jun 15 5:22 PM
Thaks for the reply..
But i have to update amount on screen...
e.g. if i change the quantity on screen and press enter it should update amount.
Above exit and Badi are coming after saving.
Kindly suggest. or where should i call the BADI?