Oracle Solution for Error ora-36225

Solution for Oracle Error ORA-36225

ORA-36225: (XSLPDSC06) A LOOP AGGMAP list must contain an aggmap object, followed by one or more variables and/or dimensions.

What triggered the Error:

An invalid AGGMAP list was specified. Either to few objects were specified, or an incorrect type of object was used.

What should we do to fix it:

Specify a valid AGGMAP list consisting of an aggmap object, followed by one or more variables and/or dimensions.