0% found this document useful (0 votes)
35 views

Most Recently Asked Interview Questions

The document provides information about the person's background and experience working with SAP systems. It details their technical skills and roles related to maintaining SAP landscapes including ECC, BW, PI, EP and other modules. Health check activities and responding to various system issues is also discussed.

Uploaded by

kaln g
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

Most Recently Asked Interview Questions

The document provides information about the person's background and experience working with SAP systems. It details their technical skills and roles related to maintaining SAP landscapes including ECC, BW, PI, EP and other modules. Health check activities and responding to various system issues is also discussed.

Uploaded by

kaln g
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 24

Tell about your self ?

HI , Thanks for giving this opertunity, this is Kalyan, I am a BTech Graduate passed out from jntuA
university with first class marks ,i have 5 yrs + experiance on sap basis, I am from TechMahindra
Bangalore ,
 I have worked on windows , linux and unix operating sytems.
 I have worked on the databases like oracle and hana.
 I have worked on sap components like ECC,BW,PI,EP,SOLMAN,SCM.
 I have worked on 24/7 rotational shifts.

COMING TO MY ROLES AND RESPONSIBILITIES


my regular activities are
 Doing health check activities and resolving the issues.
 Doing Trasport import activities
 Note implementations
 Responing to solman alerts and responding to tickets
 User and role administrations
 Client open/close, sap profile maintanance.
 providing developer, object keys and opening oss conections.
 Responding to shift hand over activities.
 Responding to incidents and get in touch with sap and as per their suggestions taking care
necessary actions.
Scheduled activities
 Doing kernel patch upgrade.
 Applying support packages.
 Client administration activities like client copies.
 Sap system maintance activities.
 Take care about data base backups.
 Sap add-on's installations.
 DB Refresh activities.
 SPS Patch upgrade activities.
 EHP upgrade from ECC6 EHP 6 to EHP 7 { sum tool sum 1.0 sp17}.
 Sap installation's and post installation activities.
 Worked with oracle 11g database and windows operating system ( windows 2008 server )

What are the modules you have in your project ?


BW ( 7.31), ECC6 EHP 7 , PI 7.4 , EP 7.31 , SOLMAN 7.1 sps14 ,crm,srm ( 7.31 )

What is your landscape ?


it is a 3 sytem landscape -- development , quality , production
or
multi system landscape -- development , quality , pre-production and production systems

what are the oprating system , you have worked on ?


Windows ( 2008 server ) , Linux ( Redhot linux -- 6.2),HP Unix - 11.3

What are the databases you have worked on ?


Oracle -- 11G ( 112_64 , 11.2.0.4.0) , HANA DB,
How to do Health checks activities ?
sm50 - is there any workprocess in private mode or on hold state
if any kill them ( dpmon ) -- dwp1 -- 3425 -- private mode -- kill -- new 3426
sm51 - how many applications are in active state
sm04 - how many users are logged in locally
Al08 - how many users are logged in globally
sm12 - lock entries , shold not be more than a day if any kill them with user approval
sm13 - there should not be any failure updates
st02 - whether sap buffer hit ratio is more than 98% or not ?
st04 -whether db buffer hit ratio is more than 94 % or not ?
st06 - cpu , swap , file system utilizations are how much ?
st03n - dailog response time should not be more than 800 ms
smlg - logon load balancing is how much ?
st22 - abap dumps
to know how many dumps are existed in sap system , we will call tcode -- st22

EASY way to remembering health checks tcodes --


SM50,SM51,SM66,SM37,SM04,AL08,SM21,SM12,SM13,SMLG,SMQ1,SMQ2
ST02,ST03N,ST04,ST06,ST22
DB01,DB02,DB12,DB13,DB14,DB16
SP01,SP02

Health Check questions


01) IF YOU FIND Lock entries WHAT DO YOU DO ?
Ans: if i found a lock entri more than a day , with d user approval , i will kill/delete the lock entry -- sm12

02) IF YOU FIND failure updates WHAT DO YOU DO ?


Ans: sm14 (update mechanism is in active state or is it in in-acitive need to check ?) ,
oraarch direcotry full , table space utilization is full, is there any lock entries ?

03) if you find long running jobs, what you will do ?


Ans: if i find a long running job Either in SM66/SM50 or in SM37, i will follow below steps
 Some times it depends on how much load it was been given on the job
 oraarch directory full.
 table space utilization full.
 cpu and swap utilization more than threshold value.
 updates failures.
 database statistics are not up to date.
 sto5 system trace.
 work load analysis -- st03n ( dialog response time ) -- peek hours , sto3n ranking section , how
Load balancing , tcode vise performance -- st12/stad.
 customising reports are running if any ?
 missing index to the tables.

04) if you find cancelled jobs in sm37 , what you will do ?


Ans: i will follow below steps
 LOCK ENTRIES
 DEPENDEND JOB FAIL
 MANUAL TERMINATE
 oraarch directory full
 table space utilization full
 cpu and swap utilization more than threshold value
 updates failures
 database statistics are not up to date
 FILE SYSTEM UTILIZATION IS MORE IN sap and database level
 rfc or target system is in down state

05) logs -- sm21 -- license experice , in correct credentials use, n no of sessions open , update failures ,
st22 dumps , tcode terminate st22 dumps -- any 3 ?
sm50 - wp is in private mode -- dpmon / sm50 -- cancel the wp with core / with out core ?
sm04 -- upon user approval -- terminate user sessions
st02 -- swap utilization more -- upon reading the notes, found a clue that increase roll area , extended
memory so increased , also increased the buffer parameters
st06 -- cpu and file system utilization is more ? os team co ordinate
st03n - dialog response time is more? how much the load balance is via smlg ,with in the sto3n via
ranking section which user consuming more dialog response time
smq1/smq2- whether port numbers are in opened or not in we20 , RFC Connections ? -- pi consultants
approach
db01 - dead locks -- memory issue , insufficent memory allocate

