Monday, February 6, 2012

What are most important sap Basis interview questions

1.What are common transport errors?

   Return code (4) indicates imported ended with warning.
1. Generation of programs and screens
2. Columns missing and Rows missing.

Return code (8) indicates not imported ended with error
1. Syntax error.
2. Program generation error.
3. Dictionary activation error.
4. Method execution error.
Return code (12) indicates import is cancelled.
1. Import is cancelled due to object missing.
2. Objects are not active.
3. Program terminated due to job ?RDDEXECL? is not
Return code (16) indicates import is cancelled.
1. Import cancelled due to system down while importing.
2. Import cancelled due to user expires while
3. Import cancelled due to insufficient roles.

2What SAP tools you use to install SAP patches?

ans.SPAM is the sap tool used to install sap patches
But if patches is less then 10MB at that time you will
Run transaction SPAM , if patches greater then 10 MB at that time
 you hav to UN car by using SAPCAR File name and after UNCAR
 put the file in /user/trans/directory.

3.what is the standard program to check the consistency of partner profiles?


4.How to know whether a system is Unicode or non Unicode?

Through sm51 t-code we can see whether it is unicode or not.
in sm51 t-doe we can find the release notes button in the application tool bar
 if u click on that u can see the total information like database, os, kernal version and uniicode or non unicode.
Go System >click on Status
it will give the server information

5.How to schedule background jobs at OS level?

Invoke a sapevent using a OS script and then have
a SAP background job set to run on a sapevent.
I say this assuming Unix and a job in crontab.
 I would guess the same thing could be done on a Windows system.
sapevt TRIGGER_NAME -t
pf=d:usrsapDEVsysprofileDEV_DVEBMGS00_SVRNAME nr

6.How to monitor user accessed transactions (Tcode) day wise?

The transaction codes to monitor user accessed transactions are as follows :
ST01, ST05. By putting the trace on we can find what are the various activities
 performed by the user along with the missing authorizations of a particular user.

7.What is the importance/need of Virtual system?

The significance of Virtual system is that . Without VR all the request generated buy user will be local and local request cannot be impoted / tranported to other system .
so always create a VR system so that all the developemnt can be transported to the onther system .
wnen u will create VR system u can c trasport at OS level cofile /data file .

At implementation time we have only DEV system and QUA and PRD will not be installed.
So in order to configure the transport system we use virtual systems specifying
QUA and PRD host name and <SID>.Please do remember when u configure the QUA and PRD
the host name specified in virtual systems should be same for real systems
so that domain controller identifies the system in transport domain.


9.What is Consolidation route and delivery routes?

Only in Consolidation route the objects can be changed
 and we can transport to one system to another system
but in Delivery route changing the object is not possible
and we can't transport it. Simply we can say objects are change
and transport is possible in Consolidation and it is not possible in Delivery Route

10.How you will do client copy? If SAP * user is not available at all in your system then how u will do client copy?

Just goto RZ04 and increase the number of background processes in the specified operation mode.We do a system copy using SCCL transaction.

If SAP* is not available, login at OS level as SIDADM and sqlplus /nolog connect /as sysdba;
delete sapsr3.usr02 where mandt='<client no.>' and
goto /usr/sap/SID/SYS/profile and change the default profile.
Add the parameter ogin/no_automatic_user_sapstar=0
goto RZ10,select default profile and extended maintenance and change.
add the parameter ogin/no_automatic_user_sapstar=0

there will be no chance of having SAP*.It may be locked.If u delete SAP* from database then automatically SAP* is created with password PASS.

U can edit the default profile and add the parameter login_no_automatic_user_sapstar=0

and restart the server...

You can also do it from SAP level if u have a admin authorization user...

login with that user and goto rz10 and edit the parameter login/no_automatic_user_sapstar=0 and restart the server.

After changing the value the user SAP* will be changed to PASS.

Using that u can login into new client and can do client copy How you will do client copy? If SAP * user is not available at all in your system then how u will do client copy?

