Most Recently Asked Interview Questions
Most Recently Asked Interview Questions
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.
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
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.
let me know what are the POST INSTALLATION ACTIVITIES , You have done ?.
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.
ps -ef | grep dw
ps -ef | grep sapsid
OR
if os is windows
services.msc -- listener,saposcol,sapservice sid ,oracle service sid
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.
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 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 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.
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).
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 apply support packages and what are the support packages pre requisites ?
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
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.
DB Refresh activities
*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
*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;}
****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
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)
PI - SXMB_ADM ( Integration engine monitoring) --=> Maintaing connection between ECC and PI
SXMB_Moni --> message flow monitoring
Sxmb_ifr --> communicational channal maintanance
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
Operating system - Linux ( Red hot linux 6.2 ) , windows ( server 2008)
sidadm>cdpro
or
sidadm>cd /usr/sap/SID/SYS/profile
Java
java system not coming up ,logs ?
OS Level monitoring ?
With sidadm
sidadm>cdpro
or
sidadm>cd /usr/sap/SID/SYS/profile
SSO Configuration
IRJ/PORTAL.
URLs ? PORT NUMBERS?
URL - http://hostname:5<instance number>portnumber
example - http://hostname:51200
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;".
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
Resume explanation :
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)
ps -ef | grep dw
ps -ef | grep sapsid
OR
if os is windows
services.msc -- listener,saposcol,sapservice sid ,oracle service sid
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:-
sidadm> stopsap R3
cleanipc instance number remove
example --> cleanipc 00 remove
(it will remove hanged memories )
ps -ef | grep dw
ps -ef | grep sapsid
kill -9 pid
sidadm>startsap R3
** Background job
scheduling - sm36
monitoring - sm37 ( take the long running and cancelled jobs).
*** spool -- sp12 , spad , snro ( number range objects- 32000- 99999)
*** access keys -> developer keys , object access keys - smp.
*** installtions
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.
sap_basis
sap_abap patch level 14 to 15.