You used the SRW.SET_MAX_ROW packaged procedure to reduce the number of rows fetched by a query. However, you called SRW.SET_MAX_ROW after the query was already fetched.
Action:
Move your SRW.SET_MAX_ROW to the Before Report trigger.
Note: For help on other error messages, see Finding error message help.
Copyright © 1984, 2005, Oracle. All rights reserved.