When company parameterACCPERCTL - Accounting period control(AAS chapter, CPT group) is set to Yes, all the plans of a same context must be associated with the same ledger.