Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

MRM_AMOUNT_CHECK and MRM_TOLERANCE_CHECK

paul_pendleton
Participant
0 Likes
2,943

This is in reference to MIRO and entering the incoming invoice. The configuration can be done for upper and lower limits in OMR6. These limits(in particular type 'PP') are checked when entering the line item detail. The following include file LMR1MF3M calls a function called MRM_AMOUNT_CHECK. This in turn calls function module MRM_TOLERANCE_CHECK which has a user exit to allow some differences in how you check for the limits. However the field that is set for a payment block on this is x_drseg-spgrp. This field is cleared when a amount_low_warning is issued but an 'X' is placed there when amount_high_warning message is issued. Does anyone know of another exit that will allow the setting of this field?

This is in reference to MIRO and entering the incoming invoice. The configuration can be done for upper and lower limits in OMR6. These limits(in particular type 'PP') are checked when entering the line item detail. The following include file LMR1MF3M calls a function called MRM_AMOUNT_CHECK. This in turn calls function module MRM_TOLERANCE_CHECK which has a user exit to allow some differences in how you check for the limits. However the field that is set for a payment block on this is x_drseg-spgrp. This field is cleared when a amount_low_warning is issued but an 'X' is placed there when amount_high_warning message is issued. Does anyone know of another exit that will allow the setting of this field?

5 REPLIES 5
Read only

Former Member
0 Likes
2,075

Hi Paul,

Please check this <b>FM MRM_BLOCKEDPRICE_CHECK_UPDATE</b>.

Hope this will help.

Regards,

Ferry Lianto

Read only

0 Likes
2,075

When creating the doc in MIRO and saving the doc it does not go through this code. Thanks anyway!

Read only

0 Likes
2,075

Hello Paul,

did you find a solution? I need to set this field to "X" when the lower limit is exceeded.

Thank you in advance.

Best regards.

Read only

0 Likes
2,075

Carlos,

It has been so long I'm not sure what I did if anything at all.  I looked at the surrounding code real quick to see if I could see where I made changes but do not see any.  so I'm assuming I did not find a solution or the requirements changed.

Read only

0 Likes
2,075

Thank you for your answer Paul.

Best regards.