SAP Message /BEV2/EDMESS1805 - Function is invalid here

/BEV2/EDMESS1805 : Function is invalid here