SAP Message 5P421 - & Beginning of function & missing

Diagnosis
You have tried to end a logical block with a function. However, thelogical block has not yet been started. Logical blocks represent thefunctions

  • IF ... ELSE ... ENDIF or

  • LPBEG ... LPEND.

  • Example:
    .
    .
    ENDIF

    Procedure
    Example:
    You have forgotten to start the logical block IF ... ENDIF with IF.
    Insert the correct function.