bcquestion

12
 What is private mode? When does user switch to user mode?  Private mode is a mode where the heap data is getting exclusively allocated by the user and is no more shared across the system. This happens when your extended memory is exhausted.  What is osp$ mean? What if user is given with this authorisation?  OPS$ is the mechanism the <SID>adm users uses to connect to the database .  Why do you use DDIC user not SAP* for S upport Packs and SPam? Do _NOT_ use neither DDIC nor SAP* for applying support packages. Copy DDIC to a separate user and use that user to apply them. Can you kill a Job?  Yes - SM37 - select - kill If you have a long running Jo b, how do y ou analyse?  Use transaction SE30. How to uncar car/sar files in a single shot?  on Unix: $ for i in *.SAR; do SAPCAR -x vf $i; done  When we should use Transactional RFC ?   A "transactional RFC" means, that either both parties agree that the data was correctly transfered - or not. There is no "half data transfer".  What is the use of trusted system. I know that there is no need of UID and PWD to communicate with partner system. In what situation it is good to go for trusted system? E. g. if yo u have an R/3 system and a BW system and don't want to maintain passwords. Same goes for CRM and a lot of other systems/applications. Let me know if my understanding below is correct:  1) By default the RFC destination is synchronous  2) Asynchronous RFC is used incase if the system initiated the RFC call no need to wait for the response before it proceeds to something else.   Yes - that's right. But keep in mind, that it's not only a technical issue whether to switch to asynchronous. The application must also be able to handle that correctly.  Which table contains the details related to Q defined in SPAM? Is there a way to revert back the Q defined? If yes, How?  There is a "delete" button when you define the queue. If you already started the import it's no more possible since the system will become inconsistent.

Upload: ramesh-natarajan

Post on 07-Apr-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

8/6/2019 BCQuestion

http://slidepdf.com/reader/full/bcquestion 1/12

 What is private mode? When does user switch to user mode? 

Private mode is a mode where the heap data is getting exclusively allocated by the user and is no moreshared across the system. This happens when your extended memory is exhausted.

 What is osp$ mean? What if user is given with this authorisation? 

OPS$ is the mechanism the <SID>adm users uses to connect to the database .

 Why do you use DDIC user not SAP* for Support Packs and SPam? 

Do _NOT_ use neither DDIC nor SAP* for applying support packages. Copy DDIC to a separate user anduse that user to apply them.

Can you kill a Job? 

 Yes - SM37 - select - kill

If you have a long running Job, how do you analyse? 

Use transaction SE30.

How to uncar car/sar files in a single shot? 

on Unix: $ for i in *.SAR; do SAPCAR -xvf $i; done

 When we should use Transactional RFC ? 

 A "transactional RFC" means, that either both parties agree that the data was correctly transfered - or not.There is no "half data transfer".

 What is the use of trusted system. I know that there is no need of UID and PWD tocommunicate with partner system. In what situation it is good to go for trusted system?

E. g. if you have an R/3 system and a BW system and don't want to maintain passwords. Same goes forCRM and a lot of other systems/applications.

Let me know if my understanding below is correct: 1) By default the RFC destination is synchronous 2) Asynchronous RFC is used incase if the system initiated the RFC call no need to wait forthe response before it proceeds to something else. 

 Yes - that's right.

But keep in mind, that it's not only a technical issue whether to switch to asynchronous. The applicationmust also be able to handle that correctly.

 Which table contains the details related to Q defined in SPAM? Is there a way to revert back the Q defined? If yes, How? 

There is a "delete" button when you define the queue. If you already started the import it's no morepossible since the system will become inconsistent.

8/6/2019 BCQuestion

http://slidepdf.com/reader/full/bcquestion 2/12

 What is a developer key? and how to generate a developer key? 

