Authority Check on Table - Restrict Entries based on check

Advertisement

November 30

Hi, I need to add an authorization check to a table. The check will restrict certain entries from displaying, based on the check of some table fields. The table is custom and I know which authority object to use, as well as which fields to restrict. How do I do this? Thanks!

Advertisement

Replay

Hi N.,
select all data into internal table, loop at the table, do authority check for each table, delete records that fail authority check, display results.
Or use SELECT INTO structure, check authority , append if authority check is OK (SY-SUBRC = 0), ENDSELECT, then display.
Try which way is better based on memory requirement and performance.
I hope this answer will help you. If not, feel free to ask for details.
Regards,
Clemens