Showing posts with label SAP BASIS. Show all posts
Showing posts with label SAP BASIS. Show all posts

Wednesday, 15 July 2015

Critical Authorization Objects



S.No
Auth.Object
Description
1
S_TABU_DIS
Used to protect tables using authorization groups with activity

2
S_TABU_CLI
Auth object used to protect cross client tables

3
S_TABU_LIN
Auth object used to tables based on line items

4
S_TABU_NAM
New auth object to table access based on names

5
S_PROGRAM
Used to run ABAP reports/programs via SA38

6
S_DEVELOP
Auth object used to control ABAP objects or debug access

7
S_USER_AGR
Used to control roles

8
S_USER_AUT
Checked during authorization maintenance

9
S_USER_GRP
Used control user groups

10
S_USER_PRO
Used for profile maintenance

11
S_BDC_MONI
Used to protect batch input monitoring

12
S_BTCH_JOB
Used for background job monitoring and administration

13
S_BTCH_ADM
Used for background job administration

14
S_BTCH_NAM
User level control for background job scheduling 

15
S_SPO_ACT
Used for spool administration which controls S_ADMI_FCD

16
S_ADMI_FCD
Basis administration like spool and monitoring

17
S_SPO_PAGE
Used to control name of the o/p device and number of pages

Wednesday, 25 February 2015

Changing SAP Transport Request Number Range in SAP landscape


There could be a requirement in your client side to change SAP transport request number range and they would ask you to change/block certain range of transport request number in your sap landscape.
As a basis administrator you must know how to get this done and I will tell you below how to do it.
SAP standard table E070L is the place where your last transport request are stored and referred by sap while creating new transport request.
TRKORR is the filed which contains last transport request of your landscape or in your development system where we will create transport requests.

Say for an example you have requirement to change/block next 1000 transport request in your landscape, so in this case you need to block next 1000 transport requests
Normally transport requests will be like below.
<SID>K90xxxx ex: R47K900015
We should update TRKORR table value to required number/TR value so next time when there is a TR creation request SAP will refer E070L table and TRKORR filed value and it will create next TR based on TRKORR field in it.

Here I will block R47K900015 to R47K901015
After update screen shots:

To achieve this we can follow 3 options since it’s a SAP standard table and it will not allow you to update it directly using table maintenance option tcodes like SE16, SE16N & SM30

  1.  Get help from a ABAP programmer to help out on this to update the table value via program
  2. Update the table filed value at OS level by small SQL query like how do you lock and unlock SAP* password reset activities
  3. This is something backdoor method and its not recommended by sap, to do it go to SE16N tcode and enter E070L table and hit enter then you need to execute &SAP_EDIT in the tcode command box then it will enable edit option directly on table level, but you may face some security audit issues and this option is removed in EHP series
Above steps I performed in SAP 4.7 and used OS level SQL queries

SQL query for ORACLE DB:

update SAPR47.E070L set TRKORR='LEDK901012' where LASTNUM='TRKORR';

SQL query for MSSQL DB:

update <SID>.E070L set TRKORR = 'SIDK905223' where LASTNUM = 'TRKORR';


Wednesday, 24 December 2014

SAP Generate Access key

Sometimes we need to generate access key to make some changes/implement SAP note
You need to pop up screen shot or installation number, PgmID, Type and Object name details from the person who requested access keys

Go to service.sap.com and select “Keys & Requests” and click SSCR Keys like below screen shot


Once you navigated to new location, you will get below screen and select Register Object 


Select the installation number and enter PgmID, Type and Object name, click register to generate access key


You will get new access key based on above details which you got it from requester

Saturday, 20 December 2014

SAP Post Installation Steps


Below are the steps needs to be performed as part of SAP post installation activities

1. Login to ddic username and execute SICK tcode

2. Goto RZ10 tcode and import the new profiles and add profile parameters according to your requirements

3.Execute slicense and install license for your system

4. Go to SE06 and select Standard Installation option hit execute, Click yes to initialize your CTS settings

5. Now goto STMS tcode and configure TMS

6. You can configure current system as DC(domain controller) or you can include into another domain, in this case I configure as domain controller


7. Now install SGEN i.e SAP load generator


8. Now go to SCC4 tcode and create a new client and perform client copy

9. After you created new client and make sure you copy ddic username and create new admin username and lock SAP* and DDIC usernames
10. Additionally you need to perform SAP Kernal upgrade as well as patching for OS and DB and check official installation guide in market place



Wednesday, 26 November 2014

SAP System Profile Parameter for SAP Security

Login System Profile paramenter for SAP Security:

Here is a set of system profile parameter required for SAP security and it will enhance the protection and we can have control over SAP login and below profile parameters are useful to implement SAP security in your landscape.

This is a 1st set of profile parameters and i will post next set of system profile paramter which is required for Basis and Security in upcoming post.


Profile parameter
Description
Default value
Recommended value
login/min_password_lng
Minimum password length for user password
3
3
login/password_expiration_time
 
Number of days between forced password change
0
90
Login/fails_to_session_end
Number of invalid logon attempts allowed before the SAP GUI is disconnected

3

3
Login/fails_to_user_lock
Number of invalid logon attempts within a day before the user id is automatically locked by the system

12

5
rdisp/gui_auto_logout
Time, in seconds, that SAPGUI is automatically disconnected because of in-activity

0

30
Auth/test_mode
Switch to report RSUSR400 for authority check
N
N
Auth/system_access_check_off
Switch off automatic authority check
N
N
Auth/no_check_in_some_cases
Special authorization checks turned off by customer
N
Y
Login/ext_security
Security access controlled by external software
N
N
Auth/rfc_authority_check
Permission for remote function calls from within ABAP programs
0
1
Login/failed_user_auto_unlock
Disable system function for automatic unlock of users at midnight
0
1
Login/no_automatic_user_sapstar
Disable ability to logon as SAP* with PASS of password when SAP* deleted
0
1
Auth/no_check_on_tcode
Disable check of S_TCODE on non-basis transactions
N
N
Auth/auth_number_in_userbuffer
Number of authorizations allowed in the user buffer
800
1000
Auth/authorization_trace
Every trace will be logged once in table USOBX
N
N
Auth/check_value_write_on
Write value for SU53 security checking/authorization failure
Y
Y




 Hope this document is helpful to you.