6>Could you explain any Few ABAP DUMPS , you have faced in your carrier ?
 TSV_TNEW_PAGE_ALLOC_FAILED means that more memory was requested by the system
because the program needed to expand an internal table, but Memory is not enough. Fm ((Roll
area,extended memory area(EM),,fixed storage space (HEAP)))
 system_no_task_storage ( latest patch apply -- sap components -- sap_basis,sap_abap,PI_BASIS)
For this error, please go to service market to download the latest patch for your SAP Application
release and apply the patch.
 SYSTEM_CORE_DUMPED ( kernel patch upgrade ) is related to R/3 system kernel. Upgrade the
kernel patch to the latest may solve the issue.
 Message_Type_X/RAISE_EXCEPTION ( sap gui error -- 730--->740) Is a GUI related error. Go for
latest GUI version to avoid this error.
 TIME_OUT Error rdisp/gui_autologout parameter = 800 sec -- 1200 sec

SSO ( SINGLE SIGN ON )


it will helpful for connection establishment between portal to backend system abap if you
maintain your credentials one time you no need to maintain second time , via webgui you can login to
backend abap system via calling tcode of abap system from portal.

Configuration:
1st maintain the below 2 parameters in ECC ABAP SYSTEM -instance profile via RZ10/RZ11.
abap -- login/creat_sso2_ticket = 1
login/accept_sso2_ticket =2 -- RZ10
ABAP -- STRUSTSSO2 - Export the abap certificate
Java ( http://hostname:50000/irj/portal ) -- Export the java certificate
ABAP -- Strustsso2 -- import the java certificate
Java -- nwa -- deploy-ticket keystore--abap certificate import
SLD - System landscape directory, It is a pure java system.

Tcodes - RZ70 - GATEWAY HOST, GATEWAY SERVICE (bridge info )


First click on ACTIVATE button and next click on TRIGGER button
( IT COLLECTS THE INFO from all the components AND PASS THAT TO SLD System )
SLDAPICUST -- SLD HOST,SLD PORT NUMBER,SLD USER,SLD USER PASSWORD
SLDCHECK -- to know whether SLD is working or not ?
Java system -- visuval admin tool(nwa)-- slddata supplier -- http setttings - maintain below
SLD HOST,SLD PORT NUMBER,SLD USER,SLD USER PASSWORD
trigget the java system data to your sld system

NOTE : SLD SYSTEM IS A JAVA SYSTEM


SLD TO SOLMAN -- DAA ( DIAGNOSTIC AGENT ) -- it will push the data from sld to solman

let me know what are the POST INSTALLATION ACTIVITIES , You have done ?.

ECC 6 , EHP 7 Installation.


Required dvd's
instllation dvd, kernel dvd, SWPM software , master dvd , export dvd's , language dvd's.
post steps:
SICK/SM28 - Is sap have any issues?
SLICENSE -- applying license
RZ10 -- importing sap profiles from os level to sap level
SE06 -- CTS CONFIGURATION
STMS -- configuring trasport management system.
SM36 -- STANDARD BACKGROUND JOBS
DB13 -- DB BACKUP'S Schedule
SM59 -- RFC'S connections
BD54 /SALE -- LOGICAL SYSTEM CREATion
SCC4 -- CLIENT CREATion
SGEN -- PROGRAM COMPILER
SMLT -- NEW LANGUAGE INSTALLATION
OPERATION MODE ( RZ04,SM63,RZ03 )
SU01 -- USERS CREATION
SCCL -- LOCAL CLIENT COPY FROM MASTER CLIENT 000 TO BUSINESS CLIENT - 100

How to open and close the client ?


SCC4
*Client copies
local client copy ( SCCL )
remote client copy ( SCC9 )
Export(SCC8)/Import(Stms_import,SCC7) method

*client copy presteps*

db backup should be taken (brtools , DB13 )


archive log backup should be disable
maintance certificate (tempory license )need to be up to date ( market place )
intimate d end user ( SM02 )
lock the users in target client ( EWZ5 , SU10 )
target client size estimation - SA38 - Run the following reports -- ( RSSPACE CHECK & RSTABLE SIZE )

My production sap System is slow ?

1) os level -- dpmon -- whether all dialog workprocess are free or hanged by some user or whether they
are private mode ? if any
open the wp's -- from os level by using dpmon , kill the workprocess
2) oraarch directory full -- /oracle/SID/oraarch -- redolog backup ( archive log ) -- sucessful or not
runining ?
via brtools -- archive log backup trigger
initSID.sap ( /oracle/SID/112_64/dbs/ -- small setting -- disk full , another disk change ( storage location
parameter )
3) we found that system is in hang state -- if u run any commond at os level taking long time
reboot -p
restart -- stopsap R3
cleanipc instance number remove
cleanipc 00 remove
(it will remove hanged memories )
STILL IF U FIND ANY SERVICES ARE RUNNING
ps -ef|grep dw
ps -ef|grep sidadm
kill -9 sevice id
startsap R3
4) table space utilizatio is full
psapsr3,psapsr3db -- brootls -- space management -- add the data files to sap table spaces
5) file system utilization is above the threshold value -- /usr/sap -- below the 90% , but -- 99%
i have deleted the unwanted files or i have moved those files.

