02-09-2005 2:20 AM
Please kindly explain this how to use this one?
AUTHORITY-CHECK OBJECT <place authority object here>
ID ACTVT FIELD <specify # for CREATE and MAINTAIN access>.
The situation is This extension is triggered by user action CREATE and COPY. However, proper security must be put in place in order to prevent the user from selecting another Bill Code and Activity Type from the list. Thus, these fields should be disabled or deactivated when user creates or copy an Infotype 0315 (Time Sheet Defaults) record. NOTE: This requirement should not be built into the programming of this extension, thus it is beyond the scope of this work unit.
The defaulted results should only be available for modification if the user has change or maintain access to this infotype. Security to maintain an infotype 0315 record will be very restrictive. PA Administrators will have access to create and copy a new infotype 0315 record, since it is the create process that defaults the values for bill code and activity type. Only a selected number of users will have access to change existing records
02-09-2005 3:40 AM
Hi Walter,
Are you talking about a custom program where you want to use this AUTHORITY CHECK , or are you talking about some standard Program where this check is already being made and you want to restrict the users who pass this check ? If it is a standard program, then could you please specify what Authoriy Object and Activity is being checked for?
The statement you have mentioned pertains to the SAP Authorization Concept. It is a very huge topic to be explained in detail in one post. But I can tell you that you will need to look for the terms Authority Object, Profiles, Roles etc, in the Documentation. Further, the onlie documentation for this statement explains this quite well.
Get back with more doubts / details.
Regards,
Anand Mandalika.
02-09-2005 5:14 AM
Base on the program. I want to restrict the program when creating and copying the files.
02-09-2005 5:26 AM
Hello Walter,
Is that a standard program/transaction? Which one?
Regards,
Anand Mandalika.
02-09-2005 11:49 PM
Hi Van Walter
For HR infotype maintenance, you should use the standard structural authorization which is a built-in capability of SAP-HR.
*--Serdar
02-10-2005 10:53 AM
02-10-2005 11:58 AM
Hi Van Walter
This is a huge topic which can not be handled here, however you can refer <a href="http://help.sap.com/saphelp_47x200/helpdata/en/97/27973b3ea3eb0fe10000000a114084/frameset.htm">Authorizations in mySAP HR</a> .
Hope that link helps...
*--Serdar