SAP Message 00270 - A status cannot be set in a sub-screen. (Screen : & &)

Diagnosis
CUA status may not be set in a subscreen.

Procedure
Removing the ABAP/4 statement SET PF-STATUS without replacement.