Sap system is not coming up?

1st do cross check all services are up and running?

1) if os is linux or unix, Then check like below

ps -ef | grep dw
ps -ef | grep sapsid
OR
if os is windows
services.msc -- listener,saposcol,sapservice sid ,oracle service sid

2) is the connectivity b/w sap and db existed or not


1st check whether listener is up or not
orasid>lsnrctl check
if listener is down then start it first by following command
orasid>lsnrctl start
2nd -- R3trans -d
connectivity b/w sap and db is ok or not ?-- 0000 -- connection is ok
if return code 0012 -- connection between those are not ok.

Other Possible reasons:-

1) schema user lock ( brconnect ) ,

2) db files might have been corrupted ( restore and recovery )


how to know whether files are correpted or not ?
goto - /oracle/SID/saptrace/diag/rdbms/sid/SID/trace
alertsid.log

3) file system utilization at db level is 100% --


Then have a co-ordination with OS Team --
file system utilization volume increase

4) license experience ( maintance certificate -- 3 months )

5) check the sap related logs at


/usr/sap/SID/DVEBMGS00/WORK -- dev_disp,,dev_msg,,dev_w*,, starsap.log,, stdserverstart

5) mount points are missing -- /usr/sap/SID/SYS/exe


,/usr/sap/SID/SYS/profile - os team co ordinate --
u will make missing directories are in mount.

6) profile parameters are maintained correctly or not ?


sappfpar check pf=instance profile.

7) Central sevices ( SCS ) -- msg and enq servers up and running or not.

8) oraarch directory full -- /oracle/SID/oraarch -- redolog backup ( archive log) -- successful not running ?
via brtools -- archive log backup trigger
initSID.sap ( /oracle/SID/112_64/dbs/ -- small setting like -- disk full , another disk change ( storage
location parameter )

9) we found that system is in hang state -- if u run any command at os level taking long time
reboot -p
restart -- su - sisadm
sidadm> stopsap R3
cleanipc instance number remove
cleanipc 00 remove
(it will remove hanged memories )
ps -ef | grep dw
ps -ef | grep sapsid
kill -9 pid
sidadm>startsap R3
10) table space utilization is full
psapsr3,psapsr3db -- brootls -- space management -- add the data files to sap table spaces
11) file system utilization is above the threshold value -- /usr/sap
i have deleted the unwanted files or i have moved those files

STMS CONFIGURATION
Login to Dev system - 000 and ddic
call SE06 -- DO CTS Configuration ( change transport system ) --
prodcution transport layers and routes will be converted to quality transport layers and routes

Call STMS -- DO The local stms configuration and create virual system configuration with qualith and
production sytems
login to quality and production systems, setup the stms configuration with devlopment system
once done setup the transport layers and routes configuration with Quality and Production.

2 rfc connections will be created those are TMSADM and TMSUP


Transport layers are two types -- standard layer and coustmising layer
Transport routes are two types -- consolidated route ( from dev to quality sytem) and Delivery route
( from quality to production system )

if in my production system Transport request import is taking long time , what is your action ?
1) check first of all whether -- event based job -- rddimpdp is running or not ?
if not in se38 --run rddnewpp report and just trigger
2) PSAPSR3 / PSAPSR3DB Table spaces are running with above the threshold value -- with the help of
brtools ( table space increase )
3) /usr/sap/trans -- has less free space
4) oraarch directory is full - run the archive log backup

what are difference between tranport domain and tranpor group and transport directory ?
Transport domain : it is a unique one and it is heart of stms configuration,
naming convention will be DOMAIN_SID,It contains group of systems.
Transport group :A group of systems which will share a common tranport directory like /usr/sap/trans
what is your domain controller sytem ans > Development system and why that system only ? bcz in this
system only all development activities will be taken care.

DB Backup -- brtools,DB13,brbackup (online db backup ),brarchive(redo log backup )


DB12 -- BACKUP Related log files /erros

How to restart your sap system ?


restart --
STOPING
su - sidadm
sidadm > stopsap R3
sidadm> cleanipc instance number remove
cleanipc 00 remove
(it will remove hanged memories )
STILL IF U FIND ANY SERVICES ARE RUNNING --
sidadm>ps -ef|grep dw
sidadm>ps -ef|grep sapsid
sidadm>kill -9 sevice id

DB STOP
orasid>lsnrctl stop
orasid>sqlplus / as sysdba
sql>shutdown immediate;
exit
Starting
orasid>lsnrctl start
orasid>sqlplus / as sysdba
sql>startup;
su - sidadm
sidadm>startsap R3

how to apply sap note -- via tcode : Snote --


Note --- 2 types
manuval and corrective note
manual -- changes need to be taken care by basis consultant -- CAN NOT BE IMPLEMENTED
Corrective note -- CAN BE IMPLEMENTED - SNOTE
Once implemented can not be revert back -- abapers help
while applying note-- Note will be added to Transport request

How to use sum tool ? what you have done with sum tool ?

sum1.0 spS16/spS17/spS18
SPS patch upgrade from 13 TO SPS 17
SUM -- Downtime will be decreased,no manual involvement to uncar,
at a time u can apply the stack File to both abap and java system.
benifits -- EHP Upgrade(ehp5 to 6, 6 to 7) , vertion upgrade(ecc5 to ecc6),
release upgrade(ecc6 ehp sr1,sr2,sr3) , migration{other database to
hana database)} ( DMO Method - database migration option .

Presteps :
1) sum software need to be downloaded.
2) space check at database and sap filesystem level.
3) Stack xml file need to downloaded or generated via solution manager system.
4) create the SUM Folder under /usr/sap/SID & provide required permissions.
5) a new tablespace will be created psapsr3740x for upgrade purpose.

