Sap Basis Administration Handbook Netweaver Edition by Mereddy, Ranjit
Sap Basis Administration Handbook Netweaver Edition by Mereddy, Ranjit
NetWeaver Edition
About the Author
Ranjit Mereddy has 12 years’ experience in SAP NetWeaver/Basis
technical architecture, enterprise architecture, and administration. He has
led several successful SAP implementations as the SAP technical team lead
and is an SAP-certified technical consultant. He has consulted for Fortune
500 companies and leading systems integrators, such as IBM, Accenture,
and the federal government. He has his own SAP professional consulting
practice. SAP consulting and outsourcing services provided by his
professional firm can be accessed at www.wecollab.com. He can be reached
at [email protected] or [email protected]. He can be
followed on Twitter @RanjitMereddy (www.twitter.com/RanjitMereddy).
About the Technical Editor
Raj Patel is a senior managing consultant with IBM Business Consulting
Services. Raj has over 20 years’ experience in the IT industry, with the last
18 years focused on SAP Basis. He specializes in applying information
technology expertise to deploy SAP systems to solve complex business
problems. As an IT consultant, he has been providing SAP implementation
and project management expertise to variety of clients. He has a bachelor’s
degree in electronic computer engineering from the University of Rhode
Island.
SAP® Basis Administration Handbook,
NetWeaver Edition
Ranjit Mereddy
Copyright © 2012 by The McGraw-Hill Companies. All rights reserved.
Printed in the United States of America. Except as permitted under the
United States Copyright Act of 1976, no part of this publication may be
reproduced or distributed in any form or by any means, or stored in a
database or retrieval system, without the prior written permission of the
publisher.
ISBN: 978-0-07-166349-6
MHID: 0-07-166349-5
The material in this eBook also appears in the print version of this title:
ISBN: 978-0-07-166348-9, MHID: 0-07-166348-7.
eBook conversion by codeMantra
Version 2.0
All trademarks are trademarks of their respective owners. Rather than put a
trademark symbol after every occurrence of a trademarked name, we use
names in an editorial fashion only, and to the benefit of the trademark
owner, with no intention of infringement of the trademark. Where such
designations appear in this book, they have been printed with initial caps.
McGraw-Hill eBooks are available at special quantity discounts to use as
premiums and sales promotions, or for use in corporate training programs.
To contact a representative please e-mail us at [email protected].
Information has been obtained by McGraw-Hill from sources believed to be
reliable. However, because of the possibility of human or mechanical error
by our sources, McGraw-Hill, or others, McGraw-Hill does not guarantee
the accuracy, adequacy, or completeness of any information and is not
responsible for any errors or omissions or the results obtained from the use
of such information.
“SAP”, mySAP.com, mySAP Business Suite, and SAP NetWeaver are
trademarks of SAPAktiengesellschaft, Systems, Applications and Products
in Data Processing, Neurottstrasse 16, 69190 Walldorf, Germany. The
publisher gratefully acknowledges SAP’s kind 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 press law.
TERMS OF USE
This is a copyrighted work and The McGraw-Hill Companies, Inc.
(“McGraw-Hill”) and its licensors reserve all rights in and to the work. Use
of this work is subject to these terms. Except as permitted under the
Copyright Act of 1976 and the right to store and retrieve one copy of the
work, you may not decompile, disassemble, reverse engineer, reproduce,
modify, create derivative works based upon, transmit, distribute,
disseminate, sell, publish or sublicense the work or any part of it without
McGraw-Hill’s prior consent. You may use the work for your own
noncommercial and personal use; any other use of the work is strictly
prohibited. Your right to use the work may be terminated if you fail to
comply with these terms.
THE WORK IS PROVIDED “AS IS.” McGRAW-HILL AND ITS
LICENSORS MAKE NO GUARANTEES OR WARRANTIES AS TO
THE ACCURACY, ADEQUACY OR COMPLETENESS OF OR
RESULTS TO BE OBTAINED FROM USING THE WORK,
INCLUDING ANY INFORMATION THAT CAN BE ACCESSED
THROUGH THE WORK VIA HYPERLINK OR OTHERWISE, AND
EXPRESSLY DISCLAIM ANY WARRANTY, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
McGraw-Hill and its licensors do not warrant or guarantee that the
functions contained in the work will meet your requirements or that its
operation will be uninterrupted or error free. Neither McGraw-Hill nor its
licensors shall be liable to you or anyone else for any inaccuracy, error or
omission, regardless of cause, in the work or for any damages resulting
therefrom. McGraw-Hill has no responsibility for the content of any
information accessed through the work. Under no circumstances shall
McGraw-Hill and/or its licensors be liable for any indirect, incidental,
special, punitive, consequential or similar damages that result from the use
of or inability to use the work, even if any of them has been advised of the
possibility of such damages. This limitation of liability shall apply to any
claim or cause whatsoever whether such claim or cause arises in contract,
tort or otherwise.
Dedicated to my daughter, Divya Mereddy
Contents at a Glance
Part I SAP NetWeaver Introduction and Architecture
Index
Acknowledgments
I would like to thank my mother, Neeraja Devi Mereddy, and father,
Satyanarayana Reddy Mereddy, for making all the sacrifices and sending
me to great schools. I would like to thank all of my teachers at St. Paul’s
High School, Hyderabad, India, for providing me with an excellent
education. I would not have been in a position to conceive and write a book
without the sacrifices of my parents and patience of my teachers in
providing me with a sound education.
I would like to thank McGraw-Hill Professional Editorial Director
Wendy Rinaldi for sponsoring this book and Acquisitions Coordinator
Stephanie Evans for guiding me through the initial writing and technical
edits. I would also like to thank Senior Acquisitions Editor Lisa McClain
for considering the initial book proposal and seeing the need for this book
in the SAP education marketplace. I would like to thank Associate
Acquisitions Editor Meghan Riley for guiding me through the initial
chapters of the technical writing and edits. I would like to thank Project
Manager Sandhya Gola, Editorial Supervisor Janet Walden, copy editor
Lisa McCoy, and the entire production staff for helping with the publication
process. This book would not have been possible without the financial and
publishing support of McGraw-Hill Professional.
I would like to thank the technical editor, Raj Patel from IBM, for
carefully reviewing the book chapters and offering suggestions to improve
the quality of the book. His suggestions in the early chapters were
particularly helpful in guiding the book in the right direction in terms of
quality and content.
I would like to thank my daughter, Divya Mereddy, for putting up with
my long periods of being at home during weekends but not available to help
in school and homework activities. I would like to thank my wife, Srilekha
Mereddy, for providing support while I was busy writing the book.
I would like to thank my sisters, Kavitha and Savitha, and my brother,
Rajesh, for providing a safe and supporting environment growing up and
helping me meet my educational and career goals. I would like to thank my
brothers-in-law, Shekar Reddy and Uday Kumar Reddy, for helping me to
come to the United States.
I would like to thank Dr. Kenneth E. Conway and Dr. Craig Liddell for
providing advice, opportunities, and guidance for my career when I first
came to the United States almost 20 years back.
I would like to thank my good friends, Prahalad Puranik, Srinath
Devalapalli, Rakesh Kuruba, Vinod Raghavan, Vijayender Reddy, and PVS
Ravi Kumar, for being positive influences in my career and life. I would
like to thank my good friend and fellow SAP Basis colleague Sitapati
Kalluri for countless deep technical discussions on SAP NetWeaver/Basis
subject matter over the last 12 years. I would like to thank Philip Thilak for
his friendship and deep Oracle database discussions in SAP environments. I
would like to thank Prashant Nanga for giving me my initial break into SAP
consulting. I would like to thank Prasad Rao and CyberTech International
for providing my initial SAP training 12 years ago. I would like to thank
Srinivas Garimella (Vasu) for encouraging me to go into SAP consulting.
I would like to thank Peter Van Avermaet for helping me to deepen my
SAP basis skill during early part of my career. I would like to thank
Srikanth Yelimati, Santhosh Jamandlamudi, Anand Kaliyamurthy, Raj
Joshi, and Sunil Guditi, for checking in on me while writing this book.
Special thanks go to my neighborhood Starbucks!
Introduction
SAP Basis administration involves all system administration activities of
the SAP applications running on ABAP and Java stacks. SAP Basis has
evolved into a complex skill over time, and this book will serve as a
handbook for all system administration activities. This book covers both
ABAP and Java stack architecture and administration skills. This book is
intended for the following audiences:
• University professors and lecturers who need a textbook to teach SAP
system administration and SAP NetWeaver architecture to students
• New SAP Basis administrators
• SAP system administrators experienced in ABAP systems who need
to develop Java administration skills
• SAP system administrators experienced in Java systems who need to
develop ABAP administration skills
• Experienced SAP administrators who need to develop skills in
advanced administration activities such as homogeneous and
heterogeneous system copies and further understand NetWeaver
internal architecture and administration activities
• SAP Basis professionals and prospective Basis administrators who are
seeking information on SAP career trends, certification options,
career progression options, and hot skills
• SAP and enterprise architects who are seeking to understand the
internals of NetWeaver architecture
• SAP technology and IT managers who are seeking a broad
understanding of Basis architecture and administration functions to
make better decisions
How to Use This Book
The book is organized into nine parts and one appendix. Each of the nine
parts of the book addresses a major SAP Basis administration activity. Each
part is further organized into several chapters. There are 28 chapters in this
book. The initial chapters are focused on architecture and installation
aspects, and later chapters address all other system administration activities.
If you are a new Basis professional it is recommended that you read the
chapters in the order presented in the book. If you are an experienced
professional, you can read the chapters in the order that meets your
requirements or need. For university professors and lecturers teaching a
class, it is recommended that you cover the initial architectural concepts
first and then teach the material according to your schedule. At the end of
each chapter additional resources are provided so that students can further
enhance and develop their Basis skills. In general, the book starts with
basics and fundamentals and then, as the chapters progress, more advanced
topics in SAP Basis administration are covered. The appendix specifically
focuses on SAP Basis career trends, certification requirements, training
curriculum and career progression, and hot SAP Basis skills. An overview
of the 28 chapters and appendix is provided here to further explain the
content and value of the book to your skill and career development needs.
Chapter 1: SAP NetWeaver and Business Suite Introduction This
chapter provides an overview of the evolution of SAP software and the
Basis skill set, SAP NetWeaver stacks, SAP Business Suite, and its key
capabilities.
Chapter 2: SAP NetWeaver Application Server ABAP Overview
This chapter covers the architecture concepts of the SAP ABAP stack, such
as the three-tier architecture of SAP applications, starting SAP applications
based on the ABAP stack, verifying that the application started properly,
and how to log in and move around in SAP applications using transaction
codes and menu paths.
Chapter 3: SAP NetWeaver Application Server Java Overview This
chapter provides a detailed discussion of Java programming language
concepts and architecture. It covers the internals of the Java startup
framework in SAP Java applications. The understanding gained from this
chapter will help Basis administrators diagnose any SAP Java application
startup issues in a methodical manner.
Chapter 4: SAP ERP Integration Overview with Other Systems This
chapter discusses the integration of SAP ERP applications with other
applications in the enterprise. Examples of such applications are SAP BW
(Business Warehouse), SAP PI (Process Integration), SAP Solution
Manager, and third-party enterprise tools such as Tivoli, Autosys, and
Taxware. This chapter shows the complexity of the SAP application in
terms of its integration with other enterprise applications and tools to serve
a business purpose.
Chapter 5: SAP ABAP and Java Stack Installation Preparation This
chapter describes the tasks necessary prior to installation, such as visiting
the SAP software download location and checking the product availability
matrix for SAP applications and tools for downloading the SAP software.
Chapter 6: SAP ABAP and Java Stack Installation This chapter
covers the installation tools, the detailed steps involved in SAP ABAP and
Java stack installation, and troubleshooting installation issues.
Chapter 7: SAP ABAP and Java Stack Post-installation This chapter
discusses all the important post-installation activities in ABAP and Java
stacks. These include SAP license installation and performing the kernel
upgrade. Support package application is also discussed in detail.
Chapter 8: Installing SAP Stand-Alone Systems This chapter covers
the installation of SAP stand-alone systems, such as SAProuter, SAP Live
Cache, and SAP Web Dispatcher.
Chapter 9: SAP System Landscapes in ABAP and Java Stacks This
chapter explains the software logistics of ABAP and Java systems. The
SAP client concept, System Landscape concepts, and client instance
strategy are discussed in detail.
Chapter 10: SAP Client Administration in ABAP Systems This
chapter discusses all the client administration activities, such as creating the
local client copy, remote client copy, client import, and client deletion.
Chapter 11: SAP Transport Management System in ABAP Systems
This chapter discusses the internals of setting up SAP transport
management concepts in ABAP systems, the internals of the transport
control program, transport command options, and transport route
configuration.
Chapter 12: SAP Software Logistics for Java Systems This chapter
discusses the software logistics in Java systems, the four-System-Landscape
in Java systems, the Java developmental lifecycle, and the NetWeaver
development infrastructure.
Chapter 13: SAP Complex System Landscapes This chapter will
cover topics such as SAP implementation approaches and complex System
Landscapes, such as a five-System-Landscape.
Chapter 14: SAP Processes in an ABAP Stack This chapter discusses
the core ABAP processes and administration activities in the system. Topics
such as the concept of a SAP work process, the kinds of SAP work
processes, profiles and profile management, locks and updates, operation
modes, logon groups, and RFC server groups are covered in detail.
Chapter 15: SAP Processes in Java Stack This chapter discusses the
key Java stack administration tools, such as Visual Administrator, the
configuration tool, and NetWeaver Administrator.
Chapter 16: Structured Monitoring and Analysis This chapter
discusses the techniques for structured monitoring and analysis. Both
ABAP and Java systems startup troubleshooting processes are explained in
detail in this chapter.
Chapter 17: Solution Manager Installation and Monitoring This
chapter discusses the installation and configuration of Solution Manager. It
also covers the installation and configuration of CCMS agents, Solution
Manager Diagnostics, central performance history, and Wily Introscope.
Chapter 18: SAP Service Marketplace Administration This chapter
discusses SAP Service Marketplace administration activities, such as
searching OSS Notes, opening OSS messages, creating Service
Marketplace users, downloading SAP software, and requesting developer
and access keys.
Chapter 19: Database Installation and Configuration This chapter
discusses Oracle Database internals and installation.
Chapter 20: Database Configuration and Administration Using SAP
BRTOOLS This chapter discusses the internal workings of SAP and Oracle
Databases and naming conventions used for the SAP standard tablespaces,
data and logfiles. It also covers the administration of the SAP database
using BRTOOLS.
Chapter 21: Database Backup and Restore This chapter discusses the
concepts of database backup strategies, performing a complete backup
using BRTOOLS, and performing a restore of a database using BRTOOLS.
Chapter 22: SAP Performance Tuning in the ABAP Stack This
chapter discusses the memory management concepts in ABAP stacks,
memory allocation sequence in dialog and background work processes,
performance tuning transactions, performing SQL trace, and recommended
performance tuning parameters.
Chapter 23: SAP Performance Tuning in the Java Stack This chapter
discusses the key concepts of Java memory management, scalability of Java
applications, and troubleshooting Java memory issues in SAP applications.
Chapter 24: SAP System Sizing Overview This chapter discusses the
theory and practice of SAP sizing, the different types of sizing, user and
throughput sizing, and using the SAP Quick Sizer tool to perform sizing
projects.
Chapter 25: SAP Upgrade of an ABAP Stack This chapter discusses
the ABAP system upgrade key concepts, upgrade strategy, upgrade tools,
upgrade software logistics, and a complete end-to-end ABAP upgrade
process.
Chapter 26: SAP Upgrade of the Java Stack This chapter discusses
the Java system upgrade concepts and tools, dual-stack upgrade procedure,
and a complete end-to-end Java upgrade process.
Chapter 27: SAP Homogeneous System Copies This chapter discusses
the different homogeneous system copy options and provides details on
each.
Chapter 28: SAP Heterogeneous System Copies This chapter
discusses the end-to-end heterogeneous system copy or OS/DB migration
using SAP standard tools.
Appendix: SAP Basis Career Trends and NetWeaver Certification
This chapter discusses the SAP Basis career trends, certification
requirements and options, training curriculum, hot SAP Basis skills, and
career progression options for SAP Basis professionals.
PART I
SAP NetWeaver Introduction and Architecture
CHAPTER 1
SAP NetWeaver and Business Suite Introduction
CHAPTER 2
SAP NetWeaver Application Server ABAP Overview
CHAPTER 3
SAP NetWeaver Application Server Java Overview
CHAPTER 4
SAP ERP Integration Overview with Other Systems
CHAPTER 1
SAP NetWeaver and Business Suite Introduction
SAP is the world’s largest business software company, headquartered in
Walldorf, Germany. There are 121,000 SAP installations worldwide with
more than 86,000 customers operating in 120 countries. SAP business
applications are installed in 25 different industries, and more than 12
million users work every day with SAP solutions. SAP business
applications run on the NetWeaver technology platform. Administering the
SAP NetWeaver platform and its plethora of SAP business applications in a
mission-critical environment is not only challenging, but also offers a
rewarding career for IT professionals. A key resource in any new SAP
implementation or production support organization is the Basis
administrator of the SAP system. SAP Basis administration involves all of
the system administration activities of the NetWeaver technology platform.
A Basis administrator commands top salaries and a stable job with excellent
career progression opportunities in an organization.
Objective
The main objective of this book is to provide a handbook for all major SAP
Basis administration skills necessary to manage a SAP NetWeaver platform.
I will be sharing practical Basis experience and best practices that I have
accumulated over the last 12 years as SAP Basis administrator and technical
architect. This objective will be accomplished by providing a high-level
overview for each of the major SAP Basis system administration skill areas,
followed by specific tools, techniques, and procedures for performing the
activities.
Audience
This book is written for the following audiences:
• A new SAP Basis administrator assigned to work on a SAP
implementation by the organization, or a prospective SAP Basis
administrator.
• An experienced SAP Basis administrator needing a handbook to
perform complex SAP Basis tasks, such as homogeneous and
heterogeneous system copies, dual-stack SAP upgrades, performance
tuning, performing SAP database redirected restores, and so on.
• A SAP Basis administrator who is strong in SAP ABAP (Advanced
Business Application Programming) system administration and who
would like to pick up SAP Java system administration skills.
• A SAP Basis administrator who is strong in SAP Java system
administration and would like to pick up SAP ABAP system
administration skills.
• A SAP technical architect who would like a handbook for planning
and performing activities, such as SAP sizing and SAP application
technical integration to enterprise backup software, such as Tivoli,
and so on.
• A technical architect who would like to understand how SAP will
integrate with the organization’s data center operations and plan for
sizing and architecting the needed infrastructure for rolling out the
solution.
• An enterprise architect who would like to understand how a SAP
infrastructure footprint could be integrated within enterprise
architecture standards.
• A university professor or college lecturer who would like a reference
book in SAP NetWeaver platform technology for teaching and
training requirements.
Brief History of SAP
SAP was started in 1972 by five former IBM employees with a vision of
creating a standard application software for real-time business processing.
SAP stands for Systems Applications and Products in Data Processing.
Since its inception SAP has issued several releases, such as SAP R/1, SAP
R/2, and SAP R/3. The R in these releases stands for “Real-Time” data
processing. The 3 in the R/3 stands for three-tier client-server architecture.
The most current release of SAP is SAP Business Suite 7.
Table 1-1 lists the major SAP releases and the release year.
TABLE 1-1 Major SAP Releases
This book addresses the skill sets required for performing SAP Basis
administration activities for the most current SAP Business Suite 7 release
level. SAP Business Suite applications run on top of SAP NetWeaver
Application Server. Both ABAP and Java system administration activities
of the SAP NW AS will be covered in this handbook. This book will cover
NW 7.0 and NW 7.1 releases.
SAP Business Suite 7
On May 5, 2009, SAP successfully completed the ramp-up of SAP Business
Suite 7 and made it available to the general public. The SAP Business Suite
7 is composed of ERP 6.0 with Enhancement Package 4, SAP CRM 7.0,
SAP SCM 7.0, SAP PLM 7.0, and SAP SRM 7.0. This release of SAP is
service-oriented, with 2,800 enterprise services delivered. SAP Business
Suite 7 applications run on top of the SAP NetWeaver 7.0 technology
platform.
Major software updates to SAP Business Suite 7 are released in the form
of Enhancement Packages (Figure 1-1). SAP delivers separate
Enhancement Packages for the NetWeaver technology stack. SAP Business
Suite 7 is delivered as a “synchronized release” for all major SAP
applications that includes SAP CRM 7.0, SAP SCM 7.0, SAP SRM 7.0,
and SAP PLM 7.0.
Table 1-3 identifies the key customer requests that SAP has addressed
with the new release of SAP Business Suite 7.
TABLE 1-3 SAP Business Suite Key Value Propositions
NetWeaver usage types are software units that are to be installed and
configured as per the requirement of a given business scenario. Usage types
can be combined with others in one system or can be run separately in
different systems. The AS ABAP and AS Java NetWeaver usage types are
also used as a foundation for other units.
Single-Stack System
A single-stack system is defined as a SAP system with either SAP
NetWeaver AS ABAP or AS Java as the foundation usage type. Examples
of single-stack systems are SAP Enterprise portal system running on
NetWeaver AS Java as a foundation unit.
Dual-Stack System
A dual-stack system is defined as a SAP system where both SAP AS ABAP
and AS Java are used as foundation units. An example of a dual-stack
system is SAP Process Integration. A dual-stack system has one SID
(System Identifier) and exactly one database with two different schema
names (one for ABAP and one for the Java stack).
Dual Stacks vs. Separated Stacks
With the introduction of Business Suite 7 the official SAP recommendation
is to install AS ABAP and AS Java capabilities as separate single-stack
systems when the installation options support this. This is referred to as a
“separated stack” install. The latest versions of installation tools starting
with SAP NetWeaver 7 Enhancement Package 1 reflect this
recommendation. For example, if a customer wants to install a business
intelligence (BI) solution, then it is recommended to install BI ABAP
components (BI Content) on a single system with AS ABAP and BI Java
usage types in another separate system. Some solutions (Process
Integration, Mobile Infrastructure, and Solution Manager) are mandatory
dual-stack installations at this time. Starting with SAP NetWeaver Mobile
Infrastructure 7.1, a dual-stack installation is no longer required. SAP is
supporting existing systems with dual-stack installations, and will offer an
upgrade path to move to separated stack architecture. SAP technical
architects and enterprise architects should be aware of this new
development and formulate the technical blueprint and capacity planning
accordingly.
SAP Basis Administrator vs. SAP NetWeaver Administrator
“What’s in a name? That which we call a SAP Basis administrator by any
other name would be as challenging.”
Since its inception SAP has considered the role “Basis administrator” to
be the resource responsible for performing all system administration
activities for an organization that is either implementing a new SAP
solution or building a production support organization. With the release of
the SAP NetWeaver technology platform a few years back, SAP has tried to
brand the role as “SAP NetWeaver administrator.” Despite SAP’s best
intentions, however, the name “SAP Basis administrator” seems to have
stuck in terms of usage by the SAP world. The evidence is in the frequent
usage of the term in all major job boards, usage by the project team and
PMO (Project Management Office), and usage by corporate HR
departments.
For discussion purposes, in this book we use the terms “SAP Basis
administrator” and “SAP Basis administration” to include all system
administration activities of a NetWeaver technology platform, including the
newly released SAP Business Suite 7.
Summary
• SAP system administration and technical architecture work are
challenging and yet provide a rewarding career for an IT professional.
• Business Suite 7 is the most current release of SAP.
• Business Suite 7 includes SAP ERP 6 with Enhancement Package 4,
CRM 7.0, SCM 7.0, SRM 7.0, and PLM 7.0.
• The key benefits of Business Suite 7 are improved functionality, no
major upgrades required, incremental innovation is delivered with the
Enhancement Package concept, and 7-2 maintenance strategy.
• SAP NetWeaver usage types include AS ABAP, AS Java, BI, PI, EP,
EP Core, DI, and MI.
• SAP ABAP and Java administration skills are needed to perform the
job of a Basis administrator of the NetWeaver technology stack and
business suite applications.
• Single-stack, dual-stack, and separated stack install options are
available, depending upon the solution required.
• The SAP Landscape Governance Board is making a separated stack
install recommendation where offered by the SAP installer for several
SAP solutions.
Additional Resources
• SAP NetWeaver Products overview www.sdn.sap.com/irj/sdn/nw-
products
• SAP System Landscape Governance Board recommendations
www.sdn.sap.com/irj/scn/index?rid=/media/uuid/806c3398-a5ab-
2d10-eb90-f364fa65c3b8#
• SAP System Landscape Design Links
www.sdn.sap.com/irj/sdn/alm-landscape-design
CHAPTER 2
SAP NetWeaver Application Server ABAP
Overview
SAP Business Suite applications run on top of SAP NetWeaver Application
Server (SAP NW AS). SAP business applications could run on NetWeaver
Application Server ABAP (NW AS ABAP), NetWeaver Application Server
Java (NW AS Java), or both. SAP ERP 6 is one example of a SAP business
application that predominantly runs on NW AS ABAP. The SAP
NetWeaver Portal 7.0 application runs on NW AS Java. SAP PI 7.1
(Process Integration) runs on a dual stack that includes both AS ABAP and
AS Java platforms.
This chapter covers the technical architecture foundation of SAP NW AS
ABAP from a conceptual as well as practical perspective. This will help the
SAP Basis administrator understand the internals of SAP NW AS ABAP
and work on the various system administration activities of the SAP NW
AS ABAP system and support all SAP business applications running on top
of SAP NW AS ABAP. Chapter 3 will cover the technical architecture
foundations of SAP NW AS Java.
Three-Tier Architecture
For best results, the SAP application should be installed as three-tier client-
server architecture in production environments. The three-tier architecture
is also referred to as a multitier architecture. In nonproduction environments
and smaller business environments, a two-tier client-server architecture is
acceptable as well. In a two-tier architecture both the SAP AS ABAP and
database are installed on one physical machine and the SAP front end on
the business user’s desktop or a laptop. In a three-tier architecture the SAP
AS ABAP and database are installed on separate systems and the front end
is installed on the business user’s desktop or laptop. This architecture offers
excellent performance and scalability of the SAP solution for supporting
demanding business needs.
The three tiers of the architecture are presentation tier, application tier,
and database tier. The presentation tier includes the SAP front-end
components, such as the SAP graphical user interface (GUI). The
application tier includes SAP business logic and is executed on SAP NW
AS ABAP. The database tier includes all SAP-supported relational database
systems such as Oracle, DB2, and SQL Server. Figure 2-1 shows the three
tiers of the SAP architecture.
Rule: 1. In systems with a heavy workload, greater than one enqueue work
process is possible. OSS (Online Support System) Note 127773 provides
additional details. OSS Notes can be downloaded from the SAP Support
Portal (http://service.sap.com/notes). Logging on to the SAP Support Portal
requires a user account issued by SAP to the customer employees and
consultants.
The work process types will be discussed in greater detail in Chapter 14.
Message Server
A message server is an independent program that lists all the servers in the
SAP system. The message server decides which server a user logs on to
(particularly in environments with multiple application servers). As shown
in Figure 2-3, the message server communicates with the dispatcher based
on the load statistics of the application server at any given time.
Rule: A SAP system with any number of application servers has one
message server.
Gateway
The gateway service is responsible for communication between different
SAP systems and external systems. Figure 2-3 shows a gateway service
acting as a communication link between three application servers.
Rule: One gateway for each SAP instance.
Data Flow in a NW AS ABAP
SAP NW AS ABAP provides the technology for running ABAP
applications. Select Java applications can now be run in the same ABAP
work process with the new Virtual Memory Container (VMC) technology.
Data flow in a typical NW AS ABAP system (see Figures 2-2 and 2-3)
for a SAPGUI request is as follows:
1. The end user will log in to the desired SAP system from SAPGUI.
2. Logon groups defined in the system will connect to the message
server and, based on the load distribution, will direct the request to
the appropriate dispatcher. Once the user is assigned to a dispatcher,
the user remains with the same dispatcher until logged out.
3. The dispatcher will pick up the request and distribute it to the work
process. If the work processes are all occupied, then they are gathered
in a queue.
4. The work process executes ABAP or SAP-delivered select Java
programs via VMC technology in the ABAP engine (see the section
“VMC Technology”).
5. If needed, the work process will connect to the underlying relational
database via a database interface using Open SQL.
6. The database interface converts Open SQL to native SQL through the
underlying relational database and gets the requested data.
7. The data is sent back to the end user.
VMC Technology
SAP has developed a new Java VMC architecture and integrated it with the
ABAP work process for the purpose of executing SAP-developed Java
programs. This is not intended for executing custom-developed Java
programs. In such a case, customers are advised to use the SAP NW AS
Java.
The SAP VMC architecture (Figure 2-4) allows an ABAP work process
to use a pool of Java virtual machine from a preallocated virtual machine
pool. VMC is already coded in the SAP standard kernel. However, it is not
activated by default, and the following profile parameters need to be
activated and configured to use the VMC in NW AS ABAP–based systems.
where:
DB starts the database system.
R3 starts the instances and associated processes of the R/3 system.
ALL starts both the database system and the R/3 system. ALL is the default
and can be omitted.
Please note that in a two-tier setup the ALL option works, but in a three-
tier setup, the database must be started prior to issuing startsap.
SAP Parameter Read Sequence During SAP System Start-up
The following sequence is used for reading the system parameters during
SAP start-up:
1. SAP kernel code
2. Default profile
3. Instance profile
SAP Profiles
SAP profiles are operating system files that contain SAP instance setup
information. These files are installed as a part of SAP system installation.
The SAP system uses profile parameters at the system start-up. There are
three types of profiles:
• Start profile This parameter file will define which SAP services will
be started (for example, message server, dialog, gateway, or enqueue
process).
• Default profile This parameter file will define the profile parameters
applicable for all instances (application servers) in the system (for
example, the name of the database host, or the host on which the
message server is running).
• Instance profile This parameter file defines the profile for the
specific instance, which allows individual application servers to be
configured differently for specific tasks and users.
SAP profiles will be discussed in greater detail in Chapter 7.
Verifying the System Started Correctly
You can perform the following checks to ensure that the SAP system has
started correctly:
1. startsap log (startsap.log) file in the <SAPSID>adm home directory
should report that all the services and processes have started.
2. The database starts without any errors as per startdb.log in the home
directory of <SAPSID>adm.
3. Check at operating system level for the SAP processes (dispatcher
and work processes).
4. Check the last lines in the available.log file in the following location:
/usr/sap/<SID>/<instance name>/work/
The last line in the available.log file will have a status entry saying the
system is either available or unavailable.
SAP Operating System–Level Processes
When the SAP system is started, it starts several operating system–level
processes, as explained in the architecture section of this chapter. Checking
the operating system–level processes will ensure that the system has started
correctly and is functioning properly. Check that the dispatcher and the
work processes, message server, enqueue server, gateway, icman, and
Oracle database processes are up and running. Figure 2-6 shows the
different processes that should be available when the system is started
correctly.
FIGURE 2-6 SAP processes at the operating system level
Now that we have looked into starting the SAP system and verifying its
proper functioning, let us look into the user logon process and navigation
aspects of the system.
Login Process to the SAP System
SAPGUI is installed on the desktops or laptops of the business users using
the SAPGUI installation CD. The installation will create a SAP logon icon,
shown below, as a shortcut on the desktop. Double-click the SAP logon
program, and enter the application server information for the SAP system to
which you would like to connect.
Copyright by SAP AG
Double-clicking the SAP logon icon will open the following window.
You can create a new connection to the SAP application server by clicking
the New Item button (shown in the following illustration) and then clicking
the next button in the subsequent screen.
Copyright by SAP AG
Enter the description, application server, system number, and system ID;
and click Finish as shown in the following illustration.
Copyright by SAP AG
Select the system you would like to connect to, and click the Logon
button as shown:
Copyright by SAP AG
Enter the user name and password in the next screen, and press ENTER:
Copyright by SAP AG
You will see the following screen. You can either use the menu path or
enter transaction codes in the command line to navigate and move around in
the SAP system.
Copyright by SAP AG
where:
DB stops the database system.
R3 stops the instances and associated processes of the R/3 system.
ALL stops both the database system and the R/3 system. ALL is the default
and can be omitted.
Please note that in a two-tier setup the ALL option works, but in a three-
tier setup, the database must be shut down separately after SAP processes
have stopped.
Table 2-2 provides a list of the SAP Basis transaction codes used to
check the SAP architecture and parameterization. Table 2-3 is a list of
tables that are referred to in this chapter.
Summary
• SAP technology should be implemented as a multitiered architecture.
• The presentation layer is one of the variants of SAPGUI.
• Other SAPGUI variants include SAPGUI for Windows, SAPGUI for
Java, SAPGUI for HTML, and SAP NW Business Client.
• The application layer is SAP NW AS ABAP.
• The SAP application tier includes the dispatcher, message server,
gateway, work processes, VMC, ICM, ICF, and integrated ITS.
• The database layer is a relational database.
• Use Startsap to start the SAP system.
• Use Stopsap to stop the SAP system.
• The SAP logon program is used to configure and connect to multiple
SAP systems.
• Transaction codes and menu paths are used to navigate SAP systems.
• Gaining a clear understanding of SAP system architecture will help a
Basis administrator to troubleshoot SAP start-up issues.
Additional Resources
• SAP NetWeaver product release information
www.sdn.sap.com/irj/sdn/nw-products
• SAP landscape design and infrastructure
www.sdn.sap.com/irj/sdn/alm-landscape-design
• SAP design and architecture
www.sdn.sap.com/irj/sdn/landscapelayout
CHAPTER 3
SAP NetWeaver Application Server Java
Overview
SAP NetWeaver Application Server Java (NW AS Java) provides a robust
infrastructure for building standards-based Java business applications for
the enterprise. SAP recognized the growing significance of the Java
programming language and started incorporating the Java infrastructure
capability with SAP Web Application Server 6.10. SAP has further
improved the capability to develop and execute industry-compliant Java
business applications in its subsequent versions of the application server.
NW 7.0 and NW 7.1 releases will be covered in this chapter. The most
current NW release available for general use is NW 7.1. SAP Solutions
Process Integration (PI) 7.1 and Mobile Infrastructure (MI) 7.1 run on NW
7.1.
Before we do a deep dive into the NW AS Java architecture, let us
understand some important Java programming language concepts.
Java Programming Language Concepts
Java is an object-oriented programming language developed by Sun
Microsystems in 1995. The main advantage of the Java programming
language is its write once, run anywhere approach. Java applications are
compiled to bytecode that can be executed on any Java Virtual Machine
(JVM), regardless of the computer processor architecture. JVM is a
software program that will emulate a computer processor and execute the
bytecode. This allows Java applications to be platform-independent.
Unlike traditional compilers that generate machine code for a specific
platform, Java compilers generate code (bytecode) for the JVM. The JVM
acts as an interface between the Java and the physical hardware. Since
execution of the bytecode requires an interpretation step as well, Java is
considered both a compiled and an interpreted programming language.
Because of this Java programs could run slow, and this is its main
disadvantage. Just In Time (JIT) compilers and new performance
optimization techniques are helping to mitigate some of the Java
performance problems.
The Java compiler generates class files from the source code that are
executed by the JVM. Multiple class files can be combined as an archive
file and are referred to as jar files. JVM and the Java compiler can read the
class files directly from the jar archive.
Sun Microsystems (acquired by Oracle) markets the Java Software
Development Kits (SDKs) in three versions:
• J2EE (Java 2 Enterprise Edition)
• J2SE (Java 2 Standard Edition)
• J2ME (Java 2 Mobile Edition)
Now that we covered the basic concepts of the Java programming
language, let us start looking into the three-tier architecture for the SAP
Java applications.
SAP Three-Tier Architecture for Java Applications
SAP NW AS Java is based on the industry-standard three-tier architecture.
The three tiers of the architecture are the Presentation layer, the Application
layer, and the Database layer.
Presentation Layer
The Presentation layer for Java-based SAP applications are accessed with a
standard web browser. Figure 3-1 shows the NetWeaver portal access with
the help of the browser URL (http://<server name>:port number/irj/portal).
Copyright by SAP AG
You can log in to the Presentation layer of the SAP NetWeaver portal
shown in the figure by providing the user ID and the password and clicking
the Log On button. This will show the NetWeaver Portal application as in
Figure 3-2.
Copyright by SAP AG
Step 1:
• The startsap command will start the JControl process.
• JControl starts signal handling and connects to the Java message
server.
• JControl starts the JLaunch bootstrap process by reading the
bootstrap.properties file in the
/usr/sap/<SID>/<instance>/j2ee/cluster/bootstrap directory.
• JLaunch creates VM and loads it into its own address space.
Step 2:
The bootstrap program synchronizes the binary data from the Java database
with the file system.
Step 3:
The bootstrap program reads the database and writes the file
instance.properties to the file system in directory
/usr/sap/<SID>/JC00/j2ee/cluster. This file has information on the Java
cluster elements (dispatcher and server processes) that need to be started.
Step 4:
JControl reads the instance.properties file.
Step 5:
• JControl starts the JLaunch for cluster elements defined in the
instance.properties file.
• Each JLaunch starts VM and loads it in its address space and starts the
cluster element.
Step 6:
• The JLaunch cluster element starts offline configuration manager to
read the Java Enterprise runtime properties and saves it in database
hash tables.
• JLaunch stops the offline configuration manager and reads the saved
properties in the database and starts the Java Enterprise runtime.
• The service framework and all the configured services are started.
Step 7:
The JCMON process monitors the status of all the started cluster elements
and takes actions such as restarting terminated processes.
Bootstrap Properties File
The following is an example of a typical bootstrap.properties file:
It is possible to skip or force synchronization of the file system with the
database (bootstrap process) by changing the bootstrap properties.
Disabling the bootstrap process can help to start the Java instance faster.
The bootstrap property element.resynch has three possible values to alter
the behavior of the bootstrap process, which are detailed in OSS Note
710663. Please note that disabling bootstrapping should be considered only
in a steady-state system. During Java updates and patching the application
bootstrap process should be enabled, which it is by default.
Verifying the SAP Java System Started Properly
You can use the following ways to make sure your SAP Java system started
correctly and is operational. The verification steps are explained in detail
under subsequent sections.
• Verify if the JControl process is started at the operating system level.
• Verify if the JLaunch processes are started at the operating system
level.
• Verify if the dispatcher, SDM, and Server 0 … n are in “Running”
status in JCMON.
• Verify using the URL http://<server>:<port>/index.html (e.g.,
http://venus:50000/index.html) | System Information.
• For dual-stack systems, the Java system status can be verified by
using SMICM transaction code (SMICM | Goto | HTTP Server |
Display Data).
• The last entry in the /usr/sap/<SID>/<Instance>/work/available.log
shows the current status of the server.
JControl
The JControl process can be verified by issuing the process command
shown here. You should see one JControl process running at the operating
system level.
JLaunch
The JLaunch process can be verified by issuing the process command as
shown here. You should see one JLaunch for each of the Java cluster
elements. In the example there are four JLaunch processes running at the
operating system level. The first JLaunch is for the Solution Manager
Diagnostic (SMD), the second JLaunch is for the Java dispatcher process,
the third JLaunch is for the server process, and the fourth JLaunch process
is for the Software Deployment Manager (SDM). You will notice more
JLaunch processes if there are more Java server processes configured in the
system.
JCMON
This tool can be used to start, stop, and monitor the Java cluster elements.
You can call the tool as shown here in the UNIX operating system. Note the
status of the cluster elements (dispatcher, SDM, and Server0) as “Running.”
If you start the JCMON tool during the startup process you will see the
status as “Starting Applications.”
Java Startup Framework in NW 7.1
Because of the architectural changes made in NW 7.1, the Java startup
framework has changed as well. Let us look into the details of the Java
programs involved in the startup framework and the exact steps the startup
framework uses to start the SAP Java stack in a NW 7.1 release.
The Java start and control framework consists of the JSTART program.
The JSTART program has twin roles, as shown in Table 3-2.
JSMON
JSMON in NW 7.1 is similar to JCMON of NW 7.0. You should use
JSMON in the NW 7.1 release instead of JCMON. If you call JCMON in a
7.1 system, you will see the following message:
You can call JSMON by executing the following code. The JSTART
Monitor Program is started by using the following command from the
command line:
The JSTART Monitor Program is started, and the output and interface
looks as shown:
The syntax for entering commands in the JSMON tool is
You can use the help command to get a list of all the sections, commands,
and descriptions available for the JSMON tool.
<help
The following command lists the processes that are running at a given
time:
Dual-Stack Systems
Dual-stack systems have both NW ABAP and NW Java stacks. A part of
the SAP dual-stack application runs on the ABAP stack and the other part
runs on the Java stack. The ABAP stack provides the stability and
dependability of the SAP technology and depth in business applications,
and Java stack offers the new technology and architecture for business
applications. One example of a dual-stack system is the Process Integration
solution. This has the Integration Server components running on the ABAP
stack and the Integration Builder components run on the Java stack. The
architectural diagram shown in Figure 3-7 illustrates a typical dual-stack
system.
Copyright by SAP AG
• To stop the Java stack gracefully, you can call transaction SMICM
and follow the menu path SMICM | Administration | Send Soft
Shutdown | Without Restart.
• To stop the Java stack immediately, you can call transaction SMICM
and follow the menu path SMICM | Administration | Send Soft
Shutdown | Without Restart.
• To restart the Java stack after stopping it gracefully, you can call
transaction SMICM and follow the menu path SMICM |
Administration | Send Hard Shutdown | With Restart.
• To restart the Java stack immediately, you can call transaction
SMICM and follow the menu path SMICM | Administration | Send
Hard Shutdown | With Restart.
Java System Logs
The following is the location and a list of important Java log files (Table 3-
3) that need to be verified in case of problems with starting the SAP NW
AS Java system. This will be covered in greater detail in Chapter 18.
TABLE 3-3 SAP Java System Startup Log and Trace Files
The location of important log files for a single-stack Java instance and a
dual-stack (ABAP + Java) instance is as follows:
• For the Java central instance, the default location of the log files is
/usr/sap/<SID>/JC<XX>/work directory where XX=System Number
• For the dual-stack central instance, the default location of the log files
is /usr/sap/<SID>/DVEBMGS<XX>/work directory where
XX=System Number
SAP NW AS Java System Architecture
The SAP NW AS Java internal system architecture meets the Java EE
(Enterprise Edition) 5 specification and consists of the following three
logical layers, as shown in Figure 3-9:
e.g., http://indus:50100/utl/UsageTypesInfo
Transaction Codes
Some of the useful transaction codes in a dual-stack (ABAP + Java) system
are listed in Table 3-5.
TABLE 3-5 Java System Transaction Codes
Summary
• SAP provides a robust Java technology platform for running SAP-
delivered as well as custom-developed standards-based Java
applications.
• Java helps developers write the program once and run it everywhere.
• The Java cluster architecture in NW 7.0 includes Java central instance
(java dispatcher and server processes), SDM, and Java central
services instance (message server and enqueue server).
• The Java startup and control framework in NW 7.0 includes JControl,
JLaunch, and Java Bootstrap programs.
• The Java cluster architecture in NW 7.1 includes Java central instance
(ICM and server processes) and Java central services instance
(message service and enqueue service).
• The Java startup framework in NW 7.1 includes the JStart program.
• SAP dual-stack systems have both ABAP and Java stacks.
• Startsap script and SMICM transaction can be used to manage dual-
stack start procedures.
• SAP Java system architecture includes the Enterprise Java runtime;
system components such as services, interfaces, and libraries; and the
Java applications.
Additional Resources
• SAP NetWeaver Application Server Java 7.1 Architecture
Manual www.sdn.sap.com/irj/scn/index?rid?/library/uuid/6016096b-
aaf5-2910-1ebd-9fef2e14e983
• SAP Application Server Infrastructure
www.sdn.sap.com/irj/sdn/server-infrastructure
CHAPTER 4
SAP ERP Integration Overview with Other
Systems
So far in the first three chapters of this book we have studied an overview
of SAP business suite applications and the NetWeaver Application Server
ABAP and Java technology foundation that it runs on. In this chapter we
will study the central role the SAP ERP system has in an organization and
its network integration into the organization’s enterprise infrastructure, as
well as to the external systems outside the organization and the SAP support
infrastructure. This chapter covers various communication and integration
technologies that “bind” different SAP ABAP and Java-based applications,
along with the third-party enterprise solutions, external vendors, and SAP
support organization into an enterprise-wide SAP solution adding value and
driving the business needs of an organization. This chapter is also intended
to give an overview to enterprise architects as to how a SAP solution would
fit into an enterprise-wide architecture.
Figure 4-1 illustrates the integration scenarios that could come into play
with the implementation and operations of a SAP ERP system for a
hypothetical SAP customer. The remaining sections of this chapter will use
this hypothetical scenario to explain the common integration scenario
groupings and the underlying communication protocol and standards used
by SAP.
FIGURE 4-1 ERP integration scenarios
In UNIX operating systems, the services file maps port numbers to the
named services.
This entry gets there during the time of the SAP installation of a given
business solution. The services file location in a UNIX operating system is
/etc/services. If, for any reason, the service file entry is missing, then the
communication between the SAP applications will be lost and can be
restored by adding an entry manually. Usually it requires a root user
permission to make any changes to the etc/services file.
RFC
Remote Function Call (RFC) is SAP’s communication interface. RFC
communication between SAP business solutions involves an RFC client and
an RFC server. The RFC server provides function modules. RFC clients call
one of the function modules, pass on the data, and get a reply (value) back
from the RFC server.
Setting Up an RFC Connection
Transaction code SM59 is used to create new RFC connections or to alter
an existing connection. Several types of RFC connections can be set up in
SAP systems using SM59 transaction code. RFC connection types “3”
(connects to another ABAP system) and “T” (TCP/IP Connection) are most
often used.
The following procedure is used to set up an RFC connection type “3” in
SAP systems. Use transaction code SM59 in the SAPGUI command line
(see Figure 4-2).
Copyright by SAP AG
Select the connection type ABAP Connections, and click the Create
icon. This will open the screen shown in Figure 4-3. Enter the following
fields to complete the RFC destination configuration:
Copyright by SAP AG
Copyright by SAP AG
If you receive any message window saying the user can log in to the
remote system, just click OK and continue. Your connection entries will be
saved. The next step is to test if our RFC connection is working properly.
Click the Connection Test button at the top of the screen. You will see the
screen shown in Figure 4-5 if all of your connection entries are correct.
Copyright by SAP AG
This is a basic connection test. This does not test the authorizations of
the user who initiated the connection. In order to test if this user has the
authorizations to initiate an RFC connection and successfully log in to the
target system, go back to your RFC connection parameters screen and use
the menu option Utilities | Test | Authorization Test.
This test should be successful as well before you can proceed with your
work in the target ABAP system or use this connection for noninteractive
login by application. You can use the similar procedure to create RFC
connections to different ABAP systems in your SAP system landscape.
Please note that a successful authorization test is mandatory, as this test
executes a user login along with password verification and authorization
test in the target RFC-connected system. A successful authorization test
ensures that the RFC connection is completely ready for use in an
application.
Several other RFC connection types are used to integrate the SAP
system landscape. The RFC connection type “T” refers to starting an
external program using TCP/IP. One example of such need in a SAP system
landscape integration scenario is within the SAP Process Integration
application. In this scenario the Process Integration (PI) ABAP components
integrate with the SAP PI Java component using this connection type.
The SAP PI ABAP system integrates with the SAP Java–based PI
component referred to as the System Landscape Directory (SLD) using an
RFC connection called SAPSLDAPI. Figure 4-6 shows the details that have
to be entered in setting up a TCP/IP RFC connection type. In this type of
connection, a registered server program ID is entered in the RFC
connection on the ABAP side, and the exact same entry is made in the JCO
RFC provider service on the Java side. Once the settings are complete, the
connection test can be executed.
Copyright by SAP AG
Table 4-3 lists all available RFC connection types that are used in the
integration of SAP and different applications in an organization.
TABLE 4-3 SAP RFC Connection Types
Change the mail host for your environment. Click the Set button beside
the Internet address type, type an asterisk (*) in the address area, and click
either the check mark icon or Enter. After this step click Continue. Next,
schedule a send job by clicking the Job icon on the top or pressing SHIFT–F7
and clicking and choosing the schedule job for all address types. Choose
Schedule Immediately, leave the other defaults, and continue. This will
schedule the send job. Next, make sure you maintain the e-mail address of
the users in SU01 transaction. You can monitor the sent jobs by using the
SOST transaction code.
Application Link Enabling/Electronic Data Interchange (ALE/EDI)
The basis of this ALE (SAP-to-SAP business data exchange) and EDI
(SAP-to-EDI system business data exchange) communication mechanism is
the Intermediate Documents (IDOC). An IDOC acts as a data container
facilitating the exchange of business information between SAP systems and
non-SAP systems. The basis of IDOC generation is the message types.
Message types identify the usage of specific business data. One example of
a SAP standard message type is “CREMAS.” CREMAS is the vendor
master data distribution message type. Transaction code WE81 shows all
the message types that have been delivered along with the SAP standard
install and customer-created ones as well.
SAProuter
SAProuter is an SAP program that is used to securely connect to the SAP
support. There is a SAProuter program running on both the customer site
and the SAP support organization site. The SAProuter program is installed
inside the firewall and acts as an “application level gateway.” This adds
another layer of network security for both the SAP customer and SAP. More
specific details will be discussed in Chapter 20.
SAP EPR Integration with Other Business Suite Applications
This group of SAP business applications includes SAP Business Suite 7
(SAP ERP 6 with EhP4, SAP SRM 7.0, SAP CRM 7.0, SAP SCM 7.0, and
SAP PLM 7.0). SAP ERP 6 integrates with the other SAP Business Suite
applications, primarily with the RFC connections. Each of the Business
Suite applications in this group has special interfaces, but the underlying
communication mechanism is via RFC connection over TCP/IP protocol.
SAP ERP Integration with Other NetWeaver Applications
SAP ERP 6 integration with other NetWeaver applications, such as SAP
BW 7.0, SAP NetWeaver Portal 7.0, and SAP PI 7.1, is based on RFC
connections as well.
SAP ERP Integration with Other Third-Party Enterprise
Applications
SAP ERP 6 integrates with a number of third-party solutions, each
performing an enterprise-wide service. RFC connections are used to
integrate these tools with SAP ERP 6 systems, and SAP usually provides
the interfaces to these third-party tools. Third-party vendors also work
closely with SAP, who provides certification of their products. Some of the
SAP-certified third-party products include
• Tivoli This is an IBM product certified with SAP for performing
activities such as backup and monitoring capabilities.
• Autosys This provides enterprise-wide job scheduling functions.
• FileNet This provides archiving capabilities.
• Open View This provides enterprise-wide monitoring and reporting
capabilities.
• Mercury ITG This provides change management capabilities.
• uPerform This provides training solutions for SAP end users.
• Topcall This provides faxing capabilities.
• Taxware This provides sales and use tax calculation for SAP systems.
• D&B This provides the business credit check capabilities for SAP
systems.
This list is not comprehensive. Several hundreds of third-party
enterprise-wide solutions are certified by SAP and can be integrated using
one of the communication protocols discussed in this chapter. Table 4-4
provides the SAP certified partner directory link. This link will help SAP
customers search for all SAP-certified third-party products. Some of the
third-party tools require some additional configuration at setup before they
can be used. Each of the third-party vendors publishes an install and
configuration guide providing details of the third-party connector tool and
the communication setup that is required before using the tool with the SAP
solutions.
Copyright by SAP AG
CHAPTER 5
SAP ABAP and Java Stack Installation Preparation
CHAPTER 6
SAP ABAP and Java Stack Installation
CHAPTER 7
SAP ABAP and Java Stack Post-installation
CHAPTER 8
Installing SAP Stand-Alone Systems
CHAPTER 5
SAP ABAP and Java Stack Installation
Preparation
Before we start looking into the chapters in this section related to SAP
system installation, let us first understand the context of the SAP
implementation project and the role of a SAP technical architect and SAP
Basis administrator. Organizations invest in SAP software to achieve
business capabilities deemed important as per a corporation’s strategic
planning priorities. There will be a sound business case and a financial
sponsor for implementing a SAP project inside the organization. For
example, SAP implementation projects for a Fortune 500 company could
cost several million dollars and last for several years, depending upon the
scope of the implementation effort. Because of the complexity of the
business process and technology configuration involved, organizations
usually partner with systems integrators such as IBM, Accenture, Deloitte,
Capgemini, and SAP for implementing the SAP software. In recent years,
international consulting firms such as Infosys, Tata Consulting Services
(TCS), and Wipro are also helping to provide SAP implementation services
to Fortune 500 companies in United States as well as in other parts of the
world. Several smaller consulting firms provide SAP implementation
services to the mid-market.
Stages of the SAP Implementation Project
SAP implementation projects follow a methodology for successfully
managing the lifecycle of the program. Regardless of the specific
implementation methodologies followed by the systems integrators and
client organizations, different phases of the project more or less remain the
same. Typical phases of SAP implementation projects include design, build,
test, and deploy. These various phases are described in detail in the
paragraphs that follow.
During the design phase of the SAP, project functional consultants will
review the existing business processes and requirements and will identify
any process gaps. Based on this understanding, functional resources will
plan, design, and configure the SAP software. They will also develop
functional specifications and pass them on to the SAP development team
for writing the technical specifications and development of the Reports,
Interfaces, Conversions, Enhancements, Forms and Workflow (RICEFW)
inventory, which represents the needs of the SAP implementation project.
From the SAP technology perspective, a technical architect will analyze the
current organization’s technical architecture and will develop a technology
design blueprint. This document will lay out a detailed blueprint for all the
technology components that would need to be installed and configured for
the development, testing, and execution of the SAP software solution.
The next phase of the implementation project is the build phase. SAP
Basis resources will help build the SAP development systems and establish
naming conventions for software change management during this phase of
the project. During the build phase, functional consultants will configure
the SAP system to meet the requirements of the client’s business processes
and development consultants and integration consultants will build the
RICEFW inventory.
After the build activities are completed, Basis administrators build the
test systems and all the development and configuration performed is
transported (export and import) to the test systems. In the test systems
integration and user acceptance tests are performed, and after everything
has been successfully tested the solution is ready for deployment.
Deployment of the software is the final phase of the SAP
implementation. SAP Basis administrators build the production SAP
systems and migrate all the changes to this system. The conversion team
performs the data conversion activities from the old systems to the new
SAP systems during a weekend before go-live, and then the new solution
will be the system of record. After the new solution stabilizes in a week or
two, the old systems are decommissioned.
As explained earlier, SAP Basis administrators play a key role in
building the development, test, and production SAP systems and in setting
up a transport mechanism for moving the configuration and development
changes to different systems. SAP Basis resources also provide support
activities to the project team in the areas of additional software installations,
patch application, performance tuning, monitoring, backup and recovery,
transport changes within the landscape, and so on. Subsequent chapters in
the book will go into more detail regarding these activities.
In this chapter, we will look at the preparatory steps required before
starting the actual SAP installation. This will include preparation and
planning activities, such as how to translate SAP IT scenarios into
installable SAP software usage types, checking the Product Availability
Matrix (PAM) to verify the availability and compatibility of the SAP
software release with regard to a given operating system and database,
downloading the installation manuals, writing a build specification
document for the UNIX team to create the file system, downloading the
software using SAP Download Manager, and referring to SAP Online
Support System (OSS) Notes for addressing any known issues with the
installs. Now let us study each of these preparatory steps in detail.
Business Requirements Mapping to Technical Systems
Installation
One of the key tasks of a SAP technical architect and a Basis administrator
is to map the business requirements to the installable technical systems.
SAP provides two guides to provide this mapping and identify the technical
components that need to be installed. One is the master guide and the
second is the technology infrastructure guide. The master guide is the
starting point for planning any technical implementation of a SAP
NetWeaver solution. The master guide helps map the business scenarios to
be implemented to the technically installable components and how to lay
out the SAP system landscape. It identifies the business/IT practices that are
available with the NetWeaver solution and the installable usage types that
map to a given IT scenario implementation. The technology infrastructure
guide is more focused on providing information with regard to distributing
the SAP NetWeaver components to different physical hosts to provide a
stable, robust, and high-performing SAP system.
Downloading the Master Guide and Technical Infrastructure Guide
The master guide and technology infrastructure guide can be downloaded at
the following locations:
• https://service.sap.com/instguides | Installation | Master Guide
• https://service.sap.com/instguides | Installation | Technology
Infrastructure Guide
IT Scenarios (Master Guide)
IT scenarios are groupings of SAP business processes delivered by SAP
that give businesses an easy way of implementing a new capability into an
organization in a structured way using reference models and
implementation help. Several IT scenarios are delivered—for example, the
enterprise data warehousing scenario gives a customer the capability to
develop and operate a enterprise-wide data warehousing solution that
includes capabilities such as designing and building business intelligence
models, gathering and analyzing data from multiple sources in the
enterprise and producing operational and strategic reporting, and
implementing dashboards and data visualization options for decision
makers.
A business process expert (BPE) working closely with the business
leadership of an organization will decide which IT scenarios are in scope
for a new SAP implementation. Once an IT scenario is decided upon to
achieve a business goal by an organization, they will look to the technical
team for help in mapping this business need to the actual physical build of
the SAP infrastructure. A SAP technical architect or a Basis architect will
map the identified IT scenario to the installable usage types.
Usage Types (Master Guide)
Mapping the identified IT scenarios to the installable software unit is done
by usage types. SAP provides a master guide that maps the IT scenarios
with the usage types. Master guide can be downloaded from the SAP portal
at http://service.sap.com/instguides | SAP NetWeaver | SAP NetWeaver 7 |
Installation | Master Guide. You will need a SAP Portal (SAP Online
Service Marketplace) user account to gain access to the site. The following
usage types are available for installation for different IT scenarios:
• AS ABAP (Application Server ABAP)
• AS Java (Application Server Java)
• BI Java (Business Intelligence Java)
• PI (Process Integration)
• EP (Enterprise Portals)
• EPC (Enterprise Portals Core)
• DI (Development Infrastructure)
• MI (Mobile Infrastructure)
For example, implementing the enterprise data warehousing IT scenario
requires AS ABAP, AS Java, BI Java, EP, and EPC to be installed.
PAM
The Product Availability Matrix (PAM) is an online resource provided by
SAP so that customers can check the availability of a given SAP product
and supported operating systems and the databases. PAM can be accessed
by using the SAP Portal URL: https://service.sap.com/pam. PAM also
provides vital information, such as the other software dependencies and
requirements, maintenance start and end dates, new product ramp-up
release dates, and release-related OSS Notes. A Basis administrator uses
this information to install the correct SAP release so that it is fully
supported and compliant with SAP standard maintenance. Once the usage
types and the product availability and release information are gathered, the
Basis administrator can proceed to start planning for the actual physical
installation of the SAP software.
Significance of SAP Sizing
SAP sizing helps to estimate the hardware resources that would be needed
to install the system. Incorrect SAP sizing results in undersized systems that
could affect the project implementation in terms of system growth, stability,
and performance. SAP sizing should be done starting in the design phase
and continue even after go-live to plan for capacity planning of the SAP
system landscape. Usually, an initial SAP sizing effort is performed for
budgeting purposes, and subsequent sizing efforts help to estimate the long-
term needs of the SAP solution. Once the SAP sizing project is completed,
the hardware vendor will provide recommendations. Since sizing is so
important for the initial procurement of the hardware and for on-going
capacity planning purposes, a whole chapter (Chapter 24) is devoted to
studying this area in detail.
Hardware Procurement
Usually, the hardware vendor provides several configurations for the
physical layout of the SAP systems. The systems integrator reviews these
options and, working closely with the client, will make a recommendation
for one of the configurations. After client sign-off on the final hardware
recommendation, the order is placed and the physical servers are delivered
to the clients or the hosting provider’s data center and are installed by the
data center and network team.
Download the SAP Installation Guides
SAP installation guides can be downloaded from the SAP Portal (SAP
Service Marketplace at http://service.sap.com/instguides | SAP NetWeaver |
SAP NetWeaver 7 | Installation | Installation Guide. You can download the
specific guide you need, such as SAP NW AS ABAP or NW AS Java. The
installation guide is generally divided into several sections. The planning
and preparation sections are the most relevant for us in this chapter. These
sections usually include activities such as hardware and software
requirements and preparations, distribution of the usage types into one or
more systems, creation of installation user accounts, and setting up the file
system for the software. Usually, a Basis administrator compiles a list of
activities from theses sections and translates this to a UNIX build
specification document. This document forms the basis for preparing the
hardware for the installation of the new SAP system. Let us now look into
some installation definitions and a sample of the UNIX build specification
used for an actual physical installation.
SAP Installation Definitions/Terminology Up to NW 7.0
An understanding of the following definitions will help you plan your build
specification and perform the install for releases upto NW 7.0.
Central Instance
The central instance refers to the application services for the SAP system,
including the enqueue and message services that are located on a single host
machine. The central instance has multiple work processes for the dialog,
update, and background services. The machine on which it runs is called the
central host.
Database Instance
The instance associated with the underlying database of the SAP
application is referred to as a database instance.
Central System Installation
If the SAP central instance and the database are installed on the same
physical host, it is referred to as a central system installation. Usually, small
SAP installations and nonproduction systems are installed with this type.
Distributed System Installation
In a distributed system installation, the central instance and database are
installed on two different hosts. Usually, a distributed installation option is
used for large SAP installations and for production systems.
Dialog Instance
Additional application server instances installed for scalability and load
balancing purposes are referred to as dialog instances. Dialog instances
have additional dialog, batch, spool, and update work processes. These are
joined to the central system.
SID
The SID is a system identifier for the SAP system. It consists of exactly
three alphanumeric uppercase characters; the first character must be a letter;
and the SID should not include any of the reserved words, such as DBA,
COM, and KEY. More reserve words are given in the install guide.
System Number
The system number is an identifier used for internal SAP processes. You are
allowed to choose any two-digit number from 00 to 98. This number should
be unique if more than one SAP system is to be installed on a single host.
SAPinst
SAPinst is the SAP install tool used to build the SAP application. The tool
is delivered along with the downloaded SAP software or the SAP shipped
software. SAPinst drives the entire installation based on the chosen install
scenario.
SAP Installation Definitions/Terminology Starting from NW
7.1
The following terminology and component changes are seen starting with
the NW 7.1 installation:
• The central instance (CI) is now called the “primary application server
instance.”
• The dialog instance (DI) is now called the “additional application
server instance.”
• The central system is now called the “standard system.”
• The database instance term remains unchanged.
• The Software Deployment Manager (SDM) component is no longer
available in the Java system. JSPM (Java Support Package Manager)
performs all the activities of SDM as well.
• You no longer need to download JDK from another vendor. SAP JVM
is shipped along with the install software in the master DVD, and is
automatically installed by SAPinst.
SAP System Install Build Specifications
Now that we have reviewed the definitions that will be used in this and
subsequent chapters related to SAP installations, let us look at a sample
UNIX build specification. It is a best practice to write a formal build
specification with all the naming conventions and provide it to the UNIX,
storage, and database teams so that they can start allocating the needed
storage space and building the underlying operating system (OS) file
system (see Table 5-1) that is needed for the database and the SAP
application installation. Please note that this is not a comprehensive build
specification. Additional information such as swap space requirements,
UNIX kernel parameters, OS patches, and swap information is included in
the build specification as per the instructions and operating system–specific
OSS Notes provided in the install guide. User accounts <SAPSID>adm
(e.g., devadm) and ora<SAPSID> (e.g., oradev) can be created before the
start of the installation as per instructions in the install manual and your
organizations standards. Otherwise, the SAPinst program will create the
accounts in the system during the course of the install.
TABLE 5-1 Sample UNIX File System Layout with Estimated Size
Older installation program was buggy and used to give user account
creation errors. To mitigate this situation it was recommended to create the
user accounts outside the SAPinst tool. However, the newer release SAPinst
install process has gotten significantly better and we are not seeing this to
be an issue.
The next step in the installation preparation is to download the necessary
SAP software.
Download SAP Software
For all licensed customers, SAP software can be shipped to their corporate
offices to the designated recipient, or the software can be downloaded by
the high-level administrator from the SAP software distribution center URL
at http://service.sap.com/swdc or https://websmp201.sap-ag.de/swdc (see
Figure 5-1). You can reach the software DVDs by using the following path
for installing a NW 7.0. On the left side of the screen, expand the download
option and follow the path | Installations And Upgrades | Installations And
Upgrades - Entry By Application Group. Click SAP NetWeaver on the list
on the right, and then choose SAP NetWeaver | SAP NetWeaver 7.0 |
Installation And Upgrade | <Operating System> | <Database>. The software
will now be available under Downloads. Select the DVDs or ZIP files that
you would need as per the installation manual by selecting the check box
beside each of the needed media, and click the Add To The Download
Basket button at the bottom of the screen. This will place the selected
software in the SAP download basket for approval. The software in the
download basket needs approval from a SAP Solution Manager system
installed at the client site. Use transaction code SOLUTION_MANAGER
to approve the software in the download basket from the Solution Manager
system. Once it is approved, it is available for download using the SAP
Download Manager. The SAP Download Manager is a front-end tool (see
Figure 5-2) that will allow the downloading of approved SAP software to
your laptop or desktop. Depending upon the number of DVDs or files that
are in the download basket and the network speed, it could take anywhere
from a few to several hours for the software download to complete. One
best practice is to download the software directly to the UNIX operating
system’s SAP software download directory by installing a Java-based SAP
Download Manager on the UNIX system. This will avoid multiple steps of
downloading the software to your laptop and then to your server download
location.
Copyright by SAP AG
FIGURE 5-1 SAP download URL
Copyright by SAP AG
Summary
• Design, build, test, and deploy are the four stages of a typical SAP
implementation project.
• SAP provides a master guide and a technical infrastructure guide for
mapping the business/IT scenarios to the physical installable software
units (usage types).
• IT scenarios are the business process inventory delivered by SAP.
• IT scenarios map to one or several installable software units called
usage types.
• SAP sizing will help to plan and procure the needed hardware.
• SAPinst tool is used to install usage types.
• Available usage types are NW AS ABAP, NW AS Java, BI Java, PI,
EP, EP Core, MI, and DI.
• PAM (Product Availability Matrix) helps to check the product release,
maintenance, and OS and DB support matrix and compatibility
information for installation planning.
• Build specification document identifies and lists all the key
preparatory steps for the installation planning.
• SAP Download Manager helps to download the software from the
SAP software distribution center to the software hosting directory at
the client site.
• Solution Manager is used to approve all the software downloaded to
the download basket.
• Central system installation is performed for smaller, nonproduction
installations.
• Distributed system installation is performed for larger, production
installations.
• SAP naming conventions will help to standardize the systems in the
customer’s landscape.
• SAP installation planning script will help to plan and execute an
installation in a smooth and effective fashion.
Additional Resources
• Project Management Institute Website
www.pmi.org/Pages/default.aspx
• SAP Sizing Information http://service.sap.com/sizing
• SAP Install Guides Information http://service.sap.com/instguides
• SAP Best Practices Information http://service.sap.com/bestpractices
• TCP/IP Ports Used by SAP Applications
www.sdn.sap.com/irj/scn/index?rid=/library/uuid/4e515a43-0e01-
0010-2da1-9bcc452c280b&overridelayout=true
CHAPTER 6
SAP ABAP and Java Stack Installation
In the last chapter we studied the planning and preparatory steps that have
to be done in order to perform a successful SAP system installation. In this
chapter we will go into details of the actual SAP installation steps, such as
usage of SAP and database installation tools, verifying the UNIX build
before starting SAP installation tools, setting up the environment variables
before starting the actual install, starting the installation process, entering
the parameters in the SAP installation tool, executing the installation,
troubleshooting any installation issues, restarting the installation after
troubleshooting the issue, and uninstalling the SAP software when there is a
need to delete a SAP system. In this chapter, one example of a SAP NW
ABAP stack installation (NW 7.0 ABAP System) and one example of a
SAP NW 7.0 Java stack installation (BI 7.0 Java System) will be covered in
detail. In studying the installation procedures, Oracle Database and UNIX
operating systems are used for examples in this chapter. Similar procedures
can be used when installing SAP solutions in other operating systems and
databases as well. In this chapter, practical aspects of performing an actual
SAP installation are emphasized in detail, and a number of illustrations are
included. The entire lifecycle of an installation process will be discussed in
this chapter.
SAP software can be shipped to a customer location to a designated
person or it can be downloaded to a central secure location at a customer
data center from the SAP Portal (http://service.sap.com/swdc) by a Basis
administrator with high-level user authorization. Most customers have
moved to downloading the software on demand in recent years, because it is
convenient and easy to get the most current versions of the SAP software.
Usually, the software is downloaded to a shared network directory so that
the same software inventory can be used to build all the SAP systems of the
organization. The downloaded software is in a zipped format and needs to
be unzipped before the installation media can be accessed.
Installation Tools
SAP media has the installation tools necessary to perform an SAP install.
SAPinst and Oracle Universal Installer are the main tools used to perform
SAP and Oracle Database software installations. Oracle Database software
should be installed ahead of the SAP software installation. This will allow
Basis administrators to install SAP software using SAPinst without having
to install the Oracle Database software during the course of the SAP install.
SAPinst will create a new custom SAP database once the underlying Oracle
Database software has been installed. Please download the Oracle software
from the SAP software download location and not directly from the Oracle
site. The reason is the SAP download location has the version of the Oracle
package that has been tested with SAP and may include any needed
dependencies and SAP relevant files as well.
SAPinst
The SAPinst tool is called from the SAP installation master DVD, which is
downloaded from SAP Service Marketplace. The SAPinst tool (Figure 6-1)
guides the Basis administrator in choosing which solution needs to be
installed and the different parameters that are needed for a successful
installation. Over time, SAP has improved its software installation tools,
and the current version of the SAPinst tool is effective and intuitive. The
SAPinst tool performs the software installation in five phases, as shown in
Figure 6-1. The details of each phase are explained in subsequent sections
of this chapter.
Copyright by SAP AG
Copyright by SAP AG
The results of the Prerequisite Checker, as shown in Figure 6-6, will
identify issues such as software compatibility, memory requirements, and
operating system support and will help the Basis administrator to address
any issues that might arise before starting the actual install. Prerequisite
Checker can be run in stand-alone mode or default integrated mode during
the install. Running it in stand-alone mode ahead of the time will help to
identify any issues early and remedy the situation before beginning the
actual install, which saves time for the Basis administrator.
Copyright by SAP AG
Detailed ABAP Stack Installation (NW 7.0 ABAP Installation)
In this section of the chapter, the procedure for performing an NW 7.0 EhP1
ABAP stack installation is described in detail. It includes a number of
illustrations and figures to aid in your understanding.
Installation Media
The following list of installation media is needed for a NW 7.0 EHP1
ABAP installation:
• SAP EHP1 for SAP NetWeaver 7.0 installation master DVD
• SAP EHP1 for SAP NetWeaver 7.0 installation export DVD
• SAP EHP1 for SAP NetWeaver 7.0 UC kernel for NW 7.01
• Oracle Database 10.2 and Client 10.2 software
Setting Up the Environmental Variables for the SAP Install
Begin the installation process by logging in as root and setting up the
following environmental variables if you use Bourne and bash shells:
If you are using a csh (c shell), then the environmental variables are set
using the following commands:
If the environmental variable TEMP is not set, the SAPinst tool will
create an installation directory sapinst_instdir below the /tmp directory.
Since installation logs and traces are important, it is recommended to
change the default location of the installation directory files from /tmp to
your chosen directory. In the previous example, TEMP is set to point to the
/oracle<SID>/sapreorg directory. At least 300MB of free disk space should
be allocated for the file system where TEMP is pointing and it should have
777 file permissions. The JAVA_HOME environmental variable should be
set as per your company’s Java installation path. The above path is given
only as an example.
Starting SAP Installation with SAPinst
For SAP installations in UNIX environments, usually a client X terminal
software such as WRQ Reflection X or Hummingbird Exceed is used to
perform the installs. The preceding environmental variables should be set
up after logging in as root to start the SAP system install. The SAPinst tool
is called by executing the following command (./sapinst) from the
installation master DVD. The following example is for a Linux operating
system.
When SAPinst is executed and started, it will start the GUI server and
SAPinst GUI. The SAPinst GUI connects to the GUI server via a secure
connection, which in turn connects to SAPinst. By default, GUI server uses
port number 21212 and SAPinst uses port number 21200. If these port
numbers are already taken by any other application, then it is possible to set
a parameter in SAPinst to provide alternative port numbers. SAPinst can be
executed with the following parameters:
This will launch the SAP installation tool. Figure 6-7 shows the initial
screen of the SAP installation.
Copyright by SAP AG
In the subsequent two to three screens (not shown), SAPinst will prompt
for the path to the installation media of the SAP and Oracle client software.
You should enter the full path to the downloaded installation media. After
clicking Next, SAPinst will check the software and will present an error if it
cannot access or read the downloaded software.
After the summary screen shown in Figure 6-9 is validated and you click
Next, SAPinst will request a Solution Manager key. This is mandatory, and
the install will not proceed until the SAP Solution Manager key is provided.
Please follow the procedure explained in the SAP OSS Note 811923 -
Generating the SAP Solution Manager Key.
Copyright by SAP AG
After verifying the Solution Manager key, SAPinst will start executing
the install steps.
As shown in Figure 6-10, SAPinst executes the install steps, such as
creating the SAP database using underlying Oracle tools and loading SAP-
relevant data, configuring Oracle Database networking so that the SAP
application will talk to the database, and starting the SAP instance.
Copyright by SAP AG
The screen shown validates that SAPinst has successfully executed the
chosen SAP installation option.
Copyright by SAP AG
Detailed Java Stack Installation (BI 7.0 Java Installation)
The following detailed procedure shows the installation of the SAP Java
stack. In this procedure, the Custom install option is chosen to demonstrate
the difference between the typical install option chosen for an ABAP install.
The Custom install option will prompt for more parameter input when
executing the installation.
AS Java, BI Java, EP Core, and EP usage types are chosen for the
installation of the BI Java system.
Copyright by SAP AG
1. As shown in the next illustration SAP SID parameters and the mount
directory are provided to SAPinst.
Copyright by SAP AG
2. Next, the master password and user account passwords are entered.
3. Then the Oracle Listener name and network port number are entered
in the SAPinst. These are used to arrange the Oracle network
configuration.
Copyright by SAP AG
6. System numbers for the central instance and SCS instance of the BI
Java stack are provided to the SAPinst.
Copyright by SAP AG
8. Then passwords for the administrator account and user accounts are
chosen in the SAPinst.
Copyright by SAP AG
Copyright by SAP AG
15. Once SAPinst completes all the installation steps successfully, a
message is shown confirming this.
Copyright by SAP AG
Summary
• The SAPinst tool is used to install the SAP software solutions.
• The Oracle Universal Installer (OUI) tool is used to install Oracle
Database software.
• SAP NW 7 install options include central, distributed, and high
availability.
• SAP NW 7.1 install options include standard, distributed, and high
availability.
• SAP solutions are installed as a single-stack, dual-stack, or a
separated stack systems.
• SAP provides a Prerequisite Checker to verify the install requirements
and compatibility.
• Installation media can be downloaded from the SAP Portal (SAP
Service Marketplace) on demand.
• Installation media can also be ordered and shipped to the
organization’s data center site.
• SAPinst includes five phases for SAP software installation: choose
service, define parameters, check parameters, summary and
completed.
• Failed SAP installations can be restarted from where they failed after
fixing the root cause of the problem.
• SAPinst can uninstall the SAP software if it is no longer needed and
has to be removed from the server.
Additional Resources
• SAP Software Distribution Center https://service.sap.com/swdc
• SAP Installation Tool - Features in Detail
www.sdn.sap.com/irj/sdn/installation?rid=/library/uuid/605aa73c-
4164-2a10-fca6-b33e877fca19
• SAP NetWeaver Installation Guides
https://service.sap.com/installnw70
• SAP NetWeaver 7.0 general information
www.sdn.sap.com/irj/sdn/nw-70
CHAPTER 7
SAP ABAP and Java Stack Post-installation
In this chapter we will cover the post-installation steps that are performed
for both ABAP and Java stack installations. With the addition of Java stack,
dual-stack installation options, and enhancement packages, the time
required to perform post-installation activities has increased significantly. It
takes as much time to perform the post-installation tasks as it does to
perform the actual install. ABAP and Java support package application and
post-install configuration activities are the most time-consuming steps in
the post-installation activities. Other post-installation activities include
basic login checks at the application and operating system levels,
initializing the SAP transport management system, setting up an initial
printer, performing client copies, setting up online help, upgrading kernels,
installing the permanent SAP license and any add-on packages, running
ABAP load generation, and some initial performance tuning. After all the
post-installation activities are completed, a complete offline backup should
be performed.
ABAP Stack Post-installation Steps
The ABAP stack is accessed with the SAPGUI front-end tool, which can be
called directly or from the SAPLogon program. The SAPGUI and
SAPLogon programs are installed as part of SAP front-end installation. The
SAPGUI tool allows you to connect to an individual SAP system, and
SAPLogon allows you to configure connections to multiple SAP back-end
systems. In the SAPLogon screen you can create a connection to the newly
installed back-end SAP system by clicking the New Item button; entering
the fully qualified hostname or IP address, system identifier, and system
number; and clicking the Finish button, as shown in Figure 7-1.
Copyright by SAP AG
After the entries are done, you can connect to the back-end system by
double-clicking the newly entered system or by selecting the newly created
system and clicking the Log On button as shown in Figure 7-2.
Copyright by SAP AG
Login Checks
Login checks should be done at the application level as well as at the
operating system level. The goal of the login checks is to make sure that
there are no errors or any serious warning messages after a new installation.
If there are any issues, then they have to be corrected immediately. If
necessary, log an online message with SAP support to get help in resolving
the issue.
Login Checks at the Operating System Level
Log in at the operating system level as <SID>adm, and verify the start and
shutdown of the recently installed SAP system. System startup and
shutdown procedures have been discussed in detail in the earlier chapters of
the book. As <SID>adm, verify that all SAP processes are up.
This can be verified by issuing the ps -ef | grep <SID>adm command.
This will show all the SAP processes at the OS level.
As ora<SID>, verify that the the database is up and that Oracle processes
are running by executing the following command:
The output of the command should show that all Oracle processes are
running.
Once you have verified that the SAP processes and Oracle processes are
running properly, also verify that the Oracle Listener service is running
properly. This is critical in the Oracle Database systems. As ora<SID>,
verify that Listener is up and running by executing the following command.
The output of the command shows that the Listener is up and listening for
incoming database connections at port 1527.
Copyright by SAP AG
Next check the availability of the SAP server(s) that was newly installed
with all the services, such as dialog, batch, update, enqueue, spool, ICM,
and J2EE, by executing the transaction SM51 as shown in Figure 7-4. The
output of the transaction should show that the server status is active with all
the installed services.
Copyright by SAP AG
FIGURE 7-4 Checking the SAP server list and available services
Copyright by SAP AG
Once you have verified that you are able to log in to the system and
confirm that the server has been installed correctly and all the core services
are running properly, the next step is to check if there are any ABAP
runtime errors in the newly installed system by executing the ABAP
runtime analysis transaction code ST22. The output of the transaction in
Figure 7-6 will show if there are any serious ABAP dumps in the newly
installed system. Occasionally, there will be several serious ABAP dumps
in a newly installed system. The ABAP dumps are usually because of a
known error, such as bad system configuration or source code issues.
Applying a support package patch usually resolves any issue.
Copyright by SAP AG
FIGURE 7-7 System log showing that the system start has no errors
Initialize STMS
The next set of post-installation tasks involves setting up the basic transport
management system in preparation for performing support package
applications. SAP Transport Management System (STMS) helps in
importing SAP objects, and also is used as an underlying mechanism by
which ABAP support packages are applied to the system. Because of this,
this setup is a prerequisite when applying support packages to the system.
The following example shows a simple setup of STMS. Since transport
management is so important for setting up the software logistics of the SAP
systems, this topic will be covered in greater detail in Chapter 11. The
following steps should be performed to set up basic STMS in the newly
created SAP system. Execute transaction code SE06, and after verifying
that the Standard Installation option is selected, click the Perform Post-
installation Actions button.
This will perform the post-installation steps for Transport Organizer and
prompt for Correction and Transport System (CTS)—an old name for
STMS. Click Yes.
This completes the post-installation preparatory steps before configuring
STMS. The system shows the following message: Processing after
installation completed, configure TMS.
The next step when initially configuring the transport setup is to execute
transaction code STMS. When you enter the STMS transaction in client
000, you will notice the screen in Figure 7-8. Verify the transport domain
name, and click the Save button.
Copyright by SAP AG
Copyright by SAP AG
FIGURE 7-10 Loading SAP support packages from the front end
This will open a window requesting the location of the SAR files.
Pointing the path to the location of the downloaded SAR files and clicking
the Open button, as shown in Figure 7-11, will display the compressed files,
which will be extracted when the Decompress button is clicked, as shown in
Figure 7-12. The extracted files are transferred to the application server in
the /usr/sap/trans/EPS/in directory. Once the files are extracted, they can be
queued up in the Support Package Manager and imported into the system.
Copyright by SAP AG
FIGURE 7-11 SAP front end showing location to the downloaded SAR files
Copyright by SAP AG
Once the archives are extracted, whether through the front end or
through the application server, they are extracted to the Electronic Parcel
Service (EPS) inbox at /usr/sap/trans/EPS/ in directory. Once the files are
extracted to the EPS inbox next step is to use the SPAM transaction menu
path Support Package | Load Packages | From Application Server. This will
show the confirm upload screen where you will click on Yes push button.
This will result in the loading of the files from the application server as
shown in Figure 7-14.
Copyright by SAP AG
Application Phase
The first step when applying an SAP support package is to import the
SPAM update, which is the patch for the Support Package Manager. The
update can be started by calling transaction SPAM | Support Package |
Import SPAM/SAINT update. The rest of the support packages should be
applied only after applying the most current Support Package Manager
update, as shown in Figure 7-15.
Copyright by SAP AG
Clicking the green check mark starts the application of the SPAM
update, and it runs to completion. You need to exit the SPAM transaction
and restart it toward the end of the SPAM update application so that the
system can confirm the changes. Figure 7-16 shows the execution stage of
the SPAM update, and Figure 7-17 shows that the SAP update from Support
Package Manager version 26 has been updated successfully to version 34.
Copyright by SAP AG
After uploading and queuing all the support packages, the entire queue
can be imported by selecting Support Packages | Import Queue (or by
pressing SHIFT-F7). It is recommended to apply the support package queue in
the background, and no user should be logged on the system for the
duration of the support package application.
Troubleshooting Phase
Support package application can fail because of a number of reasons. The
most common issues are with a lack of database space and known problems
with some of the support packages. SAP provides a restart option after the
root cause of the issue is resolved. OSS Note 822379: Known Problems
with Support Packages in SAP NW 2004s AS ABAP should be used to
check any known issues with the individual SAP support package or the
queue. This note also lists the remedial action that has to be performed to
correct any known support package issues.
Add-On Installation
SAP add-ons are additional enhancements to the standard SAP system.
Starting with SAP Business Suite 7, most add-ons are already installed as
part of the standard ERP install. However, there are still a few add-ons for
the NetWeaver installation, such as BI content, that have to be applied after
the installation using the SAP Add-On Installation tool with transaction
code SAINT. Add-on–related SAR files are downloaded from the SAP
Software Download Center and are extracted using the SAPCAR utility to
the /usr/sap/trans/EPS/ in directory, as described in the earlier section. Once
extracted, the add-on files can be applied using the SAINT transaction code,
as shown in Figures 7-18, 7-19, and 7-20.
Copyright by SAP AG
FIGURE 7-19 Confirm the installation by entering a password from the OSS
note.
Copyright by SAP AG
5. Replace the kernel directory with the newly extracted kernel files.
6. Run the saproot.sh script using the root account to fix the
authorizations of some kernel files as shown:
7. Start the SAP system and SAPOSCOL (saposcol -l).
8. Perform basic technical checks after the kernel upgrade.
9. Check the kernel release level using the command disp+work -v |
more.
10. Check the kernel release and patch level using transaction code
SM51 | Release Notes.
Please note that if it is not a complete kernel upgrade, you can shut down
the SAP application, make a backup of the current kernel, and overwrite the
extracted files with the newer extracted files. You can use the basic UNIX
copy command with recursive option to perform this task.
SGEN (Generate the ABAP Loads)
Transaction code SGEN is used to generate the ABAP loads in the newly
installed system after all of the post-installation tasks are completed.
Execute transaction code SGEN, select the software components that need
to be generated, and click Continue, as shown in Figure 7-21.
Copyright by SAP AG
The next screen shows that the selected software components ABAP
loads can be generated in the background. Select the Start Job Directly
option, as shown in Figure 7-22. This will schedule the ABAP load
generation in the background, and you can monitor the progress of the run,
as shown in Figure 7-23. It is recommended to turn off Oracle archiving
during SGEN execution.
Copyright by SAP AG
Printer Setup
After the installation is completed, initially a SAP front-end printer is set up
using transaction code SPAD (Spool Administration). Figures 7-24 and 7-
25 show the device types and access method that has to be selected to
successfully set up a local or front-end printer in SAP. This will allow users
of the system to print to the default Windows printers.
Copyright by SAP AG
Copyright by SAP AG
FIGURE 7-25 Access method settings for a typical local printer in SAP
Copyright by SAP AG
FIGURE 7-26 SLICENSE transaction showing the option to install the new
licenses
This will open another window asking for the location of the permanent
SAP license file, as shown in Figure 7-27. Point the path to the downloaded
permanent SAP license file, and click the Open button. This will install the
permanent SAP license, as shown in Figure 7-28.
Copyright by SAP AG
Client Copy
The client copy process allows a copy of the standard SAP delivered client
000 to a customer-specific client or to clients using various client copy
tools. Since this topic is so important for setting up SAP software logistics,
Chapter 10 is devoted to this topic.
Profile Parameters
After a new SAP system is installed, it comes with a set of standard SAP
parameters that are read at the start of the system. The parameters exist at
the operating system level and have to be imported to the application using
transaction code RZ10 and menu option utilities | Import Profiles | of active
servers. Since profile parameter administration is very important, more
details will be covered in Chapter 14.
Setting Up SAP Online Help
The SR13 transaction code is used to configure and set up SAP online help,
as shown in the illustration.
Copyright by SAP AG
Backups
Make a complete offline backup of the system after all the post-installation
tasks have been successfully completed.
Java Stack Post-installation Steps
Some of the key Java stack post-installation steps will be discussed in this
section. After the installation is successfully completed, the first step is to
log in at both the operating system and application levels, and check if
everything is consistent and no errors are reported. After this, some of the
critical post-installation steps, such as installation of Java support packages
and license key installation, will have to be performed.
Login Checks
After successfully installing the Java stack, execute the following tasks to
check the system. The following procedures have been discussed in detail
in earlier chapters of this book.
Log In and Check the System at the Operating System Level
1. As <SID>adm, check startup and shutdown of the SAP system.
2. As <SID>adm, check if all SAP processes are up.
3. As ora<SID>, check that the Oracle Database and Listener are up.
4. Check JCMON for Java systems up to NW 7.0.
5. Check JSMON for Java systems from NW 7.1.
6. Check the availability log in the work directory.
Log In and Check the System at the Application Level
1. Check the Index page.
2. Check the Portal Login page.
3. For dual-stack applications, transaction code SMICM can be used to
check the availability of the Java stack.
Java Support Package Application
The Java support package is applied using the Java Support Package
Manager (JSPM) tool. You have to log in as <SID>adm at the operating
system and change the directory to the following location to start the JSPM
tool by executing the command ./go. This will bring up the logon page for
JSPM. Enter the administrator account at the login screen. The Java support
package stack is downloaded from the SAP Software Download Center at
http://service.sap.com/sp-stacks. After the stack is downloaded, save the list
as an .xml file and include this file along with the Java SCA files in the
/usr/sap/trans/EPS/in directory. Figure 7-29 shows the JSPM tool scanning
the EPS inbox and showing the source and the target Java stack levels.
Copyright by SAP AG
You can get more details by clicking the Show Details button. After
verifying the details, click Next to start deploying the Java patches.
JSPM first applies a patch to the Package Manager tool and restarts,
similar to the SPAM tool. Once this is done, it will start scheduling and
deploying the Java support packages by calling SDM internally. JSPM can
also perform a kernel upgrade automatically if you include the kernel files
in the usr/sap/trans/EPS/in directory. Figure 7-30 shows successful
deployment of the Java support packages.
Copyright by SAP AG
This will start the Visual Administrator tool. Login to the tool and choose
Server0 | Services | Licensing Adapter to install the license.
Get the hardware key, and follow the same procedure for obtaining the
SAP license script from SAP. Once you receive the SAP Java Stack
permanent license, install the license script by using the Install License
From File option in Visual Administrator.
Summary
• SAP login checks can be performed at the application level by
connecting to the newly installed back-end SAP system using the
SAPLogon program.
• Clients 000, 001, and 066 are standard SAP delivered clients.
• SAPGUI helps in connecting to an individual SAP system to perform
application checks.
• Transaction codes SM28, SM51, SM50, ST22, and SM21 can be used
to verify successful SAP installation.
• SAP operating system–level checks include successful startup and
shutdown of the SAP system and the underlying database.
• SAP work processes and Oracle processes can be checked for
successful verification of the newly installed SAP system.
• SE06 and STMS transaction codes are used to set up the initial SAP
Transport Management system.
• STMS setup is a prerequisite for performing ABAP and Java support
package application.
• SPAM transaction is used to apply the SAP ABAP support packages.
• SAINT (SAP Add-on Installation tool) is used to apply SAP add-ons.
• The SAP kernel upgrade procedure replaces the older version of the
SAP kernel with the newer kernel executables.
• SGEN transaction is used to generate ABAP loads in the background.
• The SPAD transaction is used to set up an initial printer in the newly
installed SAP system.
• The SLICENSE transaction code is used to install SAP permanent
license keys in the system.
• The SR13 transaction is used to configure the SAP online help.
• The STZAC transaction is used to configure the system time zone
settings.
• Client copy setup and import of profile parameters are some of the
other important post-installation activities.
• Client administration tools are used to copy a SAP-delivered client,
such as 000, to a customer-owned client.
• A complete offline backup of the SAP system is recommended after
all the post-installation steps are completed.
• Java stack systems are verified at the application level by checking
the index page of the Java stack.
• Java stack systems are verified at the operating system level by
checking the SAP Java processes and Oracle processes.
• The JSPM tool is used to install Java support packages for Java stack–
based systems.
• The URL http://service.sap.com/sp-stacks is used to download both
ABAP and Java support package stacks.
• The URL http://service.sap.com/licensekeys is used to apply for the
permanent SAP license.
• Visual Administrator License Adapter service is used to install the
permanent license key in the Java stack systems.
Additional Resources
• SAP NetWeaver Technology Software Developer Network
http://sdn.sap.com/irj/sdn/netweaver
• SAP NW 7.0 Installation Guides
http://service.sap.com/instguidesNW70
• SAP Release Notes http://service.sap.com/releasenotes
CHAPTER 8
Installing SAP Stand-Alone Systems
In this chapter we will study the installation and configuration of some of
the SAP stand-alone components. These components are not mandatory and
are installed as part of meeting the requirements of a specific IT scenario.
The SAPinst tool helps in the installation of most SAP stand-alone
components. Some components, such as SAProuter, are installed by
following a manual installation process.
The stand-alone components do not run on SAP AS ABAP or AS Java
stack–based usage types. SAP Web Dispatcher and SAProuter installation
and configuration will be discussed in detail in this chapter. SAP liveCache
is a promising database technology, and installation of this technology will
also be covered. SAPinst also provides an uninstall option if needed so that
SAP software can be removed from the server in a structured manner. Table
8-1 lists some of the important SAP stand-alone components and their
respective functions.
TABLE 8-1 Stand-Alone SAP Components
Copyright by SAP AG
Copyright by SAP AG
Copyright by SAP AG
5. Enter the path for the liveCache log volumes, and click Next.
Copyright by SAP AG
6. Enter the path to the liveCache data volumes, and click the Next
button as shown.
Copyright by SAP AG
Summary
• The SAPinst tool provides options for installing stand-alone tools and
engines such as SAP Web Dispatcher and liveCache technology.
• The SAP Web Dispatcher allows distributing HTTP/HTTPS SAP
requests to several application servers via the message server.
• SAProuter acts as an application-level gateway and controls access to
the client’s SAP systems by SAP support resources logging in from
remote locations.
• SAPinst provides an uninstall option to remove the SAP software in a
clean manner instead of deleting the files manually.
• SAPinst provides several other installation options that can be used
based on the client’s IT scenario, such as SAP TREX (Search and
Classification) and SAP standalone gateway installation.
Additional Resources
• Additional information on SAProuter
http://help.sap.com/saphelp_nw04s/helpdata/en/4f/992ce8446d11d18
9700000e8322d00/frameset.htm
• Detailed documentation on SAProuter 7.10 https://websmp207.sap-
ag.de/~form/sapnet?
_FRAME=CONTAINER&_OBJECT=011000358700003588172003
E
• SAP Web Dispatcher overview
www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0c9e49
0-0201-0010-e899-fd57db5e9a66;jsessionid=(J2EE3417600)
ID1580467750DB10005911907367397718End
PART III
SAP Software Logistics
CHAPTER 9
SAP System Landscapes in ABAP and Java Stacks
CHAPTER 10
SAP Client Administration in ABAP Systems
CHAPTER 11
SAP Transport Management System in ABAP Systems
CHAPTER 12
SAP Software Logistics for Java Systems
CHAPTER 13
SAP Complex System Landscapes
CHAPTER 9
SAP System Landscapes in ABAP and Java
Stacks
In this section of the book several chapters will be devoted to studying the
software logistics of SAP systems in both ABAP and Java stacks. SAP
software logistics provides a methodical way of developing and configuring
SAP software in development systems and moving the changes in an
orderly fashion to quality assurance systems for testing and eventually to
the production system for final deployment. In order to accomplish this,
SAP has provided a number of built-in software version and change
management tools to ensure a smooth implementation of SAP software by
the project team.
SAP software logistics includes such topics as SAP System Landscapes,
SAP change management, SAP client concepts, SAP client instance
strategies, SAP transport strategies, SAP transport management system,
SAP multirelease strategies, and n and n + 1 architecture. For a successful
SAP implementation, a well-thought-out SAP software logistics is
important. Usually, a SAP technical architect or a Basis architect develops
the software logistics strategy in cooperation with the team leads of the
SAP project team. What a good urban plan is to a well-built city, a well-
designed software logistics plan is to a smoothly functioning SAP
implementation project.
Now let us look into some key activities and roles that come into play
during this phase of SAP project implementation. During this phase, the
development and quality assurance systems are built by the Basis team and
the client instance strategy and software change management strategy is
agreed on and implemented. We will focus on the details of the SAP System
Landscapes and SAP client instance strategy in this chapter. Subsequent
chapters will deal with the client administration activities, transport
strategy, transport management system, and related topics. During this
phase of the SAP implementation, the developers will start writing code
that the standard software does not already include and that has been
identified as a gap in supporting the requirements of the business. The SAP
functional team will start creating the organizational structure of the
business in the system and configuring the tables of the SAP software to
support the business process.
It is the responsibility of the SAP Basis administrator to communicate
and enforce the agreed-upon rules laid out for the SAP software logistics
while both the developers and the configurators work on the development
systems. Once all the development and configuration work is complete, the
changes are moved to the quality assurance systems by the Basis
administrators using SAP transport tools as per the SAP transport strategy.
Once the changes are in the quality assurance system, the testing team will
execute the test plan along with all the test cases. Any defects in the
software identified in the quality assurance system are fixed in the
development system and moved to the quality assurance system for
retesting. Once all the testing is complete, the Basis team will move the
changes to the production system for deployment.
Software Logistics in ABAP Systems
As mentioned, software logistics in an ABAP system includes a discussion
of concepts such as SAP System Landscapes, SAP client concept, SAP
client instance strategy, SAP version management, SAP client-dependent
and client-independent data, SAP configuration changes using the
Implementation Guide, and SAP change requests and transport
management. Some of the examples of SAP ABAP systems are SAP ERP,
SAP BW, and SAP SCM.
System Landscapes
The System Landscape is defined as a SAP server environment usually
comprising of development, quality assurance, and production systems.
Additional systems in a typical landscape may include servers for training
and data conversion purposes as well. Recommendations for a System
Landscape are based on the purpose, organization size, and scope of the
implementation effort of the project.
In a one-System-Landscape, development, quality control, and
production needs are met by a single system. This kind of landscape is
usually used for demo and training environments only. It is not
recommended for productive operation. In a two-System-Landscape,
development and test are performed in one system and changes are then
moved to a second production system. This landscape does not allow for an
isolated test environment, and any changes to the development objects can
have an immediate impact on the testing environment. This landscape is not
recommended for productive operations. It is usually used in demo,
training, and very small organizations where the scope is limited. SAP
recommends a minimum of three System Landscapes consisting of
development, quality control, and production systems. This is the most
common SAP System Landscape, and it meets the needs of most mid-size
to large organizations. The illustration shows a minimal three-System-
Landscape environment consisting of development, quality assurance, and
production system environments. Moving the code changes and
configuration changes from the development system to quality assurance
systems and then to production systems in an orderly manner, with proper
testing and an approval process, is usually referred to as a “promote to
production strategy.” For some SAP implementation projects, the needs are
more demanding than the typical three-System-Landscape, and in these
cases the landscape is further extended into four or five System Landscapes.
This is further discussed in detail in Chapter 13.
Client Concept
When we install a SAP system, it is usually referred to as an SAP instance.
The SAP instance is identified by three alphanumeric characters referred to
collectively as the SAP system identifier (SID). Examples of SID include
DEV, QAS, DV1, PRD, and PR1. In addition, each SAP instance can have
more then one logical data areas within it, referred to as clients. Clients are
identified with a three-digit number such as 100, 320, or 500. SAP delivers
three standard clients for every new ABAP system instance. They are SAP
reference clients 000, 001, and SAP early watch client 066.
The SAP client is defined as a self-contained unit in an SAP instance
with its own dataset and set of tables. This separation of data areas will
allow SAP developers and functional configurators to work in different
clients of the same instance without affecting each other’s work and the on-
going work of the other teams. The SAP client concept also allows for legal
separation of data within an instance. Upon installing a new SAP system,
the Basis team creates a copy of the SAP reference client 000 or 001 on to a
new client with a unique three-digit identifier. The client copy process and
different client administration activities will be discussed in more detail in
Chapter 10.
SAP nonproduction systems usually have multiple clients and are
created as per the client instance strategy of a given SAP implementation.
We will study more about the client instance strategy in subsequent sections
of this chapter. The SAP client number is entered when the user logs on to
the system and will allow the logged-on user to view data belonging to this
particular client. The following illustration shows the user entering a client
number to log in to the system. The user can work in client number 100
while other users are working at the same time in other clients belonging to
the same SAP instance.
Copyright by SAP AG
FIGURE 9-1 Client-dependent user master table showing the Mandt field
Copyright by SAP AG
Copyright by SAP AG
The following sections discuss the main components of the SAP NWDI.
SAP NetWeaver Developer Studio
SAP NetWeaver Developer Studio is SAP’s Java-based development
environment. It is an open-source project based on the Eclipse platform.
Change Management Service (CMS)
Change Management Service is part of the NWDI and helps transport Java
objects between the four systems of the Java landscape. It is similar to the
SAP Transport Management System (STMS) of the ABAP systems.
Design Time Repository (DTR)
Design Time Repository is the part of the NWDI that acts as a central
storage for all source files in different formats. DTR provides a check-in
and check-out mechanism for source files so that developers can access the
files from the repository.
Component Build Service (CBS)
Component Build Service is the part of NWDI that provides the central
build environment. The build process is based on the SAP component
model. The objects are ready to be imported to the test system after a
successful build, and then will be moved eventually to the production
environment for final deployment.
More details of SAP Java software logistics will be discussed in Chapter
12.
Summary
• The SAP System Landscape is a server environment comprising
development, quality assurance, and production systems in an ABAP
stack.
• Three-System-Landscapes are recommended for SAP ABAP
development and configuration projects.
• Four-System-Landscapes are recommended for SAP Java
development projects.
• The client concept in ABAP systems helps to isolate data
environments where parallel activities can be organized within the
same SAP instance.
• Client data can be categorized into client-dependent and client-
independent.
• Client-dependent data is accessible within the same client.
• Client-independent data is accessible across all the clients in a SAP
instance.
• SAP client instance strategy allows for orderly development and
configuration in ABAP stacks providing a “promote to production”
path for all the tested and approved changes.
• SAP Transport Management System (STMS) is used to move the
change requests (transports) from the development environment to
the quality, training, and production environments in an ABAP stack.
• SAP Change Management Service (CMS) of the NWDI is used to
move Java object changes in the Java stack.
• NetWeaver Developer Studio is the Java application development
platform used in the Java stack environments.
• The NWDI Design Time Repository (DTR) serves as a central
repository for all source files.
• The NWDI Component Build Service (CBS) serves as a central build
environment for Java applications.
• SAP NetWeaver Portal and Development Infrastructure usage types
are good examples of a Java stack environment.
• SAP ERP (ECC) and SAP BW are good examples of an ABAP stack
environment.
Additional Resources
• SAP Software Logistics www.sdn.sap.com/irj/sdn/softwarelogistics
• SAP Landscape Design www.sdn.sap.com/irj/sdn/landscapedesign
• SAP NetWeaver Developer Studio www.sdn.sap.com/irj/sdn/nw-
devstudio
CHAPTER 10
SAP Client Administration in ABAP Systems
In this chapter we will cover all client administration activities of a typical
ABAP system. One good example of an ABAP system where a lot of client
administration activities such as client copies, client refreshes, and client
deletions are performed is an ECC (ERP Central Component) system. New
clients are created, refreshed, and deleted based on the client instance
strategy of a given SAP implementation. In addition, testing strategy,
conversion strategy, and training strategies call for the creation of additional
clients, such as integration testing clients, conversion testing clients, and
end-user classroom training clients. Out of all the client administration
activities client copy is the most important and most of this chapter will go
into considerable detail of this process. Other client administration activities
are also covered to a fair extent in this chapter.
Proper setup of new clients and enforcement of correct client settings as
per the client instance strategy are very important to protect the integrity of
the change management process, distribution of custom code and
configuration changes in a SAP landscape, and version management in an
implementation project.
Client Copy (Local Client Copy)
The client copy process helps to create a new client as a copy of an existing
client. After the installation a new client is created as a copy of client 000 or
001. Since this copy is performed on the local system, it is referred to as a
local client copy. Whenever there is a reference to a client copy, by default,
it means a local client copy. The following explains the prerequisites, best
practices, and detailed procedure for setting up a new client using SAP
standard tools. Client 300 will be created from SAP installation default
client 000 in the example.
Prerequisites for Setting Up a New Client
The following prerequisites must be performed before setting up a new
client. This will help ensure a smooth setup process.
Enable the sap* User
During the setup of a new client, the user account sap* is used during the
initial copy process. By default, this account is disabled in a newly installed
system. Since we need this account to perform a client copy, we have to
enable it. This account status is governed by a SAP profile parameter
login/no_automatic_user_sapstar. The account is enabled when the
parameter value is set to 0. By default, the parameter value is 1. Transaction
code RZ10 should be used to change the parameter value from 1 to 0 before
starting the client copy process. More details on how to change SAP
parameter values is explained in detail in Chapter 14. User account sap* is
coded in the kernel and by default has all authorizations and has a default
password of PASS. Once the parameter is enabled then the sap* user
account can be used for performing a client copy.
Create a New Logical System
A logical system uniquely identifies a physical client in a SAP System
Landscape and is used as an identifier for setting up communication
between different SAP clients, systems, and external systems. Even though
this is not mandatory for setting up a new client, it is highly recommended
and is therefore listed as a prerequisite. Transaction code BD54 should be
used to setting up a new logical system. Enter transaction code BD54 in the
current client (client 000), which displays the following screen indicating
that the logical systems table (TBDLS) is client-independent. Click the
green check mark acknowledging this and continue.
Copyright by SAP AG
The following screen will appear, where new logical system names can
be maintained by clicking the New Entries button.
Copyright by SAP AG
This will present the following illustration where a new logical system
name for client 300 is entered. The recommended naming convention for a
new logical system name is <SID>CLNT<Client#>. For example, if you
would like to create a new client in a SAP system with system identifier
DEV and client number 300, this naming convention would translate to
DEVCLNT300.
Copyright by SAP AG
After the new logical system DEVCLNT300 is entered along with the
text description, click the Save button (CTRL-S). You will be prompted to
save the change in a data package number referred to as a transport request,
as shown. Transport requests will be discussed in detail in Chapter 11. This
data package will be used to export and import newly entered data from the
development systems to all the downstream systems, such as quality
assurance and production systems. In the illustration the system is
prompting you to either enter an existing transport number or create a new
transport request number. In our case, we will choose to create a new
transport request by clicking the page icon (F8).
This will show a create request window, as shown in Figure 10-1. Enter
a text description in the Short Description field to properly identify the
transport request.
Copyright by SAP AG
Click the Save button. The following screen appears with an assignment
of a new transport request number. In our case the system-assigned
transport request number is DEVK900024. This number is uniquely
identified in the entire SAP System Landscape and is used to move changes
to all the downstream systems such as quality assurance and production
systems.
Click the green check mark button or press ENTER. This will save the
changes in the table and the uniquely identified transport request number.
You will notice a message at the bottom of the screen notifying you that
data was saved. This confirms that the newly created logical system
DEVCLNT300 is saved in the database table.
Copyright by SAP AG
When you press the BACK ARROW button (F3), you will notice that the
newly entered logical system name is now showing in the table list.
Copyright by SAP AG
Copyright by SAP AG
Click the change button (the pencil icon or press CTRL-F1) and you will
see the following window indicating that this is a cross-client table.
Copyright by SAP AG
Acknowledge the window by clicking the green check mark. This will
show the client list in change mode with a New Entries button, as shown.
Copyright by SAP AG
Click the New Entries button, and you will see the following screen
(Figure 10-2) for entering the new client information. Enter the information
as shown. Please use the following guidelines for entering the information:
Copyright by SAP AG
• Client Enter the client number as per the client instance strategy
document. Enter a brief description of the purpose of the client as
well.
• City The name of the city where the physical SAP system is located.
• Logical System In this field enter the unique logical system name that
was created in the client copy prerequisite step, or use the down
arrow (F4) to display the list of values from which to choose. Select
DEVCLNT300.
• Standard Currency For United States installations, select USD.
Otherwise, select the appropriate currency from the drop-down list
(F4) for the country where SAP is being installed and implemented.
• Client Role Pick the relevant client role from the drop-down menu. In
this example, we chose the client role Test.
• Other Settings This should be set as per client instance strategy client
settings. Unless this is a development system, No Changes Allowed
should be selected. More details will be covered in the section
“Manage Client Settings.”
Once all the entries are filled out, click the Save button or press CTRL-S.
This following window will be displayed asking you to be careful when
changing logical system names. Acknowledge the message by clicking the
green check mark. This will save the new client information in table T000
and you will see a message saying data was saved.
Copyright by SAP AG
The next step in the client copy process is to log in to the client that was
newly entered into the client table, as shown. In this example the new client
is 300. When logging in to the newly created client for the first time, use the
sap* user account. The default password is PASS.
Copyright by SAP AG
Once the sap* user credentials are entered for client 300, press the ENTER
key to complete the login process. After successful authentication, the
system will present the copyright screen (Figure 10-3). Acknowledge the
copyright by clicking the green check mark.
Copyright by SAP AG
Once logged in, enter transaction code SCCL (Local Client Copy) to
start the client copy. This will show the following screen. Enter the source
client as 000. For client copy profile, choose SAP_CUST; this will copy all
customizing data from client 000 to 300. One of the best practices is to
select the test run to get an estimate of the runtime and to know if there are
any issues or errors with the client copy. This option is recommended for
large client copies, but can be skipped for smaller client copies. The test run
option will execute the client copy, but actual database updates/ commits
will not happen. Running the test option will give important information,
such as estimated runtime and the space requirements. This will help the
Basis administrator plan the actual client copy run. In this example we will
choose to skip the test run as it is a setup of the initial client with
configuration data only. Configuration data client copies do not have a long
runtime and a test run may not be useful for estimating the runtime.
Copyright by SAP AG
The client copy tool (SCCL transaction) offers a list of expert options
(Figure 10-4) that can be activated for the client copy run. Usually, the
defaults are fine for most of the client copy jobs. However, under some
special circumstances such as copying a large production client, some of the
expert options can be activated. Select Edit from the menu, and then select
Expert Settings. This will show the following screen with all the expert
options. OSS note 446485 provides additional details for the special
copying options for a client copy.
Copyright by SAP AG
Copyright by SAP AG
Once the entries are completed, choose the Schedule As Background Job
option, which will show the following screen. This will give an option of
scheduling the client copy as a background job immediately or at a later
date and time.
Copyright by SAP AG
If you clicked the Schedule Job button, you see the screen shown in
Figure 10-5 where you can schedule the client copy job either immediately
or at a later date and time. If you select the Immediately check box the
system will skip the scheduling options screen and jump directly to the
client copy verification screen, as shown in Figure 10-6.
Copyright by SAP AG
The next step is to execute transaction code SM50 to verify that the
client copy job started running. Figure 10-7 shows that the client copy has
started with user account sap* in client 300 and four parallel processes are
being executed as per the configuration.
Copyright by SAP AG
FIGURE 10-7 Process overview screen showing an active client copy run
Copyright by SAP AG
Details of the active client copy can be obtained by double-clicking the
status line. This shows the detailed processing status of the active client
copy, as shown in Figure 10-8. The detailed log shows the number of tables
and lines copied in the client copy run at that time. You can click the refresh
button on the top of the detailed log screen and notice that the client copy is
active and the table count is changing from time to time. The client copy
process copies the table in an alphabetical sequence, and some of the larger
SAP standard tables are copied toward the end of the client copy run.
Transaction SCC3 can also be used to check the client copy logs of all the
client copy runs that were performed in the system. This will help a Basis
administrator analyze the history of different clients in a given system.
Copyright by SAP AG
Copyright by SAP AG
Copyright by SAP AG
Click the green check mark, and then the system will present the
following screen with Restart Mode selected.
Copyright by SAP AG
Choosing this restart option will present the verification screen shown in
Figure 10-9. Click the Continue button, and the client copy will start from
where it was cancelled and run to successful completion.
Copyright by SAP AG
Copyright by SAP AG
Client Refresh
A client refresh involves refreshing the data of the existing target client and
is based on the client copy profile used for the copy process. Instead of a
two-step process of deleting the target client and then performing a client
copy, the client refresh process can do it in one step. Usually, a gold client
with clean data is maintained in each system as per the client instance
strategy and is used as a source of the client refresh. The client refresh will
delete and recreate data in the target client, depending upon the choice of
the client copy profile. The runtime of the client refresh will depend upon
several factors, including the data volume.
Client Copy of User Master Records
The client copy profile SAP_USER is used to copy only user master
records from the source client to the target client. SAP user master records
include the user accounts along with passwords and authorization-related
information. The SAP security team usually invests a lot of time in creating
user master records and developing appropriate authorizations for users in a
given client over a period. When a client refresh is performed, this useful
information could be lost and, therefore, it is a best practice either to save
the user master records with a client copy of the user master records to
another client before the client refresh or to perform a client export of user
master records so that the same can be either copied back to any target
client or imported back into any target client. This will save work for your
security team who otherwise would be re-creating all the user master
records with appropriate authorizations after the client refresh. The client
export process is explained in subsequent sections of this chapter.
Client Copy of Transport Request
A client copy of data can be performed at a smaller dataset level between
two clients of an SAP system. This is usually performed in the development
system to quickly move smaller datasets using transport requests (data
packages with unique numbers). Transaction code SSC1 is used to perform
a client copy of transport requests. The following screen shows the client
copy of transport request number DEVK900026 from client 300 to the
logged-on client (400).
Copyright by SAP AG
This can be executed in a test run and as a background job. Since the
dataset in a transport request is usually smaller, this is executed online by
clicking the Start Immediately button without the Test Run check box
selected. Click Yes, and the system will perform basic analysis and
complete the copying of data that was specific to a given transport number.
Copyright by SAP AG
Client Deletion
Clients are deleted from the SAP system because they have served their
purpose and the space needs to be released back to the system so that it can
be used for other purposes. Clients are also deleted ahead of the time before
a large client copy or refresh to improve the performance and runtime of the
copy process. SAP transaction code SCC5 is used to perform a deletion of a
client from a SAP system. The following illustration shows the initial
screen of the client deletion transaction. Execute the transaction in the client
that needs to be deleted. In the following example, client 300 needs to be
deleted. Log on to client 300 and issue transaction code SCC5. Select the
Delete Entry from T000 check box. This will remove the client entry from
the list of clients in table T000 once all the client data is deleted from the
system.
Copyright by SAP AG
Click the Delete in Background button, and you will see the following
screen. Select the Immediately check box if you want the deletion to be
executed in the background immediately, or click the Schedule Job button
to schedule the client deletion in the background at a later date and time.
Copyright by SAP AG
Once the scheduling option is selected, the system will present a
verification screen as shown in Figure 10-10. To verify, click the Continue
button. This will start the client deletion process. You can use transaction
SCC3 to monitor the progress of the client deletion. The system will not
release space automatically after the client is deleted. The database
administrator has to perform a reorganization and release the space from the
system for a different use.
Copyright by SAP AG
Client Transport
A client transport involves exporting client data from a source system and
importing into a target system client. Client transport is a recommended
option when there is no network connection between the two systems or if
the source and target systems are not in the same local area network (LAN).
Execute transaction code SCC8 to start the export process, as shown. There
should be no user activity in the source system when the client export is
scheduled. In the illustration client copy profile SAP_ALL is used and the
target system SID is TST. Click the Schedule As Background Job button.
Copyright by SAP AG
Acknowledge subsequent screens by clicking Continue, check the
verification screen as shown in Figure 10-11, and click Continue.
Copyright by SAP AG
The system produces the following three transports (see Figure 10-12) as
part of the client export process.
Copyright by SAP AG
Press the ENTER key to continue the client export process. Subsequent
screens will be similar to the client copy process. This will eventually lead
to scheduling a background job for client export. You can use transaction
code SCC3 and click the Export button to monitor the progress of the client
export. Depending upon the needs of the target system client, the following
three transports should be imported using SAP STMS in the target system:
• <SID>KO (Example: DEVKO00009) for cross-client data
• <SID>KT (Example: DEVKT00009) for client-specific data
• <SID>KX (Example: DEVKX00009) for client-specific texts
If the target system client needs to get all data from the source system,
then all three transports should be imported. The import sequence should be
KO, KT, and KX. If only client-specific data is needed in the target system
client, then only KT and KX transports should be imported. After the
import is completed in the target system, transaction code SCC7 should be
executed as a post-processing step in a client transport process.
Manage Client Settings
Enforcement of the client copy settings is an extremely important
responsibility of a Basis administrator. The general rule of thumb is to allow
changes only in the development system and to not allow any changes in
other systems. Figure 10-13 shows the correct client settings for a SAP
development client.
Copyright by SAP AG
For all systems other then development systems, the client setting should
be closed and must not allow any changes for either client-specific or cross-
client object changes. This will ensure that changes are always done in the
development system and then moved to all the downstream systems, such
as quality assurance, training, conversion, and production systems. Figure
10-15 shows the correct client setting for a production system environment.
Similar settings are recommended for all nondevelopmental systems.
Copyright by SAP AG
Command example:
SAP OSS Note 1942 provides details for performing additional R3trans
options.
Additional Client Administration Activities
In addition to the previously discussed client administration activities, a few
other activities are performed by a Basis administrator. Some of the
common tasks are described in the following sections.
Set a Login Client
After a new client is created, if it needs to be set up as a default logon
client, a parameter has to be changed and the system restarted for it to be
effective. This SAP standard parameter is called as login/system_client and
should be entered in the default profile. The value of the parameter should
be the client number of the login client. SAP parameter changes are
performed using transaction code RZ10. More details of SAP parameter
changes will be discussed in Chapter 14.
Lock and Unlock Client
From time to time there will be a need to lock a client against any user
logins. SAP provides the following functions for locking and unlocking
clients.
Function SCCR_LOCK_CLIENT can be used to lock a client. Log in to
client 000, and execute transaction SE37. Enter the function
SCCR_LOCK_CLIENT in the Function Module field as shown and press
F8.
Copyright by SAP AG
This will bring up the following screen where the client number that
needs to be locked should be entered in the Client field and then execute the
function module by pressing F8.
Copyright by SAP AG
Once the function module is executed, the following screen appears,
notifying you that client 400 has been locked successfully.
Copyright by SAP AG
After this is completed, if any end user tries to log in to client 400, the
system will present this message: The client is currently locked against
logon.
Once the client no longer needs to be locked, the administrator can
unlock the client by using function module SCCR_UNLOCK_CLIENT.
Summary
• Client administration activities include performing a local client copy,
a remote client copy, client transport, client deletion, setting and
enforcing client settings, setting client parameters, and locking and
unlocking clients.
• Transactions SCCL and SCC4 are used to perform a local client copy.
• Transaction SCC9 is used to set up a remote client copy.
• Transaction SCC3 is used to monitor client copies.
• Transactions SCC8 and SCC7 are used to perform client transports.
• Transaction SCC1 is used to perform a client copy of transport
requests.
• Transaction BD54 is used to set up new logical systems.
• Parameter login/no_automatic_user_sapstar should be set to a value of
0 when using sap* kernel user account, with standard password PASS
to perform a client copy.
• Client copy profiles determine what data is copied during client
copies.
• SAP_ALL client copy profile copies all client data.
• SAP_CUST client copy profile copies only customizing data and
deletes the application data in the target client.
• SAP_USER client copy profile copies only the user master records.
• Transaction code SCC5 is used to delete a client.
• The recommended client setting in a development system is to allow
changes.
• The recommended client setting in all other systems is to not allow
changes.
• R3trans can be used to perform client administration activities.
• Function SCCR_LOCK_CLIENT can be used to lock a client.
• Function SCCR_UNLOCK_CLIENT can be used to unlock a client.
Additional Resources
• Client copy concept
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/89/
933d3c3a926614e10000000a11402f/frameset.htm
• Client copy profile description with respect to data
http://help.sap.com/saphelp_
nw70ehp1/helpdata/en/c2/17e73a86e99c77e10000000a114084/frame
set.htm
• Client copy and transport details
http://help.sap.com/saphelp_nw70ehp1/
helpdata/en/69/c24c0f4ba111d189750000e8322d00/frameset.htm
CHAPTER 11
SAP Transport Management System in ABAP
Systems
In this chapter we will study the theory and practice of SAP Transport
Management in ABAP systems. First, a number of concepts will be
covered, followed by practical Transport Management setup, use, and
troubleshooting techniques. This chapter will also cover best practices for
setting up Transport Management in SAP systems.
Transport Management Concepts
Transport Management in SAP ABAP systems includes concepts such as
the data movement strategy between the three standard SAP System
Landscapes (development, quality assurance, and production); data
packaging of ABAP source code changes and configuration changes in the
form of change requests or transport requests; exporting and importing the
transport requests using the SAP transport control program (tp); and
coordinating database updates and ABAP code generation by the tp
program.
Data Movement Between SAP Systems
SAP development and configuration changes are done in the development
system and then are packaged for orderly movement to quality assurance
and production systems after thorough testing. During the installation of the
SAP development system, a central transport directory referred to as
/usr/sap/trans is created. This directory is NFS-mounted (Network File
System mounted) to the quality assurance and production systems (Figure
11-1) so that data can be exported and imported using this as a central data
area at the file system. The host, which has the central transport directory, is
usually referred to as a saptranshost. SAP transport requests are exported
out of the development system’s database and are imported into the quality
assurance and production system’s databases using a transport program
utility called tp.
FIGURE 11-1 SAP Common transport directory
Copyright by SAP AG
The tp command has several options. You can get a list of all the
possible options by executing the command tp help, as shown in Figure 11-
4.
Copyright by SAP AG
Transports Script
tp commands can be used to create a UNIX script so that mass activities,
such as adding hundreds and thousands of transports to the target SAP
system buffer and importing them, can be done automatically. This will
save a lot of time and minimize the errors in execution of the commands as
well. The following is a sample UNIX script (go.sh) for adding transports to
the buffer and importing them into the target QAS system. The script can be
created in the /usr/sap/trans/bin directory of the target SAP system.
Now execute the script by issuing ./go.sh with the user account qasadm,
which will add the previous nine transports to the QAS transport buffer and
import them one at a time.
It is also useful to check and see if the tp is able to connect to the
database by issuing the following command before executing the script. The
command should give a return code of 0.
Transport Command Options
Table 11-2 lists the most commonly used tp commands.
Copyright by SAP AG
Click the Save button, and you will see the following message
confirming that the basic configuration is completed. Figure 11-5 shows the
completed domain controller configuration for system DEV.
Copyright by SAP AG
Systems
If you click the systems overview icon (SHIFT-F6), you will see the
following overview screen. Since this is the first and only installation in the
landscape, we see only one system shown under the number of screens. As
we install additional systems, such as quality assurance and production,
they are added to the development primary transport domain controller to
manage all the imports in the development, quality assurance, and
production landscapes.
Copyright by SAP AG
Double-click the DEV system line, and you will notice the screens
shown in Figures 11-6, 11-7, and 11-8.
Copyright by SAP AG
Let us assume that we have three systems: DE2, SE2, and PE2. In this
example, the primary domain controller is configured in the Solution
Manager Development System and not in the DE2 system. In this instance,
when DE2 is installed, it is added to the transport primary domain controller
in Solution Manager and later on SE2 and PE2 will be added to it so that
transports can be managed from STMS. The following procedure shows
how to add a system to the primary domain controller. In the case of the
DE2 system, execute transaction code STMS and click the other
configuration icon (or press F6) on the initial screen. In this window enter
the hostname, system number, and default user TMSADM; click the Save
button; and you will see an informational message in the initial STMS
screen of the DE2 system, indicating that this system is waiting to be
included in the primary domain controller defined in the Solution Manager
system, as shown in the illustration.
At this point, if you log in to the Solution Manager system that was
defined as the transport primary domain controller, the newly added DE2
system will be shown in the status system, waiting for inclusion in domain
as shown. This can be seen by executing transaction code STMS and
clicking the system overview icon (SHIFT-F6).
Copyright by SAP AG
This newly added system must be approved by choosing the DE2 system
and selecting SAP System | Approve. This will display the following
screen, where you are prompted to accept the newly added DE2 system in
the domain controller. Clicking the Yes button will complete the addition
process. The same procedure should be used to add the other systems to the
domain controller. Once the newly added systems are added to the domain
controller, then the transport routes should be configured so that the flow of
the transports can be managed in the landscape.
Copyright by SAP AG
Transport Routes
After the newly installed system is included in the primary domain
controller, the next step is to configure the transport routes so that the
change requests, when released in the development system, flow through to
the consolidation (quality assurance) and then to the delivery system
(production). To configure transport routes, you have to log in to the
primary domain controller system client 000 and execute transaction code
STMS. In the STMS screen click the Transport routes icon (SHIFT-F7). This
will show following screen with no route configuration defined yet.
Copyright by SAP AG
Transport route editing can be performed in a graphical editor or a
hierarchical editor. The following example uses a hierarchical editor;
however, the default option for a newly installed system is a graphical
editor. You can switch from a graphical to a hierarchical editor by selecting
STMS | Transport Routes | Settings | Transport Route Editor.
Copyright by SAP AG
Change the selection to Hierarchical Editor, and click the green check
mark. There is still one more step to make the change.
Copyright by SAP AG
In order to use the hierarchical editor, you have to use the Back button
(press F3) and click the transports routes (SHIFT-F7) icon again. This will
show the initial hierarchical editor screen shown in Figure 11-9.
Copyright by SAP AG
Copyright by SAP AG
Consolidation Route
Consolidation route configuration helps to move a released change request
from a development system to a quality assurance system. You can create a
new consolidation route by putting the cursor on the transport routes and
clicking the create icon (F6). You will see the following screen showing the
entries that have to be made to create a consolidation route.
Copyright by SAP AG
Enter the development source system in the integration system field, the
custom-created Z transport layer under the transport layer screen, and the
quality assurance system under the consolidation system field as shown.
Then click the green check mark to complete the consolidation transport
route configuration.
Copyright by SAP AG
Delivery Route
The delivery route will help flag change requests moved earlier to the
quality systems that should now be moved to either a single or many target
delivery systems, such as a production system. To create the delivery route
with the editor in change mode, put the cursor on the transport routes and
click the create icon (F6). This will show the following screen.
Copyright by SAP AG
Enter the delivery source field as quality assurance system (QAS) and
the delivery target as production (PRD) as shown and click the green check
mark.
Copyright by SAP AG
Once the consolidation and delivery routes are configured, the transport
editor screen looks as follows, showing the transport route configuration in
a typical three-System-Landscape.
Copyright by SAP AG
Once the route configuration is complete, click the Save button, and the
following information screen appears. Click the green check mark to
transfer the configuration.
Copyright by SAP AG
Copyright by SAP AG
Copyright by SAP AG
Copyright by SAP AG
NWDI consists of several central services, such as DTR (Design Time
Repository), CBS (Component Build Service), CMS (Change Management
Service), and SLD (System Landscape Directory). The purpose of each is
listed in Table 12-2.
Copyright by SAP AG
This will bring up the CMS configuration screen shown in Figure 12-4,
where domains, tracks, and target URLs for transport are set up. The URL
provides the screen for performing additional configuration steps. Detailed
CMS configuration steps can be accessed by downloading a detailed CMS
setup guide from the link provided at the end of the chapter under
“Additional Resources.”
Copyright by SAP AG
CHAPTER 14
SAP Processes in an ABAP Stack
CHAPTER 15
SAP Processes in Java Stack
CHAPTER 14
SAP Processes in an ABAP Stack
In this chapter we will study the different SAP processes in an ABAP stack.
First we will look into how the SAP system can be technically configured
with different profile parameters. Once we understand how to change the
parameters, then we will study the different kinds of SAP processes, such as
dialog, batch, update, lock (enqueue), and spool, that the SAP architecture
provides for performing different user tasks, and how to configure the
number of available processes by changing the required parameters. We
will also study the special variation of configuring work process allocation
based on set timetables (referred to as operation modes), load balancing
(logon groups), work process quota allocations in an application server
(RFC server groups), background job processing concepts, and printing in
SAP systems.
SAP Profile Management
SAP profiles are operating system files set up during the time of installation
by the SAP installation tool SAPinst. The profiles are written at the
/sapmnt/<SID>/profile location in the file system. In a SAP system with an
SID of BD1, for example, the files are written at /sapmnt/BD1/profile. The
easiest way to access the profile is by logging on as <SID>adm (bd1adm)
user account and issuing alias cdpro. This will take you directly into the
profile directory, as shown. Three kinds of profile files are written by
SAPinst at this location. They are start profile
(START_DVEBMGS00_venus), instance profile (BD1_DVEBMGS00_
venus), and default profile (DEFAULT.PFL). In the sample code, the SID is
BD1, the hostname is venus, and DVEBMGS stands for D = Dialog work
process, V = Update work process, E = Enqueue work process, B = Batch
work process, M = Message server, G = Gateway, and S = Spool work
process. The 00 toward the end of DVEBMGS00 stands for the system
number. The .bak files are the backup files of the default and instance
profiles. The different kinds of profiles will be discussed further in the next
sections.
SAP Start, Default, and Instance Profiles
Table 14-1 lists the three profiles and the function of each.
Instance Profile
SAP profile parameters that are specific to a particular instance are entered
in this profile. The following shows some of the parameters that are in the
instance profile. Allocation of memory resources is one good example of a
profile parameter that should be entered in an instance profile.
Profiles Read and Override Sequence
Default parameters are in the source code (kernel) and are read first at the
instance start. If a user makes any changes to the default parameter, either in
the default profile or instance profile, then that overrides the source-code
default parameter. The parameter read sequence is as follows:
1. Source code (kernel)
2. Default profile
3. Instance profile
Profile Maintenance (RZ10)
Profiles at the operating system level can be maintained by an editor such as
vi. However, directly editing the profiles at the operating system level has
many disadvantages, such as lack of parameter checks, lack of versioning,
and any major parameter errors, if not checked, would result in the SAP
system not starting. Because of these reasons, SAP provides a central
profile maintenance tool with transaction RZ10. The tool performs basic
consistency checks for parameter changes, provides version management,
and creates a backup of the file at the operating system level. Before
transaction RZ10 can be used to maintain the profile parameters, the
profiles installed at the operating system level have to be imported to the
database using the transaction code RZ10 menu path Utilities | Import
Profiles | Of Active Servers. This will get the files copied from the file
system to the database. Once the files are imported to the database, they are
ready to be maintained using transaction code RZ10. The illustration shows
the initial screen for transaction code RZ10.
Copyright by SAP AG
In the screen use the Profile field drop-down menu, or place your cursor
in the Profile field and press the F4 function key. This will provide a
window with the three profiles, as shown.
Copyright by SAP AG
Select the default profile, and the following screen will appear.
Copyright by SAP AG
Select the Extended Maintenance option, and click the Change button.
This will show the following screen.
Copyright by SAP AG
Click the Create button (F5 function key) to add a new profile parameter
to the default profile. This will give you the screen shown in Figure 14-1,
where a new profile parameter can be added. In the figure, a new profile
parameter login/system_client with value of 100 is added.
Copyright by SAP AG
Once a new parameter and its value is entered, click the Copy (SHIFT-F4)
button and then use the Back button when you are done. Click the Copy
button again. The “changed profile was transferred” message appears. Click
the Back button one more time. At this point the profile is not saved. In
order to save the profile in the database, click the Save button as shown.
Copyright by SAP AG
This will show the following window, prompting you to click Yes or No
to providing a list of incorrect parameter values, which are marked in red.
Some of the parameters marked in red are not applicable to this version of
SAP, however, and can be safely ignored.
Copyright by SAP AG
Click Yes and verify the incorrect values. Once this is done, correct the
values if they are relevant for this SAP release, or ignore the parameter if it
is not relevant for this release. Once this is done, click the Back button and
the following screen will be displayed, asking you to activate the profile.
Successfully activating the profile creates a backup of the profile parameter
file at the operating system level.
Copyright by SAP AG
Click Yes, and you will notice the following version information.
Copyright by SAP AG
Click the green check mark. In the next screen, click the green check
mark again. The message shown in Figure 14-2 appears when we make
changes to the profiles. Once the changes are complete, shut down and
restart the system for the parameter changes to be effective.
Copyright by SAP AG
Figure 14-3 displays the default value, profile value, and the current
value of the parameter in the system. We can also check if the parameter is
dynamically switchable and read its documentation by clicking the
Documentation button. You can change the value of the dynamically
switchable parameter by clicking the Change Value button at the top of the
screen and entering the desired value in the field below. The instance need
not be bounced (restarted) for a dynamically switchable parameter to be
effective. This group of parameters is effective immediately after you
change the value and save it in the system.
Copyright by SAP AG
Copyright by SAP AG
FIGURE 14-4 SAP work process overview (dialog work processes are
highlighted)
Copyright by SAP AG
FIGURE 14-5 SAP work process overview with background work processes
highlighted
Copyright by SAP AG
Copyright by SAP AG
After these two steps are completed, the operation modes will start
executing based on the timetable. Please note that this switch does not work
immediately and you have to wait for the next window for the operation
mode cycle to kick in. You can start the operation mode manually by using
transaction code RZ03. Operation mode switching is recorded in the system
log transaction SM21, as shown. In the illustration, the system log is
indicating that work processes are switched back to the daytime operation
mode at 7 a.m. to more dialog work processes.
Copyright by SAP AG
Update Concept
The SAP update concept can be better understood by examining the SAP
logical unit of work (LUW) and database LUW. SAP LUW is a SAP
transaction encompassing a business process that could include several
screens. Each screen’s data commit will constitute a database transaction or
LUW. One SAP LUW may include several database LUWs.
When a screen commit is issued, the data is written to temporary update
tables. The entries are not yet written to the application tables. Each SAP
transaction has a dialog and an update component. The dialog component is
executed by one or several dialog work processes. The update component is
executed by the update work processes. At the end of the dialog part of the
SAP transaction, the update part starts in the update work processes and
data is written from the update tables to the permanent application tables.
Updates are processed in three different ways, depending upon the
priority. Priority 1 updates are processed in time-critical U1 update work
processes. One example of a priority 1 update is order creation. Priority 2
updates are processed in nontime-critical U2 update work processes. One
example of such an update is statistical data. The third category of updates
is referred to as a collective run. Collective run updates are collected and
executed at a later time. A background job called RSM13005 is used for the
collective run instead of the update work processes. Sometimes, the
collective run updates are also referred to as U3 updates.
In SAP, updates are programmed in ABAP to be executed in one of the
following ways as shown in Table 14-2.
Table 14-3 lists the key temporary update tables where data is written by
the screen data commits. After the SAP transaction is completed, the update
work process will take the data in the update tables and post it to the
permanent application tables.
Update Administration
Updates can be monitored with transaction code SM13. You can select the
status of the update in the initial screen and press the F8 function key to get
a list of updates with that status, as shown in Figure 14-10. Cancelled
updates have to be managed carefully. Usually, these requests will be
processed by working very closely with the owner of the
transaction/business process. Also, update work processes work closely
with enqueue work processes. The locks are held in the lock table until the
updates are processed successfully. When the updates are posted manually
after working closely with the data owner, the locks will be released. It is
not recommended to post the updates manually without checking with the
data owner first. It is also not recommended to delete the locks from the
lock table that are created as a result of the updates. If the locks are deleted
without properly posting the updates manually, then database
inconsistencies may result. It is recommended to contact the data owner to
determine if the cancelled or failed updates need to be posted manually
after rectifying the underlying problem, such as database space issue,
thereby releasing the locks after successfully posting the updates or deleting
the updates and manually locking and reposting the transactions that were
cancelled.
Copyright by SAP AG
Lock Concept
SAP manages locks by using lock objects in ABAP programs. Lock objects
are defined for the database objects in the data dictionary, and this creates
two function modules. One is for locking the database object while a SAP
transaction is being executed, and the second one is for unlocking a
database object when the transaction is complete. Also, each SAP
transaction or LUW may have many database locks. Database locks are
usually held for a much shorter time compared to the application transaction
locks. Transaction code SM12 is used to monitor and manage application
locks.
Lock Modes
The four types of lock modes are described in Table 14-4.
TABLE 14-4 Types of Lock Modes in SAP Systems
Copyright by SAP AG
Choose No so that we can study and confirm the database settings. This
will bring up the screen shown in Figure 15-1 showing the database
parameters and file paths. Click Connect To DB to log in to the config tool.
Clicking Yes as shown in the previous illustration will log you directly in to
the config tool.
Copyright by SAP AG
FIGURE 15-1 Database connection parameters and file paths
Once the database parameters are validated, the initial screen of the
config tool is shown (see Figure 15-2).
Copyright by SAP AG
Copyright by SAP AG
Copyright by SAP AG
If a local value has to be added in the local properties view, select the
parameter in the top section under Global Properties, and enter the new
parameter in the Value field at the bottom of the screen. Then click the Set
button. This will create a new entry in the local properties view. The
illustration shows the options provided when the values are changed. These
options are available at the top-right corner of the configuration screen in
the local properties view. Explanations for the options are as follows:
Copyright by SAP AG
• Set will update the custom value as per the configuration change.
• Restore To Default will remove the custom value in the local
properties view.
• Restore To Global will completely remove the parameter from the
local properties view.
• Restore All To Default will remove all the custom values in the local
properties view.
The sequence of parameter evaluation in the configuration tool entries is
as follows:
1. Local custom value
2. Local default value
3. Global custom value
4. Global default value
Specific Examples of Using the Configuration Tool
The following are some examples of using the configuration tool. These
will demonstrate the main aspects of configuration and administration
activities carried out by the configuration tool.
Changing Java Memory Parameters
Java memory parameters can only be changed with the configuration tool.
After starting the configuration tool, select the cluster element that you
would like to change the Java memory parameters for. This will present the
screen shown in Figure 15-5 where the parameters can be edited or new
parameters added under the Java Parameters section. The value of the
maximum heap size can be changed in the Max Heap Size field.
Copyright by SAP AG
Copyright by SAP AG
FIGURE 15-6 Adding a new Java server node using the config tool
Visual Administrator
Visual Administrator is a configuration and administration tool with a
graphical user interface, and is a more comprehensive administration tool
compared to the configuration tool. Visual Administrator allows you to
configure and administer services, managers, interfaces, and libraries of the
NetWeaver AS Java components.
Starting the Visual Administrator Tool
Visual Administrator is started by calling the go script under the
/usr/sap/<SID>/JC<SNo>/ j2ee/admin directory. The following commands
show how Visual Administrator can be started in a UNIX operating system:
This will display the initial connection screen showing the default
connection. You can choose the default connection or create a new
connection to log in to the Visual Administrator tool. Click the New button
to create a new connection.
Copyright by SAP AG
When you click the New button the following screen appears. Enter the
name of the new connection, and select the Direct Connection To A
Dispatcher Node option.
Copyright by SAP AG
Click Next and you will see the following screen. Enter the hostname
and the port number for connecting to the Visual Administrator. Visual
Administrator uses port number 50004 for an instance with system number
00. Once the entries are complete, click the Save button.
Copyright by SAP AG
This will display a screen showing the newly added connection: venus.
Copyright by SAP AG
Select the newly created entry venus, and click the Connect button. This
will display the following screen.
Copyright by SAP AG
Enter the password and click the Connect button. This will open the
Visual Administrator tool as shown in Figure 15-7.
Copyright by SAP AG
Copyright by SAP AG
Copyright by SAP AG
Copyright by SAP AG
Copyright by SAP AG
FIGURE 15-10 Changing the http port number using Visual Administrator
Table 15-2 provides a detailed list of the NWA quick links along with a
text description of the available function.
TABLE 15-2 NWA Quick Links and Descriptions
The following illustrations show some of the quick links for starting and
shutting down instances and processes, services, and log viewer options
with the new NWA tool.
Copyright by SAP AG
Copyright by SAP AG
The next illustration shows the quick link for system properties.
Copyright by SAP AG
And /NWA/logs quick link view is shown here.
Copyright by SAP AG
Summary
• SAP NW AS Java can be configured and administered using the
configuration tool, Visual Administrator, or NetWeaver Administrator
tool.
• The configuration tool is used to set up Java memory parameters. It
directly connects to the database; therefore, the database needs to be
up before you can use the tool.
• Visual Administrator is a graphical tool used for stopping the cluster
elements and managing Java managers, services, and libraries.
• Visual Administrator connects to the Java engine; therefore, the
system needs to be up before you can use the tool.
• NWA is the most current browser-centric tool delivered by SAP for
configuring and administering the NW AS Java system, and it
replaces Visual Administrator.
Additional Resources
• NWA 7.1 for Visual Administrator users wiki link
http://wiki.sdn.sap.com/wiki/display/XI/NWA+7.1+%28for+VA+user
s%29
• NWA tool in PI 7.1 weblog link www.sdn.sap.com/irj/scn/weblogs?
blog=/pub/wlg/17406
PART V
SAP Monitoring and Troubleshooting
CHAPTER 16
Structured Monitoring and Analysis
CHAPTER 17
Solution Manager Installation and Monitoring
CHAPTER 18
SAP Service Marketplace Administration
CHAPTER 16
Structured Monitoring and Analysis
In the first two chapters of this section we will study structured monitoring
and troubleshooting approaches in both ABAP and Java stacks using
classical as well as newer Solution Manager technologies such as Solution
Manager Diagnostics and Wily Introscope. With the increased availability
of technical information in the World Wide Web, SAP has moved all
support activities online in the form of the SAP Portal referred to as SAP
Service Marketplace. The last chapter in this section will cover different
aspects of administration activities performed in the SAP Service
Marketplace, such as creation of online SAP Service Marketplace user
accounts, opening a support request, and searching for technical notes in
SAP Online Support System (OSS) Notes.
Structured Monitoring and Analysis Approach
In this chapter we will focus on a structured monitoring and troubleshooting
approach and will provide tools and techniques that will help a Basis
administrator identify the root cause of the problem and provide a
resolution to it.
Troubleshooting Is Both an Art and a Science
Troubleshooting is both an art and a science. The art part of it can be
developed over time with practice and experience, and the science part of it
can be applied by learning the application of tools, concepts, rules, and
methods. Initially, it is recommended to start out with a good understanding
of the concepts and then practice applying this knowledge to solve issues
and gain more experience over time. With more practice, issues can be
resolved intuitively, where you can narrow it down and resolve it quickly.
The following section will cover a structured troubleshooting approach that
can help you develop a plan for analyzing the issue in order to resolve it.
Problem Clustering Approach
There is no one standard approach to troubleshooting. Every system
administrator will develop his or her own troubleshooting approach over
time. The problem clustering approach is one of the structured analysis
procedures that can be used in a methodical fashion to zero in on the
problem. The idea behind this approach is to classify the reported problem
under one of the groups of known problem areas as shown in Figure 16-1.
This will help narrow down the problem to a particular problem area, and
then you can focus on that particular area to further zero in on the specific
issue and resolve it.
The tools and techniques covered in this chapter can be used to analyze
the reported problem and categorize it into one of the problem clusters. The
quicker a system administrator develops the skills to categorize the issue to
a particular problem area, the faster he will be able to resolve the issue.
Once the issue is categorized into a problem cluster, the same technique can
be used in the identified problem area to further narrow down the problem.
Troubleshooting Techniques
The following techniques will help the SAP Basis administrator to
investigate the reported problem in a structured manner. Use these
techniques along with the problem clustering approach to troubleshoot a
problem.
Questioning Techniques
Asking the right question(s) is extremely important, and is a very effective
tool to quickly understand the nature and origin of the reported problem.
Some of the questions you can ask while investigating the problem are as
follows:
• When was this problem first noticed?
• What changed recently before the problem started appearing?
• Do you notice the problem for every user in the system?
• Does the problem affect all systems or is it limited to only one
system?
• Is the problem reproducible or does it occur sporadically?
• Do you get any specific error message when this issue is noticed?
Detective Work
To become successful in troubleshooting, you should develop the mind set
of a detective. You should gather evidence in the system after asking
relevant questions, and sometimes need to piece together information from
different sources before you can get to the root cause of the problem.
Know What Is Normal So You Can Diagnose What Is Not Normal
Studying and understanding the concepts will help you understand what the
normal behavior is in the system. If you know this, then it will become easy
to spot an abnormal system behavior, aiding in quick resolution of the issue
at hand.
Tool Choice
Spend a lot of time getting to know your tools and the location of the log
and trace files. This will come in handy in enabling you to troubleshoot the
issue quickly.
Search
It is truly amazing how much technical information is available on the
Internet that is freely available to everyone. In the last few years the ability
to search and qualify and use information, or piece together several sources
of information, has become a vital skill in every SAP Basis administrator’s
tool kit. Searches can be performed using a variety of generic search
engines, such as Google, Bing, and Yahoo!, as well as SAP-hosted specific
site searches, such as SAP Developer Network (SDN) and SAP Service
Marketplace. Online knowledge repositories such as Wikipedia and blogs
also help significantly in troubleshooting the problem. Somewhere,
someone likely has faced a similar issue, and there is a resolution posted in
the online forums and discussion boards. With the exponential growth of
software and hardware technologies, the ability to learn and apply
knowledge dynamically is becoming an extremely important skill not only
for a SAP Basis administrator but for every information technology
professional.
Network Inside and Outside the Company You Work For
Sometimes the issue at hand is not in your domain expertise and you will
need to discuss it with other domain experts inside and outside of your
company. This is where your network will help. Develop a good network of
professionals inside and outside of your company so that you can share
your experiences and tap into this network when you need information.
Isolate the Problem
Sometimes the issue at hand is complex and even the problem clustering
approach may not help to narrow down the issue. Under these situations,
you can try to use the elimination technique.
Short-Term Workaround vs. Long-Term Fix
Sometimes you will be able to troubleshoot the problem but the long-term
fix will need a lot of time. For example, you have found a bug in the SAP
standard software and SAP needs some time to provide a patch to the
problem. Under these circumstances it is a good idea to provide a short-
term workaround to the end user instead of waiting for the long-term fix.
Log a Support Ticket with SAP
There will be times where there is no apparent solution to the issue at hand.
You have tried everything you know and are not able to find a solution to
the problem. It is recommended that you log a support ticket with SAP as
soon as you find yourself in this situation. You can continue investigating
the issue while SAP support is looking into it.
Structured Monitoring and Analysis in ABAP Systems
In this section we will cover the system startup problem scenarios and
resolution, SAP standard monitoring transactions, and several ABAP
system–specific problem scenarios and the troubleshooting steps that have
to be taken.
Troubleshooting SAP ABAP System Startup Problems
One of the main job responsibilities of a SAP Basis administrator is to make
sure that the system is available for the business during the hours
established in the service levels of a given organization. SAP system
availability in some industries is very demanding and is expected to be
available 24/7/365. The following section discusses in detail the various
scenarios in which a SAP system could hang and would not start up
normally and where a Basis administrator has to find out the root cause and
bring the system back up. Table 16-1 provides real-life scenarios that can
happen with production and nonproduction SAP systems. The list is not
comprehensive, but gives an overview of the problem scenarios that you
could encounter and suggests possible approaches to resolving them.
TABLE 16-1 SAP ABAP System Startup Problem Scenarios
Summary
• A problem clustering approach is recommended for structured
monitoring and troubleshooting issues in ABAP and Java systems.
• A combination of problem clustering and specific troubleshooting
tools will provide a basis for methodically diagnosing and resolving a
problem.
• For both ABAP and Java systems, the key log and trace files are
written to the work directory.
• In real-life troubleshooting scenarios, reviewing the work directory
logs for error messages is one of the most important tools available to
SAP Basis administrators.
Additional Resources
• NetWeaver Server troubleshooting guide wiki
http://wiki.sdn.sap.com/wiki/
display/TechTSG/%28JSTTSG%29Main+Page
• NetWeaver Troubleshooting help
http://help.sap.com/saphelp_nw04/helpdata/
en/a2/bb0a412a06f023e10000000a155106/frameset.htm
CHAPTER 17
Solution Manager Installation and Monitoring
SAP software solutions have evolved from a single ERP software solution
(SAP R/2 and R/3) to a portfolio of business suite solutions such as SAP
ERP, NetWeaver Portal, Business Intelligence, Customer Relationship
Management (CRM), Supplier Relationship Management (SRM), Supply
Chain Management (SCM), and Product Lifecycle Management (PLM).
This has resulted in increased complexity in managing and monitoring the
solution. SAP has invested considerable development effort into the
Solution Manager software to address this complexity and help customers
centrally manage and monitor the entire SAP software portfolio deployed at
any given client site.
Solution Manager Overview
SAP has used Information Technology Infrastructure Library (ITIL)
standards for the development of the SAP Solution Manager system. ITIL is
the de facto standard for IT service management worldwide. It was
developed by Central Computer and Telecommunications Agency (CCTA)
in the United Kingdom in the 1980s and has been improved over time. At
present, the ITIL standard is a collection of books, and its main focus and
use by IT organizations fall under the categories of Service Support and
Service Delivery. Table 17-1 lists the ITIL standards and the software
components developed by SAP in Solution Manager to support the
standard.
The SAPinst tool will start gathering the parameters that are needed to
perform the installation. Provide the installation parameters in the SAPinst
screens as per Table 17-2.
TABLE 17-2 SAPinst Parameters During Installation of Solution Manager
Copyright by SAP AG
Copyright by SAP AG
Copyright by SAP AG
In the next screen that appears, you enter the system (SID) information
and click the Generate Installation/Upgrade Key button (CTRL-SHIFT-F10).
Copyright by SAP AG
The next screen that appears is where you should enter the system ID,
system number, and the message server hostname. Once this is done, click
the Generate Key button, and the system will generate under the
Installation/Upgrade Key section. Make a note of the Solution Manager
key, and enter the same in the SAPinst Solution Manager Entry screen to
continue the installation.
Copyright by SAP AG
Register commands:
Start commands:
Stop commands:
Status commands:
Copyright by SAP AG
Wily Introscope
Wily Introscope helps in monitoring and managing Java applications. It
consists of a server component called the Introscope Enterprise Manager,
and an Introscope Java agent is installed on the managed systems. A host-
level Introscope agent is installed once per host. The host agent runs as part
of the SMD agent to collect data at the operating system level.
Installing the Introscope Enterprise Manager
The following procedure demonstrates installing the Introscope Enterprise
Manager.
1. Extract the SAR file downloaded from the SAP Service Marketplace:
2. Start the install by executing the following command:
Copyright by SAP AG
Copyright by SAP AG
Summary
• The Solution Manager System is used to monitor and manage the
complex SAP System Landscape from a central system.
• SAP has developed the Solution Manager System based on ITIL
compliance.
• The SAPinst tool is used to install the Solution Manager System.
• Solution Manager System is primarily used by customers for
monitoring the SAP landscape from one central system.
• Solution Manager System is used to generate the Solution Manager
key that will be used during the installation of different kinds of
systems in the client landscape.
• The CCMSPING agent is installed in the central monitoring system
for availability monitoring.
• CCMS agents are used to monitor ABAP and Java systems, which
report data back to the central monitoring system.
• SMD agents and Wily agents are installed in all monitored systems to
enable end-to-end monitoring and root cause analysis.
• Wily Introscope provides dashboards to monitor and manage the SAP
systems from one central system.
Copyright by SAP AG
Additional Resources
• SAP monitoring overview www.sdn.sap.com/irj/sdn/operations?
rid=/webcontent/uuid/d05cab4b-f2c8-2a10-90aa-cfd6ad90f2dc
• SAP monitoring setup guide www.sdn.sap.com/irj/sdn/operations?
rid=/webcontent/uuid/d012fc88-24cb-2a10-ae90-fdac28c595bd
• SAP monitoring alert management
www.sdn.sap.com/irj/sdn/operations?
rid=/webcontent/uuid/00c3b65b-5b22-2a10-628b-98c00a338f1c
CHAPTER 18
SAP Service Marketplace Administration
The SAP Service Marketplace is a support portal developed by SAP to
provide support functions, such as searching for code fixes to the SAP
standard code in the form of OSS (Online Service System) Notes; opening
technical support requests (usually referred to as OSS messages); and
getting different kinds of keys, such as developer keys and access keys, to
make changes to SAP standard code when necessary, request licenses for
newly installed systems, and download SAP software.
Service Marketplace Login
The SAP Service Marketplace (also known as the SAP Online Support
Portal) can be accessed by customers with a user account usually referred to
as an S user account by going to http://service.sap.com. When a customer
purchases licenses from SAP, a super-user account (S user account with all
privileges) is provided. Usually, it is the SAP Basis lead who initially has a
super-user account. Additional user accounts with different levels of access
are then created by the super-user and provided to the project team. Project
team users can now log in to SAP Service Marketplace and perform
different online activities, such as opening technical support messages or
researching an OSS Notes database for any possible fixes for an issue. The
illustration shows the initial login screen for SAP Service Marketplace.
Copyright by SAP AG
When you log in to the SAP Service Marketplace, the screen shown in
Figure 18-1 appears. You can access different sections of the SAP Service
Marketplace by clicking the individual links and then drilling down into
different sublevels, or you can access these items directly through a URL.
Some of the SAP Service Marketplace options are shown in the illustration.
In this chapter, the direct-access method via URLs is covered for all the
important Basis administration SAP Service Marketplace online activities.
Copyright by SAP AG
Copyright by SAP AG
Copyright by SAP AG
Copyright by SAP AG
Copyright by SAP AG
Service Connections
SAP service connections are secure network connections between SAP and
customer data centers. Sometimes, SAP needs to log in to customer systems
to help resolve an issue and requests a service connection to the system.
You can use the URL https://websmp102.sap-ag.de/serviceconnection to
find the right system and open the service connection. Figure 18-5 shows
the initial screen for maintaining service connections.
Copyright by SAP AG
Download Software
One of the main benefits of SAP Service Marketplace is that you can
download SAP software on demand. After the initial login, choose the
Downloads option, as shown in Figure 18-6. The left side of the window
will give download options based on application group, or you can choose
to search individual software components. Once the correct software media
is identified, it can be flagged for download and added to the download
basket by clicking the Add To Download Basket button.
Copyright by SAP AG
Download Manager
Once the SAP software is in the download basket, you can use the SAP
Download Manager to download the software. You can install the SAP
Download Manager either on your laptop or directly on one of the UNIX
servers that serves as a media repository. The software can be obtained at
https://websmp106.sap-ag.de/~sapidb/002006825000000233132001/.
Once the Download Manager is installed, it can accessed by choosing
Start | Programs | SAP Download Manager. The following illustration
shows the SAP Download Manager with several components ready to be
downloaded.
Copyright by SAP AG
Copyright by SAP AG
Summary
• The SAP Service Marketplace can be accessed at
http://service.sap.com.
• SAP online user accounts can be created by going to
http://service.sap.com/user-admin.
• The SAP Notes database can be accessed at http://websmp102.sap-
ag.de/notes.
• SAP technical support messages can be accessed at
https://websmp102.sap-ag.de/message.
• SAP network connection maintenance requests for customer systems
can be accessed at URL http://websmp102.sap-
ag.de/serviceconnection.
• SAP Download Manager software and install instructions can be
accessed at https://websmp106.sap-
ag.de/~sapidb/002006825000000233132001.
• SAP developer keys and access keys can be obtained at
http://service.sap.com/sscr.
Additional Resources
• SAP Service Marketplace list of links https://websmp205.sap-
ag.de/quicklinks
• SAP glossary link http://help.sap.com/saphelp_glossary/en/index.htm
PART VI
Database Management in SAP
CHAPTER 19
Database Installation and Configuration
CHAPTER 20
Database Configuration and Administration Using SAP BRTOOLS
CHAPTER 21
Database Backup and Restore
CHAPTER 19
Database Installation and Configuration
In this section we will cover different aspects of database management in
SAP systems. Several relational database management systems are fully
supported by SAP applications, and in this chapter we will use Oracle
Database as an example to cover the database management concepts and
tools provided by SAP to support the application install and maintenance.
We will cover Oracle Database architecture and internals, database
installation and configuration, and database patch application. In
subsequent chapters we will cover the SAP BRTOOLS for administering
the Oracle Database and database backup and restore concepts, tools, and
procedures.
Oracle Database Internal Architecture
Oracle Database internals consist of two main components: the database
and the Oracle instance. The database is the static part of the Oracle system,
and the Oracle instance is the memory structures and the Oracle background
processes that are started when the database is started. The Oracle Database
internal architecture is shown in Figure 19-1.
FIGURE 19-1 Oracle Database internal architecture
Database
The Oracle Database includes all the files that constitute the dataset. This
includes the datafiles, control files, online redo log files, and offline archive
log files. When an Oracle system is started, the database files are associated
with the Oracle instance, and any operations the user performs are recorded
in the appropriate files at the operating system level. The following
definitions will clarify the different files that constitute the Oracle Database.
Tablespaces
Oracle manages data in logical units referred to as tablespaces. A logical
tablespace consists of one or several physical files referred to as datafiles.
When a new database object, such as a table or an index, is created this
occurs in an assigned tablespace. When the tablespace is running out of
space, it can be extended by adding datafiles. SAP follows specific naming
conventions for the tablespaces.
Datafiles
Datafiles are actual physical files at the operating system level with set
naming conventions to which the data is saved by database operations.
Datafiles can be added to the tablespace as long as the mount point has
space allocated and is available for such growth. In real-life production
SAP systems, there will be tens and hundreds of datafiles depending upon
the database growth of a given business operation.
Control Files
A control file has the list of physical datafiles and the paths where such files
are located. When an Oracle instance is started, the system reads the control
file to open the datafiles and redo log files and make it available for general
database operations. Since the control file is such an important file, usually
more than one copy exists at different locations at the operating system
level.
Redo Log Files
When data is changed in the Oracle system, it is not permanently written to
the datafiles right away. The data changes are written to the redo log files.
In case there is a power failure, for example, data is applied back from the
redo logs at instance start. In this way any data loss is prevented. Modified
data is not written on a synchronous manner permanently to the datafiles
immediately because of performance reasons. Instead, the data is written to
the datafiles from time to time.
Offline Archive Log Files
The online redo log files are automatically moved to an offline device when
the Oracle database is configured to turn on the archive log mode. When
needed, offline archive log files can be used to perform a database point-in-
time recovery.
Instance
When an Oracle Database is started it will start the background processes
and open the memory structures configured for the database, and this is
referred to as an Oracle instance. The Oracle instance is associated with the
physical static database files to manage the database operations.
Memory Structures
Memory structures such as the system global area (SGA) are opened at the
Oracle instance start and are based on the configuration parameter
information. Refer to Figure 19-1 while studying the structures described in
the following sections.
System Global Area
The system global area is a shared memory region allocated to an Oracle
instance based on the configuration parameters. The SGA has two primary
subareas: the database buffer cache and the redo log buffer. The Oracle SQL
command “show sga” displays the current configuration of the SGA in the
Oracle Database. This information can be obtained by using the following
commands after you log in to the system at the operating system level as
ora<sid> user:
Database Buffer Cache The database buffer cache is a set of database
buffers that keep the modified and unmodified blocks of data in the memory
area to facilitate faster access to it.
Redo Log Buffer The redo log buffer keeps a log of changes to the data in
the memory area. The size of the redo log is static.
Background Processes
When an Oracle instance is started a set of Oracle processes are started in
memory and run in the background. Background processes are like jobs that
perform common tasks to manage the proper functioning of the Oracle
instance. Several kinds of background jobs are started at the instance start
and perform a specific job function. Some of the examples of background
processes are process monitor, system monitor, and lock process.
Process Monitor (PMON) For every end-user process there is a 1:1 Oracle
shadow process. PMON monitors the Oracle shadow process. If a user
process crashes, PMON cleans up the orphaned Oracle shadow process and
makes sure the data consistency is maintained.
System Monitor (SMON) SMON performs recovery functions at instance
start, writing an alert log when an instance process fails and conducting
cleanup of temporary segments when not required.
Lock Process This background process works as a lock manager monitor.
Recoverer (RECO) Recoverer manages the in-doubt distributed
transactions in distributed databases.
Other Processes
There are other critical background processes that operate in an Oracle
database. The most important of these are covered in the following sections.
Database Writer (DBWR) The DBWR writes the data from the database
buffer cache to the data files.
Log Writer (LGWR) The LGWR writes the redo log buffer to redo log
files on the disk.
Archiver (ARC0) The archiver process will automatically write the online
redo logs to archive log files at an offline storage location (initially, this is
the local disk). This process does this when the Oracle Database is
configured to run with archive mode on.
Checkpoint (CKPT) The CKPT process writes all modified database cache
buffers in SGA to the datafiles.
The following command at the operating system level shows the Oracle
background processes:
FIGURE 19-2 The SAPinst tool stops at the Oracle software installation step
When installing the Oracle software, the Oracle Universal Installer tool
must be used. The following procedure should be followed before the
Oracle Universal Installer tool is started.
1. Open another X term and set the DISPLAY variable for user ora<sid>
(example: oradb1)
Figure 19-3 shows the initial screen of the Oracle Universal Installer.
Copyright by SAP AG
2. Select the components as shown and then click the Next button to
continue with the install. This will bring up the prerequisite check
screen shown in Figure 19-4.
Copyright by SAP AG
3. Verify the identified prerequisites, and click the Next button once
these are met. This will display the summary screen shown in Figure
19-5.
Copyright by SAP AG
4. Verify the summary screen and then click the Install button. This will
start the Oracle software installation as shown in Figure 19-6 with a
status indicator indicating the progress.
After progressing through the different installation steps, the Oracle
Universal Installer will stop at the screen shown in Figure 19-7 and
ask the administrator to execute a script as root user.
Copyright by SAP AG
Copyright by SAP AG
Summary
• The Oracle Database is one of the relational databases supported by
the SAP application. A list of all supported databases can be obtained
from the product availability matrix.
• The Oracle Database consists primarily of a passive database and an
Oracle instance.
• The database consists of logical data units referred to as tablespaces.
• Each tablespace has one or more physical datafiles.
• Datafiles permanently store the committed data from database
operations.
• Redo log files store redo information. They are useful when instance
recovery is needed after a power failure or network issue.
• The control file has the exact structure of the physical database. It is
read at instance start.
• The Oracle instance consists of the memory structures and
background processes.
• Memory structures include a system global area (SGA) consisting of
the database buffer cache and redo log buffers.
• The database writer writes the modified data from the database buffer
cache to data files.
• The log writer writes the redo log buffers to the online redo log files
on disk.
• The archiver process writes the online redo logs to offline archive log
files.
• Oracle software installation is recommended to be performed ahead of
SAP installation. However, Oracle software installation can also be
performed during the course of the SAP installation.
• Oracle Universal Installer (OUI) is used to perform the installation. It
can be used to perform the Oracle patch application as well.
Additional Resources
• SAP on Oracle at SDN www.sdn.sap.com/irj/sdn/ora?language=en
• SAP online help administration guide for
Oracle http://help.sap.com/saphelp_nwpi71/helpdata/en/0b/5daf09b
03344ad97338f838e09b9ee/frameset.htm
CHAPTER 20
Database Configuration and Administration
Using SAP BRTOOLS
SAP uses a set of naming conventions for different database components,
such as tablespaces, datafiles, and Oracle Database–related file systems.
SAPinst also sets environmental variables, creates operating system and
database user accounts, and creates configuration files as a part of the
standard SAP installation. It is important to stick to the standard SAP
naming conventions, as proper functioning of BRTOOLS will depend on
such usage. The first half of this chapter will discuss the naming
conventions, operating system (OS) and database user accounts,
configuration files used by Oracle in SAP environments, and work process
login and password control mechanisms, and the second half of the chapter
will discuss the Oracle Database administration activities using BRTOOLS.
Naming Conventions for Tablespaces
The SAP default installation uses the classic Oracle Database tablespace
naming conventions to separate the data and index tablespaces in older
versions. With the advances in hard disk and memory technologies, these
classic conventions have been changed as of SAP Web AS 6.10. Table 20-1
lists the tablespace naming conventions and a brief description of the
purpose of the tablespace. In the new naming conventions, the entire SAP
ABAP stack is in one tablespace PSAP<SCHEMA-ID> for ABAP systems
and PSAP<SCHEMA-ID>DB for Java systems. New features in Oracle
Database, such as system managed automatic segment space management,
UNDO tablespaces, locally managed SYSTEM tablespace, and default
temporary tablespaces, use the new tablespace format by default.
Tablespaces SYSTEM, PSAPUNDO, and PSAPTEMP are locally managed
upon creating, but with uniform extent size.
TABLE 20-1 Tablespace Naming Conventions
Size Category
The size category specifies the number of data records that are expected for
this table. The range is from zero to nine. Table 20-5 lists the size categories
with the expected number of data records.
TABLE 20-5 SAP Table Size Category
Environmental Variables
Oracle environmental variables are initially set at the time of the
installation. Operating system accounts <sid>adm and ora<sid> use the
environmental variables to perform different SAP and database-related
activities, such as starting up and shutting down the systems and
administering the Oracle Database using BRTOOLS. Table 20-6 lists the
key environmental variables and their purpose in SAP systems. OSS Note
830578 provides a complete list of environmental variables with their
intended purpose.
2. The SAP work process now uses the retrieved password and logs in
with the SAP<SCHEMA-ID>.
Configuration and Parameter Files
During SAP installation, a number of critical Oracle configuration files are
created. Table 20-11 lists the important Oracle configuration files along
with a brief description of each. The files can be further configured and
customized as per customer-specific requirements.
Copyright by SAP AG
You can access the submenus by entering your choice (1–8) and
selecting C (for continue). The following illustrations show each of the
BRTOOLS submenus with several database administration capabilities.
Each of these capabilities can be executed by selecting the appropriate
number and choosing the continue option. In the illustrations that follow, a
parameter choice is provided. In most cases, the defaults can be used, but if
needed, the parameters can be changed to execute a particular database
administration function.
Copyright by SAP AG
Copyright by SAP AG
Copyright by SAP AG
Copyright by SAP AG
Copyright by SAP AG
Copyright by SAP AG
Copyright by SAP AG
Copyright by SAP AG
Summary
• Naming conventions and standards are very important for the
database system tablespace names and file systems for the Oracle
Database.
• BRTOOLS should be used to administer Oracle Databases in SAP
systems.
• SQL commands can also be used to perform certain database
activities.
Additional Resources
• SAP Oracle Database tablespace naming
conventions http://help.sap.com/saphelp_nw70ehp1/helpdata/en/9f/
4a56b2185851468b39b719daa2d3aa/content.htm
• SAP BRTOOLS link
http://help.sap.com/saphelp_nw04/helpdata/en/0c/cd271365debc42be
f96ac7fd907787/content.htm
CHAPTER 21
Database Backup and Restore
In this chapter we will discuss the significance of properly backing up the
business data and restoring the data in the event of data loss or in case of a
disaster in the data center. Topics such as significance of business data,
development of a good organizational SAP database backup strategy, and
the different backup and restore options that are available to the SAP Basis
administrator are discussed. Emphasis is given on explaining the backup
and restore concepts and tools first, followed by a real-life example of a
detailed backup and restore scenario. This will help the Basis administrator
develop his or her own organization’s backup strategy and perform backups
and restores as needed.
Significance of Business Data
Generally, SAP systems are categorized as mission-critical systems because
they are used for performing online financial transactions and are the
system of record for organizations. Depending on the business processes
implemented at a given organization, these systems also perform critical
business transactions involving manufacturing, sales, human resources and
billing. When these systems are down for any length of time, it usually
causes significant monetary losses to organizations and, therefore,
protecting the systems against any data loss is of paramount importance.
Brokerage firms, credit card companies, and online retail organizations are
particularly impacted monetarily by any system downtime and business
data loss to the tune of several million dollars in some instances. Thus, it is
critical that the SAP Basis administrator work closely with the
organization’s Oracle Database administrator to develop a sound backup
strategy and test it on a quarterly basis. This will ensure that if there is a
situation where a system restore is needed this can be executed in as little
time as possible without any business data loss to the organization.
Developing a Backup Strategy
The main factors that need to be taken into consideration before developing
a sound backup strategy is to decide on the backup type and the tape cycle
or backup cycle that will be used. The backup types and the tape cycle will
depend on the size of the database, cost, and availability requirements of the
SAP system to the organization.
Backup Types
The backup types are primarily online or offline categories, with each
category having three subcategories (complete, incremental, and partial
backups). The complete backup is further categorized into full and whole
(all) backups. With the increased demands of availability of the business
applications, most organizations look for an online backup to meet the
requirements. Table 21-1 lists all the backup types and provides a brief
description of each.
Copyright by SAP AG
From the Backup And Database Copy menu choose option 1, as shown
in Figure 21-3. In the next screen, the backup mode can be changed from
online to offline_force.
Copyright by SAP AG
As shown in Figure 21-4, choose option 6 and press enter. This will help
to change the backup type parameter from online to offline_force.
Copyright by SAP AG
Enter the parameter value offline_force in the new value for type field
and press enter. This will take the new parameter value shown in Figure 21-
5.
Copyright by SAP AG
Copyright by SAP AG
Change the value for confirm to no and press enter. This will change the
confirmation mode as shown in Figure 21-7.
Copyright by SAP AG
Choose option 4 and press the enter key. The Backup And Database
Copy menu option will appear as shown in Figure 21-9.
Copyright by SAP AG
Choose option 6 and press the enter key. The back<SID>.log file will be
read to check the status of the available backup sets and a list of available
backups will be displayed, as shown in Figure 21-10.
Copyright by SAP AG
The next step is to verify the availability of the needed archive log files.
Choose option 7 as shown in Figure 21-11, and press enter.
Copyright by SAP AG
FIGURE 21-11 BRBACKUP verification of archive log backup menu option
The arch<SID>.log file will be read and the archive logs listed as shown
in Figure 21-12.
Copyright by SAP AG
Once the verification steps are complete, start the restore and recovery
process by selecting the Back option and pressing enter. This will take you
to the initial BRTOOLS menu again. Choose the Restore And Recovery
option (option 5) as shown in Figure 21-13 and press ENTER to display the
Restore And Recovery menu.
Copyright by SAP AG
Copyright by SAP AG
Copyright by SAP AG
FIGURE 21-16 Recovery menu option for choosing the time stamp for
recovery
The screen shown in Figure 21-17 will appear. Choose option 4 and
press ENTER.
Copyright by SAP AG
FIGURE 21-17 Menu option to choose the end-point time stamp for database
recovery
Then the system will prompt you to enter the end point (time) for the
point-in-time recovery. Type the necessary value and press the enter key.
This will show the entered end time as the end point-in-time for recovery,
as shown in Figure 21-18. Type c and press the ENTER key.
Copyright by SAP AG
FIGURE 21-18 Menu option showing the database recovery end time stamp
Next step is the system will present a screen for choosing the database
backup for the actual restore as shown in Figure 21-19. Choose option 2
and press the ENTER key.
Copyright by SAP AG
The system will then show the list of available backups. Choose option 2
(the last known good full backup) and press enter as shown in Figure 21-20.
Copyright by SAP AG
FIGURE 21-20 Select the last full online database backup for recovery.
The screen shown in Figure 21-21 appears so you can check the status of
the database files for the chosen backup set. Select option 3 and press
ENTER.
Copyright by SAP AG
FIGURE 21-21 Menu option for checking the database file’s status
The following steps will continue the recovery process. Confirm each
one, continuing with the process, and the system will restore and recover
the database to the chosen point in time.
1. The data files that will be overwritten are displayed.
2. Confirm the default parameters and choose Continue.
3. The data files are restored.
4. Once data files are restored, click Continue.
5. The archive log files that need to be restored are displayed.
6. Confirm the default parameters and click Continue.
7. Archive log files will be restored based on the chosen time stamp.
8. Post database restore, Oracle recovery steps are executed and the
database is opened.
9. A confirmation message is displayed indicating the restore and
recovery completed successfully.
10. Restart the SAP system manually.
Summary
• When a business system is down, it can cost an organization millions
of dollars.
• Developing and implementing an effective backup strategy is very
important.
• The BRBACKUP tool helps to back up the database.
• A 28-day tape backup cycle is recommended.
• BRBACKUP can back up the data to disk or tape.
• BRBACKUP reads the BRTOOLS initialization file; therefore, the
file needs to be customized as per the needs of your organization.
• The name of the configuration file is init<SID>.sap.
• BRRESTORE helps to restore the database.
• BRRECOVER helps to restore and recover the database.
Additional Resources
• Backup strategy for Oracle
databases www.sdn.sap.com/irj/sdn/go/portal/
prtroot/docs/library/uuid/6be4053a-0d01-0010-bfa7-bf9c2979a83c
• Oracle backup and recovery page on
SDN www.sdn.sap.com/irj/sdn/ora?rid=/
webcontent/uuid/1cc71b42-0d01-0010-7f91-f352b58078cf
PART VII
SAP Performance Tuning and Sizing
CHAPTER 22
SAP Performance Tuning in the ABAP Stack
CHAPTER 23
SAP Performance Tuning in the Java Stack
CHAPTER 24
SAP System Sizing Overview
CHAPTER 22
SAP Performance Tuning in the ABAP Stack
This section consists of three chapters, and we will cover performance
tuning of ABAP and Java stacks and SAP sizing. In this chapter we will
focus on SAP performance tuning in the ABAP stack. We will first cover
performance tuning concepts followed by discussing some common
performance issues as well as tools and techniques that can be used to
analyze performance issues. We will also cover specific examples of
performance-tuning parameters to improve system performance. This
chapter will conclude by discussing some of the implications of outsourcing
SAP development work to distributed teams in the world and the
importance of conducting performance tests and stress tests.
Significance of SAP System Performance
Good system performance is of paramount importance to the business users.
For a newly implemented system, one of the main criteria for end-user
acceptance is good response time. For a system that has been in productive
operation for a while, good response times and availability are critical and
have monetary implications if there is any adverse effect on system
performance. Thus, one of the most important tasks of the Basis
administrator is to monitor the system for any performance issues and take
remedial actions as quickly as possible. The best way to provide good
response times and meet or exceed system performance expectations are to
incorporate system performance best practices and set up/ tune parameters
starting from the design and through the build, test, and deploy stages of the
project. For example, if incorrect RAID technology is implemented in the
initial stages of the project it will have an adverse effect on system
performance throughout the project lifecycle as well as in the productive
operations of the system. We will, therefore, cover performance tuning
concepts such as dialog response times, memory management strategy, and
SAP buffers and study how to incorporate these into SAP systems so that
they provide optimal performance to business users.
Performance Tuning Concepts in the ABAP Stack
The main concepts relating to performance tuning in an ABAP stack are
response times, memory management, allocation sequence of memory areas
in dialog and background work processes, SAP buffers, and avoiding
expensive SQL.
Response Times
Dialog response time is the time between when an end user initiates a
request and receives the requested information from the system. The
response time is measured at the application server (instance). Any time
spent on network communication is not included in the dialog response
time. Table 22-1 breaks down the steps performed by the end user,
dispatcher, and work process and the different components of the dialog
response times.
TABLE 22-1 Lifecycle of an End-User Request and the Components of
Dialog Response Time
2. In most cases, this is the recommended SQL trace option. Enter the
filtering criteria in the following screen and keep it ready. Open
another SAP session and start executing the suspected transaction or
report. Go back to the SQL trace filter options screen and press
ENTER. This will start the trace. Let the trace run for few minutes and
then turn off the trace by clicking Deactivate Trace.
3. Please note that trace file size is governed by the system parameter
rstr/max_filesize_MB. The default size for an ECC (ERP Central
Component) system is 16MB. During a trace, a lot of data is written;
therefore, a long-running trace might overwrite older trace data.
4. Next, click the display trace. This displays the trace list, which will
provide the SQL trace output for detailed analysis.
Analyzing the Trace File
Once the trace list is generated, the next step is to look for SQL statements
that are taking significantly longer to execute. The following illustration
shows the results of the SQL trace for further analysis.
• From the Trace List screen you could look into the SQL statements
that are taking a long time to execute by noting the times in the first
column. The unit of time is microseconds; thus, 1,000,000
microseconds is equal to 1 second. Usually, long SQL execution
times (values greater than 100,000 microseconds) are marked in red,
which provides us with our initial suspect list.
• The second column gives the name of the accessed database object.
• The third column gives the name of the database operation.
• The fourth column gives you the number of fetched records.
• The fifth column gives you the return code from Oracle Database.
• The sixth and final column gives you the SQL statement.
• Clicking the Explain button on the top of the trace list for a SQL row
with reopened or open database operations will display a detailed
plan.
• When the Explain Plan button is clicked, the screen will be divided
into two halves, as shown in the illustration. The upper half of the
screen will show the SQL statement and how it is executed in the
Oracle Database. The lower half of the screen will give you the
execution plan.
Copyright by SAP AG
• The execution plan gives you the details on the processing of the
selected SQL statements such as estimated costs and estimated rows.
• The estimated cost is the number based on the access optimization by
the cost-based optimizer. Estimated costs are proportional to the
number of blocks necessary to read to fulfill the request. Higher costs
could indicate a problem. The estimated rows indicate how many
rows might be found as a result of the select statement.
• In the same screen clicking the individual tables and indexes (Figure
22-3) will provide detailed information about the last analysis and the
collected statistics for the object.
Copyright by SAP AG
• Analyzing this information will show you the indexes that are
currently being used and reveal if the creation of any new indexes is
justified.
Performance-Tuning Parameters in ABAP Systems
The following section will cover tuning profile parameters to improve
system performance. Usually, these parameters are changed in an iterative
fashion as the system grows over time.
Performance-Tuning Parameter Recommendations for ABAP Systems
The following illustrations and Figures 22-4 and 22-5 show the most
important performance-tuning parameter groupings for ABAP systems.
Please check the most current version of the OSS Note that is provided in
Figure 22-5 so that any new recommendations and information can be used
while configuring your system.
SAPPFPAR Check
SAP profile parameter changes have to be done carefully. Incorrectly
configured parameters may cause the system not to start. SAP provides a
command called SAPPFPAR that can be called at the operating system
level to verify the memory disposition of the SAP profiles that have been
changed recently. Apply the system-wide performance-tuning parameters in
the default profile and application server–specific performance parameters
in the instance profile. The parameters will be effective after the system
restart. The syntax for using the SAPPFPAR is as follows:
SAPPFPAR check pf=<path to the Instance Profile>
The Java heap size must be monitored using tools such as Wily
Introscope. This tool will provide live as well as historical heap usage
information. If the heap usage reaches the maximum allocated size, the
configuration tool can be used to increase the heap size. The following
illustration shows that the maximum heap size configured is 2GB and the
peak usage of the heap size is around 1.5GB.
The configuration tool must be used to configure different memory areas
of the JVM. Figure 23-1 shows the configuration tool’s Java memory
settings. Please note that maximum heap size is configured the same as
initial heap size of 3584MB. The configuration settings section can be
reached by logging into the configuration tool and choosing Cluster Data |
Instance ID | Server ID. The section on the right of Figure 23-1 shows
where Maximum Heap Size (Xmx) and Initial Heap Size (Xms) can be
configured.
Copyright by SAP AG
Garbage Collection
In Java systems, the developer does not need to explicitly configure
memory allocation and deallocation. Instead the system will automatically
allocate the memory for the Java objects, and whenever the objects are
terminated, the background process called the garbage collector (GC) will
remove or destroy the memory area so that space is freed up for allocation
to a new Java object. This way, the programmer does not have to worry
about memory allocation and Java programming is more efficient and easy
to use. Since GC is an automated process, the number of memory leaks
caused by developer errors is also minimized. The following section will
cover details of the GC process, types, and its effects on system
performance. In order to explain the GC process in detail, different
scenarios of memory allocation and deallocation are discussed so that the
reader can get a good conceptual understanding of the GC process and how
it can lead to situations such as Java system crashes in situations where
either the memory is incorrectly configured or there is no adequate amount
of physical memory available to the system.
Memory Areas in Garbage Collection
The two major memory areas that come into play during the GC process are
the young generation memory area and the tenured (old) generation
memory area. The sum of the young generation and tenured (old)
generation memory areas is the maximum configured heap size. Figure 23-2
shows the different memory areas in the JVM and how the GC process
works internally. The young generation area is further divided into the
“Eden” and two “survivor spaces.” New Java objects are allocated memory
space in the Eden memory area of the young generation memory area. The
survivor spaces are configured approximately to be one-eighth the size of
the young generation area. In Figure 23-2 Java objects A, B, and C are new
and are, therefore, allocated memory space in the Eden area of the young
generation memory area. Survivor spaces 1 and 2 have Java objects that
have been in use for sometime but are not still alive and are not yet ready to
be moved to the tenured generation memory area.
FIGURE 23-2 Different memory areas of the JVM during the garbage
collection process
Please note that the minor GC process does not scan or clear any objects
in the tenured memory area or the permanent memory area. Java objects
that are still alive in the survivor memory space can be moved to the
tenured memory area based on several criteria. It is also possible that the
Java objects in the survivor spaces can be moved back and forth between
the two spaces.
In Figure 23-4 a complete minor garbage collection scenario is
discussed. A new Java object D needs memory to be allocated as per
application usage. Since the Eden area already has three Java objects, A, B,
and C, there is no additional memory for the new Java object D in the Eden
memory area, and this results a memory allocation failure, which triggers
the minor garbage collection process. This process scans the entire young
generation memory area and finds that Java object A is not alive and is no
longer needed. The minor GC process will destroy the memory area of Java
object A, and this can now be allocated to the new Java object D. This is a
very simplistic description of the minor GC process. In real-life scenarios
far more objects will need memory space in the Eden memory area and far
more objects will not live and their memory areas will be destroyed by the
minor GC process. The memory allocation model assumes the “weak
generational hypothesis,” which states that a significant percentage of Java
objects live for a very short period. Once usage is complete, the memory
area is destroyed by the minor GC process and is freed up for the new Java
objects.
FIGURE 23-4 Minor garbage collection execution scenario causing the entire
young generation area to be scanned
FIGURE 23-5 Full garbage collection scenario causing the entire heap area
to be scanned
Out of Memory
This error is usually noticed in systems that are either incorrectly
configured or there is no sufficient memory in the system for proper
allocation. Table 23-2 describes the error messages can be seen in the
server0 logs in the work directory depending upon which memory area is
out of memory.
TABLE 23-2 Out Of Memory Error Scenarios
Copyright by SAP AG
To increase the system thread count globally (for all server nodes), start
the configuration tool at the operating system level, choose Global Server
Configuration | Managers | Thread Manager, and change the values for
Initial Thread Count, Maximum Thread Count, and Minimum Thread
Count as shown in Figure 23-7.
Copyright by SAP AG
The heap dump files are extremely large and cause the Java system
restart to hang as a result of disk space getting completely filled up. You can
set an alternative path for the location of the heap dump file by setting the
following Java parameter using the configuration tool:
Heap dumps are binary profiles and need specialized memory analysis
tools to perform additional troubleshooting activities. Heap dumps contain a
snapshot of all the Java objects that are active or alive at the time of the
dump. The file can be sent to SAP for additional analysis to identify the
root cause of the issue.
Thread Dump
Sometimes the Java application has issues with individual threads hanging,
and an internal view of the thread will be helpful in understanding the root
cause of the issue. There are several ways to generate a thread dump. One
of the easiest ways is to use the JCMON tool. Call the JCMON tool at the
operating system level, and choose menu path 20 (Local Administration
Menu). Next choose the option dump stacktrace menu by entering the
number, selecting the server process by entering the value from the Idx
column, and confirming the server process by choosing Yes.
For Sun and HP JVMs, the thread dump file is written at the following
location:
For IBM JVMs the thread dump file is written at the following location:
Memory Analyzer
The memory analyzer tool is an open-source product that will help to
analyze large productive heap dumps. The tool will help identify which
Java objects are hogging large chunks of memory and will be helpful in
identifying the root cause of the heap dumps in your system. The location to
download the tool is provided in the additional resources section of this
chapter.
Summary
• The primary SAP Java memory allocation areas in JVM are young
generation memory area, tenured (old) generation memory area, and
permanent generation memory area.
• The young generation memory area keeps the newly created Java
objects.
• The tenured (old) generation memory area keeps the Java objects that
are in use for a while and are still needed by the system.
• The permanent memory area keeps central classes and methods
permanently.
• Garbage collection is a process of automatic memory allocation and
deallocation by the system using garbage collector algorithms.
• A heap size of 1GB is recommended for 32-bit systems.
• A heap size of 2GB is recommended for 64-bit systems.
• A heap size up to 3.5GB can be configured for 64-bit systems.
• Minor garbage collection is quick and does not have any major
performance implications.
• Full garbage collection is triggered when there is not enough memory
to be allocated in the tenured memory area, and it has major
performance implications.
• Out-of-memory errors could result if there is no more memory
available for tenured memory area needs.
• Java server nodes are equivalent to ABAP work processes.
• Java server nodes are multithreaded and therefore can perform
multiple tasks at a time.
• ABAP work processes are single-threaded, performing one task at a
time.
• Application and system thread counts can be increased for each server
node using the configuration tool.
• Heap dumps and thread dumps will help to understand the underlying
issue in the JVM with regard to utilization of heaps and threads.
• The memory analyzer tool can be used to analyze the heap dump.
Additional Resources
• Heap dump analyzer tool www.sdn.sap.com/irj/sdn/wiki?
path=/display/Java/Java+Memory+Analysis
• Garbage collection tuning
www.oracle.com/technetwork/java/javase/gc-tuning-6-140523.html
• Performance analysis www.sdn.sap.com/irj/sdn/performance-
analysis
• SAP NetWeaver performance benchmark
www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/109
86f61-0a01-0010-bdad-cdd93247dbc1
• Java memory analyzer www.eclipse.org/mat
CHAPTER 24
SAP System Sizing Overview
In this chapter we will study the significance of SAP sizing and explore an
overview of the entire SAP sizing process. We will also study SAP sizing
theoretical concepts; tools provided by SAP to aid the customer in the
sizing process, such as Quick Sizer; different kinds of sizing approaches;
and some specific examples of sizing SAP solutions, such as ERP, BW, and
network sizing. SAP sizing projects are started in a new SAP
implementation and are updated throughout the lifecycle of the SAP
projects from the blueprint design stage to the post-go live and upgrade
stages of the projects. SAP recommends using different sizing approaches
depending upon the stage of the project. When a new SAP project is in the
design stages the infrastructure team is charged with performing an initial
budget sizing to get an understanding of the costs of the servers and related
technology that would be required for the project. This is followed up with
iterations of sizing by closely working with the business teams until
realistic user and expected volume information is provided to the sizing tool
to calculate the needed hardware for the project.
Significance of SAP Sizing
Performing a SAP sizing at the beginning of the project is very important
for several reasons. Foremost is to make sure that the performance and
response time expectations of the business users are met by planning and
providing adequate system resources before the projects goes live. Since
ERP projects are major changes in an organization, it is very important to
provide the data availability to the end users for a system that is being
implemented as a system of record. This will make the end users embrace
the system and champion it to the remaining business users inside the
organization. Other reasons for performing a sizing project and to keep it
updated are to not overspend on infrastructure that would not be utilized
and would sit idle. A good sizing effort will help the infrastructure team to
plan and procure the appropriate amount of system resources (CPU,
memory, and disk) on time, considering that the lead times for the
procurement process and vendor delivery could be considerable.
Sizing Theory and Practice
SAP sizing is based on a theoretical concept called the queuing model (or
queuing theory). In this kind of modeling the queuing systems are studied
mathematically to estimate the performance criteria such as response times.
A SAP three-tiered software architecture is studied as a queuing model with
one service center (CPU). In this three-tiered SAP architecture, all the
major system resources, such as memory, disk, and network load, can be
spread out in such a way that any queuing can be significantly reduced.
However, the CPU of the database server is the single most-limiting factor
in a three-tiered SAP software architecture and is, therefore, looked at first
as being responsible for any major queues, which could cause delays in
system response time and performance bottlenecks. A combination of
theoretical models and performance load tests are used to understand the
bottlenecks of the system.
Sizing Definition
SAP sizing is defined as a process of converting the business requirements
into hardware requirements. SAP provides tools and benchmark standards
for estimating the hardware requirements that would be needed for the
business.
SAPS (SAP Application Performance Standard)
SAP, working closely with its hardware partners, has developed a hardware
(platform)-independent benchmark referred to as SAP Application
Performance Standard (SAPS) to help size SAP applications.
100 SAPS = 2,000 fully processed order line items per hour (OR)
6,000 dialog steps (screen changes) with 2,000 postings (OR)
2,400 SAP transactions
Copyright by SAP AG
Copyright by SAP AG
4. The screen shown in Figure 24-2 appears. The main options for
expanding the sizing element tree on the left and the collapse tree on
the right are boxed and circled respectively in the figure. Clicking the
arrow in front of the sizing element (Example: SAP ERP) will expand
the hierarchy so the details of the sizing data can be entered in the
tables. As shown on the right side of the figure the tree collapse
control (circled) can be used to expand and collapse the project
information, customer data, platform, communication, and other
sections. Click the collapse trees, fill in the required information, and
save the information by clicking the Save button on the top.
Copyright by SAP AG
FIGURE 24-2 The initial screen when using SAP Business Suite Sizing
5. Expanding the SAP ERP section on the left will give the sizing tables
for user- and throughput-based sizing on the right. The next step is to
fill in the user count information and throughput information gathered
from business teams and click the Save button.
User-Based Sizing
In user-based sizing, user count information is entered in the active user
sizing table as shown in Figure 24-3. Three categories of users are defined
in user-based sizing. SAP recommends a distribution of high, medium, and
low (10%, 15%, and 75%) user distribution if actual distribution is not
known.
Copyright by SAP AG
Likewise, expand all the relevant sections of the SAP ERP sizing
elements on the left section of the screen and fill in the user count and
throughput data in different tables on the right side. Once the data entry is
complete, click the Save button and then click the Calculate Result button
to get the SAPS value of the sizing project, as shown in Figure 24-5. The
sizing project name is then shared with your hardware vendor so that they
can give a hardware recommendation based on the calculated SAPS value.
Copyright by SAP AG
FIGURE 24-5 Quick Sizer results screen showing the SAPS value
BW Sizing
BW sizing can also be performed based on concurrent user counts as well
as throughput (Info Cube metrics) information. Figure 24-7 shows a sample
completed BW sizing questionnaire with concurrent user counts and Info
Cube key figure, characteristics, initial, and periodic load information.
Recent versions of Quick Sizer include the BW-Java components (web
templates), and the resulting SAPS value is more accurate than the earlier
versions. If the BW system is expected to be integrated into the corporate
SAP NetWeaver portal, then additional portal sizing for the increased user
load should also be performed.
Network Sizing
When the application user count increases, the network bandwidth
requirement also goes up. SAP provides certain sizing guidelines for
calculating the SAP network bandwidth so that the organization’s network
team can plan for any needed network upgrades ahead of going live with
the new users. The following formula can be used to calculate the needed
network bandwidth for additional active users that will be added to the
system:
C = X * N * D * 0.25
where:
Example:
C = 4.6 * 30 * 4 * 0.25
C = 138 kbps
Pitfalls to Avoid in Sizing SAP Projects
SAP sizing projects could run into some of the common pitfalls listed here.
For each of the pitfalls a mitigation plan is offered so that these can be
avoided while running a sizing project at your organization.
Customers Do It Themselves
Sizing projects are sometimes performed by customers themselves with
inexperienced resources, and this can lead to inaccurate sizing estimates and
affect the credibility of the project, as the system is either undersized or
oversized. Undersized systems could experience serious performance
issues, and oversized systems will make organizations incur unnecessary
cost up-front and a significant amount of the system resources could be idle.
This situation can be mitigated by assigning this task to an experienced
consultant who has experience helping customers with performing several
SAP sizing projects.
Incorrect Understanding of Sizing Elements
The next common pitfall is incorrect understanding of the sizing element by
the business team member. The gathered throughput data is incorrect, and
this renders the SAP sizing project inaccurate. This situation can be
mitigated by an experienced SAP sizing consultant explaining the sizing
element in detail using the sizing help document. This way, the gathered
throughput data is correct and will yield more accurate sizing results.
Incorrect Peak Sizing
One other common pitfall is incorrect interpretation of the peak load and
peak period. The business requirements for peak loads for some industries
such as utilities are very high. A lot of volume is processed in a very short
period. If the peak load time is estimated incorrectly, this will give an
incorrect estimate of SAPS value, causing performance issues in the
system. An experienced business team member inside the organization with
a deep understanding of the business processes and volumes processed
should be consulted in gathering peak load and peak period information so
that the sizing results are accurate.
Sizing vs. Landscaping
Usually, customers assume that SAP Quick Sizer will help them not only
size the solution that would be implemented, but also distribute the
application components to different servers (landscaping). It is
responsibility of the hardware vendor, in consultation with the customer, to
properly landscape the system to maximize the resource utilization and
minimize the downtime. Experienced SAP technical architects and Basis
architects can also help landscape the solution so that requirements such as
high availability, disaster recovery, and business continuity can be ensured.
One other point that is important is to install the SAP servers in a package
or virtualization environment so that they can be moved around between
different servers to model the landscaping to suit the on-going requirements
of the organization.
Other Considerations
ERP sections of the sizing tool/tables do not account for system activities
such as printing and business workplace activities. This activity can be
sized by filling up the sizing elements BC-PRINT and BWP, covered under
the tables listed under the SAP NetWeaver sections of the sizing tool.
Summary
• SAP sizing is done initially for the purpose of budget allocation and
procurement of servers.
• The web-based online SAP Quick Sizer tool is recommended to
perform initial sizing.
• SAP sizing is based on the theoretical concept of queuing modeling
(queuing theory).
• SAP sizing is the process of getting hardware requirements from
business requirements.
• The SAPS (SAP Application Performance Standard) value is used as
a benchmark by hardware vendors to provide an estimate of the
hardware requirements needed for the customer.
• Customers can compare the SAPS value generated by the Quick Sizer
project with the benchmark numbers published by SAP for different
vendors and server configurations.
• Different types of sizing are available based on the stage of the SAP
project, from blueprint to post go-live and upgrade stages.
• Resizing is done when load is added to the system.
• Resizing is done by gathering data from different SAP monitors.
• Delta sizing is done when new functionality is added to the project.
• Upgrade sizing is done for SAP upgrade projects, and usually SAP
provides an OSS Note on the impact of the upgrade for system
resources.
• T-shirt sizing is used for newly developed solutions.
• Network sizing can be performed by using a SAP-provided formula.
• Common SAP sizing project pitfalls are use of inexperienced
resources to perform sizing, incorrect interpretation of the sizing
elements, and mistakes in choosing the peak load volume and period
in the Quick Sizer.
• Common pitfalls can be mitigated by assigning an experienced SAP
sizing consultant to work closely with the business teams in arriving
at accurate SAP sizing numbers.
• The hardware vendor is ultimately responsible for providing a
scalable hardware solution to its customers.
Additional Resources
• Sizing decision tree https://websmp209.sap-
ag.de/~sapidb/011000358700000970192010E/ebene1.htm (An S user
account is required to log in to the SAP Service Marketplace.)
• SAP benchmark www.sap.com/solutions/benchmark/index.epx
• SAP benchmark results interpretation
www.sap.com/solutions/benchmark/benchresults/benchresults.html
• SAP benchmark glossary
www.sap.com/solutions/benchmark/glossary.epx
PART VIII
SAP Upgrades
CHAPTER 25
SAP Upgrade of an ABAP Stack
CHAPTER 26
SAP Upgrade of the Java Stack
CHAPTER 25
SAP Upgrade of an ABAP Stack
In this part we will study the SAP upgrades in ABAP and Java stacks. In
this chapter, in the initial sections we will study general upgrade topics,
such as upgrade concepts, upgrade strategy, software logistics for
performing successful upgrades, evolution of SAP upgrades, and upgrade
tools. Subsequent sections will cover ABAP upgrades with a focus on
upgrade to ERP 6 and Enhancement Package 4 to show how a technical
upgrade would be planned and executed in a typical ABAP stack-based
application. We will also study the most common technical upgrade issues
that are encountered when performing an ABAP technical upgrade and in
upgrade projects in general. The next chapter will focus on Java upgrades,
and we will upgrade a dual-stack Process Integration (PI) system by way of
example. A dual-stack application such as SAP PI is chosen so that we have
an opportunity to study the synchronized upgrade procedure used to
perform a dual-stack (ABAP + Java) upgrade along with learning how a
Java stack–based SAP application would be upgraded.
Upgrade Concepts
Some of the key upgrade concepts that will be discussed before diving
deeply into the upgrade tools and the actual planning and execution of the
upgrade include the definition of technical downtime compared to business
downtime, system switch upgrade, deciding on an upgrade strategy, and
upgrade software logistics. The following sections will discuss these topics
in detail. The upgrade concepts discussed here are applicable to both ABAP
and Java stacks.
Technical Downtime vs. Business Downtime
The duration of time the system is not available as a result of the upgrade of
the technical components of the SAP system is referred as technical
downtime. Technical downtime is defined from the point of view of the
technology team and particularly the Basis administrator’s perspective.
Business downtime is defined as the total duration of time the system is not
available to the end user, from the beginning of the technical upgrade
downtime until all the post-upgrade mandatory steps are executed in the
system. This includes the time needed to perform post-upgrade and business
validation steps. Business downtime is defined from the point of view of the
end business user and, in general, from the business sponsor of the upgrade
project inside the organization.
The goal of SAP as a vendor and as a Basis administrator is to reduce the
business downtime for the upgrades as much as possible by deploying the
best practices, tools, and when necessary, SAP services so that the upgrade
is completed with minimum business downtime and delivers the new
release functionality to the business. Depending upon the downtime needs
of a given organization, different strategies can be deployed to minimize the
business downtime. Strategies available vary from normal weekend
scheduled downtime with either resource minimized or downtime-
minimized strategies all the way to advanced upgrade technologies that
support near zero downtime (NZDT). We will discuss these concepts in the
next section.
System Switch Upgrade
In a system switch upgrade, the upgrade program creates a target release
shadow instance (second instance) in parallel to the source release in the
same database. The target release is built during production operation of the
source release, except for certain steps that require a downtime. During
downtime, the remaining steps are completed in the shadow instance and
the upgrade program switches the shadow instance with the target release as
the production system and deletes the source release. The key steps
performed during downtime are: application tables are converted during the
PARCONV_UPG phase, the kernel is switched to a newer level during
KX_SWITCH_1 phase, and the EU_SWITCH phase executes the switch to
the new system. If incremental table conversion (ICNV) is used, tables are
converted during productive operation, further reducing the downtime.
Over time, SAP has improved the upgrade to a point where the underlying
complexity is hidden during the process and the downtime has been reduced
significantly because of better technology, such as system switch upgrades
and better tools such as ICNV. We will discuss the details of different
upgrade tools in subsequent sections of this chapter.
Upgrade Strategy (Preconfiguration Mode)
The upgrade strategy is primarily based on availability of the resources and
utilization of the downtime minimization tools and techniques during the
upgrade. The strategy is executed based on one of the following
preconfiguration modes delivered by SAP (Table 25-1).
Copyright by SAP AG
When the Upgrade GUI is started, it will display the initialization step;
by providing the requested information on the screen and clicking Next,
you can proceed with the subsequent steps. Table 25-3 gives a brief
overview of the eight roadmap steps.
TABLE 25-3 Upgrade Roadmap Steps
Copyright by SAP AG
Copyright by SAP AG
Copyright by SAP AG
The next illustration shows successful execution of the checks roadmap
step during an upgrade process.
Copyright by SAP AG
Figure 25-5 shows execution of the preprocessing roadmap step during
an upgrade process. At the end of this step, the upgrade program will show
this screen in preparation for the downtime. After all the recommended
steps are completed and you click OK, the actual downtime of the system
starts.
Copyright by SAP AG
Copyright by SAP AG
Figure 25-6 shows execution of the postprocessing upgrade roadmap
step during an upgrade process. The upgrade program is recommending
starting the background jobs as per the needs of the organization. The jobs
were suspended at the beginning of the upgrade process.
Copyright by SAP AG
Copyright by SAP AG
At the end of the successful SAP upgrade you will see the following
message. This will show that all the upgrade roadmap steps have been
successfully completed.
Copyright by SAP AG
Upgrade Execution
The upgrade execution steps are performed by Upgrade GUI. When the
upgrade program is executed from the upgrade master DVD, it starts an
HTTP service in the background. Upgrade GUI connects to the back-end
HTTP service with a browser at port 4239.
Start the Upgrade GUI for the First Time
The following procedure can be used to start the Upgrade GUI for the first
time.
1. Mount the upgrade master DVD.
2. Log in as <sid>adm user account at the operating system level.
3. Change to directory <path to upgrade master dvd>/upgrade master
dvd, and execute the following command:
4. For performance reasons, copy the upgrade master DVD to a local
file system. If NFS mount is used, the upgrade performance may
suffer, so this is not recommended.
Copyright by SAP AG
FIGURE 26-1 Starting the Upgrade GUI
This will start the Upgrade GUI, which helps in executing the eight
roadmap steps. Figure 26-2 shows that it has started the initialization
roadmap step and completed it successfully. When you click Next, it moves
to the extraction roadmap step.
Copyright by SAP AG
Once this is entered, click Next and the Upgrade GUI will request for the
following in subsequent screens. Enter the requested information and keep
clicking the Next button.
• Upgrade keyword
• Mount points of the upgrade software downloaded earlier
• Solution Manager key
Figure 26-4 shows that the ABAP stack configuration steps have been
completed successfully.
Copyright by SAP AG
Once this is completed, the Upgrade GUI tool will start the configuration
steps for the Java stack. Figure 26-5 shows the start of the Java
configuration roadmap step. You are prompted for the password for the
J2EE_ADMIN account. Enter the password and click Next.
Copyright by SAP AG
Figure 26-6 shows the selection of the upgrade strategy. Choose Upgrade
With Minimum Downtime, and click Next.
Copyright by SAP AG
In Figure 26-7 the system is requesting for the support package binding
during the upgrade. Choose the support package stack and click Continue.
Copyright by SAP AG
In Figure 26-8 the upgrade program is requesting to select the target Java
support package level that was unpacked into the /usr/sap/trans/EPS/in
directory in the planning stages of the upgrade.
Copyright by SAP AG
Copyright by SAP AG
After resolving this issue click Continue and keep clicking Next as you
move through the subsequent roadmap steps. This will eventually lead to
the end of the postprocessing roadmap step and the upgrade program will
show the upgrade evaluation screen shown in Figure 26-10. The evaluation
information can be sent to SAP. SAP uses this information to gather
statistics and issues from real upgrades performed by customers, which
helps them further improve the upgrade tool and help customers.
Copyright by SAP AG
Click Next and the upgrade program will show that the Java
postprocessing roadmap step is completed successfully, as shown in Figure
26-11.
Copyright by SAP AG
Copyright by SAP AG
Toward the end of the finalization roadmap step, the upgrade program
will issue the following confirmation message notifying you of the
successful execution of the dual-stack upgrade.
The procedure described here is not comprehensive. In the “Additional
Resources” section of this chapter an e-class demo link is provided. This
demo will provide additional details about the upgrade process.
Upgrade Key Post-Steps
The following are some of the key post-steps after the technical upgrade is
completed successfully:
• Stop and start the SAP system to make sure it is working properly.
• Schedule the background jobs.
• Import the correct profiles in transaction code RZ10.
• Execute SGEN to generate all the ABAP loads.
• Perform post-steps as per the upgrade guide.
• Perform any customer-specific steps.
• Take a complete offline backup.
• Release the system for productive business use.
Summary
• An SAP Java stack upgrade and a dual-stack (ABAP and Java stacks)
upgrade can be performed using the new upgrade program Upgrade
GUI.
• The Upgrade GUI tool integrates both ABAP and Java stack upgrades
into one single tool.
• Careful planning will help with successful execution of the upgrade.
• The Upgrade GUI tool synchronizes the ABAP and Java stack
upgrades.
• The upgrade directory log directory and troubleshooting section of the
upgrade guide are the key resources needed to resolve any upgrade
issues.
• SAP provides services such as safeguarding to reduce the business
risk of the upgrades.
Additional Resources
• SAP installation and upgrade guides
https://service.sap.com/instguides
• PI upgrade guides download location
https://service.sap.com/upgradenwpi71
• Dual-Stack Upgrade to PI 7.1 e-class demo
www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/504f6de3
-2cbd-2a10-ce87-86e0c5b5c573
PART IX
SAP System Copy
CHAPTER 27
SAP Homogeneous System Copies
CHAPTER 28
SAP Heterogeneous System Copies
CHAPTER 27
SAP Homogeneous System Copies
In this part we will study the system copy types and how to perform system
copies using SAP and database vendor–provided tools and techniques.
System copies are categorized into homogeneous system copies and
heterogeneous system copies. In a homogeneous system copy, neither the
underlying database nor operating system is changed during the copy
procedure. In a heterogeneous system copy, the underlying database and/or
the operating system is changed during the copy procedure. In this chapter
we will study homogeneous system copies in detail, and in the next chapter
we will cover heterogeneous system copies.
Reasons for Performing a Copy
There are several reasons for performing a system copy. The main reasons
for a client/customer to plan and execute a system copy are as follows:
• To build a test system with the data as in the production system
• To accelerate the build times for initial builds of test and production
systems
• To build conversion testing/mock systems before going live
• To build a second system for testing upgrades
• To build a production-like system for performance testing projects
• To move systems to remote datacenters for auditing, security, and
compliance with the Sarbanes-Oxley Act (SOX)
• To move the systems to the outsourcing provider’s hosting location
• To change the underlying database and/or operating system
Please note that most of the time the system copy is performed primarily
for the ABAP system that hosts the transactional data for the ERP system.
A Java stack of a single stack system such as NetWeaver Portal does not
need a system copy; instead, the data can be exported and imported to the
target system. This will save a lot of time in setting up target systems in a
Java stack without performing a full system copy procedure.
Types of System and Database Copies
While performing system and database copies, several terms and
procedures are used. Table 27-1 lists the most important terms and provides
a brief description of each. More details on the procedures will be covered
in this and the next chapter.
For SID = KB2 and listener port = 1527, this command syntax will be as
follows:
Copyright by SAP AG
FIGURE 27-1 SAPinst screen showing the homogeneous system copy export
selection
The SAPinst tool will complete the export steps and write an export
dump file that needs to be copied to the target system import location. The
SAPinst tool in the target system will read the export dump file and perform
the import steps. The following illustration shows the successful completion
of the export steps.
Copyright by SAP AG
Execute an Offline Backup of the Source System
You can use the last complete offline backup that was performed as a part
of daily or weekly backups of your system. This has the advantage of not
requiring any additional downtime to take an offline backup.
Executing the following commands in the target system will copy the
logfiles and datafiles recursively from the source to the target system:
After all the files are copied, delete the temp.data1 file. This will be
created when the target system is started using the new control file.
Starting the Target Database Log in to the target server as ora<sid>
and issue the following commands to start the database:
This will execute the following steps as given in the control file.
1. New control file is created.
2. Source SID is changed to target SID.
3. Database is opened.
4. OPS$ user accounts for the target system are created and needed
authorizations are granted.
5. The sapuser table is created.
Import Procedure When the Target System Is New
The following procedure must be used to perform the import if the target
system is not installed and is a new system. In this scenario you have to
install the database software on the target server. Then you have to use the
SAPinst tool and perform a homogeneous system copy. This procedure
installs a new SAP system and uses the database files copied from the
source system to create the new system. The export DVDs are not requested
by the SAPinst tool while performing a homogeneous system copy.
Installation of the Database Software The first step is to install the Oracle
Database software in the target system as explained elsewhere in this book.
This step will ensure that the Oracle binaries are installed ahead of the time
and will cut down on the overall system copy procedure.
Creating a SAPinst Homogeneous System Copy Start the SAPinst tool as
explained earlier in this book. However, at the welcome screen choose the
system copy option instead of the new install option, as shown here and in
Figure 27-2, clicking Next when finished.
Copyright by SAP AG
Copying Database Files from the Source to the Target System SAPinst
will start the import steps, and during the course of the process will stop and
present the following screen. Copy the database files from the source
system to the target system as per the secure copy procedure discussed
earlier. Once the copy is done, click the OK button. The remaining steps of
the homogeneous system copy will be completed, and you will see a
message notifying you that the copy is complete.
Copyright by SAP AG
You will have to navigate through a few more screens. Click I agree. At
the installation overview screen, pick your installation number (Example:
ERP installation), and then choose Migration Keys - Create Keys. The
screen shown in Figure 28-2 appears. Fill out the form, and click Submit.
SAP will generate a migration key for your installation. You will enter this
information during the migration execution using SAPinst.
Copyright by SAP AG
FIGURE 28-2 SAP migration key request form
Executing this report will show the screen shown in Figure 28-4. In this
screen choose the target system database, database version, and if unicode
migration, mark the check box Unicode Migration under additional
parameters. Also provide the export directory that was created in the earlier
step. The DDL statements are generated and written to the export directory.
Copyright by SAP AG
Copyright by SAP AG
Export Execution
Before starting the export step from SAP, the application has to be stopped.
You can do this by issuing the command stospap R3 with the <sid>adm
user account.
The database must be up while the export steps are executed with the
SAPinst tool. The SAPinst tool can be started from the installation master
DVD as root user account. Expand the System Copy, Oracle, Central
System, Based On AS ABAP, and Database Instance Export sections as
shown in Figure 28-5. Click Next.
Copyright by SAP AG
Table 28-2 lists the most important OSS Notes for export options, such
as table splitting, unsorted unload, and Oracle database parameter settings
for heterogeneous system copy export. SAP also started supporting
unloading the database from one operating system such as HP-UX to AIX
using redirected restore instead of the R3Load procedure. Keep in mind that
this is supported as long as the source and target operating systems belong
to the same endian.
Once all the parameters have been entered, SAPisnt will present a
summary screen where you can verify the parameters, and then click Start
to initiate the execution of the SAPinst. This starts the execution of the
export phase of the heterogeneous system copy, as shown in Figure 28-8.
Copyright by SAP AG
Copyright by SAP AG
The dump files are written to the export path location, and the EXPORT
CD image/files have to be copied to the target system via network protocols
such as FTP, or you can also burn a DVD image at the source system and
ship it to the target location for copying and completing the import steps of
the heterogeneous system copy.
Installing the Target System and Performing the Import Steps
Log in to the target system as root user account, and execute SAPinst from
the installation master DVD as explained in earlier chapters of this book.
This will start the SAPinst tool. Expand the System Copy, Oracle, Target
System Installation, Central System, and Based On AS ABAP sections as
shown in the following illustration.
Copyright by SAP AG
Clicking Next will show the following screen, where you choose either
Typical or Custom. If you choose Typical you will be prompted for the
minimum number of parameters. If you choose Custom SAPinst will
prompt for the complete set of parameters. Choose Typical and click Next
as shown.
Copyright by SAP AG
SAPinst will present you with a series of parameter entry screens. Enter
the requested parameters, and keep clicking Next until you reach the
summary screen. Table 28-3 identifies the key parameters that SAPinst
prompts you for during the target system installation and importing of the
source system data.
Copyright by SAP AG
Copyright by SAP AG
Figure 28-10 shows the execution steps for the heterogeneous system
copy. Once all the steps are complete, SAPinst will display a message
indicating that all the copy steps are completed successfully.
Copyright by SAP AG
Summary
• In a heterogeneous system copy, the database, or operating system, or
both are changed during the system copy process.
• Obtain a migration key before starting the heterogeneous system copy.
• The export phase of the copy will write the DDL statements and
create a database dump file.
• The import phase of the copy reads the export dump and loads the
data to the target system in a database-independent format.
Additional Resources
• SAP migration (OS/DB migration)
https://service.sap.com/osdbmigration
• SAP migration key https://service.sap.com/migrationkey
• Incremental migration of large databases
www.sdn.sap.com/irj/sdn/systemcopy?rid=/library/uuid/500b38f2-
0711-2a10-7bb6-c4daf8439309
APPENDIX SAP Basis Career Trends and
NetWeaver Certification
I am writing this chapter from the vantage point of someone who has been
working with SAP Basis/NetWeaver, technical architecture, and technology
management for the last 12 years. Over the years I have been studying
Basis/NetWeaver career trends and certification options closely so that I can
reshape and adjust my own skill sets based on the evolving needs of the
industry. One of the main goals of this appendix is to provide SAP
Basis/NetWeaver career options for young professionals graduating from
colleges and universities and also for experienced professionals who want
to advance their careers. This chapter will cover a broad spectrum of issues
faced by a prospective SAP Basis/NetWeaver professional as well as
experienced professionals, such as what does a SAP Basis/NetWeaver and
technical architecture career offer, why is it a valuable skill for the
individual and for the organizations that hire them, how does one break into
different career options, how does one get certified, what are the approaches
for learning and developing the skill in depth, what career paths are
available for Basis/NetWeaver professionals and how does one keep a
balance between work and life. Hopefully, after reading this chapter, you
will be better able to decide if SAP Basis/NetWeaver is a career choice for
you or, if you are an experienced Basis/NetWeaver specialist, how to
advance your career.
SAP Basis/NetWeaver Career
Over the years SAP Basis/NetWeaver administration and technical
architecture have evolved into a highly specialized skill. It is no
exaggeration to say that the skill has become so broad and deep that it is
comparable to getting a specialized advanced degree in terms of getting the
professional training and practical experience needed to excel in the job.
Because of this specialization, professional training, and development it can
be compared to other professional jobs, such as lawyers, doctors, and
accountants. If you have to invest your time and energy into something that
requires such a commitment, it only makes sense to understand what the job
has to offer in return. The following sections will discuss the benefits
available if you decide to pursue this as a career option. It will also cover
what contribution a Basis role will deliver in an organization and discuss a
typical day and week on the job.
Financial Stability
One of the reasons to pursue a professional career in SAP Basis/NetWeaver
administration and architecture is that the job offers competitive salaries
and a lot of financial stability compared to other IT jobs in the industry.
Over the last 30 to 40 years SAP has established itself as one of the ERP
standards for global organizations across the world. Most of the Fortune
500 companies, several small and medium-size businesses, federal and state
government agencies, and private companies across the world use SAP as
an ERP standard. Either they have already implemented the software or will
be implementing and using it to run their businesses. Organizations invest a
lot of financial resources into their corporate SAP systems and need a
Basis/NetWeaver professional to architect, plan, build, test, deploy, and
maintain the ERP application. Since the SAP application is mission-critical
for conducting business transactions, organizations are willing to offer quite
good compensation packages for Basis/NetWeaver professionals. In
addition, this career path is stable and offers a lot of financial stability. A
mid-level Basis/NetWeaver professional with three to four years’
experience can earn up to $100,000 a year. Senior SAP Basis professionals
with 7 to 12 years of experience can earn a lot more. Please note that
salaries vary upon the geographic region and as well as the size of the
company, and several other factors, such as a full-time job versus an hourly
contracting opportunity.
Career Growth Opportunities
Another reason to pursue the SAP Basis/NetWeaver career is the growth
opportunities it can offer. SAP Basis/NetWeaver can provide rapid career
growth working for a systems integrator or for a Fortune 500 company. It
can open up doors for IT roles in the organization with much broader
responsibilities. This will be discussed further in a later section of this
chapter.
SAP Basis/NetWeaver Role
SAP Basis/NetWeaver roles are categorized into junior-level positions, such
as an entry-level junior SAP Basis administrator, to senior-level positions,
such as Basis architect and SAP technical architect. Each of these roles has
specific responsibilities and adds value to the organization.
Contributions of the SAP Basis Role
The SAP Basis resource ensures that the “lights are on” for the SAP system.
No one can conduct any business if the system is either not available or is
not delivering the expected performance. The cost of downtime per hour in
some industries is so high that having a competent SAP Basis administrator
on the payroll is vital to the success of the business. The Basis administrator
will ensure that the organization conducts business smoothly without any
interruptions. Just like you need a heart specialist in a full-fledged hospital,
organizations running SAP need a SAP Basis specialist to make sure that
the vital signs of the system are normal and the system is living and
breathing. The following are the key contributions of the SAP Basis role:
• Plan and install the SAP systems.
• Make sure that the system is available to the project team or to the
business as per the Service Level Agreement (SLA).
• Ensure good performance from the system.
• Plan and implement backup and recovery strategies for the system.
• Perform all system administration activities.
• Perform upgrades and archiving activities in the system.
• Implement software logistics and enforce the rules of moving changes
in the systems.
• Perform software patching and kernel upgrades.
• Collaborate with project team members to resolve a techno-functional
issue.
• Perform root cause analysis of any system problems.
• Troubleshoot and fix any system crashes.
Contributions of the SAP Technical Architect Role
The role of the SAP technical architect is more design oriented and helps in
laying the broad framework of the SAP infrastructure and capabilities to
serve the strategic business goals of the SAP system. SAP technical
architects play a crucial role in making architecture decisions of the systems
at the beginning stages of the project (blueprint phase) and will ensure that
all the systems are built and integrated per the technical architecture
blueprint design document approved by the organization. A well-thought-
out SAP technical architecture design will ensure that the build-out
infrastructure supports the current as well as the future growth needs of the
organization. The following are the key contributions of the technical
architect role:
• Develop the technical architecture design.
• Design development, operations, and execution architecture standards
for the organization.
• Perform the SAP sizing project to procure the hardware.
• Perform capacity planning.
• Enforce technical architecture standards for the organization
• Develop designs to integrate enterprise third-party products with the
SAP system.
Day in the Life of a Basis Professional in a Full-Time Job
The following is a typical day in the life of the Basis administrator working
as a full-time employee for a organization:
• Arrive at work Monday morning and do some monitoring checks to
make sure that all the systems are available.
• Notice that you received an alert in your inbox saying that one of the
backups of your systems failed.
• You do a root cause analysis of the issue and fix the problem.
• Reschedule the backup job.
• A project team member shows up at your cube and lets you know that
one of the systems is performing slowly. You will let him know that
you will look into the issue.
• You take a look into the issue and kill a hanging job that was taking
up lot of system resources and send an e-mail to the person who
reported the issue.
• Time to attend the weekly meeting with the Basis team.
• Go for lunch with your team members after the meeting.
• Discuss shop or the latest basketball game during lunch.
• It is little slow after lunch. Around 2 P.M. you get a call from your
remote location notifying you that they cannot access the system.
• You do a root cause analysis and find out it is a network issue.
• You ask the end user to open a ticket and assign it to the network team
with high priority.
• Take a quick coffee break.
• You notice a coworker in the break room and chat for few minutes
before heading back to your office.
• You get an e-mail from the project team functional lead saying that
they are getting an ABAP dump in the system. They are not able to
figure out the root cause of the issue.
• You take a look into the issue and realize that it is a functional data
issue and not a Basis issue, but they need your help to resolve it.
Welcome to the Basis world!
• In the spirit of collaboration and teamwork you talk to an experienced
functional team member you respect and share the information that
you find in the system.
• The functional team member understands the issue as being data-
related. He works with another functional team member and a
conversion team member to fix the data issue.
• You provide support to the functional team and conversion team. The
issue is fixed.
• You wrap up your day with feeling of accomplishment and plan to
take off for the day.
• Tomorrow is another day!
A Week in the Life of a Road Warrior Basis Professional
A road warrior is a traveling SAP Basis consultant with several years of
experience under their belt. They usually work for one of the leading
systems integrators, such as IBM, Accenture, or Deloitte. There is another
group of SAP Basis consultant road warriors that work as independent
consultants, either working on their own or subcontracting for the leading
systems integrators. Some of them have been working so long that they
have their own client base and contract directly with end clients. The road
warrior lifestyle and job role can be better explained by taking a weekly
view, since they are away from home for most of the working week. The
most important drawback of the road warrior professional is the time away
from the family or significant others. Most of the road warriors make the
sacrifice so that they can work in demanding consulting projects where they
make higher hourly rates than full-time salaried Basis professionals and
enhance their work experience and résumés with the most current SAP
technology. The following is an example of a road warrior working for a
typical systems integrator:
• Make your travel arrangements at least two weeks in advance if you
are an experienced road warrior.
• Pack your bags on Sunday night and get ready for the week ahead on
the road.
• Get up early in the morning around 4:30 A.M. and take the first flight
out to the client site.
• Endure the travel lines and security clearance, and finally make it to
the client site in another city.
• Grab your lunch on the way to work and reach the client site by noon.
• Catch up with your e-mails and make plans for your deliverables for
the week.
• Attend a meeting with the client technical team and Basis team.
• Address any open issues that cannot wait until the next day.
• Take off to dinner with your fellow road warriors and retire early to
bed on Monday.
• Wake up and be at the client site bright and early on Tuesday,
Wednesday, and Thursday.
• Most work gets done on Tuesdays and Wednesdays. Long hours are
common, such as 10- to 12-hour days.
• Most deliverables such as new installs, database copies, and patching
are completed.
• One of the weeknights you might visit a local brewery with your co-
workers and have a beer and dinner.
• It is Thursday and time to wrap up for the week and head back to
airport around 2 to 3 P.M.
• Reach home around 7 to 8 PM. Work remotely on Fridays.
• Spend time with the family on the weekend, and the cycle continues.
• The advantages of being a road warrior are that you deepen your SAP
technical experience, are on the cutting edge of SAP skills, earn top
dollars, and visit lot of new places.
• The disadvantages of being a road warrior are sacrificing family time,
missing kids’ school activities, and struggling with work-life
balancing issues.
• Everything comes with a price!
SAP Basis Skill Development and Learning Resources
This section of the chapter will provide development and learning resources
to start learning SAP Basis/NetWeaver skills. It will cover topics such as
SAP Basis/NetWeaver training classes, free online learning resources,
technical education conferences, and online SAP career advice resources.
Necessary Background for the Basis Administrator
The following background will provide a good foundation for the SAP
Basis/NetWeaver career path. It does not mean that other backgrounds will
not be able to pick up the skill. Resources with other backgrounds would
have to work a little harder to learn the foundation skills before mastering
the Basis skill.
• Any prior administration experience in operating systems such as
UNIX and Windows Server. Knowledge of UNIX is particularly
helpful, as large SAP shops use UNIX a lot.
• Any prior database administration experience in relational databases
such as Oracle, SQL Server, and DB2 will be extremely useful.
• An academic background in computing is helpful.
• Analytical thinking and an ability for troubleshooting and problem
solving will help.
• Any development experience will be helpful as well.
• Soft skills, such as inter- and intrapersonal skills, will be extremely
helpful.
An introduction to all of these skills can be acquired either in a
university academic program or targeted training classes.
SAP Basis Training Curriculum
SAP Education (www.sap.com/index.epx#/training-and-
education/index.epx) offers training classes with a structured curriculum.
Generally, the training courses are fairly expensive, and ideally you should
get your employer to pay for your training courses. For new graduates,
there are less expensive ways to get hands-on experience, which will be
discussed in later sections of this chapter. The following table will provide
all the needed information for training curriculums. The same links have
scheduling and cost information as well.
www.sap.com/services/education/certification/corporate-master-
program/index.epx
Please note that index links point to page beginnings from the print edition.
Locations are approximate in e-readers, and you may need to page down
one or more times after clicking or tapping a link to get to the indexed
material.
A
ABAP (Advanced Business Application Programming) systems
administration skills, 452
core system monitoring transaction codes, 265–267
dump analysis, post-installation, 105, 107
load generation, 117–120
SAP NW systems based in. See SAP NW AS (NetWeaver Application
Server) ABAP
ABAP support package application
application phase, 113–114
preparatory phase, 109–113
troubleshooting phase, 114
access keys request, 297
Access Method settings, for printer setup, 121
activation, transport route configuration, 194
Add-On Installation tool, 114–116
Add To Download Basket button, in Service Marketplace, 295–296
administration screen, S user account, 293
administration tools, Java, 46
Advanced Adapter Engine, 61
Advanced Business Application Programming. See ABAP (Advanced
Business Application Programming) systems
advanced certification level, 450
Advanced Technology Group (ATG), 430
AL08 transaction code, 266
AL11 transaction code, 267
ALE (Application Link Enabling) communication, 56–57
alert monitors, Oracle, 285
alert threshold setting, 284
APPL0 data class, 316
APPL1 data class, 316
APPL2 data class, 316
application code problem cluster, 260
application conductivity issues, 268–269
Application Data category, 165
application dataflow, Oracle, 305
Application Link Enabling (ALE) communication, 56–57
application phase, of ABAP support package, 113–114
application server instances, additional, 69
application thread count, 367–369
application tier
browser-based requests, 17
data flow in, 15–16
dispatcher in, 13
gateway in, 15
ICF/integrated ITS in, 18
ICM in, 17–18
in Java architecture, 29, 30
message server in, 14–15
in three-tier architecture, 11–12
VMC architecture in, 16–17
work processes in, 14
Applications layer, 46, 47
apprenticeship, SAP Basis, 449
architect role, SAP Basis, 457–458
archive logs
backup menu option, 340
listing available, 340
Oracle archiving and, 155
support package application, 109
archives, in BI Java install, 94
ARCO (archiver), Oracle, 302, 304
associate certification level, 450
asynchronous updates, 234
ATG (Advanced Technology Group), 430
audience, for Basis Administration handbook, 3–4
autoreaction method, central e-mail, 281–282
Autosys, SAP ERP and, 58
availability monitoring, 280–282
B
background processes
memory allocation sequence, 352–353
in Oracle internal architecture, 302, 304
SAP batch work, 14, 226, 227
Backup And Database Copy menu
in BRTOOLS, 331
in restore and recovery process, 338–339
verification of archive log backup, 340
backup(s)
after post-installation tasks, 123
cycle/strategy, 329
listing available, 339
strategy development, 327–329
tools, 328–329
types of, 328
batch work processes, 14, 226, 227
BD54 transaction code, 152
benchmarking, SAPS values and, 375
benefits, of Basis/NetWeaver careers, 443–447
best practices
in complex system landscapes, 209
for performing client copy, 155
BI 7.0 Java stack installation, 89–96
big bang implementation approach, 207
big-endian systems, 435, 437
black locks, 237
blue locks, 237
Bootstrap Java program, 34–36
bootstrapping, Web Dispatcher, 130–131
bootstrap.properties file, 36
BPCA (Business Process Change Analyzer) tool, 390
BRARCHIVE tool
function of, 321, 329
RMAN integration with, 328–329
BRBACKUP tool
changing backup type in, 332
changing confirmation mode, 333
configuring, 330–337
function of, 320, 329
listing available archive logs, 340
listing available backups, 339
RMAN integration with, 328–329
verifying archive log backup, 340
BRCONNECT tool, 321
BRGUI tool, 321, 324
browser-based access, 28–29
browser-based requests, 17
BRRECOVER tool
database backup selection options, 344
end point-in-time for recovery option, 343–344
function of, 329
menu options showing parameters, 342
RMAN integration and, 328–329
BRRESTORE tool
BRRECOVER and, 338
function of, 320, 329
BRSPACE tool
functions of, 320
quick mode, 322–323
BRSTUDIO tool, 321
BRTOOLS
backups/restores with, 329
components of, 320–321
database administration submenus in, 321–322
Database Point-In-Time Recovery option, 341
Restore And Recovery option, 341, 430
RMAN integration with, 328–329
budget allocation, sizing for, 373, 375
buffer access time, 350
build specifications, SAP installation, 70–71
business data, 327
business downtime vs. technical downtime, 387–388
Business Process Change Analyzer (BPCA) tool, 390
business requirements, installable technical systems and, 66–68
business scenarios
for heterogeneous system copy, 432
for homogeneous system copy, 417
C
career benefits, in Basis/NW administration, 443–447
career center, SAP SDN, 449, 456
career strategies
for independent consultant role, 457
for IT management/executive role, 456–457
for newbies, 455–456
caution message, profile parameters and, 221, 222
CBS (Component Build Service)
in NWDI, 148–149
purpose of, 200
CCMS (Computing Center Management System)
installing agents, 282–283
monitoring function of, 272
registering CCMS agents, 280–281
types of/working with agents, 283
CCMSPING agent, 280–282
central CTS (Change and Transport System), SAP, 204
central host, 69
central instance
BI Java install parameters, 92
defined, 69
Java, 30, 34
renamed, 70
central monitoring architecture
CCMS agents for, 282–283
with CCMSPING, 280–282
configuring for satellite alerts, 284
examples of, 284–285
Central Performance History (CPH), 285–286
central system installation
defined, 69
for NW 7.0-based systems, 80
certification, SAP Basis/NetWeaver, 450–451, 456
Change and Transport System+ (CTS+), 203–204
Change Management Service. See CMS (Change Management Service)
change requests. See transport requests
Change Value button, 222–223
Check the status of database files option, 346
checks roadmap step, 393, 396
choice of employer, 459
choose option phase, of SAP installation, 86
City entry, in client copy process, 156, 157
CKPT (checkpoint), Oracle, 302, 304
client administration activities, 174–176
client concept, 143–144
client copy logs, 163–164
client copy process
local. See local client copy
as post-installation activity, 119
remote, 167
of transport requests/user master records, 168
client copy profiles, 164–165
client deletion, 169–170, 174
client-dependent data, 144–145
Client entry, 156, 157
Client Export screen, 170
client-facing skills, 454
client-independent data, 144–145
client instance strategy, 145–147
client number, SAP, 143–144
client refresh, 167
Client Role entry, 156, 157
client settings management, 172–173
client transport process, 170–172
clients, with SAP ABAP install, 103
cloud computing skills, 454
cluster element level configuration option, in Visual Administrator, 251
CMS (Change Management Service)
initial configuration screen, 203
installation/configuration of, 201
in NWDI, 148–149
PI software logistics with, 201–203
purpose of, 200
collective run updates, 233
Combined Upgrade and Unicode Conversion (CU & UC) tool, 391
common pitfalls, in SAP sizing projects, 381–382
common transport directory, 177–178
communication protocols
ALE/EDI, 56–57
network ports, 50–51
RFC connections and, 51–54, 55, 56
SAPconnect, 54, 56, 57
SAProuter, 57
TCP/IP, 49
communication skills, 454
Communication tab, in STMS systems overview screen, 188
comp (compensatory) time, 459
complete backups, 328
completed phase, of SAP installation, 87–89
complex system landscapes
best practices in, 209
five-System-Landscapes for, 208–209
implementation approach to, 207–208
Component Build Service. See CBS (Component Build Service)
component installs, 155
Computing Center Management System. See CCMS (Computing Center
Management System)
conferences, SAP, 449
config (configuration) tool, SAP
adding Java server nodes, 246
changing Java memory
parameters, 244
changing SCS instance number, 245
comparison of, 240
function of, 239
global parameter configuration, 241–242
increasing application thread count, 367–369
in Java administration, 46
JDBC Listener and, 245
for JVM memory areas, 363
local parameter configuration, 243–244
starting, 240–241, 242
configuration client settings, 172, 173
configuration file, for BRBACKUP tool, 330
configuration master client, 146
Configuration of RFC Connections screen, 52
configuration roadmap step
for ABAP stacks, 407
description of, 393
execution of, 396
for Java stacks, 407–410
Configuration Wizard NWA quick link, 254
confirmation mode, in BRBACKUP, 333
connection info, ICM component, 17–18
Connection Test screen, RFC, 52, 55
connectivity of SAP application, 268–269
consolidation routes, in STMS transport, 191–192
consolidation step, Java, 198
contributions
of SAP Basis role, 444–445
of technical architect role, 445
control files
copying to target server, 426
editing, 423–425
generating, 417–419, 422
in Oracle internal architecture, 302
copyright screen, 158
core system monitoring transaction codes
ABAP, 265–267
Java, 272
corporate master’s program, SAP, 451, 456
CPH (Central Performance History), 285–286
Create Database Statistics screen, 92
Create New System Entry dialog, 22
Create New System option, for Solution Manager key, 279–280
Create New Transport Request window, 153–154
creation of new logical system, 152–154
creation of new profile parameter, 219–220
CREMAS message type, 57
CTS+ (Change and Transport System+), 203–204
CU & UC (Combined Upgrade and Unicode Conversion) tool, 391
Custom install option, for BI 7.0 stack, 89–96
custom value category
in global parameter configuration, 241
in local parameter configuration, 243–244
customer-performed sizing project, 381
customer relationship management (CRM) skills, 453
customer requests, Business Suite 7, 6, 7
Customizing Data category, 165
customizing requests, in Transport Management, 185
customizing time zones, 123
cutting-edge skills, 457
D
D&B (Dun & Bradstreet) third-party enterprise, 58
daily schedule, of Basis administrator, 445–446
dashboards, with Wily Introscope, 288–289
data categories, 164–165
data class category, Oracle, 316
Data Definition Language (DDL) statements, 434–435
Data Dictionary Table with Text Description (DD02T), 145
data flow, 15–17
data problem cluster, 260
data suppliers/consumers, 282
database
application conductivity to, 268–269
choosing installation method, 440
connection parameters/file paths, 241
copies, 416
customized Oracle, 96
Java, 31
Oracle internals, 301–303
problem cluster, 260
request time, 350
space, client copy process and, 155
statistics, for BI 7.0 stack install, 92
work process connection to, 224
database administration, SAP
BRGUI for, 324
BRSPACE quick mode for, 322–323
BRTOOLS submenus for, 321–322
skills, 453
using BRTOOLS, 320–321
database buffer cache, 302, 303
database export options, 435, 437
database files
checking status option, 346
copying to target server, 426
copying to target system, 427
database-independent copy methods, 416
database instance, 69
Database Point-In-Time Recovery
backups for, 344–345
BRTOOLS menu option, 341
main menu options, 343, 344
database-specific copy method, 416
database tier
in ABAP-based applications, 18–19
in Java-based applications, 29–30
in three-tier architecture, 11–12
database user accounts, 318–319
datafiles
naming conventions for, 314, 315
in Oracle internal architecture, 302
dataflow, SAP application, 305
DB01 transaction code
checking for deadlocks, 237
monitoring function of, 267
DB02 transaction code, 267
DB12 transaction code, 267
DBWR (database writer), Oracle, 302, 304
DD02T (Data Dictionary Table with Text Description), 145
DDL (Data Definition Language) statements, 434–435
deadlocks, 237
default logon client, 174
default passwords, 103
default profile
example of, 216
function of, 19, 214
transaction code RZ10 and, 219
default SAP install, 318–319
default value category
in global parameter configuration, 241
in local parameter configuration, 243–244
define parameters phase
of SAP installation, 87, 88
of SAP Java installation, 90
definitions, SAP installation, 69–70
Delete Client screen, 169
delivery routes, STMS transport, 192–194
delta sizing, 375
Description field, in RFC destination configuration, 51, 53
Design Time Repository. See DTR (Design Time Repository)
detective work, troubleshooting, 261
developer keys, 297
development client, 146
development client settings, 172
development environment, Java, 198–199
development system, in client instance strategy, 145, 146–147
diagnosis
of ABAP startup problems, 263–265
of Java startup problems, 270–272
Diagnostics Agent, Solution Manager, 95
dialog instance, 69, 70
dialog response time components, 350–351
dialog work processes
functions of, 14, 225–226
memory allocation sequence for, 352–353
overloaded, 269
digitally signed license keys, 122
Direct Connection To A Dispatcher Node option, 247
disk usage, installation issue, 97
dispatchers, SAP
activities, response times and, 350
function of, 13, 223
Display Profile Parameter Attributes screen, 222–223
distributed system installation
defined, 69
for NW 7.0-based systems, 80
distribution, of transport route configuration, 194
diversity management skills, 454
Documentation button, for profile parameters, 222–223
domain controller screen, STMS, 186
Download option, Service Marketplace, 295–296
downtime
near zero, 388
technical vs. business, 387–388
downtime-minimized strategy, 389
downtime roadmap step, 393, 397
dpmon tool, for work process overload, 269
DTR (Design Time Repository)
in NWDI, 148–149
purpose of, 200
dual-stack systems
ABAP plus Java, 43
installation of, 80–81
separated stacks vs., 8
shutting down, 44
starting SAP, 43–44
synchronized upgrade, 402, 406–410
transaction codes in, 48
dump files, export, 419–420, 428, 438
E
E (exclusive) lock mode, 236
e-mail alerts, 284, 285
e-mail integration, 54, 56
ECC (ERP Central Component) system
default size for, 354
sizing questionnaire, 380
Eden memory area
GC process and, 363–364
during minor GC, 364–365
EDI (Electronic Data Interchange)
exchanging data with, 56–57
Solution Manager integration, 59
education, SAP Basis, 448
emerging SAP Basis/NetWeaver skills, 452–454
employer, choice of, 459
End of Installation screen, Oracle Universal Installer, 310
End point-in-time for recovery option, 343–344
end-users
life cycle of requests by, 350
perspective on minor GC, 364
Enhancement Package Installer tool, SAP, 391
Enhancement Packages, Business Suite 7, 6, 7
enqueue server program, 31
enqueue time, 350
enqueue work processes, 14, 226, 228
enterprise architect, SAP Basis, 458
Enterprise SOA (service-oriented architecture) stages, 60
enterprisegeeks career advice site, 450
entrepreneurship, as career, 458
environmental variables
for NW 7.0 EhP1 ABAP install, 85
purpose/description of Oracle, 316–317
ERP (Enterprise Resource Planning) Central Component system, 354, 380
ESB (Enterprise Service Bus), 61
ESR (Enterprise Service Repository), 60–61
evolution of Basis/NetWeaver skills, 451–452
exclusive and noncumulative (X) lock mode, 236
exclusive (E) lock mode, 236
execute phase, of SAP installation, 87
execution phase
heterogeneous system copy, 438–440
minor GC process, 364–365
processing SQL statement, 356
executive MBA career, 456
executive SAP administration careers, 456–457
expert options-related OSS Notes, 437
Expert Settings screen, 159
export directory, 433
export dump files
in system copy export steps, 419–420, 428
in system copy import steps, 438
export steps, system copy
generating control file, 417–419
offline backup of source system, 419–420
SAPinst export steps for Java systems, 419, 420
export tools, 433
Extended Maintenance option, 219
extended memory, 352
external vendors, Solution Manager integration, 59
extraction roadmap step
description of, 393
for dual-stack upgrades, 406
execution/completion of, 395
F
faxing, SAPconnect for, 54, 56
FCA (fast channel architecture), 32, 33
file systems
Oracle, 317–318
SAP, 318
UNIX layout, 71
FileNet, SAP ERP integration, 58
filtering options, SQL trace, 355
finalization roadmap step, 393, 398
financial stability, with Basis/NW careers, 444
five-System-Landscapes
for complex system landscapes, 208–209
upgrade software logistics for, 388–390
flexible work schedules, 459
four-System-Landscapes, 148, 198, 199
Front End option, for ABAP support packages, 110
front-end tools. See presentation tier
Function Module screen, 175
G
gateway, SAP
function of, 15
parameters, 358
process/monitor, 229
GC (garbage collection) process
full, 366
memory areas during, 363–364
minor, 364–366
General Parameters screen, BI 7.0 stack install, 90
Generate Installation/Upgrade Key button, for Solution Manager key, 280
global configuration
with local maintenance, 251
SAP config tool parameters for, 241–242
as Visual Administrator option, 250–251
Governance Risk and Compliance (GRC) administration skills, 453
growth opportunities, with Basis/NW careers, 444
GUI (graphical user interface) upgrade, 391–392
H
HA (high-availability) installs, 80, 237
HANA (High Performance Analytic Appliance) skills, 454
hardware procurement, 68
hardware vendors
landscaping by, 382
SAP sizing and, 374
heap dump, troubleshooting tool, 369–370
heap memory, 351–352
heap size memory area
configuring, 363
during full GC, 366
in JVM, 362
heterogeneous system copies
business scenario for, 432
defined, 416
exporting source database, 433–438
generating migration key, 432–433
installing target system, 438–440
reasons for, 431–432
high activity users, 378
high-availability system installation, 80, 237
High Performance Analytic Appliance (HANA) skills, 454
high resource use, preconfiguration mode, 389
history, of SAP, 4
homogeneous system copies
business scenario for, 417
defined, 416
export steps for, 417–420
import steps for, 421–428
post-system copy steps, 429
Restore And Recovery/split mirror copy options, 430
hot SAP Basis/NW skills, 452–453
HTTP/HTTPS SAP requests, 130
HTTP port number, 252
I
ICF (Internet Communication Framework), 18
ICM (Internet Communication Manager)
components of, 17–18
replacing Java dispatcher, 32
ICNV transaction code, upgrade tool, 390
IDOC (Intermediate Documents), 56–57
implementation approach, to complex system landscapes, 207–208
import steps, system copy
for installed target systems, 421, 422–426
for new target systems, 421, 426–428
incorrect understanding, of sizing elements/peak sizing, 382
incremental backups, 328
independent consultant role, 456–457
index page, as monitor, 272
index statistics, analyzing trace files, 356–357
Information Technology Infrastructure Library (ITIL) standards, 276
initial BRTOOLS menu, 331
initial consistency check, 104–105
initial screen
BRGUI menu, 324
configuration tool, 242
message wizard, 295
Oracle Universal Installer, 307
OSS Notes search, 294
SAP Quick Sizer, 377, 378
SAP Service Marketplace, 292
Solution Manager Installation
Master, 276
initial sizing, 375
initial update program administration screen, 236
initialization roadmap step
description of, 393
execution of, 394
for Java upgrades, 406
initialization scenario, minor GC process, 364
installable technical systems, business requirements and, 66–68
Installation in progress screen, Oracle Universal Installer, 309
installation media, for NW 7.0 EhP1 ABAP install, 85
installation parameters, Solution Manager, 277
installation preparation, SAP
applying naming conventions, 73
build specifications for, 70–71
definitions/terminology, 69–70
downloading guides, 68–69
downloading software for, 71–72
planning script for, 74
installation, SAP
detailed ABAP stack, 84–89
detailed Java stack, 89–96
dual-stack, 80–81, 82
options for, 80
Prerequisite Checker, 82–84
restarting/uninstalling, 97–98
separated stack, 81
single-stack, 80, 81
tools for, 77–79
troubleshooting issues, 97
instance
Oracle, 302, 303–304
SAP, 143–144
instance parameters, 357
instance profile
function of, 20, 214
parameters in, 216–217
Integrated Transaction Server (ITS), 18
Integration Directory tool, 60–61
integration scenarios, of SAP ERP systems, 50
Integration Server, 61
Intermediate Documents (IDOC), 56–57
Internet Communication Framework (ICF), 18
Internet Communication Manager (ICM), 17–18, 32
Introscope Enterprise Manager, Wily, 287–289, 290
isolating problems, for troubleshooting, 262
IT management career, 456–457, 458
IT scenarios, installable usage types and, 67–68
ITIL (Information Technology Infrastructure Library) standards, 276
ITS (Integrated transaction Server), 18
J
Java administration/configuration tools
NetWeaver Administrator, 252–256
SAP config tool, 239–246
Visual Administrator, 246–252
Java configuration roadmap step
choosing upgrade strategy, 408
successful completion of, 410
support/target support package selection, 409
support/target support package stack selection, 408
Java Database Connectivity (JDBC) Listener tool, 245
Java Enterprise runtime, 46, 47
Java HTTP Provider Configuration NWA quick link, 254
Java Scheduler NWA quick link, 254
Java Software Development Kits, 28
Java Stack permanent license, 125–126
Java Support Package Manager (JSPM) tool, 124–125
Java System Properties NWA quick link, 254, 255
Java systems
adding application servers, 369
administration skills, 452
application development steps, 197–198
central instance, 30, 34
central services instance, 31, 32, 34
cluster architecture, in NW 7.0, 30–31
cluster architecture, in NW 7.1, 32–34
core system monitoring in, 272
database, 31
dispatcher, 30, 32
instance controller (JIC), 40–41
internal system architecture, 46, 47
log and trace files, 45–46, 273
memory concepts, 361–363
memory parameters, 244
performance troubleshooting tools, 369–370
programming language, 27–28
SAP NW systems based in. See SAP NW AS (NetWeaver Application
Server) Java
server nodes, 246, 367
server process, 30
start and control framework, 34–36
system thread count, 367–369
Java Virtual Machine. See JVM (Java Virtual Machine)
JCMON tool
generating thread dumps, 370
monitoring function of, 272
verification of, 38–39
JCo RFC Destinations NWA quick link, 254
JControl process, 34–36, 37
JDBC (Java Database Connectivity) Listener tool, 245
JIC (Java instance controller), 40–41
JIT (Just In Time) compilers, 27
JLaunch process
responsibilities of, 34–36
verification of, 37–38
JLin test tool, 402
Jobs NWA quick link, 254
Jon Reed career advice site, 450
JSMON tool, 41–42, 272
JSPM (Java Support Package Manager) tool, 124–125
JSTART program, 39–42
JVM (Java Virtual Machine)
function of, 27
memory allocation in, 362
replacing with SAP JVM, 32
K
kernel upgrade, SAP, 116–117
key business benefits, of front-end variants, 12
key configuration and parameter files, Oracle, 320
key contributions
of SAP Basis role, 444–445
of technical architect role, 445
key Java application development steps, 197–198
key log and trace file location
for ABAP systems, 268
for Java systems, 272
key Oracle environmental variables, 316–317
key performance tuning transactions, 354
key planning steps for upgrades, 393–394, 403–404
key SAPinst export parameters, 436–437
Key Storage NWA quick link, 254
key temporary update tables, 234
key value propositions, Business Suite 7, 7
keys, requesting developer/access, 297
L
landscaping vs. sizing, 382
learning resources, SAP Basis, 447–450
LGWR (log writer), Oracle, 302, 304
Licenses NWA quick link, 254
little-endian systems, 435, 437
load and generation time, 350
local client copy
best practices for, 155
detailed procedure for, 155–162
logs for, 163–164
prerequisites for new, 151–154
profiles for, 164–165
restart option, 165–166
local configuration parameters, 243–244
local memory, 351–352
local properties configuration option, Visual Administrator, 251
local updates, 234
lock client functions, 174–175
lock concept, SAP, 236–237
lock modes, 236
lock process, Oracle, 302, 304
lock table overflow, 237
lock table parameters, 357
lock table profile parameters, 237
lock time, 350
Locks NWA quick link, 254
log and trace files
for ABAP systems, 268
for Java systems, 45–46, 273
Log On button, 22, 101–102
Log Viewer NWA quick link, 254, 256
log writer (LGWR), 302, 304
logging SAP support ticket, 262
Logical System entry, 156, 157
Logical Systems screen, 152–154
login checks
at application level, 104–106, 124
at operating system level, 103–104, 124
logon groups, assignment screen, 232
Logon Groups NWA quick link, 254
logon icon, SAP, 21
logs, client copy, 163–164
long-term fix vs. short-term workaround, 262
low activity users, 378
low resource use, preconfiguration mode, 389
LUW (logical unit of work), 233
M
management of client settings, 172–173
management roles in SAP administration, 456–457
Management tab, in STMS systems overview, 187
Mandt field, 144–145
manual parameter selection, 389
Master Data category, 165
master guides, installable usage types and, 67–68
media corruption, installation and, 97
medium activity users, 378
memory allocation
sequence, 352–353
strategy, 352
memory analyzer tool, 370
memory areas
during GC process, 363–364
in JVM, 362
memory concepts
in Java systems, 361–363
in SAP systems, 351–352
memory pipes, 17–18
memory structures, Oracle instance, 302, 303
memory utilization, 97
mentors, 456
menu paths, for navigating SAP system, 23–24
Mercury ITG (IT governance), 58
message server
function of, 14–15, 31
monitor, 229
Message Server NWA quick link, 254
message wizard, SAP, 294–295
MI (Mobile Infrastructure) install, 80–81, 82
migration. See also heterogeneous system copies
defined, 416
key, 432–433
minor GC process
initialization scenario, 364
memory allocation in, 364–366
monitoring/troubleshooting approach
ABAP startup problems, 262–265
as art/science, 259
central infrastructure for, 282–285
configuring central, 280–282
CPH for, 285–286
Java startup problems, 269–272
Java system components, 272
key log/trace file locations for, 268
problem clustering in, 260
SMD for, 286–287
tools for ABAP stack, 268–269
transaction codes, ABAP, 265–267
troubleshooting techniques, 261–262
Wily Introscope for, 287–289, 290
motivation, for NW 7.1, 32
multitier architecture, 11–12, 28–30
N
N and N+1 architecture, 208–209
naming conventions
application of, 73
datafile/redo log file, 314, 315
tablespace, 313–314
near zero downtime (NZDT), 388, 391
necessary background, for Basis administrator, 448
NetWeaver Administrator tool. See NWA (NetWeaver Administrator) tool
NetWeaver applications. See NW (NetWeaver) applications
NetWeaver Developer Infrastructure (NWDI), 148, 199–200
NetWeaver Developer Studio
four-System-Landscape with, 148–149
function in Java systems, 200
NetWeaver Portal
accessing Java applications, 28–29
after Java application login, 29
single-stack install/install option, 80, 81
triage real-time dashboard view, 288–289
network of domain experts, 262
network ports
in ABAP applications, 50
installation issue, 97
in Java applications, 51
network problem cluster, 260
network sizing formula, 381
networking, as career strategy, 457
New Entries screen, 156–157
New Item button, 21, 101–102
New Licenses button, 118–119, 121
newbies, career strategies for, 455–456
nontime-critical U2 updates, 233
Number of work processes screen, 231
NW 7.0 cluster architecture
components of, 30–31
constraints of, 31
installation options, 80
installation terminology, 69–70
start and control framework, 34–36
NW 7.0 EhP1 ABAP installation, 84–89
NW 7.1 cluster architecture
installation options, 80
installation terminology, 70
motivation for, 32
SAP Java cluster architecture in, 32–34
start and control framework, 39–42
NW (NetWeaver) applications
ABAP and. See SAP NW AS (NetWeaver Application Server)
ABAP
introduction, 3–8
Java and. See SAP NW AS (NetWeaver
Application Server) Java
SAP ERP integration with, 58
NW (NetWeaver), SAP career trends
emerging skills, 453–454
evolution of skills, 451–452
hot/emerging skills, 452–453
impact of outsourcing on, 455
soft/project management skills, 454
NWA (NetWeaver Administrator) tool
comparison of, 240
functions of, 252–253
Java, 46
monitoring function of, 272
monitoring PI solution, 60–61
quick links, 253–256
NWDI (NetWeaver Developer Infrastructure)
components of, 199–200
four-System-Landscape with, 148
NZDT (near zero downtime), 388, 391
O
O (optimistic) lock mode, 236
obsolete locks, 237
offline archive log files, Oracle, 303
offline backups
after post-installation tasks, 123
description of, 328
in system copy exports, 419–420
offline_force parameter value, 332
offshoring, impact of, 455
old generation memory area. See tenured (old) generation memory area
one-System-Landscapes, 142
online backups, 328, 345
online career advice sites, 450
online help, SAP, 123
Online Service System (OSS) Notes, 294, 437
Open SQL Data Browser NWA quick link, 254
Open View application management, 58
operating system. See OS (operating system), SAP
operation modes, SAP
timetable for, 230–231
work process distribution and, 229–230
OPS$ORA<SID> database user, 319
OPS$<SID>ADM database user, 319
optimistic (O) lock mode, 236
options
client administration, 174–176
client copy process, 159
SAProuter, 133
scheduling client copy, 160–161
transport command, 181–182, 184
ora_br_copy shell script, 423–425
Oracle archive log mode, 324–325
Oracle archiving, 155
Oracle configuration and parameter files, 320
Oracle Database administration
using BRTOOLS, 320–324
using SQL, 324–325
Oracle Database software
alert monitors for, 285
creating SAP-customized, 96
database component in, 301–303
installing, 77–78, 79, 305–310, 427
instance component in, 303–304
SAP application dataflow in, 305
Oracle file system, 317–318
Oracle instance, 302, 303–304
Oracle Listener
configuration, for BI 7.0 install, 91
verifying status of, 104
Oracle Recovery Manager. See RMAN (Recovery Manager)
Oracle Trace method, 423
Oracle Universal Installer (OUI), 79
ORACLE_HOME environmental variable, 317
ORACLE_SID environmental variable, 317
ora<SID> operating system user, 318, 338
OS (operating system), SAP
level processes, 20
login process, 21–23
navigating, 23–24
problem cluster, 260
processes, monitoring with, 272
shutting down, 24–25
start-up, 19–20
users/groups for Oracle, 318
OSS (Online Service System) Notes, 294, 437
Other Settings entry, 156, 157
OUI (Oracle Universal Installer)
function of, 79
installation process, 306–310
out of memory error scenarios, 366, 367
outsourcing
impact of, 455
projects, 359
P
paging integration, 54, 56
paging memory, 352
PAM (Product Availability Matrix), 68
parallel processes, 155, 159–160
parameter read sequence
in profile management, 217
during SAP system start-up, 20
parameter summary screen, SAPinst, 88, 95
parameters
JVM memory area, 362
options for SAPinst target system
install, 438–439
performance-tuning, 357–359
profile, 121, 219–223, 237
SAPinst export, 436–437
SAPinst system copy export, 420
SAPinst system copy import, 428
Solution Manager installation, 277
partial backups, 328
password(s)
control mechanism, 319
default, with SAP ABAP install, 103
peak sizing, 382
performance troubleshooting tools, Java, 369–370
performance tuning, in ABAP stack
dialog response times, 350–351
memory allocation sequence, 352–353
memory allocation strategy, 352
memory management in, 351–352
outsourcing projects and, 359
SAP buffers, 353
performance tuning, in Java stack
effects of full GC, 366
Java memory concepts, 361–363
memory areas in GC process, 363–364
minor GC, 364–366
out of memory errors, 366, 367
scalability of applications, 366–369
troubleshooting tools, 369–370
performance-tuning parameters
ABAP system recommendations, 357–358
SAPPFPAR check, 359
performance tuning transactions
analyzing trace file, 355–357
description of, 354
starting SQL trace, 353–355
permanent generation memory area, 362
permanent SAP license, 118–119, 121–122
phased implementation approach, 207–208
phases, of SAP installation, 86–89
physical memory components, 351
PI (Process Integration)
dual-stack install of, 80–81, 82
PI architect, 458
software logistics with CMS, 201–203
planning script, SAP installation, 74
planning steps for upgrades, 393–394, 403–404
PMON (process monitor), 302, 304
point-in-time recovery of database, 338–346
post-homogeneous system copy steps, 429
post-installation, ABAP stack
add-on installation, 114–116
client copy process, 119
configuring STMS, 106–109
generating ABAP loads, 117–120
installing permanent license, 118–119, 121–122
kernel upgrade, 116–117
login checks, 103–106
online help/time zones/backups, 123
overview of, 101–103
printer setup, 117, 120, 121
profile parameters, 121
support package application, 109–114
post-installation, Java stack
installing Java license, 125–126
login checks, 124
support package application, 124–125
post-steps, following upgrades, 399, 411
postprocessing roadmap step
description of, 393
execution of, 398
upgrade evaluation screen in, 410
preconfiguration mode choices, 388, 389
preparatory phase, of ABAP support package application, 109–113
preprocessing roadmap step, 393, 397
Prerequisite Checker tool, 82–84
prerequisite checks, OUI, 308
prerequisites, for setting up new client, 152–154
presentation tier
in Java-based applications, 28–29
in three-tier architecture, 11–12
variants of, 12
primary application server instance, 70
printer setup, 117, 120, 121
problem clustering approach, 260
problem scenarios
ABAP system startup, 262–265
Java system startup, 269–272
tools for ABAP stack, 268–269
process flow, heterogeneous system copy
exporting source database, 433–438
generating migration key, 432–433
installing target system, 438–440
process flow, homogeneous system copy
export steps, 417–420
import steps, 421–428
post-system copy steps, 429
Process Integration. See PI (Process Integration)
process integration architect, 458
process monitor (PMON), Oracle, 302, 304
process overview screen, 161, 162
processing time component, 350
Product Availability Matrix (PAM), 68
production step, 198
production systems
in client instance strategy, 146–147
client settings for, 172, 173
productive sizing, 375–376
professional career, in SAP administration, 443–447
professional training events, 459
profile maintenance, 217–221, 222
Profile Management NWA quick link, 254
profile management, SAP. See SAP profile management
profile parameters
check/documentation of, 221–223
creating new, 219–220
installing, 121
lock table, 237
profiles, client copy, 164–165
progress of ABAP load generation, 120
project management skills, 454, 456
PSAPDB1701 tablespace name, 315
PSAPDB1DB tablespace name, 315
PSAPDB1USR tablespace name, 315
PSAPROLL tablespace name, 314, 315
PSAP<SCHEMA-ID tablespace name, 314
PSAP<SCHEMA-ID>DB tablespace name, 314
PSAP<SCHEMA-ID>REL tablespace name, 314
PSAP<SCHEMA-ID>USR tablespace name, 314
PSAPTEMP tablespace name, 315
PSAPUNDO tablespace name, 314, 315
publishing, as career strategy, 457
Q
quality assurance system, 146–147
questioning techniques, in troubleshooting, 261
queuing model, of SAP sizing, 374
quick command checklist, BRSPACE, 322–323
quick links, NWA, 253–256
Quick Sizer tool, SAP
calculating SAPS value, 374
creating new sizing projects, 376–377, 378
throughput-based sizing with, 379–380
user-based sizing with, 377, 378
R
R3load tool, 433
R3trans tool
client administration options, 174
for connectivity troubleshooting, 268–269
RECO (recoverer), Oracle, 302, 304
redo log buffer, Oracle instance, 302, 303
redo log files
naming conventions, 314, 315
in Oracle internal architecture, 302
Reed, Jon, 450
references, acquiring, 457
refresh, client, 167
register commands, for CCMS agents, 283
remote client copy, 167
Remote Function Call (RFC). See RFC (Remote Function Call)
report generation, Wily Introscope, 290
Request New Users link, 293
requests, for developer/access keys, 297
resizing, 375
resolution
of ABAP startup problems, 263–265
of Java startup problems, 270–272
resource-minimized strategy, 389
restart option, client copy process, 155, 165–166
restarting failed SAP installs, 97
Restore And Recovery menu option, BRTOOLS, 341
results screen, Prerequisite Checker, 83–84
return codes, transport logs and, 194
RFC Destination field, 51, 53
RFC (Remote Function Call)
connection test/types, 55
parameters, 358
server groups, 232–233
setting up, 51–54
type T, 53, 56
RMAN (Recovery Manager), 328–329
road warrior Basis professional, 446–447
roadmap steps
for dual-stack upgrades, 406–410
for upgrades, 392–393
roles, in SAP administration, 444–445
roll buffers, 351–352
roll-in time, 350
root.sh script, 309–310
runtime errors, post-installation, 105, 107
Runtime Workbench tool, 60–61
RZ10 transaction code, 217–221, 222
RZ11 transaction code, 221–222
RZ12 transaction code, 232–233
RZ20 transaction code, 284
S
S (shared) lock mode, 236
S user accounts, 293–294
safeguarding for upgrades service, 402
SAINT (SAP Add-on Installation tool), 114–116
salaries, SAP Basis/NW, 444
sample UNIX file system layout, 71
sandbox system, 145, 146–147
SAP application dataflow, in Oracle, 305
SAP Application Performance Standard (SAPS) value, 374, 379–380
SAP Basis administration
apprenticeship, 449
background for, 448
career skills. See SAP Basis/NW career skills
introduction, 3–8
NW administration vs., 8
skill set evolution, 5, 451–452
training curriculum, 448
typical day of, 445–446
SAP Basis architect role, 457–458
SAP Basis career strategies
for independent consultant role, 457
for IT management/executive role, 456–457
for newbies, 455–456
SAP Basis consultant, traveling, 446–447
SAP Basis enterprise architect, 458
SAP Basis/NW administration, 443–447
SAP Basis/NW career skills
emerging, 453–454
evolution of, 451–452
hot/emerging, 452–453
options, 457–458
outsourcing and, 455
soft/project management, 454
SAP Basis/NW careers
financial stability, 444
growth opportunities, 444–445
overview of, 443
typical day, 445–446
typical week, 446–447
SAP Basis process integration architect, 458
SAP Basis role contributions, 444–445
SAP Basis technical architect, 458
SAP BI/BW (Business Intelligence/Business Warehouse) skills, 452
SAP buffers
memory management, 351–352
parameters, 358
performance tuning, 353
SAP Business Objects administration skills, 452–453
SAP Business Suite applications
communication protocols for. See communication protocols
SAP ERP integration with, 57
SAP sizing for, 376–377, 378
Solution Manager integration with, 59
Suite 7 release, 6, 7
SAP BW (Business Information Warehouse) sizing, 380–381
SAP CRM (customer relationship management) skills, 453
SAP Developer Network (SDN), 449
SAP Download Manager, 72, 297
SAP Easy Access dialog, 22
SAP Enhancement Package Installer tool, 391
SAP ERP (Enterprise Resource Planning)
enhancement package skills, 452
integration scenarios, 50
integration with Business Suite
applications, 57
integration with NetWeaver/third-party applications, 58
SAP GRC (Governance Risk and Compliance) administration skills, 453
SAP HANA (High Performance Analytic Appliance) skills, 454
SAP installation
detailed ABAP stack, 84–89
detailed Java stack, 89–96
dual-stack, 80–81, 82
options for, 80
Oracle Database installation and, 305
post-installation activities. See post-installation, ABAP stack
Prerequisite Checker, 82–84
restarting/uninstalling, 97–98
separated stack, 81
single-stack, 80, 81
tools for, 77–79
troubleshooting issues, 97
SAP installation preparation
applying naming conventions, 73
build specifications for, 70–71
definitions/terminology, 69–70
downloading guides, 68–69
downloading software for, 71–72
planning script for, 74
SAP Java Stack permanent license, 125–126
SAP JVM (Java Virtual Machine), 32, 33
SAP liveCache technology
installation option, 134–137
uninstall option, 137, 138
SAP NetWeaver Application Server ABAP.
See SAP NW AS (NetWeaver Application Server) ABAP
SAP NetWeaver Application Server Java. See SAP NW AS (NetWeaver
Application Server) Java
SAP NetWeaver technology platform.
See also specific NW (NetWeaver) and NetWeaver entries
Basis administrator vs., 8
introduction, 3–8
usage types, 6–7
SAP NW AS (NetWeaver Application Server) ABAP
as application tier, 13
browser-based requests in, 17
components of, 13–15
core system monitoring transaction
codes, 265–267
data flow in, 15–16
detailed EhP1 stack install, 84–89
key log and trace file locations, 268
login process, 21–23
navigating, 23–24
performance tuning in, 350–353, 357–359
profile management in. See SAP profile management
shutting down, 24–25
startup problem scenarios, 262–265
system start-up, 19–20
upgrades for. See upgrades, of
ABAP stacks
work processes in, 223–228
SAP NW AS (NetWeaver Application Server) Java
cluster architecture in, 30–33
configuration tool in, 239–246
core system monitoring components, 272
detailed BI 7.0 stack install, 89–96
dual-stack systems, 43–44
Java application URLs, 47
Java log files and, 45–46
Java NW 7.0 start/control framework, 34–36
Java NW 7.1 start/control framework, 39–42
NetWeaver Administrator tool in, 252–256
performance tuning. See performance tuning, in Java stack
SMICM start/shutdown options, 44–45
start/shutdown sequences, 34
startup problem scenarios, 269–272
system architecture/administration tools, 46
three-tier architecture for, 28–30
transaction codes in, 48
upgrades for. See upgrades, of Java stacks
verification, of system start-up, 37–39
verifying usage types in, 47
Visual Administrator tool in, 246–252
SAP PI (Process Integration), 60–61, 453
SAP profile management
default profile sample, 216
instance profile sample, 216–217
overview of, 213–214
parameter check/documentation, 221–223
profile maintenance, 217–221, 222
profile types, 19
read/override sequence, 217
start/default/instance profile functions, 214
start profile sample, 214–215
SAP Quick Sizer tool
calculating SAPS value, 374
creating new sizing projects, 376–377, 378
throughput-based sizing with, 379–380
user-based sizing with, 377, 378
SAP SCM (supply chain management) skills, 453
SAP SDN (SAP Developer Network), 449, 455, 456
SAP Service Marketplace administration
creating S user accounts, 293–294
downloading software, 295–297
keys and requests, 297
login procedure, 291–292
opening messages with SAP, 294–295
searching OSS Notes, 294
service connections, 295, 296
SAP sizing
BW sizing, 380–381
common pitfalls, 381–382
defined, 374
ECC sizing, 380
landscaping vs., 382
network sizing, 381
with Quick Sizer tool, 376–377, 378
significance of, 68, 373
theory/practice, 374–375
throughput-based, 379–380
types of, 375–376
user-based, 377, 378
SAP Solution Manager
availability monitoring, 280–282
based on ITIL compliance, 276
Business Suite/third-parties/SAP support/EDI integration, 59
generating key for, 279–280
hot/emerging skills, 452
installing, 276–279
monitoring architecture of, 282–285
overview of, 275
successful completion of, 279
SAP SRM (Supplier Relationship Management) skills, 453
SAP (Systems Applications and Products)
application tier. See application tier
central CTS, 204
certification, 450–451
client number, 143–144
cloud computing skills, 454
configuration tool. See config (configuration) tool, SAP
corporate master’s program, 451, 456
database administration skills, 453
database tier. See database tier
file system, 318
history of, 4
implementation projects, 65–66
installing. See SAPinst tool
license installation, 118–119, 121–122
major releases, 4–5
naming conventions, 73
performance significance, 349
presentation tier. See presentation tier
schema ID login, 319
server list, 105
software, 71–72, 455
stand-alone components. See stand-alone SAP components
support, 59, 262
technical architecture skills, 453
update concept, 233–234
user groups, 449
SAP TECHED conference, 449
SAP Transport Management System (STMS). See STMS (SAP Transport
Management System)
SAP TREX (Search and Classification), 130
SAP UAC (University Alliance Community), 449, 455
SAP UNIX system administration skills, 453
SAP upgrades. See upgrades, of ABAP stacks
sap* user account, 152, 158
SAP Web Dispatcher
bootstrapping, 130–131
configuration file setup, 131–132
installing, 129–130
start/shutdown procedures, 131
SAP work processes
batch/update, 226, 227
connection to database, 224
dialog, 225–226
SAP dispatcher, 223
spool, 228
types of, 225
SAP_ALL client copy profile, 165
SAPCAR-xvf command, 110, 112
SAPconnect, 54, 56, 57
SAP_CUST client copy profile, 165
SAPDATA_HOME environmental variable, 317
SAPGUI program
installation of, 21
new connection in, 101, 103
variants of, 12
SAPinst tool
central/SCS instance parameters for, 92
choosing SAP SID, 87
creating database, 96
database export options, 435, 437
defined, 70
Diagnostic Agent user account and, 95
executing export steps, 437–438
executing import steps, 438–440
export parameters, 436–437
homogeneous copy export process, 419, 420
homogeneous copy import process, 427, 428
initial screen, 86
installing Solution Manager, 276–279
for NW 7.0 EhP1 ABAP install, 85–86
overview of, 78–79
parameter summary screen, 88, 95
parameters for Java install, 90
parameters for target system install, 438–439
restarting failed installs, 97
selecting archives to unpack in, 94
selection of database export, 435
Start SAP Instance step, 89
stopping at Oracle installation step, 305–306
UME configuration in, 93
uninstall option, 97–98, 137, 138
SAPLogon program, 101–102
SAPPFPAR command, 359
SAPPHIRE NOW conference, 449–450
SAProuter
as application-level gateway, 57
configuring/starting/stopping/options, 133
installing, 132–133
saprouttab table, 133
SAPS (SAP Application Performance Standard) value
Quick Sizer showing, 379–380
for SAP sizing, 374
SAP<SCHEMA-ID> database user, 319
SAP<SCHEMA-ID>DB database user, 319
SAP_USER client copy profile, 168
SAR files, 110–111
satellite systems
central monitoring system, 284
installing CCMS agents, 282–283
scalability of Java applications
adding application servers, 369
adding server nodes, 367
application/system thread usage and, 367–369
SCAs (Software Component Archives), 31
SCC3 transaction code, 169, 171
SCC4 transaction code, 155
SCC5 transaction code, 169
SCC7 transaction code, 172
SCC8 transaction code, 170
SCC9 transaction code, 167
SCCL transaction (client copy tool), 158–159
SCCR_LOCK_CLIENT function, 175
SCCR_UNLOCK_CLIENT function, 176
Schedule As Background Job option, 160
scheduling client copy
best practices for, 155
for deletion, 169
options, 160–161
schema ID login, 319
Scott configuration, 54, 56, 57
script, UNIX, 182–183
SCS (Sap Central Services) instance, 92, 245
SDAs (Software Development Archives), 31
SDM (Software Deployment Manager), 31, 202
SE09 transaction code, 194
SE10 transaction code, 194
SE16N transaction code, 267
searches, troubleshooting, 261–262
security problem cluster, 260
separated stack install, 8
server list, SAP, 105
server nodes, Java, 246, 367
service connections maintenance, 295, 296
Service-oriented architecture (SOA), 60
services list, Prerequisite Checker, 82–83
SGEN transaction code, 117–120
shadow instance, 388
shared memory, 351–352
shared (S) lock mode, 236
short-term workaround vs. long-term fix, 262
SID (system identifier)
in client concept, 143
defined, 69
naming conventions for, 73
SAPinst parameter for choosing, 87
<SID>adm operating system user, 34, 103, 318
signal handler, 17–18
Simple Mail Transport Protocol (SMTP), 56
single-stack database copies, 416
single-stack system, 8, 80, 81
size category, Oracle, 316
sizing elements, 382
sizing, SAP. See SAP sizing
SKDs (Software Development Kits), Java, 28
skill development, SAP Basis, 447–450
skill set evolution, SAP Basis, 5, 451–452
skills background, for Basis administrator, 448
SLD Data Supplier Configuration NWA quick link, 254
SLD (System Landscape Directory)
function of, 60–61
in Java systems, 200
registering installation in, 94
RFC connections and, 53
Solution Manager installation and, 278
SLICENSE transaction code, 118–119, 121–122
SM04 transaction code, 266
SM12 transaction code, 236–237, 266
SM13 transaction code, 266
SM21 transaction code, 106, 108, 237
SM28 transaction code, 105, 265
SM35 transaction code, 267
SM37 transaction code, 266
SM50 transaction code
listing work processes, 226
monitoring function of, 265, 354
verifying installation, 105, 106
SM51 transaction code
listing application servers, 226
monitoring function of, 265
verifying installation, 105
SM58 transaction code, 266
SM59 transaction code, 51–52
SM63 transaction code, 230
SM66 transaction code, 226, 265, 354
SMD (Solution Manager Diagnostic), 286–287
SMGW transaction code as, 229
SMICM transaction code, 44–45, 272
SMIGR_CREATE_DDL select options screen, 434
SMLG transaction code, 232, 266
SMMS transaction code, 229
SMON (system monitor), Oracle, 302, 304
SMTP (Simple Mail Transport Protocol), 56
SOA (Service-oriented architecture), 60
soft SAP Basis/NetWeaver skills, 454
Software Component Archives (SCAs), 31
software component selection, 118
Software Deployment Manager (SDM)
function of, 31
unavailable in NW 7.1, 32, 70
Software Development Archives (SDAs), 31
software download
with Download Manager, 297
SAP Service Marketplace for, 295–296
software logistics in ABAP systems
change requests/transport management, 147–148
client concept, 143–144
client-dependent/independent data, 144–145
client instance strategy, 145–147
System Landscapes, 142–143
software logistics in Java systems
application development steps, 197–198
CTS+ integration of, 203–204
development environment, 198–199
features of, 148–149
four-System-Landscape, 198, 199
in PI landscapes, 200–203
SAP NWDI, 199–200
SLD/NetWeaver Developer Studio, 200
software units
mapping IT scenarios to, 67–68
with NetWeaver installation, 6–7
verifying SAP, 47
software units, with NetWeaver install, 6–7
software, Oracle Database
alert monitors for, 285
creating SAP-customized, 96
database component in, 301–303
installing, 77–78, 79, 305–310, 427
instance component in, 303–304
SAP application dataflow in, 305
Solution Browser upgrade tool, 390
Solution Manager Diagnostic (SMD), 286–287
Solution Manager Installation Master, 276
SOST transaction code, 266
source database, exporting, 433–438
source system
copying database files from, 427
generating DDL statements in, 434–435
system copy import and, 422
SP01 transaction code, 266
SP02 transaction code, 266
SPAD (Spool Administration) transaction, 117, 120, 121
SPAM (Support Package Manager), 110, 112, 113–114
specialization, career strategy, 457
split mirror copy options, 430
Split STR Files screen, 435, 436
spool work processes, 14, 228
SQL (Structured Query Language)
administering Oracle Database with, 324–325
Connection Monitor NWA quick link, 254
Trace Administration NWA quick link, 254
SQL trace tool
analyzing trace file, 355–357
filtering options, 355
starting, 353–355
SR13 transaction code, 123
SRM (Supplier Relationship Management) skills, 453
ST02 transaction code, 267, 354
ST03N transaction code, 267, 354
ST04 transaction code, 267, 354
ST05 transaction code, 353, 354
ST06 transaction code, 266, 354
ST07 transaction code, 354
ST10 transaction code, 354
ST11 transaction code, 267
ST22 transaction code, 105, 107, 266
STAD transaction code, 267, 354
stand-alone gateway, 130
stand-alone SAP components
overview of, 130
SAP liveCache technology, 134–137
SAP Web Dispatcher, 129–132
SAProuter, 132–133
Standard Currency entry, 156, 157
standard resource use, 389
standard system installation
defined, 70
for NW 7.1-based systems, 80
start and control framework
in NW 7.0, 34–36
in NW 7.1, 39–42
Start and Stop NWA quick link, 254–255
start commands, for CCMS agents, 283
Start Job Directly option, in ABAP load generation, 119
start profile function, 20, 214–215
Start SAP Instance step, 89
start screen, Quick Sizer, 377
start/shutdown procedures
SAP Web Dispatcher, 131
SAProuter, 133
start-up
SAP dual-stack systems, 43–44
SAP Java system, 34–36
SAP system, 19–20
verification of, 37–39
Start Upgrade Front-end (SDTGui) screen, 405
startsap command, 19–20, 34, 40
startup problem scenarios
ABAP system, 262–265
Java system, 269–272
status commands, for CCMS agents, 283
STMS (SAP Transport Management System). See also Transport
Management concepts; Transport Management in practice
change requests and, 147–148
configuring, 106–109, 185–186
domain controller screen, 186
monitoring transaction code, 267
non-ABAP systems and, 204
system overview screen, 187–188
transport routes, 189–194
stop commands, for CCMS agents, 283
stopsap command, 24
storage problem, in problem clustering, 260
STR files splitting parameters, 435, 436
strategies, career
for independent consultant role, 457
for IT management/executive role, 456–457
for newbies, 455–456
strategies, for work life balance, 459
structured monitoring/troubleshooting. See monitoring/troubleshooting
approach
Structured Query Language. See SQL (Structured Query Language)
STZAC transaction code, 123
subdirectories, transport, 180
submenu options, BRTOOLS, 321–322
summary phase, of SAP installation, 87
summary screen, Oracle Universal Installer, 308
Sun Microsystems, 28
Supplier Relationship Management (SRM) skills, 453
supply chain management skills, 453
support package application
for ABAP stack post-installation, 109–114
for Java stack post-installation, 124–125
support package stack selection, 408
survivor spaces, 364, 365
SWIN device type, 120
synchronized upgrades, 402, 406–410
synchronous updates, 234
SYSAUX tablespace name, 314, 315
system copies, SAP
heterogeneous. See heterogeneous system copies
homogeneous. See homogeneous system copies
reasons for, 415–416
terminology, 416
system global area, Oracle instance, 302, 303
System Global Settings NWA quick link, 254
system identifier (SID), 69
System Info NWA quick link, 254
System Landscape Directory. See SLD (System Landscape Directory)
System Landscapes
ABAP system, 142–143
Java system, 148–149
system log check, 106, 108
system monitor (SMON), Oracle, 302, 304
system number, 70
System Number field, 51, 53
system performance, 349
system switch upgrade, 388, 401
SYSTEM tablespace name, 314, 315
system thread count, Java, 367–369
Systems Applications and Products. See SAP (Systems Applications and
Products)
systems integrator, 456
systems overview, STMS, 187–189
T
t-shirt sizing, 376
table(s)
in SAP NW AS ABAP architecture, 25
tablespace relationship with, 314
usage statistics, 356–357
tablespaces, Oracle
naming conventions for, 313–314
in Oracle internal architecture, 301–302
SAP table relationship with, 314
tape cycle, 329
target database, 417–419, 426
Target Host field, 51, 53
target server, 426
target support package stack selection, 408
target systems
copying database files to, 427
installing, 438–440
SAPinst parameter options for install, 439
system copy import procedures, 421–428
tasks, transport requests and, 178, 179
Taxware, SAP ERP and, 58
TCP/IP (Transmission Control Protocol/Internet Protocol), 49, 53, 56
technical architect role, 445
technical architect, SAP Basis, 458
technical downtime vs. business downtime, 387–388
technical systems installation, 66–68
technology infrastructure guide, 67
temporary memory, 351–352
temporary update tables, 234
tenured (old) generation memory area
during full GC, 366
during GC process, 363–364
in JVM, 362
during minor GC, 364–365
terminology, for SAP installation, 69–70
Test Function Module screen, 175
test run, client copy process, 155
testing step, in Java application development, 198
third-party applications, 58, 59
thread dump tool, 370
threads
ICM component, function of, 17–18
system, 367–369
three-System-Landscapes, 142–143, 198
three-tier architecture, 11–12, 28–30
time-critical U1 updates, 233
time stamp for recovery, 343–344
time zones, customized, 123
timetable, 230–231
Tivoli, SAP ERP and, 58
tools. See also specific tools
export, 433
installation, 77–79
troubleshooting, 261, 369–370
upgrade, 390–391, 402
Topcall, SAP ERP and, 58
tp (transport control program)
command options, 181–182, 184
function of, 178–179, 180
internals, 179–181
Trace List screen, 355–356
training curriculum, SAP Basis, 448
training systems, 146–147
transaction codes
Java system, 48
list of useful, 24
monitoring, 265–267
navigating SAP, 23–24
Transaction Data category, 165
Transmission Control Protocol/Internet Protocol (TCP/IP), 49
transport control program. See tp (transport control program)
transport directory, SAP common, 177–178
transport domain, 106–109
transport layers, in STMS, 191
Transport Log Analysis screen, 163–164
transport logs, 194
Transport Management concepts. See also STMS (SAP Transport
Management System)
change request/task, 178, 179
data movement between systems, 177–178
tp, 178–179, 180
tp command options, 181–182, 184
tp internals, 179–181
transports script, 182–183
Transport Management in practice
STMS configuration, 185–186
systems overview, 187–189
transport routes, 189–194
workbench/customizing requests, 185
transport requests
client copy of, 168
creating logical systems, 153–154
releasing, 185
tasks and, 178, 179
in transport management, 147–148
transport routes, STMS
activation/distribution, 194
consolidation route in, 191–192
delivery route in, 192–194
initial configuration, 189–191
transport layer in, 191
transport subdirectories, 180
Transport Tool tab, 188
traveling SAP Basis consultant, 446–447
trial version, SAP software, 455
troubleshooting. See also monitoring/troubleshooting approach
ABAP startup problems, 262–265
Java startup problems, 269–272
phase, of ABAP support package, 114
SAP installation issues, 97
techniques for, 261–262
tools for ABAP error scenarios, 268–269
tools for Java performance, 369–370
Trusted Systems NWA quick link, 254
two-System-Landscapes, 142
two-tier architecture vs. three-tier architecture, 11
typical day, of Basis administrator, 445–446
typical week, of traveling SAP consultant, 446–447
U
UAC (University Alliance Community), SAP, 449
UME (User Management Engine) configuration, 93
underlying database, conductivity to, 268–269
understanding of normal system behavior, 261
Uniform Resource Locators. See URLs (Uniform Resource Locators)
uninstalling SAP software, 97–98
unit-testing client, 146
UNIX
file system layout, 71
script, for adding transports, 182–183
system administration skills, 453
unlock client functions, 174–175
Unpack Archives screen, 94
update administration, 234–236
update concept, SAP, 233–234
update tables, 234
update work processes, 14, 226, 227
uPerform
SAP ERP integration with, 58
skills, 453
Upgrade Dependency Analyzer tool, 390
upgrade evaluation screen, 410
Upgrade Experience Database tool, SAP, 402
Upgrade GUI
dual-stack upgrades with, 402, 406–410
starting, for Java, 405–406
starting/restarting for ABAP, 392
upgrade software logistics, 388–390
upgrade(s)
preconfiguration mode, 388, 389
sizing, 376, 391
system switch/strategy, 388, 401
upgrades, of ABAP stacks
concepts involving, 387–390
execution of, 394–398
key planning steps for, 393–394
post-steps following, 399
roadmap steps for, 392–393
tools for, 390–391
Upgrade GUI, 391–392
upgrades, of Java stacks
concepts involving, 401–402
key planning steps for, 403–404
post-steps following, 411
restarting Upgrade GUI, 406–410
starting Upgrade GUI, 405–406
tools/services for, 402
upload of support packages, 110, 112
URLs (Uniform Resource Locators)
accessing Java-based applications, 47
linking to third-party products, 58
SAP certification, 450–451
SAP download, 72
for Service Marketplace activities, 292–297
usage types
mapping IT scenarios, 67–68
with NetWeaver installation, 6–7
verifying SAP, 47
user accounts
creating new S, 293–294
enabling sap*, 152
with SAP ABAP install, 103
user activity, 155
user-based sizing, 377, 378
user context, in memory management, 352
user groups, SAP, 449
User Management Engine (UME) configuration, 93
User Master Data category, 165
user master records, 168
user training problem, in problem clustering, 260
(USR02) user master record table, 144–145
V
vacations, for work life balance, 459
value propositions, Business Suite 7, 7
verification, of system start-up, 20
verification screen
client copy process, 161, 162, 166
client deletion, 169–170
client export, 171
virtual memory components, 351
virtualization skills, 454
Visual Administrator License Adapter tool, 125–126
Visual Administrator tool
changing HTTP port number, 252
comparison of, 240
global configuration option, 250
global configuration with local maintenance option, 251
for Java components, 46
local configuration option, 251
starting, 246–249
types of configuration in, 249
VMC (Virtual Machine Container) architecture, 16–17
W
wait time, in dialog response time, 350
watch dog, ICM component, 17–18
WE02/WE05 transaction code, 266
Web Services Administration NWA quick link, 254
Wily Introscope Enterprise Manager
application thread count and, 367–369
installing, 287
monitoring Java heap size, 362
starting, 287–289, 290
work-life balance issues, 459
work processes, ABAP
dialog response times, 350
dpmon tool for overloaded, 269
Java server node equivalency, 367
shared memory and, 351–352
types of, 14
verifying installation, 105, 106
work processes, SAP
batch/update, 226, 227
connection to database, 224
dialog, 225–226
SAP dispatcher, 223
spool, 228
types of, 225
workbench requests, 185
working remotely, for work life balance, 459
workstation view, Introscope Enterprise Manager, 288
X
X (exclusive and noncumulative) lock mode, 236
Y
young generation memory area
during GC process, 363–364
in JVM, 362
during minor GC, 364–365