SAP Message 5P424 - & A function must not be outside processing block &

Diagnosis
Functions for classifying processing blocks for the
Payroll accounting program class
GRBEG ... GREND,
NTBEG ... NTEND,
XCAEV ...,
EOS ...,
Time management program class
BINI ... EINI,
BDAY ... EDAY,
BEND ... EEND.
These functions subdivide the schema into different areas which areprocessed separately. Functions can therefore not be outside of theseblocks. Comment functions are an exception.

Procedure
Rearrange the functions as required.