endtype

Type of END statement not qualified in PROCEDURE, FUNCTION, or CASE

Rule "endtype" gives this warning when it finds END statements for procedure, function, or case statements that do not have the end type specified. For example:

PROCEDURE pTest: 
   .... 
END. /* Rewrite to END PROCEDURE. */
CASE x:
    WHEN '1' THEN MESSAGE x.
END. /* Rewrite to END CASE. */

the risc:

None. This is really more of a question of company standards or coding style, where we want to be explicit in identification of END type.