In 'after report' trigger, use below piece of code:-for Errorfunction AfterReport return boolean isCNCRET BOOLEAN;beginbeginsrw.USEREXIT ('FND SRWEXIT');IF:PFUNCTDTL = 1THENCNCRET:= FNDCONCURRENT.SETCOMPLETIONSTATUS('ERROR','Error Message ');return (CNCRET);END IF;return (TRUE);end;return (TRUE);end;-for warningfunction AfterReport return boolean isCNCRET BOOLEAN;beginbeginsrw.USEREXIT ('FND SRWEXIT');IF:PFUNCTDTL = 1THENCNCRET:= FNDCONCURRENT.SETCOMPLETIONSTATUS('WARNING',' Warning Message');return (CNCRET);END IF;return (TRUE);end;return (TRUE);end.
ORA-06550 (wrong number or types of arguments)+-+XXEXPD Custom: Version: 12.2Copyright (c) 1998, 2013, Oracle and/or its affiliates.