SAP Message 5P423 - & Processing block & must be preceded by the end of function &

Diagnosis
You have ended a processing block with the function 'X' or started onewith EOS or XCAEV. However, a logical block which was started with thefunction 'Y' has not been completed in this processing block or in thefunctions EOS or XCAEV.
Functions for classifying processing blocks for
Payroll accounting program classes:

  • GRBEG ... GREND,

  • NTBEG ... NTEND,

  • XCAEV ...,

  • EOS ...

  • Time management program classes
    • BINI ... EINI,

    • BDAY ... EDAY,

    • BEND ... EEnd.

    • The following functions represent logical blocks
      • IF ... ELSE ... ENDIF or

      • LPBEG ... LPEND

      • Example 1: Example 2:
        GRBEG .
        . .
        IF (Function Y) IF
        . .
        . .
        GREND (Function X) EOS

        Procedure
        Example:
        You have forgotten to end the IF function with ENDIF.
        Insert the correct function before the end of the processing block orbefore the function EOS.