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: 

SAP HR Authorisation P_TCODE, S_TCODE

Former Member
0 Kudos

Hi all,

Can someone advice to me what are P_TCODE and S_TCODE AUTH Objects?

I have a payroll report to add to a role, and wanted to know which OBJECT I assign this to, is it P_TODE or S_TCODE,?

whats the difference, and is there a document I can use to add the report to a menu within PFCG?

Thanks all

1 ACCEPTED SOLUTION

mvoros
Active Contributor
0 Kudos

Hi,

p_tcode was introduced before S_TCODE to add additional protection to HR transactions. P_TCODE is not used in all HR transactions. More info [here|http://help.sap.com/erp2005_ehp_02/helpdata/en/e4/b8b83b5b831f3be10000000a114084/content.htm]. So you need to check of your report checks for P_TCODE. If yes then you need to add this object to your role. Check for S_TCODE is performed automatically.

Cheers

4 REPLIES 4

Former Member
0 Kudos

Hi Koser,

You can directly add the report under the Menu tab of PFCG, and as far as P_Tcode and S_Tcode are concerned they are Auth objects for tcodes for R3 and HR system.

Thanks

Vj

mvoros
Active Contributor
0 Kudos

Hi,

p_tcode was introduced before S_TCODE to add additional protection to HR transactions. P_TCODE is not used in all HR transactions. More info [here|http://help.sap.com/erp2005_ehp_02/helpdata/en/e4/b8b83b5b831f3be10000000a114084/content.htm]. So you need to check of your report checks for P_TCODE. If yes then you need to add this object to your role. Check for S_TCODE is performed automatically.

Cheers

Former Member
0 Kudos

P_TCODE relates to special HR defined security. Simply having a '*' in S_TCODE will not allow users to perform certain HR transactions and it serves as a safety net in those cases. The system checks this value on items such as editing features and maintaining personnel control records.

You can also use authorizations for the S_TCODE authorization object (Check Transaction Code at Start of Transaction) to protect the HR transactions. In this context, note that the P_TCODE authorization object was implemented before the S_TCODE authorization object. The P_TCODE authorization object was maintained as an additional protection measure given the increased need for the protection of person-related data.

Former Member
0 Kudos

Hi Kesor,

Go through the link "http://help.sap.com/saphelp_47x200/helpdata/en/e4/b8b83b5b831f3be10000000a114084/frameset.htm" to check the functioning of P_TCODE. P_TCODE is additional check for hr authorization transction. Many HR transaction check P_TCODE as well along with S_TCODE.

Hope this helps