The developer key is a combination of you installation number, your license key (that you get fromhttp://service.sap.com/licensekey) and the user name. You need this for each person that will makechanges (Dictionary or programs) in the system.

 What is XI3.0 ? EXPLAIN XI = Exchange Infrastructure - Part of Netweaver 2004. 

SAP Exchange Infrastructure (SAP XI) is SAP's enterprise application integration (EAI) software, acomponent of the NetWeaver product group used to facilitate the exchange of information among acompany's internal software and systems and those of external parties. Like other NetWeavercomponents, SAP XI is compatible with software products of othercompanies.

SAP calls XI an integration broker because it mediates between entities with varying requirements interms of connectivity, format, and protocols. According to SAP, XI reduces integration costs by providinga common repository for interfaces. The central component of SAP XI is the SAP Integration Server, which facilitates interaction between diverse operating systems and applications across internal andexternal networked computer systems.

How to see when were the optimizer stats last time run? We are using win2k, oracle 9,sapr346c. 

 Assumed DB=Oracle

Select any table lets take MARA here but you should do the same for MSEG and few others to see whetherthe dates match or not.Run the following command on the command prompt:-

select last_analyzed from dba_tables where table_name like '%MARA%';

This gives you a straight answer .Else you can always fish around in DB14 for seeing when the optimzer

stats were updated.

1.)We are running SAP release 4.0B using the 620 GUI. By default, my list, save, local file, directory isC:SapWorkDir. How do I change this to something else? If I click on Options there is a directory for thelocal data area, which looks like the place to change the directory, but that does nothing. There must be a way to change this.

Use transaction SO21 to maintain the PC local directory. Or, run the ABAP program (via SA38 or SE38)RSSOPCDR.

2.)I would like to know which users have access to particular transactions. Is this possible?

 Yes. There are several ways.

I think the easiest one is for you to run transaction /nSUIM. In this transaction (User InformationSystem), drill down to:

Infosystem authorization -User -Users by complex selection criteria -By transaction authorizations

Finally, enter the transaction in question and execute.

If you are running R/3 4.7, you can also run transaction /nPFCG.

8/6/2019 BCQuestion

http://slidepdf.com/reader/full/bcquestion 3/12

3.)I want to install SAPGUI into 50 machines. Can I do it from the server by installing the SAP installationserver? If so, how?

Go to the ³Knowledge Corner´ section and look for it under ³SAPGUI 6.20 for Windows´. The steps are basically the same for SAPGUI 6.40 ±if you are installing that version.

Once you have set up the server you can use SAPadmin to create custom packages and install the clientsoftware remotely.

4.)I¶d like to know if we make client copy today, will the data will be copied to another client today as well?Suppose after one week I want to copy the rest of the data to the same client. Will I have to copy all theclient data and overwrite it, or do I have an option to copy only one week¶s worth of data and update it?

 A client copy overwrites the target client. The only exception is the user master records (SAP_USER copy profile). But, you cannot just copy a week¶s worth data using SAP standard tools. You need to use ALE totransfer the data you want or use third-party tools for that.

5.)I have a problem with my server. When I start the server the dispatcher (disp+work.exe) is gettingstarted, but then it¶s stopping. I am using R/3 4.6B. Its sysid = DEV and the OS = 2003server.

This could be due to a number of reasons. My best recommendation at this time is to examine thedeveloper tracer.

 Within the SAP MMC, right-mouse click on the instance name and choose developer traces from the drop-down menu. There, choose to examine the file dev_disp, dev_ms and see if there are any dev_wpX filesexist.

 Also, make sure that the system profiles exists under usrsapsysprofile. Check that the services filecontains the appropriate entries (example: sapMS xx).

6.)Can we make the WPs changes in operation mode effective immediately by force? One of our

consultants said that it is possible through a transaction.

 Yes. It¶s possible via transaction RZ03.

Choose the instance and use Control -> Switch Operation Mode.

7.)Users are complaining that the SAP system shows a hour glass for a long time at the time of logon andthey aren¶t able to log on to the system. How can I troubleshoot this problem?

This is a symptom of busy dialog processes. Use one of these tools to find out the status of the work processes: dpmon.exe at the OS level (part of the R/3 kernel), MMC and SM50 (Work Process Overview).

 Also, check the CPU and other system resources via ST06 and using Performance Monitor at the OS level.

8.)I have a stand-alone computer for which I forgot the user and password for log in.

Is there anyway I can log in to it?

 Yes. This requires you to go to the database level, though. I don¶t know what RDBMS you have (MSSQL,Oracle, MaxDB, etc.). But, really all you have to do is to delete the SAP record in table USR02 for client100. After that, SAP will let you log in as SAP with password PASS.

8/6/2019 BCQuestion

