Solution : https://service.sap.com/sap/support/notes/191575 (SAP Service marketplace login required)
Summary :
When updating an SD document in SAP, if the error message M2 012: 'Error determining posting period' occurs, it indicates a mismatch in the fiscal year variant configuration. This can result from an incorrect or unassigned fiscal year variant to the date being processed within the document. To resolve this issue, verify and correct any erroneous statistic-related date fields in the document or configure the proper fiscal year variant in the FI Customizing settings. Additionally, if the affected info structures are S009 or S014, further guidance is available in SAP Note 10891. Key related processes include MCV_STATISTICS_UPD_V1_ORDER, MCV_STATISTICS_UPD_V2_ORDER, and others.
Key words :
'error determining posting period' additional key words mcv_statistics_upd_v1_order, statistic-relevant date fields, fiscal year variant affected, error message m2 012, fiscal year variant, update termination occurs, posting period, info structure affected, typing error, period unit
Related Notes :
1597096 | FAQ: Statistics update in Sales Information System |