Interview Question

43
1. Interview question 2. In BW which standard job you used daily? 3. Did you face any problem related to info cube while managing huge database? 4. How to unlock user at database level? Sql command 5. What is SAPROUTER? Did you configure it? How 6. What are the challenges you face and how you overcome that? - 7. System Refresh? From production to sandbox? same as system copy 8. If sap doesn’t connect with the database? What you will do? r3trans -d 9. If I need to change database parameter ? can I do that? Yes initsid.ora 10. Diffrence between oracle 10g and 0racle 9i? Computing grid controlled which works same as solution manager i.e it controls centrally the database. 2) Automatic Redo log 11. SLD keeps only server information and not user information. Moreover SLD keeps information related to SAP. LDAP keeps information regarding user as well as server. 12. DB Refresh same as system copy 13. CCMS alert agent role Agent need to be activated in each system, so that it will collect the information and

Transcript of Interview Question

Page 1: Interview Question

1. Interview question

2. In BW which standard job you used daily?

3. Did you face any problem related to info cube while managing huge database?

4. How to unlock user at database level? Sql command

5. What is SAPROUTER? Did you configure it? How

6. What are the challenges you face and how you overcome that? -

7. System Refresh? From production to sandbox? same as system copy

8. If sap doesn’t connect with the database? What you will do? r3trans -d

9. If I need to change database parameter ? can I do that? Yes initsid.ora

10. Diffrence between oracle 10g and 0racle 9i? Computing grid controlled which works same as solution manager i.e it controls centrally the database. 2) Automatic Redo log

11. SLD keeps only server information and not user information. Moreover SLD keeps information related to SAP. LDAP keeps information regarding user as well as server.

12. DB Refresh same as system copy

13. CCMS alert agent role Agent need to be activated in each system, so that it will collect the information and sends its to main server, so that you can see all the information at one place. Need to configure some file at each system.

14. Dynamic parameter name you change ---- rdisp/max_wprun_time , timeout, guitimeout

15. Static parameter - memory parameter related to work process EG em/intial_size_mb, abap/buffersize etc

16. How we can change parameter at database level dynamically. initsid.ora (static)Alter systemprofile parameter name scope = spfile;

17. DB level how we can work with redo log file check Notes (Alter commad)

18. Expensive SQl statement? how you will work to increase performance

Page 2: Interview Question

19. Source system restore in BW after client refresh eg Prd to Qa (Qa source sytem connection RSA1 need to restore) Read: What exactly happen in Source system creation

20. Portal: Garbage collection in portal ? how it works

21. solution manager: Did you work on report you can download or they will send you weekly

22. early watch alert activation

23. You check the version of the SAP kernel, tp, and R3trans. - sidadm> tp version

24. Is it possible at SAP level to check Developer trace25. Where you will check kernel level 26. What is MMC and what is function?27. Why SPAM is used for?28. I/o bottleneck where we can check ?29. T-code to add company name and address at SAP logon Screen30. RSPo0043 report used for spool deletion31. In portal SSO using Karbose used for encryption purpose (security reason)

What is the product that u used for SSO for portal?

What is the port # used while installing portal? 500<instance_nr>

How did u run R3 UP? How did u maintain Version of R3 up? For Upgrading R3 4.6c to Ecc6.0 Prepare.exe from Upgrade Installation master CD

How did u do SSO for portal? Using SAPlogon tkt or can using User mappingSPAU and SPDD. What have u done inside this t-code. Or how do u modify the dictionary objects and repository objects?Any objects that is under modificable condition will be displayed to adjust those by these tcodes So before applying patch, we make sure that all the programs/reports/objects are in active status i.e. nothing but not in modifiable condition

What is transport layer? Transport layer is use in Package which belongs to again particular client

Explain your system landscape? R/3 –BW-Portal

What is your client strategy? Ask for more information which server he is talking about and what exactly he means be this question.

Page 3: Interview Question

What r the interfaces u used to connect APO with R3 (u can use RFC)

How do u install APO? From Installation CD

What is SMICM? To monitor JAVA Engine or its called J2EE engine start/stop.SUIM PFCG- lot of questions.

What is an Activity group?

