Showing posts with label SAP Question and Answers. Show all posts
Showing posts with label SAP Question and Answers. Show all posts

Saturday, 15 November 2014

SAP Security Interview Questions And Answers Part -2

1. How do you identify SAP standard roles?
SAP standard roles will start with “SAP*”

2. How do you assign SAP standard role to user or what is the procedure to assign SAP standard role?
It’s good to avoid direct assignment of SAP standard roles and copy SAP standard role to a new role and assign it to the users.

3. There is no authorization profile assigned to a role whether its considered as composite role?
No its not considered as composite role and it’s a incomplete single role

4. What are the role types available?
  • Single role
  • Composite role
  • Derived role
  • Master role
  • Copy role

5. What is the relationship between parent role and derived role?
Parent role is the place where we maintain list of tcodes and derived role will inherit all the authorizations from parent role except Org values.

6. What are the values for user lock?
  • 00 - not locked
  • 32 – Locked Globally by administrator
  • 64 – Locked by administrator
  • 128 – Locked due to incorrect logon attempt

7. How do you deactivate a authorization object globally?
Goto tcode SU25 and select step 5. Deactivate authorization object globally

8. If all users are locked mistakenly and how do you login to sap system
Check link how to unlock SAP* at OS level

9. Which authorization object used to check transaction codes?
S_tcode

10. Which authorization object is used to check HR transaction codes?
P_tcode

11. Why do we need to create a TR for a role?
Roles are developed in development system and tested in quality system and moved to production system, so that’s why we need to create a transport request for a role when its created/changed

12. List out important security tcodes
PFCG                 Role Maintenance
SM19                 Security Audit Configuration
SM20                 Security Audit Log Assessment
ST01                 System Trace
SU01                 User Maintenance
SU02                 Maintain Authorization Profiles
SU03                 Maintain Authorizations
SU10                 User Mass Maintenance
SU21                 Maintain Authorization Objects
SU24                 Auth. Obj. Check Under Transactions
SU25                 Upgrade Tool for Profile Generator
SU53                 Display Check Values
SUIM                 User Information System

13. What are the mandatory fields while creating a username?
Password and lastname

14. What is the difference between USOBX_C and USOBT_C?
Table USOBX_C defines which authorization checks are to be performed within a transaction and which not (despite authority-check command programmed ) when its executed. This table also determines which authorization checks are maintained in the Profile Generator.
Table USOBT_C  defines for each transaction and for each authorization object which default values an authorization created from the authorization object should have in the Profile Generator.

15. How do you create usernames in SAP?
Goto transaction SU01 and creating a new username, you must enter an initial password for that user on the Logon data tab and last name in address tab


16. What are the authorization objects are required to create and maintain user master records?
  • S_USER_GRP: User Master Maintenance: Assign user groups
  • S_USER_PRO: User Master Maintenance: Assign authorization profile
  • S_USER_AUT: User Master Maintenance: Create and maintain authorizations

17. List R/3 User Types
  • Dialog - users are used for individual user. Check for expired/initial passwords Possible to change your own password. Check for multiple dialog logon
  • Service user - Only user administrators can change the password. No check for expired/initial passwords. Multiple logon permitted
  • System - users are not capable of interaction and are used to perform certain system activities, such as background processing, ALE, Workflow, and so on.
  • Reference - user is, like a System user, a general, non-personally related, user. Additional authorizations can be assigned within the system using a reference user. A reference user for additional rights can be assigned for every user in the Roles tab.
  • Communication data – GUI logon not possible and and check for expired/initial passwords and its used for RFC connections

18. What does user compare do?
If you are also using the role to generate authorization profiles, then you should note that the generated profile is not entered in the user master record until the user master records have been compared. You can automate this by scheduling report FCG_TIME_DEPENDENCY on.

19. What is the difference between the table buffer and the user buffer?
The table buffers are in the shared memory. Buffering the tables increases performance when accessing the data records contained in the table. Table buffers and table entries are ignored during startup. A user buffer is a buffer from which the data of a user master record is loaded when the user logs on. The user buffer has different setting options with regard to the 'auth/new_buffering' parameter.


20. How do you find out who has deleted a user from your system, Is there a table where this is logged?
Debug or use RSUSR100 to find the info's.
Run transaction SUIM and down its Change documents.

