SAP Security Notes
SAP Security Notes
Sap xml files is used to get multiple system ids names and ips address to our sap gui logon tab
instantly we can get this by in saplog on click menu click sap logon options and copy
configuration files paste this beside search and replace the existing files
The standard clients in in SAP are 000,001,066 and basis install standard clients for business
using custom clients and we should not do any development in standard clients.
Client independent data: data/table is shared across all clients if we change in one system will
get changed in all systems
Client dependent data: data/table will reside in one client.
4
To create new user tcode is SU01 and below is things needed for it
6
Types of users
Dialog: every business user or tech or functional user comes under it who performs their jobs
day to day activities
Service ids: used for firefighter or by QA tester
System: used for background jobs running used for RFC for SAP to another SAP system
Communication: used for background jobs running used for RFC for SAP to another system
(oracle, Sybase etc.)
Reference: used to provide access to person using reference of already created user
User groups: used to club same category users in one group example security,basis,abap etc
Sugr tcode is used to create user group.
7
e-catt/ creation
Eg zcreateusers
Next select application component Basis under security under user administration under that
user and administration component
13
Click on pattern
And record su01 screen click back button and save recording and double click on su01_1
Click dynpro under that field values and give fiels value names
14
After giving all field names click on save and g back select test configuration
And give name and provide tittle and application component and click on variants-
>configurations ->test script->give script name click save and download variants
Provide user names and password in downloaded variant scripts save it and click on variant-
>external variant->select path and click excute and select no error behaviur and no break points
and select execute
15
Authorization concept
SU24 tcode is where tcode and related auth objects are linked,it is copied from SU22 -contains
both standard and custom tcodes
SU22 SAP provided tcodes and their related auth objects
Whenever you adda tocode in pfcg tcode and related uth objects are pulled from su24
SU24 get its content from SU22
We copy data in to su24 using su25 tcode at the time of implementation
16
17
18
Even if you add tcode manually under S_tcode user will not access to tcode because the link to
su24 is not there
19
If authority check statement is written in code then only the authority objects in su24 will work
otherwise it won’t work even though you put restriction in pfcg also
New tcode has been developed for mass maintenance of authorization values i.e
PFCGMASSVAL
28
Interview question
Created a role in child system but cannot find in central system for assigning to users
Ans: roles created in child system are not known to central system
Inorder to let the central system know about roles created in child system
Do Text comparision either from CUA->SU01 roles tab
From child system PFCG
Only the roles index will get pushed to CUA and roles get updated in CUA tables USLA004
35
BI Security Intro:
37
38
S_RS_COMP
S_RS_COMP1
40