What do u do if u cannot connect to SAP (

What do u do if the object gets locked while applying support packs (release the object or activate the object again)

What do u do for SPAM itself before applying SP? Upgrade SPAM patch level

How do u apply JAVA stack? U have to read Java document for that. Will provide laterAbap stack? Nothing but your BASIS support pack stacks like SAP_ABAP Permission for SAPOSCOL (at os level sidadm 755)

What do u do if u see 70% hit ratio in ST04, (tune some memory parameter)

What is memory parameter? To tune memory for better performance

How do u manage? Using RZ10

How do u change the schema name password ? after system copy. Using BRTOOLS or SAPDBA

What is Agate and Wgate? In ITS (application gate for application servers, Wgate for server itself)

How do configure RFC. What is a trusted system? Read RFC chapter from help.sap.com

What type of TCP/IP u use for RFC? No type of TCP/IP ITS configuration? Its long notePortal configuration? Long note

How do u do kernal upgrades in Unix systems? Same as I said u in class

After adding systems in portal how do u connect the systems? U have to read this

chapter Upgrade- Downtime minimized or resource minimized? What do u do for that? Downtime minimized. U have to do some convesion , testing and backup

Refresh? Nothing but from Production data to Quality

Page 4: Interview Question

How do u configure CCMS? Using Rz20 and RZ21

What are the agents in CCMS? CCMS agents are nothing but agents runs on other SAP systems to provide the information to central monitoring system

What are the things that u know in Sol man? Will talk laterOther than installation?

When u start the startsap command in unix, it automatically starts DB. Username and password. How does it starts? Without username and password for DB. How does it get these info from DB. It uses the OS authenticated user which is ORA<SID>. Ora<sid> user is already authenticated by OS , so u don’t need the Password. This is done at setting a parameter at init<sid>.ora file which is already set during the istallation.

How often do u restore DB? Depends on Business needs. Again also depends on the size of the database. IF database size is <500 GB then we do client copy. If database size is >500 GB then we may think of DB copy. DB copy performed based on Business needs that is how much recent data they need. U can say either 3 months and 6 months once.

What is restoring DB? Its nothing but restoring whole database from Production or from SAP system backup files.

Which is better, resize or increasing no of tablespace.? Its better resizing or increasing the datafiles. You sholudn’t increase lot of tablespaces because u can assign one tablespace to one user and that user keeps all the data in that tablespace. And u keep increasing the tablespace size by adding/reszing the datafiles.

Split mirror type backup.Backup strategy?

System is slow? Check in SM50, ST06, SM37, ST04 , check file system /usr/sap, /oracle/<SID>/oraarch

Performance tuning? Lot of things

what change management you have followed? MKS change management. The day the change will move to production and its approval

What are the 2 major challenges that u faced during your experience?***

What is ESS and MSS?

What are the tools u have used in Java or portal?

How do you apply support packs for portal?

Page 5: Interview Question

How do you apply support packs for SQL server DB?

What is PAI and PBO?

How do you kill a WP?

How do you transport in Portal not in R3?

************************************************************************************************************************************************************************************************************************************************************************************************

Page 6: Interview Question

1. SAPGUI deployment You have been asked to deploy SAPGUI to several departments within an organization that uses Windows XP on their desktops. Not all departments need the same components (BW add-on, CRM addon, etc.). Additionally, you have been instructed to install "SAPGUI scripting" – but only in the IT department. What's the best course of action? a) Write up a step-by-step instruction sheet for each department and have the IT staff help you deploy SAPGUI following your instructions. `b) Use "SAPAdmin" to package each different department installation and either deploy SAPGUI remotely, or install it over the network. c) Copy the entire SAPGUI CD to a network share and install all front-end components on every computer.

--> C

2. Dispatcher The CIO wants to improve the system response of each SAP server, so he is thinking of adding more dispatchers and work processes. He asks you, "How many dispatchers can exist per application server (instance)?". a) 2 b) 1 c) 8 d) 16Ans: 1 3. Transports within the same system Developers in your organization are complaining that some customizing transports did not make it to their sandbox client (300). The project manager asks you to give him a report of all transports copied from the development client (100) to the sandbox client (300) for the past two months. How can you get this done? a) Query table CCCFLOW and produce a report for him. b) Use transaction SCC3 -> Transport Requests and produce a report. c) Find all your transport-related e-mails and filter for those asking to import into client 300. Then, produce a report for him.

--> A

4. LiveCache A server hosting APO and LiveCache was rebooted and your bosses are asking you to make sure LiveCache gets started. You have a connection to

Page 7: Interview Question

the APO instance through SAProuter. What transaction code can you use to start and manage LiveCache? a) LCACHE b) LC10 c) LICA

---> LC10 RSLVCADM (Report) liveCache Assistant

SAP liveCache technology is an object-based enhancement of the MaxDB database system and was developed to manage complex objects (e.g. in logistical solutions such as SAP SCM/APO)For solutions of this type, large volumes of data must be permanently available and modifiable. You can use SAP liveCache technology to represent data structures and data flows (such as networks and relationships) more easily and effectively.Unlike MaxDB, an optimally configured SAP liveCache database instance has all data that the database system needs to access located in the working memory

5. Client 001 in R/3 After a fresh installation of an R/3 system, a consultant deleted client 001 without telling anybody. The development team, who was going to work on client 001, is suggesting that you restore the database prior to the deletion. Others are suggesting that you re-install the system. What should you do if there no database backup available and this needs to be done as soon as possible?

a) Re-install the database instance. b) Have SAP do a system repair and lock it against client deletions. c) Re-create client 001 via SCC4 and carry out a local copy using client 000 as the source. 6. Changes to the SAP standard

---> c) Re-create client 001 via SCC4 and carry out a local copy using client 000 as the source.

True or False: Users with developer registration keys can modify any SAP object they want in the system without having to register each object at the SAP Support Portal -> SSCR. a) True b) False

Ans: FALSE - Only he can modify the object which is defined as modifiable. 7. SQL Server collation for SAP Web AS 6.40 What collation is required in Microsoft SQL Server 2000 for products based on the SAP Web Application Server 6.40 to properly sort Unicode data?

Page 8: Interview Question

a) SQL_Latin1_General_CP1_CS_AS b) SQL_Latin1_General_CP850_BIN2 c) SQL_Latin1_General_CP850_BIN

8. Default TCP port for message server The network administrators are making sure that only TCP and UDP ports are open in each server. They are asking you what port the message server service uses. What's the correct answer? a) TCP 3200 b) TCP 3299 c) TCP 3600 d) UDP 1434

---> c) TCP 3600

9. Kernel update True or False: It is necessary to stop both the SAP instance and database server before a kernel update. a) True b) False

---> TRUE

10. Transport Management System (TMS)

Page 9: Interview Question

What parameter needs to be implemented in TMS to enable Extended Transport Control? a) XTC = 1 b) ETC = TRUE c) CTC = 1