21. What is the difference between role and a profile?
Role and profile go hand in hand, Profile is bought in by a role.
Role is used as a template, where you can add T-codes, reports. Profile is one which gives the user authorization.  When you create a role, a profile is automatically created.

22. What is system profile version?
Profile versions are nothing but when you modify a profile parameter in RZ10 and generates a new profile is created with a different version and it is stored in the database and physical backup file is created as .bak.

23. What is the use of role templates?
User role templates are predefined activity groups in SAP consisting of transactions, reports and web addresses.

24. What is the different between single role & composite role?
A role is a container that collects the transaction and generates the associated profile.  A composite roles is a container which can collect several different roles

25. Is it possible to change role template? How?
Yes, we can change a user role template. 
  • we can use it as they are delivered in sap
  • we can modify them as per our needs through PFCG
  • we can create them from scratch
SAP Security Interview Questions And Answers Part -1
SAP Security Interview Questions And Answers Part - 3


Please do share if you like this post:)

SAP Security Interview Questions And Answers Part - 1



1. What is derived role?
Derived roles are called child roles and its derived from another role which is already exist which is called as master role.
Derived roles inherits menu structure and functions like transactions, reports, weblinks and etc from master role
You need to maintain organization levels in derived role.

2. What is the use of SU56 transaction code?
SU56 tcode used to display current user buffer which authorization is assigned in user master record.
Administrators can able to reset other user buffer when its required.

3. How to lock large number of users at a time?
SU10 tcode used to lock large number of users at a time or check our earlier post for mass user change here

4. How do you check whether CUA is configured in your system?
Go to SU10d tcode and display a usernames which is exist in the particular system and check whether there is a “System” tab before “Roles” Tab which means CUA is configured in it.

5. How GRC landscape designed?
It will be designed a 2 system landscape
GRCDEVàGRCPRD

6. Which ABAP report used for user master reconciliation?
PFCG_TIME_DEPENDENCY 

7. What is the tcode to create authorization groups?
SE54

8. List out some of the critical security transaction codes
SU01, PFCG, ST01, SU24, SU25, SU10

9. List out some security critical authorization objects
S_USER_PRO
S_USER_AGR
S_USER_AUT
S_USER_GRP
S_TABU_DIS
S_TABU_CLI

10. Why does user comparison required?
Security administrators need to perform user comparison when authorization changes required immediate effect 

11. How many profiles/roles can be assigned to a user?
312

12. Maximum how many authorization objects can be assigned to a role?
Max 150 authorization can be assigned to a role

13. What is the use of profile generator/PFCG?
Profile generator used to create/modify/copy/transport/user assignment to a role

14. What is the difference between PFCG, PFCG_TIME_DEPENDENCY and PFUD transaction code?
PFCG is used to create/maintain roles
PFCG_TIME_DEPENDENCY is used to perform mass user comparison
PFUD transaction code does same function like PFCG_TIME_DEPENDENCY report mass user comparison which can be scheduled as background job

15. Transaction codes which is used for security audit?
SM19 and SM20

16. What is the usage of personalization tab in a role?
Personalization tab used to save common information to all users.

17. In which table all activities are stored?
TACT

18. In which table all valid activities for each authorization objects are available?
TACTZ

19. Which ABAP report used to delete mass roles?
AGR_DELETE_ALL_ACTIVITY_GROUPS

20. Table used to roles in composite role?
AGR_AGRS
Click here for GRC questions and answers Part-1 and Part-2

Sunday, 9 November 2014

SAP Client Copy transaction codes and Profiles



Client Copy Tcodes 
Below tcodes are used to administrate your sap client 
SCC1             - Client copy special (transport import within local clients)
SCC3             - Client copy log overview/client copy monitoring
SCC4             - Client Administration
SCC5             - Used to delete a client
SCC7             - Client import post processing methods
SCC8             - Client Export
SCC9             - Remote Client copy
SCCL              - Local client copy
STMS_IMPORT          - Used to import client in the form of transports/TR import

Client copy profiles:

I given below list of profiles which is used for various types of client copy methods some of the profiles are available in all client copy profiles list, do not confuse with it.
SAP client copy profiles are given in 3 categories Local client copy, Remote client copy and Client export/import method profiles 

Local client copy profiles:

