Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Anyone knows how to use AUTHORITY CHECK??

Former Member
0 Kudos

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

6 REPLIES 6

Former Member
0 Kudos

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.

Former Member
0 Kudos

Base on the program. I want to restrict the program when creating and copying the files.

0 Kudos

Hello Walter,

Is that a standard program/transaction? Which one?

Regards,

Anand Mandalika.

ssimsekler
Active Contributor
0 Kudos

Hi Van Walter

For HR infotype maintenance, you should use the standard structural authorization which is a built-in capability of SAP-HR.

*--Serdar

0 Kudos

Can you tell me how?

0 Kudos

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