Ans: CTC = 1

1. Open the file TP_DOMAIN_DEV.PFL (located on your transport domain controller such as the DEV box. The file will be in usr/sap/trans/bin).

Edit with notepad for each parameter on each system:DEV/CTC = 0Change to =1

Next you need to create a target group before creating the transport route. (For More Infor see DOc ---Basis_ForumFAQ

11. SAPLogon entries in SAPGUI You want to deploy SAPGUI along with a default list of SAPLogon sessions to 25 users in your organization. Which of the following scenarios would work? a) Run a script that copies "saplogon.ini" to all 25 users' computers. b) Create a directory called "custom" in your FrontEnd Installation Server, copy the "saplogon.ini" containing the default session entries in the directory and deploy SAPGUI via SAPAdmin. c) Tell your Windows network administrator to create a group policy that downloads the "saplogon.ini" file into all computers within the organization. --ANS: DAS

12. Background jobs True or False: Background jobs with status "scheduled" are those that have been set with a start condition (date, event, etc.). On the other hand, jobs with status "released" are those that have been created but do not have a start condition, yet. a) True b) False

--- TRUE (Need To Check)

13. Database monitoring You're going on vacation and you need to train some of the IT staff on how to monitor database activity and performance. What transaction code would be very useful for them to know? a) DB01

Page 10: Interview Question

b) ST04 c) DB12 d) SBWP

--- ST04SBTA SAPMSSY2 Test background processingSBWP SAPMSSO0 SAP Business Workplace

14. SAProuter connections What command should you run to get a list of all SAProuter active connections? a) saprouter –l b) saprouter –v c) saprouter –c

Ans - a) saprouter –l

--> SAProuter followed by parameter "–l" lists all active connections. Parameter "-c" cancels a connection. Parameter "-v" (lowercase) does not exist.

15. Deleted RFC destinations An RFC destination from your production server to an e-commerce server has stopped working all of a sudden. You later find out that the RFC destination no longer exists. Where would you look to find out

who deleted it and when? a) Nowhere, because RFC deletions are not recorded anywhere. b) The system log (SM21). c) File dev_rfc0 at the operating system level

ANSWER: B The system log displays the user that deleted the RFC destination. There you can also find out the time when the deletion took place.

Can I apply support packages while users are online?

Answer : it’s a bad idea to start importing supporting packages in the development server when users are online. It’s always best to import support packages while the system is totally quiet. That is, there are no users on the system. It's very likely that they will get program terminations if they do work while support packages are being imported. To ensure consistency and to get better performance, I strongly recommend you import them in your development box after working hours.

16.How do you change the default directories? (FOR SAP GUI)

Page 11: Interview Question

Ans: If you regularly download data and always have to change the defaults (g:.... directory) to your own C:... drive directory, use transaction SO21. This allows you to change your default directory to something else of your choice.

C:\Documents and Settings\Administrator\SapWorkDir\17What is the best approach to installing SAPGUI on multiple machines? Yes. You can achieve this by setting up the SAPGUI Server (SAPadmin). I have a PDF document on my web site: http://www.sapadministration.com/.

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 client software remotely.

18What can and can't I do when copying data between two clients? 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 to transfer the data you want or use third-party tools for that.

19Can you replace the default SAPGUI image? (THEY WANT TO CHECK PDF POSTED ON HIS WEBSITE. FOR DETAIL ANSWER)you can use SM30 (HIDE_START_IMAGE=YES) or S000 extras settings to turn off the default SAPGUI picture.

20 My server's starting, then stopping. Why? This could be due to a number of reasons. My best recommendation at this time is to examine the developer 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 files exist.Also, make sure that the system profiles exists under usrsapsysprofile. Check that the services file contains the appropriate entries (example: sapMS xx).

21Can we make changes in operation mode effective immediately by force? ANS: Yes. It's possible via transaction RZ03. Choose the instance and use Control -> Switch Operation Mode.

22Logging on takes forever. Can I speed it up? ANS: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).

Page 12: Interview Question

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

23How can I determine which users have access to specific transactions? ANS: Yes. There are several ways. I think the easiest one is for you to run transaction /nSUIM. In this transaction (User Information System), 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.

24How do you check the patch level of SAPGUI? ANS: You will not find the release version in the Windows registry. However, there are other ways to find this out. Example: You can use the FILEVER.exe Windows Resource Kit utility. C:>filever "%ProgramFiles%SAPFrontEndSAPGuisapgui.exe" That will return the version of the executable. See sample below: --a-- W32i APP - 6400.2.0.8926 shp 90,112 05-27-2004 sapgui.exe If you need to only know what SAPGUI release they have (not down to the patch level) and if you have at least R/3 4.6C you can use SM04 and display the GUI column. That's very useful to determine who is in what version. Example: 4.6D vs. 6.20. And last but not least, SAP has a utility call SAPVER that can help you as well.

25.I forgot the password to a stand-alone machine. How do I get in? ANSYes. 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 client 100. After that, SAP will let you log in as SAP with password PASS. I have shared this in the tip section, as have other SAPers. Here is the query you need at the database level: DELETE USR02 WHERE MANDT = '100' AND BNAME = 'SAP*'

26. We are configuring a complete system for a customer on our system. After the entire testing is completed, we want to transfer the entire configuration to our customer's production server. What is the best way to transfer a client from one server to another? Please remember that these systems are at different geographical locations and not on a network. ANS:You can export the configuration via SCC8 and then import it into the target system/client. Use one of these copy profiles: SAP_CUST or SAP_UCUS or SAP_UCSV if you also want to copy the user master records. Once exported, you can copy the transport files via FTP and then import the client via STMS and complete it via SCC7.