Profiles   Meaning
SAP_ALL    All Client-Specific Data w/o Change Documents
SAP_APPL   Customizing and Application Data w/o Change Docs
SAP_CUST   Customizing
SAP_CUSV   Customizing and User Variants
SAP_UCSV   Customizing, User Master Records and User Variants
SAP_UCUS   Customizing and User Master Records
SAP_USER   User Master Records and Authorization Profiles

Remote client copy profiles:

Profiles   Meaning                                            
SAP_ALL    All Client-Specific Data w/o Change Documents
SAP_APPL   Customizing and Application Data w/o Change Docs
SAP_CUST   Customizing
SAP_CUSV   Customizing and User Variants
SAP_RECO   Recovery (Only if Source Client = Target Client)
SAP_UCSV   Customizing, User Master Records and User Variants
SAP_UCUS   Customizing and User Master Records
SAP_USER   User Master Records and Authorization Profiles

Client Export profiles:

Profiles   Meaning
SAP_ALL    All Client-Specific Data w/o Change Documents
SAP_CUST   Customizing
SAP_CUSV   Customizing and User Variants
SAP_EXBC   Customizing, Users and Cross-Client Customizing
SAP_EXPA   SAP_ALL with Cross-Client Customizing
SAP_EXPC   Customizing Including Cross-Client Customizing
SAP_RECO   Recovery (Only if Source Client = Target Client)
SAP_UCSV   Customizing, User Master Records and User Variants
SAP_UCUS   Customizing and User Master Records
SAP_USER   User Master Records and Authorization Profiles

Wednesday, 20 August 2014

SAP Basis Interview Question and Answers


1. How do you check current patch level? 
      Check your current patch level in following ways
     -SAP Easy access -> system ->status -> click right arrow in the bottom and it will show your   current patch level
     -Go to SM51 tcode and click -> Release note and it will show your current patch level
     -Login to SIDADM user  and execute “disp+work” to check your patch level

2. What is your current patch level? 
       312

3. What is a work process?
             Work process is the central place where individual dialog steps are actually processed/executed and the work is done.

4. Name various work processes of R/3 system?
           -Dialog
    -Background
    -Update
    -Enqueue
    -Spool 

5. Which work process triggers database changes?
            Update work process

6. What are the different layers in R/3 system?
           -Presentation Layer
    -Application Layer
    -Database Layer 

7. What is the protocol used by SAP Gateway process?
            The SAP Gateway process communicates with the clients based on the TCP/IP Protocol 

8. Where do you look at the buffer statistics, and what steps they would use to adjust them?
             ST02, RZ10 

9. Difference between SAP Notes and Support Package? 
     When there is a bug in a SAP program/tcode and reported to SAP where SAP developers check the same and develop a correction. This correction is sent to the customer in the form of a SAP NOTE.
       If the same or similar bug is reported by multiple clients or end users, then SAP recognizes such bug corrects them and collects all these corrections in one place and adds some enhancements to the earlier version of SAP and then calls this as a SUUPORT PACK. In simple words collection of SAP NOTES is a SUPPORT PACK, A SAP Note fixes one problem, Support packages are many SAP notes together.

10. What is Add on Components? 
            Add-On components are nothing but extra functionality that do not come with main SAP   product. Different organizations have different requirements, so SAP has recognized some main functionality that are in demand and builds that functionality as a components, which can be integrated with the core SAP. so add on components sit above the core and access the same dictionary objects or repository objects and perform the required functionality.
      An Add-On is specific coding that is delivered separately and can be updated without changing the base.

11. How to know whether a system is Unicode or non Unicode?
            i). In sm51 t-code and click release notes button in the application tool bar
   ii). Log on to sap system on Easy access ,click on system then click on status
  iii). At OS level in cmd prompt type "disp+work -version" 

12. Where to check for system logs of Sap application at os level?
            i). System logs can be checked in T-Code SM21
   ii). we can see the system logs at os leval usr/sap/sid/sys/logs directory 

13. What are the transport request types are there?
          Four types of transport requests
     1. Customizing request
     2. Workbench request
     3. Transport of copies
     4. Relocation 

14. How to transport users from one client to another?
        Using T-code SCC1
15. What is the difference between R/3 and ECC?
               R/3 is a term used for SAP Core prior to version 4.7 and after 4.7 and especially 5.0 and above it is called ECC-Enterprise Central Component.