Hi Ansh,
Please follow the SAP note 1770786 and its reference SAP notes. This note answers the most frequently asked questions for FAGL_ACTIVATE_OP/FAGL_SWITCH_TO_OPEN_ITEM / switch to open item management activation / ledger specific clearing activation.
Please also share the complete error snapshot with message number.
Regards
Javed