Page 13: Interview Question

27How do I lock a specific transaction (eg: su01) from a specific user (eg: plm-100)? ANS:You simply need to make sure that you assign the correct authorizations to the user. For this example, the roles that you assign to the user should not contain transaction SU01. 28. I have been trying to access tables from the OS level. I've been using se16 to try to access tables, but it displays a message saying, you cannot see the content of this table from here. Can you tell me why I am getting this message and how to see those contents? ANS:Keep in mind that not all tables are "transparent" tables. Therefore, they are not accessible outside the application. Some are clustered, pooled or structured. Tcode SE11 has the potential to display them all, however.

29.I'd like to find the return code for a list of 1,000 transport requests in SAP R/3 PRD. Can you suggest any efficient way of doing this? ANSIn this particular case I would suggest querying table TPLOG. Field RETCODE stores the "return code." Field CMDSTRING contains the TP command used. Part of your query should be to list entries with the word "IMPORT" in them. 30.We have a few SAP systems, and one of these is used as a central user administration system. We want to integrate a single sign-on solution. We use active directory from Microsoft and the release is 4.6D. What do you think is the best solution? ANS:The best solution is to set up SAP Single Sign-on (SSO) Kerberos. The SSO parameters need to be configured and activated in the Central Instance. The SAP user accounts also need to be mapped to the Active Directory accounts, which are case sensitive. Finally, each desktop client needs the SAP Kerberos SSO support. You can deploy it through a group policy or you can install it manually on each desktop.

31.A CATT can help automate the mapping of SAP and Windows accounts How can I copy all users -- along with roles and profiles -- from the production system to the development system? ANS:Export them via SCC9, copy profile SAP_USER. This profile copies both roles and user accounts. Once exported, use STMS to import the transports into the development server.

32.How do we know if CUA is used in a system? Are there any specific transactions to verify if CUA is used?

Page 14: Interview Question

ANS: Yes. You can quickly run transaction SU01 and see if the "Systems" tab is available. If it is, CUA has been configured. Also, run transaction SCUA to see if there are distribution models defined. You can also run transaction SCUL to view logs that might have been generated by the use of CUA.

Interview questions

How to lock a client?

Ans: First execute the Tcode SCC4, then click on “change button”, then click on “client” that you want to change, then click on “no changes allowed”, and from cross client object changes select “No changes to cross-client customizing objects”. And then click on save button.

What to do if you forget the password of DDIC, SAP* and any superuser password?Ans: From command prompt login to sql server and then type SQL> delete from SAP<SID>user02 Where bname = SAP* and mandt = <Cleint#>Then you will be able to login as SAP with password PASS. This will allow you to reset the password for your other accounts.

How can I copy all users -- along with roles and profiles -- from the production system to the development system?Export them via SCC9, copy profile SAP_USER. This profile copies both roles and user accounts. Once exported, use STMS to import the transports into the development server.

How do you copy a client from one server to the another server?

You can export the configuration via SCC8 and then import it into the target system/client. Use one of these copy profiles: SAP_CUST or SAP_UCUS or SAP_UCSV if you also want to copy the user master records. Once exported, you can copy the transport files via FTP and then import the client via STMS and complete it via SCC7

What is the exact command for performing an online backup using brtools?

Which version of BRTOOLS you use?Ans: 6.40

How many background processes are reserved for class A background process?Ans: two (2)

What are the extension for patch files and where should they be placed during patch application.

Page 15: Interview Question

Ans: /usr/sap/trans/EPS/in UNIX \USR\SAP\TRANS\EPS\IN WINDOWS

