Thursday, 11 August 2016

SAP Daily Monitoring Tcodes

SAP System Monitoring :-


SAP System monitoring is a daily routine activity and this post provides a systematic step by step procedure for SAP Server Monitoring. It gives an overview of technical aspects and concepts for proactive system monitoring.

 * Checking Application Servers - SM51

 * Monitoring System wide Work Processes - SM66

 * Monitoring Work Processes for Individual Instances - SM50

 * Monitoring Lock Entries - SM12

 * Active user List - SM04

 * Global Active Users - AL08

 * CPU Utilization - ST06

 * Monitoring Update Processes - SM13

 * Monitoring System Log - SM21

 * Tune Summary - ST02

 * Monitoring Batch Jobs - SM37

 * Spool Request Monitoring - SP01

 * Number of Print Requests - SP02

 * ABAP Dump Analysis - ST22

 * Database Performance Monitor -

 * Transaction RFC Administration - SM58

 * Available Space in Database - ST04

 * Database Administration - DB02

 * Database Backup Log - DB12

Missing Authorization Object Adding - SAP Security


If any function in a T-code or any function in a specific transaction code can’t get by the user, we can add the authorization by adding authorization object and resolve that problem.

Fist we check what is the problem face by the user,

So Goto Transaction SU53
To disply authorization data for the user,

                                         

There is an option “display for different user (F5)” show in the above image

Click on that option, type user how face the problem
Click on execute

                                         
It shows the Missing Authorization Object and its Value, we will add the authorization value to the authorization object

                                        


To Find which "Role" contain the missing authorization object, Goto SUIM

Role -----> Role by Complex  Selection Criteria 


In the opened Screen Fill the marked Columns in the bellow image,

User Name (Problem facing User Name), Transaction Code (Problem facing Transaction code), Object 1 (Missing authorization Object From SU53) 
It shows the "Role" which has missing the "Authorization Object"




Next, Goto PFCG
To find the role & add the missing object
                                         

Type the role name and click on edit option
Goto to 'Authorization'  tab

                                        


Click on “Change Authorization Data” option,

                                        

Click on ctrl+f , to find the object                                                                                                             
                                        

It shows the missing authorization object

                                        
Click on the pencil to add authorization value
Add the value on get from “SU53” on the opened field then Click on 'Generate' button,


                                       
Completed, Now you can use the previous missing function successfully......

SAP Basis Authorization Objects

Some main Basis Authorization objects and its Descriptions,


Authorization Object

 Description

S_ADMI_FCD

Spool Administration and monitoring

S_ARCHIVE

Archiving programs and authorizations 

S_CTS_ADMI

Administrator function for the change transport system


S_DATASET

Assign authorization for particular files from particular programs

S_RZL_ADM

CCMS System administration

S_SPO_ACT

Spool Actions

S_SPO_DEV

Spool device authorization

S_SPO_PAGE

Spool restriction on maximum number of pages  

S_TABU_CLI

Cross client table maintenance

S_TABU_DIS

Table maintenance

S_USER_AGR

Role check authorization

S_USER_AUT

User master maintenance authorization

S_USER_GRP

User master maintenance on user Groups  

S_USER_TCD

Transaction in Roles

S_DEVELOP

ABAP Workbench

S_DOKU_AUT

Document maintenance authorization

S_PROGRAM

ABAP Program flow check

S_TRANSPRT

Transport organizer

S_ALV_LAYO

ABAP List viewer layouts

S_APPL_LOG

Application log

S_OC_DOC

Document activity authorization

S_OC_ROLE

Administrator Authorization

S_OC_SEND

Authorization to send documents

S_GUI

Authorization for GUI Activities

S_OC_TCD

Authorization to use the transactions 


Hope its help you........

Tuesday, 9 August 2016

SAP Basis Consultants manage lot of Operating system level commands, some major commands i listed here, 


Commands

Description


 dpmon d

Dispatcher queue monitor

 PS

Running work process

 ps -eaf|grep dw

Process overview

 ps -eaf|grep ora

Check oracle service is running

 Ps –eaf | grep dw kill -9

Kill work process

 msmon pf=profile path name=sid

Check the message server status

 gwmon pf=profile path nr=num

Check the gateway status

 Ps –eaf | grep lsnrctl

Listener status

 Rslgview pf =-r –ft | pg

System logs

 Disp + work –v

Check the version of r3 kernel

 R3trans –d ,tnsping

Checking the connection with database

 Df –k

File system monitor

 saplicence  -get

Get hardware key

 saplicense -install

Install SAP license

 sappfpar all pf=profile path

Display all profile parameters

 sappfpar check path=profile path

Checks the required space for memory

 memlimits

Check the available space for heap memory and swap memory

 telnet

Remote system login

 telnet <ipaddress><dispatcherportnum>

Check the remote sap system is up and running

 ftp

File transfer protocol

 rcp

Remote copy of files

 start/stop sap

Start / Stop Sap instance

 ping

Check destination host reachable

 niping

Check connection between server and a client by transferring packets

 systeminfo

Check the configuration of system

 Ps -aef

Processes status

 lsps -a

Swap space

 topas

Memory

hope it helps you...