on 02-16-2018 9:36 AM
SAP gives M8318 message if any down payment exists against the PO.
We want to add validation in MIRO- " If down payment exists against the PO then user should not be able to process MIRO without opting for the down payment".
Kindly advice to achive this.
I am not sure what you really want to validate and how you would like to proceed after the message, the longtext of the message says that SAP does the settlement automatically
this wiki https://wiki.scn.sap.com/wiki/display/ERPSCM/Down+Payments talks about a Badi to control the message, same is said in various OSS notes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Activation of Badi: 'MRM_DOWNPAYMENT' implementation is required.
METHOD IF_EX_MRM_DOWNPAYMENT~DOWNPAYMENT_CHECK.
DATA: lv_ratio TYPE p DECIMALS 2.
CHECK NOT i_drseg-netwr IS INITIAL.
lv_ratio = i_drseg-rewrt / i_drseg-netwr.
* dependent on the percentage of the overall PO fullfillment,
* the message is issued
IF lv_ratio LT '0.5'.
e_prevent_message = 'X'.
ENDIF.
ENDMETHOD.
Please copy the code, as advised and continue with (possible) local corrections.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to maintain there with E under Online and BatchI
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Add the same message in OMRM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.