1st download the sum software kept at /usr/sap/SID/SUM and do uncar


sum lunch -- ./startup confighostagent SID
and
to open sum gui - http://hostname:1138/lmsl/sapgui/abap.

How to generate stack file ?


*stack xml file generate -- solution manager system -- solman_workcenter tcode -- options--> change
mangement--> maintance optimiser --> new maintance traction -- select the target release
SUM Phases -- there are 8/6 PHASES -
1) Initilization phase( administrator password , generated xml file)
2) extraction phase ( xml file uncar,SPAM/SAINT VERSION UPGRADE, ddic,system passwords),
3) configuration phase( shadow -- 00 , select or deselect the required add-on's, password, parller
process R3load,r3trans etc., type of configuration - single,standard,advanced (near zero
downtime)
Single - no shadow instance, downtime is more
standard - shadow will be created , moderate resources are availble
advanced - shadow will be created , downtime is decreased, speed is more)
4) check phase ( buffer and db parameters,tablespaces and memory sufficient or not ? ),
5) pre processing phase ( db b/u, users lock,btctrans1,Clean up the queus, spdd
adjustments,shadown instance will be created and actuval upgrade will be happened on shadow
instance)
6) execution/downtime phase ( shadow will be swithed to main instance),
7) post processing phase( users unlock ,Btctrans2, spau adujustements,profiles import,archivelog
mode enable),
8) finalization phase (results)

POST STEPS :
1) restart sap
2) delete the unwanted tablespaces example - psapsr3740x
3) unwanted/unaccessed indexes and tables will be deleted or reorganized
4) spau adjustments with 14 days.
5) importing the profiles via rz10
6) taking complete backup one more time.(Brtools).

Difference bw 7.0 / 7.31


7.0 -- services - - sdm,dispacther,server0
7.31 -- sevices -- icm,server0
7.0 -- 3 profiles - start,instance,default
7.31 -- 2 profiles -- default , instance
7.0 - SDM,JSPM,CONFIGTOOL,VISUL ADMIN TOOL,NWA
7.31 -- CONFIGTOOL,NWA,JSPM,SUM TOOL
7.0 -- JCONTROL,JLUNCH
7.31 -- JSTARTUP
7.0 - JCMON
7.31 -- JSMON

What is Difference between remote and export/import method

remote client copy depends on rfc and network connections due to dependency of network it takes long
time to send huge amount of data both source and target should be up and running

Export/Import depends on STMS connection U need to export 1st in source system and later import the
same data in target system large amount of data can be send with in d less time
Note: among both the copies Export / Import method is the best one

how to do the Kernel path Upgrade ?


Download kernel files like db dependent and db independent files from market place
uncar them using sapcar -xvf files
stop sap and services
take exe directory as backup
copy the uncared files and paste them in /sapmnt/SID/exe/run or
/usr/sap/SID/SYS/exe/run location

**run ./saproot.sh SID


with "root user" -- ( sudo su - root)
to give permissions to saposcol and brtools, ICMBND

**sapcpe.exe to copy kernel files from central instance to dialog instance


In this, there are two types
1) bounce the system
2) login to the individual instances , go to profile directory and run
"sapcpe pf=instance profile "

start sap and sevices and check the results.

If system is not coming up after kernel patch upgrade , then how ?


whether all the Services are up and running ?
whether we have downloaded and applied the correct kernel patch
whether sapcar may be become old ? incomplete uncar ?
goto work directory -- /usr/sap/SID/DVEBMGS00/work -- check the error at
dev_disp,dev_msg,stdserver.log,sapcpe.log,startsap.log
at final stage roll back the kernel exe dirctory which was taken backup earlier

How to apply support packages and what are the support packages pre requisites ?

Login to 000 client and User like ddic


Presteps:
check with stms configuration consistency check
check recent db backup is available or not if not take complete db backup.
minimum 2 backgroud workprocess are required
check spam/saint vertion upgrade
check sap license ( Maintance certificate is up to date - 3 months validity)
intimate the users(sm02) and lock them (su10)
download support packages(SAPKB74013.SAR) and keep them in /usr/sap/trans and uncar them
( SAPCAR -xvf filename ),
once you uncar those files you can find in /usr/sap/trans/EPS/in -- .ATT or .PAT
load those uncared packages into sap with the help of SPAM Tcode
First import spam/saint update.
again click on display/define button and select the sap components and click on import queue.
click on start options and schedule the jobs in Background mode.
and finally click on confirm queue and check the results in system - status.

LIST OF Components
sap_basis
sap_abap
pi_basis
sap_bw
sap_appl

spam vs saint
spam/saint - 740/65

POST STEPS

Running SGEN
Enable archive log backup
importing profiles
take complete db backup
unlock the users.

*START OPTIONS

PREPARATION - BTC
IMPORT -1 - BTC
IMPORT -2 - BTC
CLEAN UP - BTC

differance between configtool and visuval admin tool

Configtool - no credentials required when the time of login , Only db is requried and sap is optional
while login.
server counts ( sever0 ,server1) can be incresed and decreased
java memory parameters ( heap memory , perm size , thread counts ) can be maintained.
as we know configtool is a static one so java cluster restart is required.

