Oracle Solution for Error ora-36875

Solution for Oracle Error ORA-36875

ORA-36875: (XSTFDSC05) LIMITMAP is missing or is not a string literal.

What triggered the Error:

Table functions that have an automatic ADT require LIMITMAP to be a string literal.

What should we do to fix it:

Either specify ADT for the table function or specify LIMITMAP as a string literal.