What is the command you give to extract .CAR files (downloaded support pack file)Ans: CAR –XVF <filename1>.car (repeat extraction for all .car files.

When the work processor enters into PRIV mode?

When the user uses the roll memory area, the extended memory area and started using the heap memory area, the users is now effective locked to work processor, this situation is called private (PRIV) mode.

(OR)A dialog process that was forced to allocated R/3 heap memory automatically enters PRIV mode

What is your role if work processes enters into PRIV mode?Ans: Because R/3 architecture uses a limited number of work processes to satisfy a large number of frontend users, other users suffer when a user goes into PRIV mode. Then I will log in to SAP server and execute TCODE SM50 and see which user has entered into PRIV mode, then I will inform the user that he needs to stop doing what he is doing and he needs to log off or I can terminate that user’s session and The heap memory is automatically released. When a work process enters PRIV mode, it remains connected to the the user until the user ends the transaction.

What is your parameter for extended memory?Ans: em/initial_size_md

Did you perform any client referesh, why did you do that; how frequent you perform client refresh; what are the precautions to be taken care during client refresh?

Ans: The refresh command is used To switch between different client configurations or In case new files or folders have been created in the local file system, but are not visible in the tool or

In case new files or folders have been created on the server and they are not visible in the tool because the tool has cached the content of a folder.

How do you check the work process details, history and what exactly it is doing ?

At OS level:

Page 16: Interview Question

Basis system administrators monitor the load balancing and performance of the system. They are also responsible for Basis services such as starting and stopping a system.

The tasks are:

Load balancing administration Instance administration Performance analysis System configuration Basis services such as starting and stopping a system and its servers

The user administrator has the following tasks and authorizations:

Maintain user master records Assign roles to users Assign profiles to users Display authorizations and profiles Use user information system Display or change role data

Why do you install support packs or why do you apply support packs?

Support packages corrects error in the SAP system or makes necessary adjustments, for example, due to legal changes. It is the customer side of the online correction support (OCS). Transaction SPAM lets you efficiently and easily import SAP provided support packages into your system. You should login to client 000 to apply support packs.

What is Transport Domain?

In my past company, transport domain is a development system where we used to do customization and it has two members in the domain controller. Any changes is propagated through transport request to test and production. `

Database mode?

Two types of database mode

1. archive mode: In this mode recovery is possible till the last offline

2. NON-Archive mode:

Page 17: Interview Question

Archive: copy the data or save data.

Online data is possible only when in archive mode but offline backup is possible with archive and non-archive mode.

What is a central Instance?

Every SAP system has just one central instance, which contains all basic services such as the message server, gateway, update, enqueue, dialog, spool, and background right from installations. When the database usually shares these services the database is called central instance.

Enqueue: for locking and unlocking

Gateway: It communicates between two different system like SAP or NON-SAP systems

What is Dialog Instance?

It contains only a set of basic services such as dialog and background work process from the time of installation. And it us used for load balancing.

Work Processor: It is a service and dispatcher assigns the tasks to the various work processes. Makingoptimal use of the system resources and balancing the system load. The dispatcher knows and distributes accordingly the pending tasks according to the prcessing type fo the defined processes

Dialog Work Process: Each dialog work processor can take up to ten concurrent users. And they are in charge of the interactive tasks of the R/3 system. The job help by the dispatcher in the request queues after user input are assigned to the next free work process. The dialog work processes execute just on single dialog step at a time and become immediately free for the next request, Which is assigned by the dispatcher. This meas that the dialog work processes can be constantly switching between different user sessions. This type of processing allows a great deal of resource distribution, otherwise the system would need as many dialog work processes as the number of expected interactive users.

BackGround Work Processes: This processor starts with minimum two users and it is used for front end users The background work processes are in charge of executing ABAP programs submitted for background execution. The ABAP programs submitted for background processing are executed in the planned time by the background work processes. The sequence of program execution is scheduled with the batch jobs. There are many types of jobs and different ways to submit them for execution. Normally, these background jobs are not immediately processed but are when the system reaches the planned time for execution. Background processing is very useful for submitting programs requiring long processing time, since interactive execution would exceed the allowed processing time and thus abort with a TIME_OUT error.

Dispatcher: The SAP dispatcher is the control program which manages the resources of the R/3 application. It works like a typical transaction monitor which receives screens and data from the presentation services and pass them to the corresponding work process.

1. This is how dispatcher works: User enters data in their presentation server, the data is received by the SAPGUI, converted to a SAP format, and sent to the dispatcher.

Page 18: Interview Question

2. The dispatcher allocates the user requests using the free work processes. The real execution takes place inside the work processes themselves.

3. At the end of execution, the result of the work process task goes back to the SAPGUI through the dispatcher. SAPGUI interprets the received data and fills up the user screen.

Remote Function Calls:

RFC is a standard programming interface for making remote calls between programs and located on different systems. Functions which are developed or exists in a system can be remotely called by another local programs. This is particularly useful for data manipulation and processing load balancing between systems.

Operation Mode Configuration:

This is a way of defining how many processes will run during certain period of time and making the system automatically switch the type of work processes at another period of time.

What is your parameter for Kernel Directory?

/usr/sap/<SID>/sys/exe/run

BRARCHIVE; Database utility to perform operation (backup, copy, deletion) of the oracle offline redolog files also known as archive files. Its an option called from with sapdba, the database administration utility for oracle.

BRBACKUP: it is a database utility to perform online and offline backups with oracle

BRCONNECT: it is a database utility programs to test the status of the database, for example up, down, connected, and so on.

BRRESTORE: sapdba utility to restore the database.

111Difference between Synchronus and asynchronus transports?

import is executed synchronously, dialog or background process is blocked until import has ended.import is executed asynchronously, dialog or batch process is released after import was startedhttp://help.sap.com/saphelp_nw04/helpdata/en/44/b4a0137acc11d1899e0000e829fbbd/frameset.htm

Page 19: Interview Question

How to set the trace level for file dev_rd?

You can increase the trace level--Tcode sm50---> select work process (F5 select all)---> CTRL SHIFT (F7) (press keys ctl shift F7 F7 function key---> select component and trace level

-->save and exithttp://help.sap.com/saphelp_nw2004s/helpdata/en/1e/b8abaabd514dac825d46ada3c1de06/frameset.htm

How to find who moved the transport request from DEV to QUA?

Check the import queue of QUA

How to troubleshoot long running background job?

Tcode ---> sm37 search for active jobs

http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a7ed1505211d189550000e829fbbd/frameset.htmCheck sm50 and also run a trace using st05 for generic long running jobs when possible for troubleshooting (could be index ir corrupts as an example). Check also the work process logs. I guess your long running bkgrd job concerns would be in relation to transports I presume. Ensure that the RDDIMPDP jobs have been released. Check the transports logs in /usr/sap/trans/log dir structure for why your transports are taking a log time. maybe locks haven't been released.

How to define transport directory when configuring Domain controller?

http://www.sap-img.com/basis/how-to-do-the-tms-configuration.htm

bye default it will <Drive>:usr>/sap/Trans/Goto to STMS, select a system and then Goto Transport Tool tab. You should see a TRANSDIR parameter. You can make the change here or in your SAP profile.

How Do I check Oracle database/Client Version? For instance, I have another system with database 10.2.0.2 but running on 9.2.0.4 client. ST04 on this system shows 10.2.0.2 that is it is giving the database version.

Page 20: Interview Question

DB Version:Go to ST04 – Detailed Analysis Menu – Display V$ Values – Select V$Version – Instance details (Or double click V$Version)The same is applicable to know all the database V$tables such as V$tablespace, V$database, V$instance, V$backup, V$Archiver_dest

Client Version:Log on to Oracle database with SQLPLUSExecute the following queryselect '&&_O_VERSION' as "Oracle Client Version" from dual;

How do I maintain a systems in Service Market place.

The systems can be maintained using the OSS ID. Connect the systems using the SAP Router and See the Maintain Connections Tab.If there are is a need to troubleshoot then SAP Support Logs on to the system from http://service.sap.com

What do you mean by upgrading the BRTOOLS version? Currently S10 has BRTOOLS version 6.20(15)… What to do if I have to upgrade the tool to newer version?

Upgrade the Kernel

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 . OPS$ user is a user existing in both OS and DB . These users are authenticated at OS level 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 and use that user to apply them.

Page 21: Interview Question

Can you kill a Job?

Yes - SM37 - select - kill

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

Long running Programs caused by unnecessary statements and non-optimal implementation can also cause a performance bottleneck by consuming large amounts of CPU time and Large Parts of main memory

How to Use Work Process Overview Identifying long-running actions (sequential read, insert, update Note down the report name (sm66) and transaction name for detailed

analysis purposes Note down the table name against which the action is running User who is executing the long-running transaction (so you can set up

SQL trace with ST05) In SM 50 you can find the currently executed SQL statement by double

clicking the line as below. 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 to communicate 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 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.

Page 22: Interview Question

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.

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 from http://service.sap.com/licensekey) and the user name. You need this for each person that will make changes (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, a component of the NetWeaver product group used to facilitate the exchange of information among a company's internal software and systems and those of external parties. Like other NetWeaver components, SAP XI is compatible with software products of other companies. SAP calls XI an integration broker because it mediates between entities with varying requirements in terms of connectivity, format, and protocols. According to SAP, XI reduces integration costs by providing a 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 and external 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 whether the 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.

Time-out while running online report custom I have to run some custom report online, but often I have a timeout dumpDo you know what is the parameter in rz10 to edit for? Hint: The user in fact start the report in SE38

Page 23: Interview Question

Answer: The parameter for foreground has already been mentioned so I wont dwell on it. Frankly is not advisable to change profile parameter for a custom report. I have seen custom reports with dumbest pieces of coding which result in time out errors/abap heap memory overflow errors etc. Alternatively some time the data being selected is so huge that SAP will give time out dump.

So whole point is that changing value of this parameter makes sense if standard SAP is dumping not for custom reports. I would never change profile parameters for custom reports neither would SAP really advise you that on first go. Even in case of standard SAP you should first review the amount of data that is being selected and try to cut it down. If that is not possible then use background processing. If nothing works go to SAP and check with them why is it behaving in that way. Only as a last resort change your profile parameters.

Recommended approaches: 1. First of all get the code reviewed. Make use of SE30 for this. Try to weed out performance bottlenecks. In case of certain tables SAP recommends using function modules instead of direct selects. Check if introducing secondary indexes in the tables involves can help you.2. Check the amount of data that is being selected in one run. If it is huge try to reduce it and then do foreground processing. 3. However if data volume has to be retained then go for background processing.

what is the difference between client copy and client refresh? Ans:  client copy and Client refresh are almost same. when u perform a client copy to a new client in locla or remote that is called client copyBut when u bring some new data to the existing client with refreshed data or updated  data from other client , then client copy is called Client Refresh Ex:  Copying production client to Qality client

Which table the print requests are stored ? I know if this table is filled then there is a production problem? If this happens what to do? Ans:  TST01 stores the header information and TST03 /TSP01 Stores Spool Request . Program RSPO0041 deletes old spool requestsProgram RSPO1041 deletes obselete Spool requestProgram RSPO1043 deletes the Inconsistent spool requests. We schedule it daily to delete the spool requests which are either 15 days or 30 days old

Can you please let me know some of the products that are in ramp-up from https://service.sap.com --> PAM . Can you please provide a list? Ans:   All the products are listed in PAM and before implementation , it has to be matched with  OS, DB it supports and also some JRE programs

Page 24: Interview Question

How many OSS users a company can create? That is not  constant and depends on how many users they need to provide .More than 10 are easy accounts for any client 

How many developers  can be there in a environment with 400 + users? Ans: Developers are very less in general Environments. May be  1/2/3 for Application (like SD, MM, FI/CO etc)  400 will be the end users including   developers, Funtioncal Guys, Secuirty admin, + Basis Admin

How  do I find out the concurrent number of users for a system with 400 users? Is there any formula or some guideline to use?That is u check from  SU01 . But for end user license , I have no idea for that because that is business decissions. And they buy user license based on concurrent usersYou can also use SU10

Can we stop the transporting for all users except the  Super user ( SAP* and DDIC) for  the purpose of support package update .under the assumption that there are few users who are given privilege to do TRANSPORT

Lock all the users who will not interfere during support pack application in all the clients either using  EWZ5 or some customized program tcode   except the users i.e the super users  (SAP*, DDIC, all basis admin user ids has to be in unlock condition ) . SPAM- Utilities-Check Transport Tools - Showing error as below. What has to be done??            - Cannot read tp profile            -TMS profile Management is not active            -link to DB failed            - error in transport profile ( parameter missing)

That says that your Transport Domain , Route , TRANSDIR is not set properly.You have to check it first when u create STMS and setting of the path for all.Basically your  TRANSDIR is not working properlyYou can check with command below  #  cd /usr/sap/trans/bin# tp connect

Also check the tpparam file in  /usr/sp/trans/bin folder

Page 25: Interview Question

Questions Day 3 - 4

1. Which work process deals with commincating between systems?Ans: Communication User2. How many types of users can be created in SAP system?Ans: 5 types (Dialogue, communication, system, service and reference)3. What is the use of user type system?Ans: System type is use for communication whiting the system and for background processing.4. Can I create profile without Role?Ans: yes – SU025. Can create Role without Profile?Ans: No (When we create role profile will be automatically created)6. How to know how many profiles, how many roles are there in the system?Ans: T-code SUIM7. How can create a bunch of users at the same time without using SU01?Ans: SU108. If I want to lock the users in one client at once, how can I do that?Ans: Ewz5 (only works in R3), SU10 (Also)9. Where can I maintain the user password restriction like the length of password,

minimum password expiration etc Ans: Profile Parameter (Instance (Per system) /Default (if system wide) Profile)Eg Production system 2 dialogue instance (1 default + 3 start + 3 Instance)10. How many system profiles are there?Ans: three types of system profile SID (Start, Instance and Default).

11. Which profile is used to maintain global parameters?Ans: Default Profile12. What do you mean by dynamic parameters?Ans: The change in parameter i.e run time parameter(e.g buffer size), which do not need to restart the system. In this case, change in parameter is called instance parameter change. 13. If I want one system parameter to be in effect, what are my options? It’s a

business needAns: T- code RZ10 (Static parameter) – system wide effect. If not dynamic make the changes in system(Default) (Downtime will consider)14. What is the location where system profiles are locateAns: usr/sap/sid/SYS/profile15. Who is the owner of these files?Ans: SIDADM16. How you can modify the parameter, if due to one of the parameter server doesn’t

come up?Ans: By changing parameter at OS Level

Page 26: Interview Question

17. What is a Transport Request?Ans: Transport request is nothing but the request, which is created by project leader for whole project. It consists of diffren task, which is assigned to developers. (Types of Transport Request – Customization and Workbench)

18. What is the best way to know the Production Server?Ans: Delivery system in TMS and Client Role (SCC4)

19. How many types of Transport Routes are there?Ans: 2 types of Transport routes. Consolidation and Delivery Route

20. How many delivery routes can be maintained in the system?Ans: one

21. How many Consolidation Routes can be maintained in the system?Ans: Equal to number of clients in the development system

22. Which user deals with Transport Management System configuration?Ans: DDIC

23. When the TP is released, what system exactly does in this process?Ans: When tp is released request from development. System is creating data and co file in the background.24. Once the TP releases where it appears and what the term is called ?Ans: It appears in the import queue of the target system. 25. What are the Return codes to know if TP is imported successfully or not?Ans: 0, 426. What is the exact command used to import a TP at command level?Ans: tp import <request number> <target sytem> pf = <path of parameter file> (tp_<domain>.pfl)27. How many types of TPs are there?Ans: I think it should be TR(Transport request) – there are three types of transport request. K type, T – type, C- Type 28. What are the codes you use with TMS set up?Ans STMS, SE09, SE03, SE0129. How can I delete a TP from the Import Queue at SAP level?Ans select the request. Overview and then Delete.30. What is the command line option for over write mode?Ans : tp import <tp no> <SID><Clint no.>U12 (overwrite)

1. How many instances are there in SAP? List themAns: There are three types of Instances in SAP.Central Instance, Database Instance, Dialogue Instance

2. Which instance keeps information about work process and Message Server

Page 27: Interview Question

Ans: Central Instance3. Which work process protects the user’s transaction being corrupted/overwritten?

Ans: Enque Work process 4. Where can I see my work process status i.e running/waiting? Ans: SM505. What is the use of System no? . Explain it in two sentences. Ans: System number is basically used to identify the system. It is unique to system.6. Where can I see the all users and the transactions they are working?

Ans: SM04 – User status – with T- code AL08 – all the users active in all the server with T code

7. If an user’s session has to be terminated then from where can you do it? Ans: SM048. If an user’s transaction has to be terminated then from where you can do that?

(provide two options for this )Ans: SM04

9. If system generates some errors and want to view that, where can I see that error?Ans: SM21 (system log)

10. If system throws some ABAP termination or ABAP errors where can I see that?Ans: ST 22

11. If I can’t solve a problem after reviewing the error then what is my option to resolve that error?

Ans: Partner : service.sap.com12. What is a client?

Ans: Client is nothing but a logically separating customization. Each client is having master as well as transactional data which is copied basically from default (master) client 000. For instance we can provide a separate client number for function module (SD, MM, PP ) and each client will have one or more users.

13. How many clients we see in Production system? Ans: In general, production system will have only one client.14. How can you identify which is SAP defined object and which is customized

object? Ans: We can identify by its name. for instance object defined other that SAP

Is start with Y or Z.

15. Provide some examples of Client Dependent / Client specific objects/datas?Ans: customization request is client dependent whereas workbench request is client specific. 16. What is the prerequisite of a client copy?Ans: Login to Target client by username Sap* and password Pass --- Tcode SCCL. Also need to check whether Target system has enough space or not.

17. I have two SAP systems DEV in system host1 and QAS in host2. I want to perform a client copy from QAS /200 to DEV/300. Which client copy method I will follow?

Page 28: Interview Question

Ans: Remote Client Copy SCC918. From above scenario, if I want to perform a client copy from DEV/200 to

DEV/400 then which client copy method I will follow?Ans: Local client copy - SCCL19. How to create a logical system?Ans: T- Code SALE20. Is logical system is different to each client or same for each client?Ans: Different to each client21. What happen to logical system, if I delete the client from the system?Ans: It should be deleted.22. What do you mean by client refresh and client copy?Ans: Client Refresh – Generally do from Production to Quality System – To get the updated data. Client Copy – simple copy from one system to same or any other system.23. In which system you find dummy production data DEV / QAS / PRD?Ans: PRD24. Which system acts a OLTP from above 3 systems landscape?Ans: All three system25. Where can I see my Database Size?Ans: DB0226. What is the thumb rule to maintain tablespaces?Ans: We will increase the size of table space when it should reach 90% of size or less than equal to 2 GHZ which ever is less.27. If I want to increase a tablespace size then what method I will use?Ans: BRTOOLS – Prerequisite login as sidadm28. What is your database growth? Where can you see in SAP? Ans: DB02 29. How do you know that your SAP system is running? Provide the answers for both

UNIX and Windows env.Ans: Windows : From Management console if all the three services are running ( Unix : ps –ef | grep dw (Not sure) 30. If I want to stop the SAP then what is the step? Provide the steps for both UNIX

and WindowsAns: Windows : Management console – Extent SID ---and then click on stop. Unix : stopsap

31. If you want to Start SAP then what is the step? Provide the steps for both UNIX and Windows?Ans: Windows: Management console – Extent SID ---and then click on Start Unix : startsap

32. If I want to know the SAP versions, the database, the O.S in one shot,, then how can I see that ?Ans – Utility – System

Page 29: Interview Question

Not Sure about following questions:33. Which work process protects the user’s transaction being corrupted/overwritten?

Ans: Enque Work process

34. What is the use of System no? . Explain it in two sentences. Ans: System number is basically used to identify the system. It is unique to system.

35. Provide some examples of Client Dependent / Client specific objects/datas?Ans: customization request is client dependent whereas workbench request is client specific

36. Is logical system is different to each client or same for each client?Ans: Different to each client

37. What happen to logical system, if I delete the client from the system?Ans: It should be deleted

38. How do you know that your SAP system is running? Provide the answers for both UNIX and Windows env.

Ans: Windows : From Management console if all the three services are running ( Unix : ps –ef | grep dw (Not sure)

*************************************************************

SAP Advanced Planner and Optimizer (SAP APO)

it is key component of SAP Business Suite, Supply Chain Management. It provides the complete toolset needed to plan and optimize supply chain processes at the strategic, tactical and operational planning levels.

This is a large component of SAP's New Dimension products. APO is an entire suite of supply chain planner applications that increase overall knowledge of the supply chain and provide forecasting, planning and optimization. There are eight application levels within SAP APO: network design, supply network planning, demand planning, production planning and detailed

Page 30: Interview Question

scheduling, transportation planning and vehicle scheduling, global availabilty and supply chain collaboration.

Frequently asked Questions about mySAP SCM and SAP APO

1. Which are the components of the new mySAP SCM Solution?SAP SCM 4.1 is the new available Supply Chain Management Solution offered by SAP. The SAP SCM 4.1 System includes SAP APO 4.1 (Advanced Planning and Optimization), SAP ICH 4.1 (Inventory Collaboration Hub) and SAP EM 4.1 (Event Management).

2. How about the architecture of SAP SCM 4.1?

SAP SCM 4.1 is based on the SAP Web Application Server 6.40. All SAP SCM 4.1 Architecture Components can be installed on one hardware server, as long as this server is sized for all used application components.

3. What does APO mean?

SAP APO stands for SAP Advanced Planning and Optimization and is the planning component within the mySAP SCM solution.

4. Can SAP APO be used as a stand-alone solution?

No, SAP APO always requires a backend ERP system for execution functions. In most cases, the backend system is an SAP R/3 system.

5. Can SAP APO and SAP R/3 be installed on the same server and use the same database?

No, SAP APO requires a separate server. The actual size of the SAP APO system may vary and depends on the data volume to be processed. You can find more details on this subject under the alias /sizing on the SAP Service Marketplace (//http:/service.sap.com).

6. How does SAP R/3 communicate with SAP APO?

Through the APO Core Interface (CIF) which supplies SAP APO with master and transaction data in real time. CIF is delivered through the R/3 Plug-In, which is something you have to install in your SAP R/3 system. This is the same Plug-In that you need for connecting a BW or a CRM system.

7. What about the exchange of data between the two systems?

With SAP APO you have a real-time integration to SAP R/3. The minute you change something in one system, it is immediately being transferred to the other and vice versa. And that goes for all data, be it a sales order, a production order or a purchase order. You do not have to perform any batch jobs for transferring data between the systems.

8. OK, SAP APO is a separate system. Do I have to maintain the master data twice?

No. You create and change master data exclusively in SAP R/3. If you want to work with SAP APO, you need to transfer the master data from the SAP R/3 system.

Page 31: Interview Question

Depending on the scenario you want to use in SAP APO, you may have to enhance the transferred data with SAP APO specific settings, which are not relevant to SAP R/3.

9. What is an easy, cost efficient way of installing some standard SAP APO scenarios?

The answer is: SAP Best Practices for Supply Chain Management. Choose one or more of the mySAP SCM business scenarios that SAP Best Practices for SCM provide.