SAP Message VAL217 - &1 Sec. data (sec. account, price type etc) not filled for contract &2

Diagnosis
In the case of loan contracts, no entries are permitted in the fieldsfor securities.

System Response
Your entries are not saved.

Procedure
Delete any values from the following fields:
Securities account
Price type
Portfolio
Securities account group
Treasury price
Quotation currency