Solution : https://service.sap.com/sap/support/notes/366965 (SAP Service marketplace login required)
Summary :
When altering the posting date of held or parked documents to a different fiscal year in SAP, users may encounter errors such as F5151 ("Incorrect doc.no.: Select document number between & and &") and FF568 ("Fiscal year & not allowed"). This issue arises when document types dictate the follow-on FI document number to match the MM document number, coupled with a fiscal year requirement for posted documents. A correction now enables the Auto-generation of a new document number for the fiscal year change, where previously unchanged numbers created errors. If "FI document number is the same as MM document number" was not activated, these issues did not occur. Post-correction, documents must be saved before posting to align with the new fiscal year. This solution is available in Release 5.0 and Support Package for 4.6C, and adjustments are necessary for full functionality.
Key words :
transaction sm31 --> table t100 --> maintain --> message class m8 --> change -> select, generate message f5151 'incorrect doc, generate message ff568 'fiscal year &, component fi-gl-gl-, create function module mrm_invoice_park_with_new_key, parked document remained unchanged, function 'fi document number, select document number, fiscal year change, create messages m8418
Related Notes :
530799 | MIR7: Change of the fiscal year |
502736 | MIR4: PO reference missing after change to posting date |
495160 | MIR7: Changing posting date - Posting parked documents |
494473 | Change fiscal year/doc type for externl IR number assignment |
453724 | MIR7/MIR4/MIRO: Update terminatn when changing document type |
375496 | MIR7: Withholding tax lines multiply, part 2 |
375202 | MIRO: F5151 "Incorrect document number $1..." |
369546 | MIR6, MIR7, FV60: Unwarranted error M8462 |
356886 | MIR7: Withholding tax lines multiply |