In the table maintenance generator for your table or view, select Environment -> Modification -> Events from the menu.
Here you can expand the logic of the table maintenance generator at certain points at runtime.
You can define your own logic; one of the promising events may be "AA" (instead of the standard procedure for reading data). You should be able to change the logic for reading data to perform a user authorization check, which will allow users to see only the records for which they have access.
Here is the SDN document related to the topic of using table maintenance events: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-8765287250fc ? overridelayout = true
source share