Skip to Content
0
Former Member
May 07, 2008 at 02:55 PM

How to "emulate" the use of transaction 'RSCSAUTH'

227 Views

Hi there,

I'm implementing a security guideline atm. For this I need to restrict users to running programs in a specific namespace. I've created a Porgram Group (for the P_GROUP field in the Authorization object S_PROGRAM). I wrote an ABAP program to search for all programs in the namespace. Then I modified the table SREPOATH which maintains the connection between programs and program groups.

Now I can use transaction RSCSAUTH to save those User-values to the database view 'TRDIR' and everything works fine.

The thing is I want to update the view TRDIR via my ABAP program, so that I don't need to to it manually anymore. But when trying to 'UPDATE' the view I get an error "TRDIR is writeprotected"... so how can I work around that restriction? As I have the permission to do it via the RSCSAUTH I should somehow be able to do it via ABAP, right? Any help would be greatly appreciated, TIA

Christoph