SAP Message /SAPPO/MSG023 - Only assign function or method or BOR object

/SAPPO/MSG023 : Only assign function or method or BOR object