SAP Message >0390 - Text or assignment only permitted in combination with line items

Diagnosis
You specified a text or assignment number in G/L item &V1&. Thesedetails, that are to be transferred to G/L accounting, are onlypermitted if the attribute Line item is set for this documentitem.
This is not the case.

System Response
Error message

Procedure
Select the field Line Item, or delete the entries in the fieldsAssignment and Text.