& End of function & missing

Message type: E = Error

Message class: 5P - Error Messages for Schema, Pers.Calc.Rule and Feature Checks

Message number: 422

Message text: & End of function & missing



What causes this issue?

You have tried to start a logical block with a function. However, this
logical block has not yet ended.
Logical blocks represent the functions
IF ... ELSE ... ENDIF or
LPBEG ... LPEND.
Example:

The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

IF
.
.


How to fix this error?

Example:
You have forgotten to end the function IF with ENDIF.
Insert the correct function.

Error message extract from SAP system. Copyright SAP SE.