Visuval admin tool - credentils( sigle stack - pure java - user- administrator , Dual stack user -
j2ee_admin)
r required when time of login , sap and db must be up and running. It listens the p4 port.
remote logon is possible(http://hostname:50004) , Listens the P4 Port ,
Benifts --- Java Licese , Jco rfc provider( ABAP TO java) ,
sld data supplier( sld connections), destinations-other rfc connections,
Ticket keystorage ( SSO CERTIFICATE ) Export/import, java logs(sm21) can be viewed via log viewer.

Differance betweeen SDM and JSPM - spam tcode and saint tcode.

SDM - software depoyment manager


only single patches can be done.
it has its own user id and password ( administrator , j2ee_admin)
.SCA(software component archive) and .SDA(software deployement archive) Files can be deployed and
undeployed.

JSPM - Java software provistioning manager


single and multiple patches ( stack file ) can be deployed at a time
it depends on SDM Credentials
only deployment is there but there is no undeployment options
manuval patch selections will be happened automatically.

DB Refresh activities

Steps need to carried on production system ?


1) Take online db backup from production on TO THE disk ( brtools,db13,snap manager,crontab
jobs)
**generated backup file loaction : /oracle/SID/sapbackup(.and / .fnd)
ousfnlkf.and - example -- (A) all - with catlog
2) generate trace file (it contains where the data files and log files are stored and whether
they are accessable or not ) ?
Command -
su - orasid
{orasid>alter database backup controlfile to trace; }
**generated trace file location: /oracle/SID/saptrace/usertrace
jlfmalmd.trc -- example -- (B)
**latest location : /oracle/SID/saptrace/diag/rdbms/SID/sid/trace
sdflsfdja.trc -- example
3) backSID.log -- (C)
4) copy the above three files along with redo log files from location
(/oracle/SID/oraarch)to quality system.???
by using {common sharing network drive or winscp or filezilla or
scp -r
scp -r @orasid:hostname filename destination location}

Steps need to be done on the quality system:


do presteps in quality like
stms,al11,slicense,we20,we21,db13,smlg,rz12,rz04,sm63,sldapicust,rz70,stustsso2 tcodes screenshots
export users (scc8) or adding usr02,rfcdes,tbdls tables to transport of copies in SE01, It will generate a
new TR.

intimate the users(SM02) and stop sap system { stopsap R3}


**STOP DATABASE**
orasid>lsnrctl stop ( LISTENER WILL STOP )
orasid>sqlplus / as sysdba
sql>alter database end backup; -- to stop db backup
sql>shutdown immediate;

Drop database (the files under sapdata1,sapdata2,sapdata3,sapdata4,


orilogA,orilogB,MirrorlogA,mirrorlogB) of quality system Will be deleted automatically.
{orasid>drop database;}

*Restore*
resote quality database with d help of database backup file of production system.
{orasid>brrestore -q -m full -b kjsfjsf.and /oracle/sid/112_64/dbs/initSID.sap -c
/PRD -- /QTY
orasid>brrestore -m full -b kjsfjsf.and /oracle/sid/112_64/dbs/initSID.sap -c }
note --> m = mode ( full,all/whole) ,q=query,-c = continue/confirmation,b=backup file

*change trace file to control.sql*