http://slidepdf.com/reader/full/bcquestion 4/12

9.)Our SAP file system is filling up because initially it was defied too small. What are the non-requiredfiles that can be deleted from the SAP system? We are using HP-UX NetWeaver2004s on an Oracledatabase.

The files that can be deleted are mentioned below.

1. Offline Redo log files

Backup them and then delete

2. Old spool and log files

They are not necessary for R/3 functions and should be deleted regularly by scheduling a periodic batch job.

3. File name ³CORE´ (Unix only)

The R/3 System work directory (e.g. /usr/sap/c11/D00/work ) often contains a file called µcore¶ from

previous program terminations. This file may be deleted at any time.

4. Old ABAP/4 trace files.

Use Transaction SE30 to delete the files

5. Old output requests

They are stored on the data directory as files SP*.

Remember that deleting these files is not a permanent solution. You should increase the file system sizes.

10.)It is a very common misconception that ³sequential reads in SM50 means that a full table scan isexecuted and an index is not used´. The correct definition/concept is:

Direct read

The term ³Direct read´ refers to accesses in which a maximum of one line is returned by the database.This includes summarization queries such as SELECT COUNT and fully-qualified primary key accesses.

Sequential Read

 A ³Sequential Read´ refers to all other read database accesses, in which there may be more than one linereturned. It is true that the term ³Sequential read´ is a little deceptive since it implies that blocks arealways read sequentially (as in a full table scan). In reality, however, when you perform a trace on these

queries you will see that index is used in most cases.

So, ³Direct read´ and ³Sequential read´ in SM50 are worthless for a performance analysis. It only showsthat the processes are running and processing one of the queries directed at the database interface.

For expensive SQL statements analysis, ³Reads/User Calls´ value (TCODE BACOCKPIT or ST04OLD) isan indication. If this value is above 15, the SQL statements should be checked in detail.

8/6/2019 BCQuestion

http://slidepdf.com/reader/full/bcquestion 5/12

11.)My admin user ID has been locked out. Is there a table I can update in Oracle to reset the flag andenable myself to log in?

Select all entries of table USR02 where µUFLAG¶=128. These users are locked by reason of incorrectlogons. µUFLAG¶=64 will give you the users that are blocked by Administrator. Set µUFLAG¶ to 0, to unlock  your account.

12.)Why are transport requests classified into workbench and customizing? What does this classificationindicate?

 All customizing changes (changes to SAP functionality) are collected in customizing requests. Changes tothe SAP repository and data dictionary (customers development or changes to SAP standard objects) arecollected in workbench requests.

 Ask him/her to describe how SAP handles Memory Management? 

ST02 / ST03 In general via table buffers, you could go into the whole Work Process, roll in, roll out, heap(private) memory, etc. however just as a Unix or DBA admin would know, is you look this up when neededfor the exact specifics.

 Ask him/her to describe where they would look at the buffer statistics, and what steps they  would use to adjust them? 

ST02, RZ10

 Ask him/her to describe how to setup a printer in SAP or where they would look toresearch why a user/users can not print? 

SPAD, SP01, SM50, SU01

==============

Keep the interview to 3 general areas: 

