Oracle Solution for Error ora-06548

Solution for Oracle Error ORA-06548

ORA-06548: no more rows needed

What triggered the Error:

The caller of a pipelined function does not need more rows to be produced by the pipelined function.

What should we do to fix it:

Catch the NO_DATA_NEEDED exception is an exception handling block.