open control.sql ( change production sid to quality sid ,
the lines above "startup nomount" and the lines below
"character set UTF8" need to be deleted and
in the first line do changes like reuse=set , noarchive logs = archive logs and

Now keep the database in "nomount state"


{orasid>sqlplus / as sysdba
sql>startup nomount;
sql>@control.sql}
NOTE: If you run @control.sql in nomount state , automatically
it will come to mount state.

*Recovery*
in mount state with d help of redo log files do recovery
{sql>recover database using backup controlfile until cancel;
auto/cancel -- cancel
sql>recover database using backup controlfile until point in time;
sql>recover database using backup controlfile byusing scn number;}
scn - system change number
open database
{sql>alter database open reset logs;}

** connection establishment between sap to database **


run @oradbusr.sql ? it will establish the connection b/w sap to db
( ops$sidadm , ops$sapserviceSID)
grant permission to the sidadm and sapservice sid
{sql>@oradbusr.sql} -- old oracle version.
SSFS - Secure stored file system commonds run...
orasid> RSSFXSEC db_connect sapsr3
orasid>RSSFXSEC db_connect password

****checking***
su - sidadm
sidadm>R3trans -d --> RC = 0000 OK , iF 0012 There will be an error.
Note: before to open your sap system u need to keep B/G,Spool
resources(work process) to Zero in instance profile ?
because ur quality was build up with production system data,
the activities which were scheduled in production ,
the same activities will run here also and those gets fail, thats why "
rdisp/wp_no_btc = 0
rdisp/wp_no_spo = 0
login/no_automatic_user_sapstar = 0 to login with
sap* and password " pass "
open ur sap ( sidadm>startsap R3 )
Login with sap* and password pass and perform

**<mandatory post steps>***.


call btctrns1 in SE38/SA38 to pause background jobs
disable mail chain(scot),LOCK THE printers(spad)

AGAIN DO :
GO TO PROFILE location and change BTC and Spool resources to old values(Previous values) in instance
profile.
rdisp/wp_no_btc = previous value
rdisp/wp_no_spo = previous value
again restart your sap system because the above parameters are static.

login to sap with the help of sap* and pass and do the post steps
IMPORTING USERS (stms_import,scc7)
applying license
run BDLS tcode (to convert source logical system to target logical system )
import profiles (rz10)
import users and rfc connections ( stms_import and scc7 )
STMS CONFIGURATION ( STMS )
database BACKUP SCHEDULING (DB13)
run btctrns2
STANDARD JOBS SCHEDULING ( SM36 )
sld(RZ70,SLDAPICUST,SLDCHECK) and sso ( STRUSTSSO2 ) configuration
sap directories changes AL11
Logon group changes ( SMLG )
RFC Server group changes ( RZ12)

DB ADMINISTRATION:
DB Instance maintanance
start and stop the database instance
check the status of DB Instance
running database statistics(database performance increase)
table/index/tablespace reorganisation
adding datafiles to tablespaces (brspace)
resetting database schema users (brconnect)
Either Brtools / db13
Online db backup ( DB13 ) -- TAPE Production -- every a day once
Redo log backup ( db13 ) -- Disk Production -- every 4 hours once
brrestore ,, brrecovery
brstatistics - brconnect
db cleanup logs
table spaces increse -- brtools -- space management
missing indexes -- brtools -- segment management (brspace)

spfile vs pfile -- these 2 files will store at /oracle/SID/112_64(11204)/dbs


spfile -- sap paramerization file -- binary one , direct modification is not possible , to modify this alter
database
When d time db is coming up read file - spfile ,, spfile naming convention -- spfile.ora
pfile -- peramerization file -- static one -- to reflict any changes via this file , restart is required ,pfile
naming convention - initSID.ora
once changes are happened in pfile to make them effect in spfile -- "creat spfile from pfile; "

Java system is not comming up , then how?

log flies -- /usr/sap/SID/DVEBMGS00/j2ee/cluster/server0/log -- application.log


defaulttrace.log
work directory - /usr/sap/SID/DVEBMGS00/work/ -- std_server0,stderror0,dev_icm,dev_disp,dev_msg
jcmon / jsmon -- is there any java service down(initial status ?) ,,
i mean to say server0,icm should both up and running
Java license expeire,how to know licensekey ? or
http://hostname:50000/index.html- system information
java system connectivity with database, Configtool lunch ? if you have an issue, login to db and solve it.
need to maintain java memory parameters in configtool.

SLD SYSTEM IS a java stack system


How to do transports ( stms_import) ?
how to monitor long running background job( sm37) ?
how to monitor rfc (sm59)?
How to do oracle database administration ? - brtools(db backup(brbackup),increase table size(brspace),
resote(brrestore)and recovery(brrecovery),
running statics(brconnect)
support packages - SPAM Tcode

linux / unix commands

for copy --> cp -pr


for remove --> rm -rf
for move ---> mv
for create a directory --> mkdir
to know which directory your are at --->pwd
full permission--> chmod 777 file name --- chmod -R 777 folder/file
ownership ---> chown group:user filename --- chown sidadm:sapsys filename --- chown orasid:dba
filename
to open a file --> more filename or view filename or vi editor ,, tail -f filename ,, tail -10f filename ,, tail -
100f filename
esc + x --- character delete
esc + dd -- complete line -- esc + 3dd -- 3 lines delete
esc + i -- u can add new lines
esc + u -- undo
esc + wq! -- save
esc + q! --
to create / modify the file -- vi editor
vi xyz
to login to linux, putty is a 3rd party tool
to copy a file from dektop to linux and vice versa -- winscp

your ticketing tool is remedy tool


your concurrent users count ( say around 310 )
how many servers means say ( 13 servers )
your mail is lotus notes

db refresh post activities


SAP LICENSE ( SLICENSE )
BDLS Convertion ( BDLS -- LOGICAL SYSTEM Convertion from production system to quality )
STMS CONFIGURATION ( STMS )
BACKUP SCHEDULING (DB13)
STANDARD JOBS SCHEDULING ( SM36 )
importing profiles ( rz10)
sld(RZ70,SLDAPICUST,SLDCHECK) and sso ( STRUSTSSO2 ) configuration

note implementation ( snote)

PI - SXMB_ADM ( Integration engine monitoring) --=> Maintaing connection between ECC and PI
SXMB_Moni --> message flow monitoring
Sxmb_ifr --> communicational channal maintanance

BW -- RSA1 -- (Source system connectivity ) -- connection between BW To ECC

Solman -- Solman_workcenter -- early watch alert configuration- Reports - provide date and time -
generate ewa report
-- stack xml file generations ( options - change mangement - maintance optimizer -
- new main tanance transaction - product information and SID )
CCMS alert configuration like pausing and un pausing alerts - RZ21

Cluster on High availabilty system - veritas cluster -- active and active node

Product versions -- BW ( 7.31 ) , PI ( 7.4) , Solman ( 7.1), EP (7.31)

Database -- oracle 11G , Patch level -- 4 ( 11.2.0.4.0)

Operating system - Linux ( Red hot linux 6.2 ) , windows ( server 2008)

sidadm>cdpro
or
sidadm>cd /usr/sap/SID/SYS/profile

jsmon pf=instance profile


dpmon pf=instance profile

Java
java system not coming up ,logs ?
OS Level monitoring ?
With sidadm

sidadm>cdpro
or
sidadm>cd /usr/sap/SID/SYS/profile

jsmon pf=instance profile


check icm and server0 , server1 up and running or not ?
if not simply start the icm and server0 and server1.
Config tool,visuval admin,nwa,telnet,sdm,jspm,SUM.

SSO Configuration
IRJ/PORTAL.
URLs ? PORT NUMBERS?
URL - http://hostname:5<instance number>portnumber
example - http://hostname:51200

SCENARIO BASED Questions

1) support packages post steps ? - SGEN - PROGRAM COMPILISATION


Example - (sap_abap,pi_basis,sap_basis,sap_bw)
*versions information (731,701,740,750,605,607), list of components ?
ABAP - SAP_APPL - 608
SAP_BASIS - 740
how to recognize pure abap system and java system and their versions?
pre steps ? y two backgound jobs?rddimpdp?license?

2) Current kernel versions ?,patch numbers ?


