SAP Message RECNSCS018 - To post the settlement, you must first activate the contract

RECNSCS018 : To post the settlement, you must first activate the contract