SAP Message AA338 - An entry using this combination is not allowed (see long text)

Diagnosis
You have made contradictory entries regarding the determinationof values.
The possible entries are as follows:
- You want to post a complete retirement
=> Set the indicator for complete retirement, do not make any
other entries
- You want to post a partial retirement
=> Enter either the amount or the appropriate percentage
rate. If quantity updating is used for the asset, you can
also enter a quantity.
=> Enter only the quantity being retired (this is only possible if you
are not dealing with a generic retirement, and quantity
updating is used for the asset).

Procedure
Check your entries.