721,741,742 - 100/200/300/117/250
kernel version upgrade ? kernel patch upgrade?
kernel post steps ?
post steps on linux / unix / AIX ( ./saproot.sh SID) USE - brtools,
saposcol,icmbnd - you will give the special permissions.
where you can see the results ?

3) DB Refresh
how to generate control/trace file? what is the use of controlfile?
use - it contains the structure of the database.
where this control file store ?
Ans) /oracle/SID/sapdata1 ,, /oracle/SID/origlogA/B.
where the backup taken file stores?
Ans) /oracle/SID/sapbackup
how to take the production backup ?
how to drop database ?
what you will do with old existing controlfiles,redolog files ?
Ans) ora793_234q.ctl -- ora793_234q.ctl_old
what happens in nomount , mount and open ?
what are the commonds of restore and recovery?
how many recovery modes are there ?
what is the commond to open the database ?
what is the commond to check the system status ?
Ans) sql>select status from v$instance;
How to do recovery with the help of production redo log files?
Ans) You have to copy the production redo log files to quality and
rename as per quality naming convention and in mount state
run recovery commond like
"recover database using backup controlfile until cancel;".

how to establish the connection between sap and database?


what is the use of @control.sql and @oradbusr.sql and SSFS ?
Before opening sap system , what you will do ( in db refresh topic)?
what are the post mandatory steps after sytem up ?(db refreshtopic)?
what are the most imp post steps?
list out any 10 pre steps of DB Refresh ?

RBDLSMAP - JOB NAME for bdls convertions.

SLD - system landscape directory.


SLDAPICUST - Sld hostname,port number,user and password
RZ70 - SLD Bridge info - gateway host , gateway service details
sldcheck - whether is running or not?

log flies -- /usr/sap/SID/DVEBMGS00/j2ee/cluster/server0/log -- application.log


defaulttrace.log
work directory - /usr/sap/SID/DVEBMGS00/work/ -- std_server0,stderror0,dev_icm,dev_disp,dev_msg
oracle --- /oracle/SID/saptrace/diag/rdbms/sid/SID/trace - alertSID.log
Hana - sapcontrol -nr sapconfig status
or HDB Status or HDB info

*Other possible questions.*

Client
how to open and close the client?
what are the presteps before you do any kind of client copy?
Ans) In source report run - rsspacecheck and rstablesize
types of client copy and types of client data ?
what is the diff b/w remote and client export /import?
what is logical sytem and explain in detail?
what is the imp of T000 and TBDLS ?
list out any 10 client tcodes

Netweaver ?
where to see the java logs,in case of java system is not coming up?
what is the diff b/w config and visuval admin tool?
what is the diff b/w sdm and jspm?
how to reset Sdm password ?
How to lauch configtool,visuval admin tool,nwa,telnet tools?
What is the diff b/w jcmon and jsmon?
What is the diff b/w 7.0 and 7.31
What is the diff b/w 7.31 and 7.4
where to see java and database connectivity?
How to do sld and sso configuraions?
How to reset master password in java?
how to maintain virtuval memory and thread counts in java?

Profiles
Types of Profiles?
What is the diff b/w default ,startup,instance profiles?
where to see profiles from os level ?
What is the diff b/w rz10 and rz11
What is the diff b/w SA38 and SE38
What is the diff b/w SM50 and SM66
What is the diff b/w SM04 and AL08
What is the diff b/w SE01,SE09,SE10
What is the diff b/w SE06 and STMS
What is the diff b/w SPAM and SAINT
Write down the naming convention of Each profile?
what is the sequence of profiles when sap is start up?

operation modes
what is the imp of RZ04,RZ03,SM63
What is operation mode ?

RFC
types of rfc's? with detail answers
tcodes for different rfc's connections
what is 3GHIT in SM59(connection types??
What is the diff b/w SMQ1 and SMQ2
What is the diff b/w SM58 and SM59

TMS
What is transport domain , Transport group , transport directory?
what is the use of STMS_IMPORT?
what are the return codes for transports?
what is the use of R3trans and TP ?
what are the sub directories under /usr/sap/trans ? with explanation
Ans) bin ,, cofile ,, datafile ,,sapnames,eps,tmp,,,log
what is the naming convention of Trasport request?
how many types of Transport requests?
Security
What is the diff b/w su01 and su10
What is the diff b/w su56 and su53
how to creat roles And how to assign them to users?
What is the diff b/w single,composit role and derived role?
What is the diff b/w role and profile?
how to fix the missing authorizations ?
Ans) ST01,SU56,SU53
what is the use of SUIM,EWZ5,SM01,SU24?

Printer
what are the printer issues you faced recently?
how to configure printer ?
what are the difault printers
What is the diff b/w sp01 and sp02
What is the diff b/w spad and sp12
What is the purpose of TSPO1 and TSP02

What is the diff b/w TBLOD and TLOCK


What is the diff b/w ST01 and ST05

List out health check tcodes minimum 15 with neat explanation ?


what you will do if you see failure updates?
what you will do if you see lock entries?
what you will do if you see logn running jobs?
what you will do if you see failure jobs?
what you will do if you see abap dumps?

What is the diff b/w snote and support packages?


What is the diff b/w ST02 and ST04
What is the diff b/w ST06 and ST07
What is the diff b/w DB01 and SM12
What is the diff b/w DB12 and DB14
What is the diff b/w DB02 and ST04
What is the diff b/w DB16 and DBACOCKPIT?

