04-11-2006 2:32 AM
Hi,
I would like to assign an authorization object to the table maintenance generator but the field is greyed out and it always defaults to S_TABU_DIS. How do i assign another authorization object to this ??
Thanks for your help.
04-11-2006 4:12 PM
You can do custom authorization checks using EVENTS in table maintenance. Go to SE54, enter table name and in the menu 'Environment-->Events'. Click ok in the subsequent popup that says 'Do not make any changes (SAP data)'.
Press 'New Entries'. In column one, select '25' from the drop-down list. In column two, enter a name for your routine. Click on the third column 'Editor'. Select an include or create a new one in the subsequent popup where your routine needs to be created. Now in the routine you can do a simple AUTHORITY-CHECK as per your needs.
Srinivas
04-11-2006 3:53 AM
Hi,
You can assign authorization groups to your maintainence program.
See http://help.sap.com/saphelp_46c/helpdata/en/a1/e45217a2f511d1a5630000e82deaaa/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/1e/e867408cd59b0ae10000000a155106/frameset.htm
Reward points for helpful answers and close your previous thread.
Regards,
Wenceslaus.
04-11-2006 3:57 AM
Hi,
You can't change that. You can only change Auth Groups which can be done from Menu Environment-->Assgin Auth Grops.
Thanks & Regards,
YJR.
04-11-2006 4:02 AM
04-11-2006 1:02 PM
Hi Banerjee,
You can also use like this statement,
AUTHORITY_CHECK for object objname.
Regards,
vasantha.
04-11-2006 4:12 PM
You can do custom authorization checks using EVENTS in table maintenance. Go to SE54, enter table name and in the menu 'Environment-->Events'. Click ok in the subsequent popup that says 'Do not make any changes (SAP data)'.
Press 'New Entries'. In column one, select '25' from the drop-down list. In column two, enter a name for your routine. Click on the third column 'Editor'. Select an include or create a new one in the subsequent popup where your routine needs to be created. Now in the routine you can do a simple AUTHORITY-CHECK as per your needs.
Srinivas
04-20-2006 9:57 AM
Hi,
The table entries can be maintained only for one value of a field of the table. Hence an authorization is needed while maintaining table values. As said, i can carry out this check in the event 25 . Since this event is called at the start of the maintenance dialog will i be able to check if the user has entered a particular value for the table field ?
Eg,
ZTABLE has 3 fields, FLD1, FLD2, FLD3 with FLD1 and FLD2 as key fields.
Table entries can be maintained only for a paraticular value of FLD1.
Would appreciate your help.
04-20-2006 10:06 AM
Hello Reshmi,
From what u have described if u want to check authorisation for doing the table manit then 25 could be an option but from the description which u have put in that only certain valid values need to be entered in the field FLD then u will have to do this check at for events 01.