DB (what is the directory structure/ where are the files kept oracle alerts, init.ora, redo logs, archive logs,etc.; possibly some basics stuff like what to do "high level" when the archive directory fills up, etc. Keepthis minimal as from a SAP basis admin point of view Oracle is just a big giant bit bucket and SAP canhandle to the daily monitoring and maintenance itself.

OS (what is the directory structure (what is NFS mounted and why / where are the message filescontained for the OS error log; basic commands for the OS eg. Unix, mv, cp, ls, grep, ps-ef, df-k, etc. Thatis pretty much all the SAP basis admin will need to know. Client/Server architecture.

SAP (what is the directory structure / where are files located ie. profiles - start, instance, default (what arethey and what is the order of precedence) start is for startup only, instance is the first to be read then thedefault and if a given parameter cannot be found in the instance or then the default then the internalstandard is taken from RZ10 setting.

 You can ask them to ran Transaction codes to you. Menus constantly change so go with T-codes. Heshould have a good knowledge of the following areas; transports, user / print / spool / batchmanagement, monitoring, client tools and copies, support packages, kernel patches, workload analysis,Roles and Security, etc.

8/6/2019 BCQuestion

http://slidepdf.com/reader/full/bcquestion 6/12

The standard list of t-codes is pretty much

SM50, SM51, SM66, SM12, SM13, SM21, DB01, DB02, DB13, ST01, ST02, ST03, ST04, ST05, ST06, SU01,SUIM, PFCG, SCC4, SE01, SE09, SE10, SPAM, SM35, SM36, SM37, SPAD, SP01 SCC3, SCCL, SCC9 thisare pretty much you heavy hitters for monitoring and support.

I would ask in general how he would troubleshoot the following:

- User cannot connect to SAP check SAP logon settings, ping the host, check message server, check dispatcher, etc.

- User cannot print check SAP user setup, check SPAD, check spools, check unix queue or print queue atthe os level, etc

- System seems slow 

check SM66, SM51, SM50, SM21, ST06, ST03, SMLG, AL08 etc.

Some important things to remember is to ask not get specific to your installation or specific system setupas all SAP instances are different, keep your question to general topics and general answers.

The most important thing to notice when choosing a candidate is not how they parrot back answers to you, but if they cana) think for themselves and b) they actually like to and will keep on learning as no one knows it all andc) they have a good background and willingness to perform analysis and will keep on digginging until theanswer is found or until their resources are exhausted and then they will pull in what is required to figureit out.

1.What is the difference between System Trace, Developer Trace and System Log?

2.Incase, My sap system was down (Users are unable to login to sap system) How to analyze thisproblem?

3.How to import the transport request at operating system Level? When importing a transportrequest, what are the common errors you faced?

4.For example, my sap system having patch number was 8.I want to apply patch 9 and 10.Mistakenly I will apply the patch directly 11 without applying 9 and 10.How sap system will recognize thisproblem?

5.One user unable to execute one t-code, that is authorization object is missing, How to add thisauthorization object to user?

6.for example, consider a client 800.This client having 75 users. But 15 users account was locked. I wantto unlock this 15 users account at a time. How to do?

7.what is the use of parameter tab, and personalization tab in user master record? What is the use of account id in logon tab?

8.how to change the number of work process at OS level? How to analyze the status of work process at OSlevel?

8/6/2019 BCQuestion

http://slidepdf.com/reader/full/bcquestion 7/12

9.For example, my sap system having 4 application servers. How many enqueue work processallowed for this sap system? 

10.What is the latest version of sap kernel? Can u give me the list of kernel versions?

11.what are the prerequisite for before applying support packs? Shall I apply sap basis patch to all the

system, like BW, ABAP, HR, etc.

12.For example, I want to transfer 50GB of data from DEV to Quality. I am using client export and importmethod; can you tell me how many hours take for client export and import? And also How many hours take for remote client copy ?

13.How to perform a client import and export at OS level?

14.What is the use of reference and service user in sap?

15.For example, I scheduled one ABAP program as a background job, But it was running 10days and above. How to analyze this problem?

16.How to take a sap backup using BRTOOLS explain the procedure? When using BRTOOLS, which backup device, you are used (Drive/tape)?

17.When applying a support pack to sap system. Can you tell me what are errors you are faced?

18.In CUA, I am unable to changes from DEV to QAS or PRD.How to troubleshoot this problem?

19.In CUA, What is the use of distribution model, partener profile, BAPI?

20.what is the user group and use in sap?

21.Example you have 6 sap application servers, I want to monitor all the application servers. How to

configure a CCMS?

22.what are the configuration details of ECC6.0?

1.Server ConfigurationèHDD, RAM, OS, DATABASE.

2. System Configurationè HDD, RAM, OS, DATABASE.

23.What are things we have to monitor in ST02, ST06, ST04, and ST03?

24.what is the name of your output device, device type in printer?

25.Can you tell me the path in service market place for download support packs and kernel?

1.If your SAP landscape is composed of a DEV server and PRD server and you need to

transport a change request from DEV client 111 to DEV 131 (i.e. transport in the same

server). How can this be accomplished? 

Transaction SCC1

8/6/2019 BCQuestion

http://slidepdf.com/reader/full/bcquestion 8/12

2. We have recently experienced some internet outages caused by our ISP. Although we

have resolved our ISP problems, the users refuse to believe that losing the internet

connection was to blame for the SAP problems. How can we ensure that this was an

internet problem and not an SAP problem? 

Open a maintenance window, connect to the machine and kill the ISP connection and see if this kills yourconnection. Repeat at will until they believe that the ISP was the problem.

3. What is an OK code? What are thedifferences an OK code to a T-code? 

 An OK Code is used by a program to execute a function for example after a pushbutton has been clicked. A 

transaction code is a ³shortcut´ that helps a user run a program. 

4.Where are t-code name and program values stored? How can I find a list of all the t-codes

in the SAP system? 

 You can use transaction st11 to view Table TSTC. You can define a new t-code using transaction se93.

5.How can one disable the ³Import All´ button on STMS for the queues? 

Login to your Transport Domain Controller. Run STMS->Overview->System.

Choose the System you want to disable import all. Go to Transport Tool tab. Add/Create Parameter

³NO_IMPORT_ALL´ set its value to 1.

6.What are the different types of work processes in R/3? 

 A:Dialog (D), Update (U), Enqueue (E),Background(B), and Spool(S).

10.We want to install another new instance on same development box. Is this possible?

 What are some of the important considerations?

 A: Yes, it is possible to have more than one instance on a single box. The key is to use a different SID and a

different system number. It is also important to note that for a 64 bit

SAP kernel, SAP recommends a 20 GB swap space for 1st instance and 10 GB per each additional instance.

11.What is the difference between a client copy and client refresh?

8/6/2019 BCQuestion

http://slidepdf.com/reader/full/bcquestion 9/12

A: Sometimes these are the same, For example, if you are performing a copy to an existing client for the

express purpose of updating the data, then it is called Client Refresh. If you are copying to a newly created

client then it is more appropriate to say ³client copy.´

12.What is the purpose of table T000?

 A: Table T000 contains a list of defined clients, which you can maintain with transaction SCC4.

13.What is the purpose of table USR02?

 A: This table stores User IDs and passwords

15.How do you create a password exception list?

 A: Place the answers in table USR40

15. What is the purpose of table TADIR?

 A: Table TADIR contains object directory entries

16.What is the purpose of table TDEVC?

 A: Table TDEVC contains development classes and packages.

17.What are the transaction codes associated with changing requests, request headers, orrequest object lists?

 A: The following tables hold information about change requests.

E070 Change request headers

E071 Change request object lists

18.How can you get a list of the users with development access on a particular system?

 A: Table DEVACCESS

19.Where can you find a list of object keys included in a transport?

 A: E071K Object keys contained within transports

8/6/2019 BCQuestion

http://slidepdf.com/reader/full/bcquestion 10/12

20.How can you tell if a transport entry is in the process of being imported?

 A: Check table TRBAT

21.How can you find a list of objects that have been repaired in the system?

 A: ADIRACCESS List of repaired objects and theiraccess keys

22.How do you Disable Multiple Logins in the Same Client?

 A: To disable multiple user logins within the sameclient implement this parameter in the instance profile:

login/disable_multi_gui_login = 1

If you do not use this parameter in your system, users have the ability to ignore the warning window at thetime they try to login to the same client. Activating this parameter in your system will make you look good

if you get audited!

How about exceptional logins?

In case you¶re wondering how to allow multiple logins for certain key users you can implement

parameter login/multi_login_users. You can list the user IDs that should be ignored if the parameter

above is active in your system.

23.How can you View Locked Transactions?

 A: As you know, you can lock/unlock transaction codes via SM01. But, how do you go about viewing the

transactions that are locked in the system? You need to look in field CINFO, table TSTC. Within SAP, you

can use either SE11 or SE16 to browse the table contents. Make sure you enter ³A0 as the ³HEX01 data

element for SYST´ starting value and ³A 9 as the ending value. This will list all the transactions locked in

the system.

Note: The CINFO field description is ³HEX01 data element for SYST´.

24.What is the difference between TP and R3TRANS

 A: TP controls the process and calls several tools, like r3trans but also e.g. DDIC-Activation.

25.Is there a difference between user DDIC and SAP_ALL/SAP_NEW ?

8/6/2019 BCQuestion

http://slidepdf.com/reader/full/bcquestion 11/12

A: Yes, DDIC is hard coded to do some things other IDs cannot. But you should be able to activate tables

in SE11 using a SAP_ALL user.

26.If you receive an ³error occurred during installation´ message when trying to install the

DBInstance (SAP DB) what can you do to fix the problem?

 A: Use shorter pathnames.

27. Is it possible to install ECC 5.0 as a test system and not production, without installing

solutionmanager?

 A:During the installation you will be asked for akey, which can only be generated by the solution

manager.

28.Is there a way to perform SAPGUI 640 roll out using a centralized server?

 A: Look for SAPADMIN and SAPSETUP on the installation CD. Then, use a utility such as

Microsoft¶s SMS to distribute this program or use a login script to call the SAPSETUP program.

29.If SAPconsole telnet screen size is too big how do you make it smaller?

 A: Go to the control panel, and then to the SAPconsole administrator and general tab.

30.Is there a way to find out what was entered in a particular transaction code screen?

 A: No, but you can analyze tables associated with the transaction code and see if there is a username field

that traces what this user has done.

What does "virtualization" mean?

The term ?virtualization? in the context of HA refers to a kind of abstraction performed by the cluster

software. The software creates a virtual host that owns a virtual hostname, virtual disk, and so on.

?Virtual? in that manner means that such resources cannot only be owned by one physical machine but by 

all of them. Which node currently owns or runs a resource is managed by the cluster software. Related?resources? are usually grouped to logical containers (for example Groups on MSCS or packages on

HPSG) that can perform failovers independently.

What is ASCS/SCS?

8/6/2019 BCQuestion

http://slidepdf.com/reader/full/bcquestion 12/12

 With SAP NetWeaver 04 Java, the Message Server and the Enqueue Server are separated from the Central

Instance. These two services are grouped within the SAP Central Services Instance (SCS) as services.

From NW04s the ABAP Central Services can be also separated from the Central Instance. Each stack,

 ABAP and Java, has its own Message Service and Enqueue Service. For ABAP systems the Central

Services are referred to as ASCS, for Java systems the Central Services are referred to as SCS. The ASCS

and the SCS are leveled as SPOF and require a High Availability Setup therefore. If the ASCS is integrated within the ABAP Central Instance (standard in NetWeaver 04) the Central Instance of the ABAP system

needs a HA setup also.

What is an "Enqueue Replication Server"?

The Enqueue Server contains the central locking table for the SAP cluster. Besides database locks it also

consists of infrastructure locks of system wide objects. It is therefore necessary to secure the locking table

in case of a Standalone Enqueue Server failure. The SAP Enqueue Replication Server provides a

replication mechanism for the Enqueue Server by holding a copy of the locking table within its shared

memory segment. After a failure of the Enqueue Server the locking table can be restored this way. Since

SAP NW04 SP15/ NW04s SR1 an automated installation of the Enqueue replication server is available for

 Windows environments. UNIX/ Linux installations are handled by SAP hardware partners.

Note: you can only protect Stand-Alone Enqueue Servers with an Enqueue Replication Server. The

standard Enqueue Server in an ABAP CI (Enqueue work process) cannot be protected by an Enqueue

Replication Server.

What do "shared nothing" and "shared all" mean?

The term ?shared nothing? and ?shared all? specifies a type of architecture within an active-active cluster.?Shared nothing? Means that every cluster node contains its own data partition, which implicates that

these kinds of setup are not highly available due to the fact that in case of a failure the data of the failed

node is no longer available. In a ?shared all? Environment the different cluster nodes that run the same

service share a data partition and access the data concurrently.

These options have to be supported by the cluster software. For example, MSCS does not support the

?shared all? option.

What is the difference between Enqueue Server and Standalone Enqueue Server? 

Since NW04 Java the Enqueue Server and the Message Server for a J2EE Engine are standalone services

hosted by the SAP Central Services instance (SCS). The difference between a Standalone Enqueue Server

and Enqueue Service is therefore only formal: The term ?service? refers to the Enqueue as part of the SCS;

the term ?server? refers to the Enqueue as process, either enserver (.exe) or the enqueue work process

 within the ABAP stack. From NW04s the Enqueue Server and the Message Server are also implemented

as Services within the ABAP Sap Central Services Instance (ASCS).