11.Where to check for system logs of Sap application at os leve

The system Logs of SAP Application at OS Level can be
checked at SAPMMC -> SAP Systems -> SID -> Syslog.

12.How many transport request types are there?

Four types of transport requests
1. customizing request
2. Workbench request
3. transport of copies
4. relocation

13.What is the difference between Synchronous and asynchronous transports?
Dialog or batch process is blocked until import has ended in synchronous transport.
Dialog or batch process is released after import is started in asynchronous transport.

Two programmer(Threads) at a Same Time is call synchronous and Two Programmer At different time is call Asynchronous.
example: audio and Video at Same time is synchronous audio and Video is different time is Asynchronous.

14.How to define Logon groups? And what is Logon load balancing?

Logon group are set using SMLG transaction.

Load blancing:
During the request message server check for the least loaded instance in the group and route the request to that instance.
If instead of logon group we specify the instance then the request is routed to that instance only. Means no load balancing occur in this case.

15.What are the .sca files and their importance?
.sca stands for SAP Component Archive.

or .sda for SAP deployed Archive
These two are same and it use to deploy the java components,patches and other java developments in the form of .sca,.sda, .war and .jar.

16.How can i check the user login details activity in a month.

Through SM20 we can check the user login details.

17.How can we creat a Z authorization object and what the procedure and the T-code for the same?

Tcodes for Creating z authorisation onject - su20,su21.
su20 - create the authorisation field list.
su21 - Create a object class,include the added
authorisation the tcode assignment and assign to the needed tcode.
Go to the User profile and add the object manually give the authorisation .

18.How to transport users from one client to another?
1. Goto T-code SCC1
2. Choose the Source client from where the Users to be
transferred to other client
3. Chose the SAP_USR profile
4. Transport request NO. is generated
5. Release the Transport request and export
6. Import the transport request into target system

1)Use the tcode sccl
2)Enter all the required details such as source client and the profile (SAP_USR).
3)Then schedule it in the background(Give some time if necessary so that there is no performance issue).

19. How to install multiple Central Instances on the same physical machine?

Create a separate the filesystem and SAP mount points for each CI under the folder <SID> for which installation is going to be done and start the installation

to add multiple instance just we have to give different instance no

20. I have t-code su01 in crm and r3 in a financial org.i can create sap ids , unlock /lock sap ids , assign t-code, roles & assignment to users . what else can be done

SU01--1.You can reset the passwords to the users.
2.Lock/Unlock th epasswords
3.Role assignemnts/Deassignments
4.You cannot add transactions to user,only we can add
transaction to role
5.we can restrict the validity period to roles

In Su01 we can also:
a).Delete an existing user.
b).Create a new user.
c). Create a copy of an already existing user

We can also.

1) Add User Authorization at Field Level.
2) Add User Authorization at Customized Object.
3)We can create Contractual User etc.

21.What is the procedure to lock a client?

There is no direct tcode to lock a client. the easiest way to lock a client is
1. run tcode SE37
2. type function module name - SCCR_LOCK_CLIENT
3. enter the Client No.
4. execute the function module.

To Lock the client, there is another way,

Goto SCC4
Give the Client Number
You will have a check box "Lock Client"
Tick it and click ok.

The client will be locked.

22.What are homogeneous copy and heterogeneous copy and how you will do that? how to impot the OSS notes? What is OCS how to apply OCS patches? ABAP service pack level can found in SPAM, but how to find the java stack level

Homogeneous copy is done when the source and target system are on the same OS and Databse.
Heterogeneous Copy is done when the source and target system differ either in OS or Database. Any ONE difference needs a heterogeneous copy.
Homogenous copy is done by export/import technique.
Heterogenous copy is done by system migration. It is same as export/import except that it will ask for target OS and DB type and needs a key to be entered.
OSS notes are applied using T-code SNOTE.
Java stack level can be found at<system no.>00
goto system info to find the java stack level.