SAP Message 9J236 - Lease settlement cannot be relevant to document entry

Diagnosis
You have chosen settlement view (4) - lease settlement for this
activity type and you have flagged the activity type as relevant todocument entry.
This is not allowed.

Procedure
Delete the "X" indicator for relevancy to document entry or change the
settlement view.