Skip to Content
author's profile photo Former Member
Former Member

Set Payment block for credit memo

Hi...

I have a requirement wherein I have to set payment block to a credit memo with reference to an invoice. (Transaction MIRO). It works fine if the referred invoice has a payment block. But, if the payment block for the referred invoice is initial (cleared), I want to set the payment block. This doesn't work as, if I set the payment block, it is not accepting the block that I have given. I tried BADI - MRM_PAYMENT_TERMS as well. But if I set the payment block using this BADI, the table BSEG is not updated with the payment block but only table RBKP has value for payment block. As BSEG doen't have the payment block, when I display the document using MIR4, it is shown as document without payment block.

Where would I be able to put payment block so that all the relevant tables would be updated? Is there any BADI (another BADI?), exit available?

Warm Regards,

Jubish Jacob

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Feb 07, 2014 at 10:47 AM

    Hi,

    Can you try with user exit.. LMR1M001

    Arivazhagan S

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi...

      Thank you for the quick reply.

      I checked the exit. But the parameter has just one table E_TDRSEG and this table doesnot have zlspr field present. So this didn't work.

      Warm Regards,

      Jubish Jacob

  • author's profile photo Former Member
    Former Member
    Posted on Feb 07, 2014 at 05:11 PM

    Hello Jacob,

    You can try implementing the BADI "WRF_PREPAY_INVOICE" with method "PREPAYMENT_RELEVANCE_CHANGE" which triggers during MIRO execution.

    in the method PREPAYMENT_RELEVANCE_CHANGE : parameter

    IS_RBKPV Importing MRM_RBKPV => refers to DB view RBKP_V

    which is having Payment Block key ZLSPR.

    Please try with this & see if it works.

    Thanks,

    Kishor.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.