ORA-24230: input to DBMS_DDL.WRAP is not a legal PL/SQL unit Cause: The input supplied toDBMS_DDL.WRAP or DBMS_DDL.CREATE_
WRAPPED did not specify a legal PL/SQL package specification, package body,
type specification, type body, function or procedure. This error can occur ifyou
used incorrect syntax in the CREATE OR REPLACE statement or specified a unit
that cannot be wrapped (e.g., a trigger or anonymous block). Action: Provide a legalPL/SQL unit as input.