what is the commond to see file system utilizations in linux?


what is the commond for change owner ship and permissions?
List out any 5 VI Editor and those sub commonds
what is the commond to open the files in linux
what is the commond to copy and to remove and to move?
what is the commond to create a dictory?

Resume explanation :

**Ticketing tool -- remedy(incident managment) vertion 8 ,


p1 - response time 1 hour , resolution time 4 hours
p2 - response time 2/3 hour , resolution time 8/12 hours
p3 - response time 4 hour , resolution time 24 hours
p4 - response time 1 day , resolution time 3 to 4 days

*** opening oss or http connections

oss online service support - to allow sap people login to your sap and
resolve the issue.
*There are 2 types - r3 support ( abap tcode),http support ( java -
url)

NOTE : All connections will be opened or close from service market


place ( smp).

*** checking file system usage


command -- df -k or df -kh .
sap -- st06 - cpu ( top) , swap ( swap -s )

*** Dumps -- Runtime errors

tcode -- st22 ( error analysis )

sometimes you goto market place read the note.

*** sap system startup problems

1st do cross check all services are up and running ?

1) if os is linux or unix , Then check like below

ps -ef | grep dw
ps -ef | grep sapsid
OR
if os is windows
services.msc -- listener,saposcol,sapservice sid ,oracle service sid

2) is the connectivity b/w sap and db existed or not


1 st check whether listener is up or not
orasid>lsnrctl check
if listener is down then start it first by following command
orasid>lsnrctl start

2nd -- R3trans -d
connectivity b/w sap and db is ok or not ?-- 0000 -- connection is ok
if return code 0012 -- connection between those are not ok.
other Possible reasons:-

1) schema user lock ( with brconnect make it unlock ) ,


2) db files might have been corrupted ( restore and recovery )
how to know whether files are correpted or not ?
goto - /oracle/SID/saptrace/diag/rdbms/sid/SID/trace
alertsid.log

3) file system utilization at db level is 100% --


Then have a co-ordination with OS Team -- volume increase

4) license experience ( maintance certificate -- 3 months )

5) check the sap related logs at


/usr/sap/SID/DVEBMGS00/WORK -- dev_disp,,dev_msg,,dev_w*,, starsap.log,, stdserverstart

6) mount points are missing -- /usr/sap/SID/SYS/exe, /usr/sap/SID/SYS/profile - os team co


ordinate --
u will make missing directories are in mount.

7) profile parameters are maintained correctly or not ?


** sappfpar check pf=instance profile.

8) Central sevices ( SCS ) --


msg and enq servers up and running or not.

9) oraarch directory full -- /oracle/SID/oraarch --


redolog backup ( archive log ) -- successful not running ?
via brtools -- archive log backup trigger

10) we found that system is in hang state --


if u run any command at os level taking long time
**reboot -p

restart your sap system


-- su - sisadm

sidadm> stopsap R3
cleanipc instance number remove
example --> cleanipc 00 remove
(it will remove hanged memories )

if any services are still running , you have to kill manuvally.

ps -ef | grep dw
ps -ef | grep sapsid

kill -9 pid
sidadm>startsap R3

11) table space utilization is full


psapsr3,psapsr3db -- brootls -- space management --
add the data files to sap table spaces.

12) file system utilization is above the threshold value --


example -- /usr/sap
i have deleted the unwanted files or i have moved those files to other
location or co-ordinated with os team to increase the volume.

** Background job

scheduling - sm36
monitoring - sm37 ( take the long running and cancelled jobs).

note : 3rd party tool - redwood tool.

** lock entries -- sm12


if it is more than a day ( 24 hours) , take the user permission and
delete it.

** failed update records -- sm13


update activate / deactive - sm14.

sm14 (update mechanism is in active state or is in in-acitive need to


check ?) , oraarch direcotry full ,
table space utilization is full, is there any lock entries ?

**** system logs -- sm21

license experice , in correct credentials use ,,


n no of sessions open , update failures , st22 dumps , tcode terminate

*** spool -- sp12 , spad , snro ( number range objects- 32000- 99999)

*** access keys -> developer keys , object access keys - smp.

*** installtions

ECC 6 , EHP 7 Installation.

Required dvd's ( downloaded from market place)


instllation dvd,kernel dvd, SWPM software , master dvd , export dvd's , language dvd's.

post steps:
SICK/SM28 - Is sap have any issues?
SLICENSE -- applying license
RZ10 -- importing sap profiles from os level to sap level
SE06 -- CTS CONFIGURATION
STMS -- configuring trasport management system.
SM36 -- STANDARD BACKGROUND JOBS
DB13 -- DB BACKUP'S Schedule
SM59 -- RFC'S connections
BD54 /SALE -- LOGICAL SYSTEM CREATion
SCC4 -- CLIENT CREATion
SGEN -- PROGRAM COMPILER
SMLT -- NEW LANGUAGE INSTALLATION
OPERATION MODE ( RZ04,SM63,RZ03 )
SU01 -- USERS CREATION
SCCL -- LOCAL CLIENT COPY FROM MASTER CLIENT 000 TO
BUSINESS CLIENT - 100.

** usr administration -- su01 , su10/ewz5, pfcg ( role)


authorization ( su53 and su56)

*** support packages --> spam


spam/saint version -- 740/45 740/60

sap_basis
sap_abap patch level 14 to 15.

** kernel -- 2 files database dependent and db independent.

kernel -- 741 ( 100 to 300 patch number increase)


721

You might also like