Professional Documents
Culture Documents
By Equity Press
Please visit our website at www.sapcookbook.com 2005 Equity Press all rights reserved. ISBN 0-9753052-9-8 All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording or otherwise, without either the prior written permission of the publisher or a license permitting restricted copying in the United States or abroad. The programs in this book have been included for instructional value only. They have been tested with care but are not guaranteed for any particular purpose. The publisher does not offer any warranties or representations not does it accept any liabilities with respect to the programs. Trademark notices SAP, SAP EBP, SAP SRM, Netweaver, and SAP New Dimension are registered trademarks of SAP AG. This publisher gratefully acknowledges SAP permission to use its trademark in this publication. SAP AG is not the publisher of this book and is not responsible for it under any aspect of the law.
-2-
Motivation
During the course of an average project, I am usually called upon by a project manager to help screen resources for different parts of the project. And one thing comes to mind if done properly, its very time consuming, and its really hard work! My interviews usually sound something like this Jim: Please rate yourself , on a scale of 1-10 on your SAP Basis knowledge and experience Interviewee: Um, probably something like 10 Jim: OK, so, let me just say something... I dont believe there is such a thing as a ten. Interviewee: What would you rate yourself? Jim: I rate myself an 8. Interviewee: Why so low? Jim: Theres no such thing as a ten. All of the nines are working at SAP, SAP Labs, or SAP Consulting, and so basically that puts me at about an eight. But were here to talk about your skills. And so you think youre a 10, huh? OK, so tell me what you know about debugging the n-step approval workflow And then I try to ask the questions that truly flesh out a persons understanding of the software. Its part
-3-
-4-
Introduction
This book is divided into three parts configuration related questions, technical and troubleshooting questions, and finally , a very long list of transaction codes and tables that apply to the area of SAP Basis. Each interview question has a question and an answer that is pretty straightforward but when you see the guru icon this is information that represents the highest degree of knowledge in a particular area. So if youre looking for a Basis guru be sure to listen for an answers similar to those given under the guru icon.
-5-
SAP BASIS I NTERVIEW QUESTIONS _____________________________________________ SAP Basis Interview Questions, Answers, and Explanations ................................................. 1 Motivation..................................................... 3 Introduction ................................................. 5 The Basis Guru has Spoken! ........................... 5 Question 1: Transport Change Request...........11 Question 2: Internet outages.........................12 Question 3: OK Codes...................................13 Question 4: Transaction Codes ......................14 Question 5: STMS Importing .........................15 Question 6: Work Processes ..........................16 Question 7: Patch Level for GUI.....................17 Question 8: Web help installation...................18 Question 9: Web Resources...........................19 Question 10: Instance installation ..................20 Question 11: Client copy...............................21 Question 12: Table T000...............................22 Question 13: Table USR02 ............................23 Question 14: Passwords................................24 Question 15: Table TADIR.............................25 Question 16: Table TDEVC............................26 Question 17: Change Requests ......................27 Question 17: Change Requests ......................27 Question 18: User Access..............................28 Question 19: Transport object keys ................29 Question 20: Transport in progress ................30 Question 21: Repaired Objects ......................31 Question 22: Disable Multiple Logins ..............32 Question 23: Locked Transactions..................33 Question 24: Locking Accounts ......................34 Question 25: TP and R3TRANS ......................35 -6-
SAP BASIS I NTERVIEW QUESTIONS _____________________________________________ Question 26: SAPALL User ............................ 36 Question 27: UNIX OS.................................. 37 Question 28: SAP DB Error............................ 38 Question 29: ECC 5.0................................... 39 Question 30: Java and XI.............................. 40 Question 31: SAPGUI Install.......................... 41 Question 32: Telnet ..................................... 42 Question 33: DEV System with Open Client..... 43 Question 34: Email from SAP to UNIX ............ 44 Question 35: Printing Cover Pages ................. 45 Question 36: User Auditing ........................... 46 Question 37: Background Job Runs................ 47 Part II: Technical and Troubleshooting Questions ....................................................48 Question 38: Transport requests ................... 49 Question 39: Memory and Sizing ................... 50 Question 40: Upgrading................................ 51 Question 41: SAPRouter and DMZ.................. 52 Question 42: Internet email gateway ............. 53 Question 43: J2EE and CRM.......................... 54 Question 44: Installing R/3 Enterprise............ 55 Question 45: Program buffer / swap .............. 56 Question 46: Email from SBWP...................... 57 Question 47: Updating Tables ....................... 58 Question 48: Installing DB instance ............... 59 Question 49: Backup Strategy ....................... 60 Question 50: Lock table overflow................... 61 Question 51: System copy for BW.................. 62 Question 52: XI 3.0 Configuration.................. 63 Question 53: Restarting server ...................... 64 Question 54: System copy PRD to TST ........... 65 Question 55: MIRO updates to RBKP .............. 66 -7-
SAP BASIS I NTERVIEW QUESTIONS _____________________________________________ Question 56: Customizing and Master Data .....67 Question 57: Variants for ABAP......................68 Question 58: SM37 and Spool.......................69 Question 59: J2EE and Support Packs.............70 Question 61: Client Copy...............................72 Question 62: Offline Backup ..........................73 Question 63: Access Methods ........................74 Question 64: Remote server starting ..............75 Question 65: Deleting Background Jobs..........76 Question 66: User logs .................................77 Question 67: Transport problems...................78 Question 68: Spooling table spaces ................79 Question 69: Table Maintenance ....................80 Question 70: Dialog and Batch Processes ........81 Question 71: Transport numbering.................82 Question 72: Jobs that dont quit ...................83 Question 73: Kernel Upgrades .......................84 Question 74: SAPDBA ...................................85 Question 75: Transporting.............................86 SAP R/3 Enterprise OSS Notes .......................87 SAP Software Installation .................................87 System Copy...................................................88 SAP Business Warehouse ..............................89 Upgrade ..................................................89 Installation...............................................89 Internet Graphics Service (IGS) ..................89 Internet Transaction Server (ITS) ...............89 BW System Administration .........................90 Oracle.........................................................91 RAC.........................................................91 Installation...............................................91 Administration ..........................................91 -8-
SAP BASIS I NTERVIEW QUESTIONS _____________________________________________ Problems................................................. 92 Backup / Restore / Recovery...................... 93 Software Logistics (Transport System, Add-Ons & Support Packages).................................... 94 Transports............................................... 94 Support Packages ..................................... 94 Add-Ons.................................................. 94 General System Administration...................... 95 Tuning .................................................... 95 Background Processing ............................. 96 Network .................................................. 96 Web Dispatcher ........................................ 96 SAPOSCOL............................................... 96 SAP Remote Services ................................... 97 Service Connection ................................... 97 SAPGUI ...................................................... 98 SAPGUI For Windows................................ 98 Useful SAP Technical Transaction Codes......... 99 Useful SAP Technical Transaction Codes......... 99 Background Processing................................. 99 System Monitoring..................................... 100 Performance Analysis................................. 101 General System Administration.................... 102 System Configuration................................. 102 Security .................................................... 102 External Communication............................. 102 Internet Connectivity.................................. 104 Spool & Print............................................. 104 CATT Test Tool ......................................... 104 Transport System ...................................... 105 Add-ons & Support Packages ...................... 106 ABAP Development .................................... 106 -9-
- 10 -
A: Transaction SCC1
- 11 -
- 12 -
Question 3:
OK Codes
execute a function for example after a pushbutton has been clicked. A transaction code is a shortcut that helps a user run a program.
- 13 -
- 14 -
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.
- 15 -
- 16 -
Question 7:
How can you confirm the patch level for SAP GUI?
A:
- 17 -
Question 8:
Why can web help be considered easier to install than CHM, the standard delivered SAP help?
- 18 -
A:
OSS notes: http://service.sap.com/notes SAP help: http://help.sap.com Google: http://www.google.com
- 19 -
Question 10:
Instance installation
We want to install another new instance on same development box. Is this possible? What are some of the important considerations?
- 20 -
A:
Some times 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. Another way of thinking about this is that a client copy from production to a QA server or from production to DEV server is really a client refresh.
- 21 -
- 22 -
- 23 -
- 24 -
- 25 -
- 26 -
- 27 -
A: Table DEVACCESS
- 28 -
Question 19:
- 29 -
Question 20:
Transport in progress
How can you tell if a transport entry is in the process of being imported?
- 30 -
- 31 -
Question 22:
- 32 -
Question 23:
Locked Transactions
- 33 -
Question 24:
Locking Accounts
When you are Locking/Unlocking accounts what happens behind the scenes?
The table USR02 gets updated. The field UFLAG determines if the user account is locked or unlocked. The value "64" indicates that the user account is locked. The value "0" that the user account is unlocked. Knowing this, you can then issue an update statement at the database level that locks all users in mass. Don't lock yourself out, though! Use exceptions for super user accounts in your update statement. Notice that 4.6b and above have made improvements to this kind of task, making the locking/unlocking a bit easier. However, changing at the database level is much faster and it is just one simple query.
- 34 -
Question 25:
TP and R3TRANS
- 35 -
Question 26:
SAPALL User
06071992 is the default username and password for basis login accounts (SAP*)
- 36 -
Question 27:
UNIX OS
- 37 -
Question 28:
SAP DB Error
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?
- 38 -
Question 29:
ECC 5.0
Is it possible to install ECC 5.0 as a test system and not production, without installing solution manager?
- 39 -
- 40 -
- 41 -
- 42 -
option (SEO6) to modifiable for all namespaces/objects. The developers must have the ability to change any, including SAP, namespace/object. Change client options (SCC4) to changes allowed for repos and cross-client cust and radio button to auto. save changes. Next, enable CATTS sessions.
- 43 -
- 44 -
It will either be from SAP itself or the OS spooler. Take the appropriate action.
- 45 -
- 46 -
- 47 -
- 48 -
Go to STMS, then Overview. Double -click QA and choose communication. Next enter the correct transport group and save.
- 49 -
Question 39:
We have a J2EE + ABAP 6.40 instance running a portal 6.0. It seems 1GB of memory is not enough and J2EE has problems if we assign more. What can be used to balance the load in the servers?
- 50 -
- 51 -
SAP Router but routes SAP ICM traffic. BW Web reporting is a BSP that sits on the ICM. You can look for sapwebdisp.exe in the kernel directory or do a self-generated profile using command option bootstrap.
- 52 -
A:
Starting with version WAS 6.x, SMTP comes built in to kernel. Go to transaction. SCOT and configure it there.
- 53 -
Question 43:
I am installing a SAP J2EE engine at CRM. When it reaches phase 22 it halts for more than 10 minutes and gives up starting the system. What should I do?
you have restarted your ABAP then you may be missing the profile parameters. If this is okay and a restart does not help look in the work directory and check dev_icontrol. If the J2EE engine software is the problem, applying a patch will solve the problem.
- 54 -
A: This means that one of your load jobs did not run
successfully.
- 55 -
Question 45:
In my development server when I perform ST02 the program buffer shows a value of 1056 in red under the SWAP category. Users are getting a shortdump with the PXA buffer error message. What should I do?
- 56 -
- 57 -
- 58 -
- 59 -
- 60 -
It will give you the real value of the SAP parameter and where they have been set up. The lock table can hold 10,000 entries, which is more than enough for the average system. It is possible that the program is not written properly and the developers should modify it.
- 61 -
Question 51:
I am attempting to complete a system copy of BW. When I try to go in to RSA1 afterwards I get the error message, Entry in inbound table already exists. What should I do to solve the problem?
- 62 -
- 63 -
program buffer and other buffers are emptied. As far as performance goes, the reports runtime will be a bit longer during the first run. You can restart the system every week without harm. The only reason against it may be the SLA/users demand.
- 64 -
A:
You must first open the DB as PRD on your new system. Second, apply redo logs. Next, run your script to change SID. This will change SID but will not change tablespace names if using WAS 6.10 or above.
- 65 -
- 66 -
Sometimes it is determined by other configuration and sometimes it is set according to system function, production or test/develop/demo/etc.
- 67 -
choose the attributes radio button. Here you can set the field to selection variable. Then, under selection variables button, you can define that it is SY -DATE+7.
- 68 -
Question 58:
When I check transaction SM37 and I want to see the spool I get a message that says no list available. Why is this?
The spool is sent to a printer and deleted. The spool is too old and the housekeeper deleted it. Also, some test reports simulate a calculation then rollback. It works fine online. When a background job does a rollback then it rolls back the spool as well.
- 69 -
- 70 -
- 71 -
including schedules to the new client. Remember that ABAP programs are always client independent. Only the masterdata (variant) is client dependent.
- 72 -
- 73 -
It is local to the SAP server, not the user. An F access method refers to front end printer. This uses the users Windows printer.
- 74 -
Question 64:
We are currently running 4.7 enterprise on Oracle 9.2.0.6, on Solaris 9. I am in the process of upgrading production which has a central instance server and 3 Application servers where the Sapmnt directory is shared out from the central instance server. I upgraded the kernel on the central instance with no problems, but when I try to start SAP on the APP servers I receive an error message stating the database must be started from a remote server. I have changed all environment variables but I still receive the error message. What could be the issue?
each of the application servers. Also, make certain that you are using the latest versions of all of the kernel, associated files (R3trans, tp, startdb, stopdb, etc.) and the DB library.
- 75 -
Question 65:
Is it safe to delete old background jobs using the program RSBTCDEL while users are working in the PRD server?
A:
Yes. It is safe to run this program while users are working since this only deletes jobs that were completed or aborted, not active jobs.
- 76 -
- 77 -
- 78 -
Question 68:
The temporary spooling table space is approximately 5GB in one of our customers production systems that runs 24 hours a day. We would like to reduce this over time. What strategy would you have for reducing this tablespace?
- 79 -
- 80 -
Question 70:
I want to change five dialog work processes into batch. Where can I do this?
- 81 -
- 82 -
- 83 -
Question 73:
Kernel Upgrades
We are planning an upgrade of the OS from the existing V5R2 to V5R3 of our i-series server which hosts SAP application. We are currently on R/3 Release 4.6C at support pack level 50. After we do an upgrade we plan to migrate all applications to a power 5 i-series 550 server. Our current kernel is ASCII 46D patch level 1977. Should we consider a SAP kernel upgrade?
- 84 -
A:
You can still use SAPDBA from version 6.20. You must however combine it with BR*Tools 6.40.
- 85 -
A:
Follow pathway STMS -> Overview -> Imports. Double-click on QA's SID. Next, follow path Extras -> Other Requests -> Add. Finally, type transport number and import as you would normally transport.
- 86 -
[635608] Release restrictions for SAP R/3 Enterprise 47x200 [662453] [658351] [580341] [534334] [492222] [523505] [523502] [523503] [523504] [496251] [529151] [529076]
- 87 -
System Copy [547314] [89188] [489690] [407123] [516246] [677447] FAQ: System Copy procedure R/3 System copy CC INFO: Copying large production clients INST: SAP Web AS 6.10 - Hom. + Het. System Copy INST: System Copy for SAP Systems based on SAP Web AS 6.20 INST: System Copy for SAP Systems based on SAP Web AS 6.30
- 88 -
Internet Graphics Service (IGS) [458731] [525716] [548496] [514841] [480692] [443430] [454042] Internet Graphics Service: Main Note 6.20: IGS Buglist (and solutions) Overview of IGS Notes (6.20) Troubleshooting when a problem occurs with the IGS SAP IGS support strategy HW/SW Requirements for Internet Graphics Service IGS: Installing and Configuring the IGS
- 89 -
[428212] [150315] [46272] [156727] [123546] [443767] [639941] [550669] [561792] [130253] [417307]
- 90 -
- 91 -
[323090] Performance problems due to degenerated indexes [3807] [185822] [568632] [178275] [547464] [442763] [159779] [631668] [634458] [84348]
- 92 -
Backup / Restore / Recovery [442395] [17163] Descriptions of specific BR messages BRARCHIVE/BRBACKUP messages and codes
- 93 -
Support Packages [97620] [447925] [539867] OCS Info: Overview of Important OCS Notes OCS: Known problems with Supp. Packages in Basis Rel.6.20 BW 3.1 Content: Information about Support Packages Solution Manager Support Packages: Known problems
[553527] Support Packages for the PI_BASIS (Basis Plug-in) [662441] Add-Ons Installation/upgrade Basis plug-in (PI_BASIS) 2002.2
[555092]
- 94 -
Work Processes
[39412] [21960] [9942] [33873] How many work processes to configure Several instances/systems on one UNIX computer Max. number of work processes is 40 due to events What do the semaphores mean?
Memory Management
[37537] [78498] [95454] [88416] [110172] [33576] [103747] [386605] [649327] [548845] [425207] Performance increase by shared memory pools. High paging rate on AIX servers, in part. database servers . A lot of extended memory on AIX (32-bit) Zero administration memory management from 4.0A/NT NT: Transactions with large storage requirements Memory Management (as of Release 3.0C, Unix and NT) Performance: Parameter recommendations for Rel. 4.0 and high SAP memory management for Linux Analysis of memory consumption Internal sessions over 2GB SAP memory management, current parameter ranges
Buffering
[504875] Buffering number ranges
- 95 -
- 96 -
- 97 -
General
[66971] [26417] [166130] [147519] [203924] Supported front end platforms SAPGUI Resources: Hardware and software SAP frontend: Delivery and compatibility Maintenance strategy / deadlines 'SAPGUI' Performance 4.6 - collective note
- 98 -
- 99 -
- 100 -
- 101 -
System Configuration
RZ10 RZ11 RZ12 Maintain Profile Parameters Profile Parameter Maintenance Maintain RFC Server Group Assignment
Security
SM18 SM19 SM20 SM20N Reorganize Security Audit Log Security Audit Configuration Security Audit Log Assessment Analysis of Security Audit Log
External Communication
SMGW SM54 SM55 SM59 Gateway Monitor TXCOM Maintenance THOST Maintenance RFC Destinations (Display/Maintain)
- 102 -
- 103 -
- 104 -
Transport System
SE01 SE03 SE06 SE07 SE09 SE10 SEPA SEPS STMS STMS_ALERT STMS_DOM STMS_FSYS STMS_IMPORT STMS_INBOX STMS_MONI STMS_PATH Transport Organizer (Extended) Transport Organizer Tools Set Up Transport Organizer CTS Status Display Transport Organizer Transport Organizer EPS Server: Administration SAP Electronic Parcel Service Transport Management System TMS Alert Monitor TMS System Overview Maintain TMS system lists TMS Import Queue TMS Worklist TMS Import Monitor TMS Transport Routes
- 105 -
ABAP Development
SE11 SE11_OLD SE12 SE12_OLD SE13 SE14 SE15 SE21 SE24 SE29 SE30 SE32 SE32_OLD SE32_WB99 SE33 SE35 SE36 SE37 ABAP Dictionary ABAP/4 Dictionary Maintenance ABAP/4 Dictionary Display ABAP/4 Dictionary Display Maintain Technical Settings (Tables) Utilities for Dictionary Tables ABAP/4 Repository Information System Package Builder Class Builder Application Packets ABAP Objects Runtime Analysis ABAP Text Element Maintenance ABAP Text Element Maintenance ABAP Text Element Maintenance Context Builder ABAP/4 Dialog Modules Logical Database Builder ABAP Function Modules
- 106 -
Archiving
ALINKVIEWER ALVIEWER RZPT ALO1 SARA SARE ARCHIVELINKVIEWER ArchiveLink? Viewer in the Web Residence Time Maintenance Tool Determine ASH/DOREX Relationships Archive Administration Archive Explorer Cross-Archiving-Obj. Customizing Data Archiving Monitor Archive Information System Archive Retrieval Configurator
- 107 -
- 108 -
Number range maintenance: ADRNR Academic Title (Bus. Addr. Services) Titles (Business Address Services) Name Prefixes (Bus. Addr. Services) Name Suffix (Bus. Address Services) Address or personal data source Address Groups (Bus. Addr. Services) Person Groups (Bus. Addr. Services) Internat. versions address admin. Address admin. communication type Number range maintenance: ADRV Number range maintenance:
- 109 -
- 110 -
- 111 -
- 112 -
- 113 -
- 114 -
- 115 -
- 116 -
- 117 -
- 118 -
SE16_TCJ_WTAX_ITEM Data Browser S TCJ_WTAX_ITEMS SE16_TXCOMSECU SE16_USR40 SE16_USRACL SE16_USRACLEXT SE16_V_T599R SE16_W3TREES Data Browser TXCOMSECU Data Browser USR40 Data Browser USRACL Data Browser USRACLEXT Data Browser V_T599R Data Browser W3TREES
- 119 -
- 120 -
- 121 -
SEARCH_USER_MENU Find in User Menu SECATT SECOCO SECR SECSTO SELVIEW SEM_BEX SEM_NAV SENG SENGEXPLORER SEO_PATTERN_GENE RATE SERP SESS SESSION_MANAGER
- 122 -
A
ABAP, 8, 10, 40, 50, 54, 61, 64, 66, 68, 70, 71, 72, 100, 106, 107, 111, 112, 122
I
Instance, 20 Internet email gateway, 53 Internet outages, 12 ISP, 12 ITS debugging, 67
B
Background, 16 Background Jobs, 8, 76 Backup, 7, 8, 9, 60, 73, 93 backup strategy, 60 Batch, 8, 81, 100 bootstrap, 52
J
J2EE, 7, 8, 40, 50, 54, 70 J2EE installation, 40 Java, 40 Jobs, 8, 83, 99
C
CATT, 43 Change Request , 11 Change Requests, 27 CINFO, 33 Client copy, 21 Client Copy, 8, 72 communications method, 57 control panel, 42 CRM, 54
K
Kernel, 8, 84, 85
L
lock yourself out , 34 Locked Transactions, 33 Locking Accounts, 34
D
DDIC, 36 DEVACCESS, 28 Dialog, 8, 16, 81, 107
M
MIRO, 8, 66 Multiple Logins, 32
O
object keys, 29 OK Code, 13 Open Client, 43 Oracle, 9, 63, 66, 73, 75, 85, 87, 89, 91, 92, 93
E
ECC, 39 Email, 44 Email from SBWP, 57 Enqueue, 16
- 123 -
P
paging space, 40 password exception list, 24 passwords , 23 Patch Level, 17 printer, 69, 74 Printing, 45 Product Category. See Material Group Program buffer / swap, 56
Spool, 8, 10, 16, 69, 104, 115, 116 spooling, 79 ST02, 56 st11, 14 STMS, 15 SU01, 57 Support Packs, 70 system copy, 62 System copy, 65
R
Remote server, 75 Repaired Objects, 31 Restarting server, 64 RFC, 58
T
T000, 22 Table Maintenance, 8, 80, 113 table spaces, 79 TADIR, 25 TDEVC, 26 telnet, 42 TP and R3TRANS, 35 Transaction Codes, 14, 84 Transport , 6, 7, 8, 9, 10, 11, 15, 29, 30, 49, 78, 82, 94, 105, 106, 110 Transport problems, 78 TRBAT, 30 TSTC, 13
S
SALE, 62 SAP DB, 38 SAP_ALL, 36, 72 SAPADMIN, 41 SAPALL User, 36 SAPconsole, 42 SAPDBA , 8, 85 SAPGUI 640, 41 SAPInst, 59 SAPVIEW.log, 55 SCC4, 43 SCOT, 53 SE11, 33, 36, 80, 106 SE38, 68, 78, 107 se93, 14 Secondary Index, 71 SEO6, 43 Shopping Cart updating status, 80 SM37, 8, 47, 69, 99 SMTP, 53 SO16, 57
U
UNIX, 37 Update, 16 User Access, 28 User Auditing, 46 User logs, 77
V
Variants, 8, 68
W
Web dispatcher, 52
- 124 -
X
XI 3.0 Configuration, 63
- 125 -
- 126 -
- 127 -