Skip to Content
avatar image
Former Member

Down payment validation in MIRO

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Feb 16 at 12:44 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      After getting error message, user will opt for the down payment .

      And then only user will be able to process the MIRO.

  • Feb 16 at 11:07 AM

    Add the same message in OMRM

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      No messages available in OMRM for my requirement.

      Any other suggestions?

  • Feb 16 at 01:12 PM

    You need to maintain there with E under Online and BatchI

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 19 at 02:06 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded