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

Substitution - Baseline Date to be replaced by the Goods Receipt date

Dear Forum,

We have the payment terms defined in the system, with the baseline date corresponding to the 'Document Date' and the credit terms as 60 Days. The users now desire that the Baseline Date should instead correspond to the Goods Receipt Date. To enable this we need to define the substitution such as the Baseline Date at the time of Invoice Verification gets substituted by the Goods Receipt Date, if the GR Date is earlier than the IV date.

Would appreciate help from the friends as to how to configure this and which feilds to be chosen and replaced.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 16, 2010 at 12:27 PM


    You can make the Baseline Date in Invoice (MIRO) with Goods Receipt Date using BADI.


    Tell your ABAP Guy to work on this BADI.

    In the BADI, MRM_PAYMENT_TERMS Read the Value in WEBUD of Internal Table TI_DRSEG and Pass it into E_ZFBDT.

    Also if the Baseline Date is changed manually, then after posting you can see the Goods Receipt Date in Baseline Date.

    This resolves your issue.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Venkat,

      we have updated our Baseline date to recent GR posting date usign the Badi MRM_PAYMENT_TERMS.

      and now its works fine.

      if there is a scenario where user has keep some retention for the vendor then he uses the given amount split logic in MIRO.

      but if he/she uses this amount split logic, it affects the Due on Date which is supposed to be baseline date + cash discount days gets changed to Baseline Date (this is sap logic incase of amount split ie set Due on date to Baseline date).

      so pl suggest any Solution for changing Due on date to (Baseline date + Dscounted days).



  • Posted on Sep 19, 2010 at 01:28 PM

    You can also do this with a User Exit in your substitution rule which you create in OBBH. You set up the Substitution rule and put the user exit routine there. The user exit will check the corresponding delivery document and replaces the date for the Baseline date. Your ABAP consultant should be able to do this without much strain.


    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.