SAP Message AG091 - Selected function cannot be used for the element

AG091 : Selected function cannot be used for the element