on 01-13-2016 9:47 AM
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.
Regards,
Priyanka.
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.
Regards,
Raymond
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Raymond,
Thanks for your reply. I have already checked checked all the BAdIs that are triggered when the parked document is displayed/changed through transaction MIR4.
Here is the list of BAdIs. But unfortunately I cannot update the posting date through these BAdIs.
GOS_SRV_SELECT
PPA_CUST_BADI
ME_COMMITMENT_STO_CH
BADI_PRKNG_NO_UPDATE
FM_POP_CORE
MRM_PAYMENT_TERMS
MRM_WT_SPLIT_UPDATE
MRM_UDC_DISTRIBUTE
SD_COND_ACCESS_A
These 2 exits(EXIT_SAPLMR1M_003,EXIT_SAPLMR1M_001) are also of no use.
Some other BAdI are executed like INVOICE_UPDATE.
You could try to "divert" a BAdI of the BADI_FDCB_SUBBAS* (customer subscreen, find one not used by SAP in your system as they are not allowed for multi-use) that allows update of fields of structure INVFO build a dummy subscreen and just force INVFO-BUDAT value in method GET_DATA_FROM_SCREEN_OBJECT?
Regards,
Raymond
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.
Regards,
Priyanka.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
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.