SAP Message RMSL027 - Object type &1 of statement &2 is not permitted

RMSL027 : Object type &1 of statement &2 is not permitted