Skip to Content

System date to be copied to Posting Date for Parked documents (MIR4)

Hello Friends,

It's a question asked multiple times. I have referred many threads and tried to implement the solution from one of the threads.

Requirement :
When a parked document is opened in MIR4 the posting date should be changed to system date.

The configuration (IMG>Financial Accounting (New)>Financial Accounting Global Settings (New)>Document>Document Parking>Change Posting Date for Parking Documents ) will not work as MIR4 is an enjoy transaction.

I tried a Validation logic to implement the same. (Please find the attachment) But it's not triggered for transactions FBV0/MIR4. But it's triggered for FB50/60/70.

As the validation is not working I implemented an implicit enhancement in PRELIMINARY_POSTING_DOC_READ. and it's working fine for FBV0 but this FM is not triggered for MIR4 documents.

Please help to check where I went wrong. Or can I know that any BAdI/Exit/BTE available to achieve this requirement.



Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jan 13, 2016 at 01:46 PM

    Try to add tcode as MIRO and insure your test is correct (should be BKPF-BUDAT = SYST-DATUM to raise an error when check is NOT fulfilled)

    For MIR4 you could also read 1156325 - BAdIs in the Logistics Invoice Verification environment. MIRO/MIR4 and FI transaction don't use the same FI interface, so behavior is different, read 904652 - MIRO: Different from FB60 and simiar documents.



    Add a comment
    10|10000 characters needed characters exceeded

    • Hello Raymond,

      Thanks again.

      I tried using that too. We have already have a sub screen implementaion of BADI_FDCB_SUBBAS04. And I tried changing the field INVFO-budat over there. But the value is not reflected for the subsequent modules.

      Any way I managed to find out an Enhancement Point in LMR1MO2U. And it's working fine..

      Closing the thread. Thank you.



  • Posted on Jan 13, 2016 at 09:50 AM

    Here is the procedure I followed.

    Validation.PNG (52.0 kB)
    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.