0 Bewertungen0% fanden dieses Dokument nützlich (0 Abstimmungen)
348 Ansichten112 Seiten
SAP Installations and JAVA SCF Module 5 IBM Global Business Services (c) Copyright IBM Corporation 2009 module 5: Objectives On completion of this module, you should be able to: Identify the different types of SAP installation Describe the Java Startup process SAP provides a separate Startup and Control Framework for SAP Web Application server Java.
SAP Installations and JAVA SCF Module 5 IBM Global Business Services (c) Copyright IBM Corporation 2009 module 5: Objectives On completion of this module, you should be able to: Identify the different types of SAP installation Describe the Java Startup process SAP provides a separate Startup and Control Framework for SAP Web Application server Java.
SAP Installations and JAVA SCF Module 5 IBM Global Business Services (c) Copyright IBM Corporation 2009 module 5: Objectives On completion of this module, you should be able to: Identify the different types of SAP installation Describe the Java Startup process SAP provides a separate Startup and Control Framework for SAP Web Application server Java.
Day 2: Module map Module 5: SAP Installations and JAVA SCF Module 6: SAP System Landscape and SAP Kernel 3 Module 7: Operation Modes and SAP Web Dispatcher Module 8: Client Concepts and Administration
SAP Basis FastTrak WAS 700 1 Copyright IBM Corporation 2009
IBM Global Business Services Course Title SAP Installations and JAVA SCF Module 5 IBM Global Business Services Copyright IBM Corporation 2009 Module 5: Objectives On completion of this module, you should be able to: Identify the different types of SAP installation Describe the Java Startup process
SAP Basis FastTrak WAS 700 3 IBM Global Business Services Copyright IBM Corporation 2009 Module 5: Agenda Topic 1: Different types of SAP installation Topic 2: Java Startup process SAP Basis FastTrak WAS 700 4 IBM Global Business Services Copyright IBM Corporation 2009 Different types of SAP installation SAP ERP (ABAP/ABAP+JAVA) SAP Enterprise Portal SAP Solution Manager SAP Netweaver (AS JAVA) SAP SCM SAP APO SAP NWDI SAP SRM SAP MDM SAP DMS SAP Basis FastTrak WAS 700 5 IBM Global Business Services Copyright IBM Corporation 2009 JAVA startup and control framework SAP provides a separate Startup and Control Framework for SAP Web Application Server Java. This Framework is used to start, stop, and monitor the Java stack processes within the SAP system instances - but not, however, the Central Services. It consists of the following processes: JControl JLaunch SAP Basis FastTrak WAS 700 6 IBM Global Business Services Copyright IBM Corporation 2009 JControl JControl starts, stops, and monitors the processes of a Java instance primarily the server and dispatcher processes. SAP Signal Handling is implemented with JControl, to forward the start and stop commands to the processes of the Java stack. JControl restarts terminated processes, ends hanging processes, and sends a shutdown signal to the processes of the Java stack. It reads the description of the instance from profile files. It starts the JLaunch processes, which in turn start Java nodes such as dispatchers or servers. It creates a shared memory segment for the internal administration data of all JLaunch processes. SAP Basis FastTrak WAS 700 7 IBM Global Business Services Copyright IBM Corporation 2009 JLaunch JLaunch starts a Java program, loads a Java VM (JVM) in its own address space and assumes the function of the corresponding cluster element. The parameterizing of the JVM is read before the loading. JLaunch receives commands from the JControl process (through named pipes) to stop cluster elements such as dispatchers or servers. The JLaunch process ends itself if its parent process JControl is no longer running.
SAP Basis FastTrak WAS 700 8 IBM Global Business Services Copyright IBM Corporation 2009 Start process of a JAVA instance JControl is started. JControl starts a Java instance bootstrap process with parameters that are defined in the file bootstrap.properties (/usr/sap/<SID>/<instance>/j2ee/cluster/bootstrap). The bootstrap process synchronizes all required binaries for the Java nodes from the database with the file system. This is necessary, since the Class Loading is performed using the file system in the Java environment. The database always contains the current (deployed) binaries and properties and distributes these to every Java node when starting. The Java instance bootstrap process reads the instance description from the Java schema of the database. The Java instance bootstrap process stores a file instance.properties, containing the instance description, at operating system level. SAP Basis FastTrak WAS 700 9 IBM Global Business Services Copyright IBM Corporation 2009 Start process of a JAVA instance (continued) JControl reads the instance description from the file system. JControl starts the bootstrap processes which are specific to Java nodes and which read the descriptions for the nodes from the database and store them in the file system. JControl creates a connection to the Central Services message server. If this connection is established successfully, the operation continues with the next step. If no connection is established to the message server, JControl initiates an Emergency Shutdown. In the final step, JControl starts all the Java nodes such as dispatchers and servers as JLaunch processes and, when doing so, loads a JVM in the JLaunch process. SAP Basis FastTrak WAS 700 10 IBM Global Business Services Copyright IBM Corporation 2009 Start process of a JAVA instance (continued) SAP Basis FastTrak WAS 700 11 Source: SAP IBM Global Business Services Copyright IBM Corporation 2009 Module takeaways
SAP Basis FastTrak WAS 700 12 SAP has different flavors. JAVA instance is started by JControl and JLaunch processes. While some parameters are read from database, others are read from the file system.
IBM Global Business Services Copyright IBM Corporation 2009 Questions and Answers SAP Basis FastTrak WAS 700 13 IBM Global Business Services Copyright IBM Corporation 2009 Module 5: Summary Having completed this module, you should now be able to: Identify the different types of SAP installation Describe the Java Startup process
SAP Basis FastTrak WAS 700 14 Copyright IBM Corporation 2009
IBM Global Business Services Course Title SAP System Landscape and SAP Kernel Module 6 IBM Global Business Services Copyright IBM Corporation 2009 Module 6: Objectives On completion of this module, you should be able to: Identify and understand an SAP landscape Explain the basics of Change and Transport System Explain the importance of kernel files
SAP Basis FastTrak WAS 700 16 IBM Global Business Services Copyright IBM Corporation 2009 Module 6: Agenda Topic 1: SAP landscape Topic 2: Basics of Change and Transport System. Topic 3: Kernel files SAP Basis FastTrak WAS 700 17 IBM Global Business Services Copyright IBM Corporation 2009 SAP landscape A collection of SAP systems required to support a SAP project lifecycle. Standard SAP landscape consists of three distinct environments: An environment for development & customizing (Integration system). A environment for testing the customizing & development changes using real life-like data (consolidation system). A stand alone environment for production (delivery system) A collection of SAP systems required to support a SAP project lifecycle. A prototyping environment (Sandbox) Training environment Regression testing environment SAP Basis FastTrak WAS 700 18 IBM Global Business Services Copyright IBM Corporation 2009 SAP landscape (continued) The system landscape should enable you to: Protect application data using: Client roles Authorization concepts Perform development, quality assurance, and production activities in separate environments to ensure: Consistency of repository objects A secure and stable production environment SAP Basis FastTrak WAS 700 19 IBM Global Business Services Copyright IBM Corporation 2009 System landscape definition Definition: A set of SAP system with unique SIDs which has the same set of client specific customizing data , the cross client customizing data and the ABAP repository. An SAP system landscape is basically used to tailor the generic SAP software through business specific customizing and customer ABAP developments for productive use. This entire tailoring of the software to suit the business need in realized through various phases of configuration, development and testing. These phases are realized through the different systems of the landscape.
SAP Basis FastTrak WAS 700 20 IBM Global Business Services Copyright IBM Corporation 2009 Typical systems in a landscape SAP Basis FastTrak WAS 700 21 Sandbox / Playground Development / Build System Test / QA Training / Education Production Migration / Regression testing IBM Global Business Services Copyright IBM Corporation 2009
Sandbox An isolated environment, i.e. changes made in the sandbox would never flow to the implementation landscape Used to carry out preliminary analysis. Can be used to prototype design & build. Will be re-created several times during a SAP project life. The sandbox system will mostly be re-build from Development System. Since this system can be recreated any time no changes are taken out from this system to any other systems in the landscape.
SAP Basis FastTrak WAS 700 22 IBM Global Business Services Copyright IBM Corporation 2009 Development system All Design and Build will be carried out in this system. First round of testing of all designed and built objects will be carried out in this system. This system will always be the Original System for all the changes introduced during the implementation. All changes introduced during implementation will be distributed from this system to other SAP system in landscape. No Design and Build is normally permitted in any system in the Landscape other than the Development system. This system may, in certain cases, serve as the Sandbox as well as QA system (though this is not the SAP recommended strategy). SAP Basis FastTrak WAS 700 23 IBM Global Business Services Copyright IBM Corporation 2009 Quality assurance system Testing and validation of all changes introduced in the development system during the design and build phase. All correction necessitated by the testing need to be done in the development environment and rested in the system test environment. No changes can be permitted in the system test/qa environment. The testing carried out can be functional test, integration test, user acceptance testing. This system can also serve as the training environment. SAP Basis FastTrak WAS 700 24 IBM Global Business Services Copyright IBM Corporation 2009 Training The training of the business users are carried out in this environment. The system is ideally prepared from the system Test/QA system after all the changes have been tested and approved. No changes can be permitted in the training environment. SAP Basis FastTrak WAS 700 25 IBM Global Business Services Copyright IBM Corporation 2009 Regression / migration Copied from Production (on request) to support regression testing with productive data. Make Regression testing secure a s well as thorough and meaningful by using production end-user profiles and production representative data. Supports testing of conversion in this environment. No changes are permitted in this environment. This system can serve as a System Test / QA environment. SAP Basis FastTrak WAS 700 26 IBM Global Business Services Copyright IBM Corporation 2009 Production A secured environment for execution of productive operational business transactions of the company. Absolutely zero changes are permitted in this environment The hardware used for the production system would have high scalability & availability. SAP Basis FastTrak WAS 700 27 IBM Global Business Services Copyright IBM Corporation 2009 Types of system landscape A system landscape can made of one SAP system ,two SAP systems, three SAP systems or even more . SAP recommends a system landscape to have three systems although a two system landscape is a must. SAP does not recommended a single system landscape. SAP Basis FastTrak WAS 700 28 IBM Global Business Services Copyright IBM Corporation 2009 Single system landscape A single system landscape will have 3 clients 1 each for development , quality and production in the same single SAP system.
SAP Basis FastTrak WAS 700 29 Repository Cross-Client Customizing 1-System Landscape DEV TEST PROD No Stable runtime environment Changes threaten Production system IBM Global Business Services Copyright IBM Corporation 2009 Two system landscape A two system landscape is the least which can support a small uncomplicated SAP implementation with standard business functionality and limited customer developments.
SAP Basis FastTrak WAS 700 30 2-System Landscape PROD TEST DEV No Stable runtime environment Stable runtime environment IBM Global Business Services Copyright IBM Corporation 2009 Three system landscape A three system landscape is the standard landscape recommended by SAP. The three systems comprise of the development , the quality assurance and the production system. The development system has the client for customizing and development SAP Basis FastTrak WAS 700 31 3-System Landscape PROD TEST DEV DEV QAS PROD IBM Global Business Services Copyright IBM Corporation 2009 Four system landscape SAP Basis FastTrak WAS 700 32 DEV QAS PRD TRG IBM Global Business Services Copyright IBM Corporation 2009 Complex system landscape In addition to the landscape types discussed , there are some complex landscape types as follow:
SAP Basis FastTrak WAS 700 33 DEV QAS PR3 PR2 PR1 Multiple production system landscape IBM Global Business Services Copyright IBM Corporation 2009 Complex system landscape (continued) SAP Basis FastTrak WAS 700 34 DV1 QS1 DEV QAS PRD Phase N+1 Phase N Phased system landscape IBM Global Business Services Copyright IBM Corporation 2009 Complex system landscape (continued) SAP Basis FastTrak WAS 700 35 DEV D33 P22 Q22 D22 D11 Q11 P11 Q33 QAS P33 Asian implementation European implementation American implementation Global System Landscape IBM Global Business Services Copyright IBM Corporation 2009 Types of system landscape (continued) SAP provides the tools for creation, documentation and distribution of changes within a system landscape. To set up the system landscape so that it supports the management, verification, and testing of all changes: A single client is recommended for all customizing work. Set client change options appropriately before using clients. A single SAP system (development system) is recommended for all development work. Set the system change options appropriately. To create and assign appropriate user authorizations to developers and customizers, use the sample profiles included in the SAP system. These authorizations control whether a user can create, modify, or release change tasks and requests. Record and document all changes to a client or system.
SAP Basis FastTrak WAS 700 36 IBM Global Business Services Copyright IBM Corporation 2009 Change and transport system (CTS) SAP Basis FastTrak WAS 700 37 Transport Tools tp and R3trans Transport management System (TMS) STMS Transport Organizer SE09/SE10 Transport Organizer (extended view) SE01 Change and Transport Organizers (CTO) CTS IBM Global Business Services Copyright IBM Corporation 2009 Change and Transport System (CTS) tools In SAP Release 4.0, SAP has introduced a revised version of the Change and Transport System (CTS), compromising following tools: The change and transport organizer (CTO) provides functions for organizing software development projects. It is designed to support projects of all sizes, whether they are carried out centrally or in a distributed environment. The transport management system (TMS) organizes, monitors, and performs transports for all SAP systems within a system landscape. In addition, TMS is used to configure and mange the setting up of SAP systems and transport routes within a system landscape,. Operating system transport tools are executables that communicate with the SAP system, the database, and files generated during the export process. SAP Basis FastTrak WAS 700 38 IBM Global Business Services Copyright IBM Corporation 2009 SAP Kernel The kernel is the central program that is essential to the SAP system applications. From SAP Release 3.0C, you can upgrade the kernel to a higher release while keeping the applications at the original release. Therefore, the kernel is said to be "downward-compatible." The advantage is that you gain the latest kernel, incorporating the most up-to- date program patches and other improvements, while avoiding the extra effort of a full application upgrade. For example, this is very useful if you plan to do a full upgrade at a later date but still want to benefit from the latest kernel immediately. Kernels are only downward-compatible within the same release sequence. For example, you cannot install a 4.X kernel when you are still running SAP Release 3.X. SAP Basis FastTrak WAS 700 39 IBM Global Business Services Copyright IBM Corporation 2009 SAP Kernel (continued) Integration The downward compatibility of SAP kernels is supplemented by the downward compatibility of the database and operating system (OS). This means that you can normally update the database and OS at the same time as you update the kernel, without affecting your applications. For example, suppose that you are running SAP Release 3.0F and you want to update the kernel to 3.1I. At the same time, you could also update the database or the OS. The higher database or OS release does not need to have been explicitly approved for SAP Release 3.0F. SAP Basis FastTrak WAS 700 40 IBM Global Business Services Copyright IBM Corporation 2009 SAP Kernel (continued) SAP Basis FastTrak WAS 700 41 Source: SAP IBM Global Business Services Copyright IBM Corporation 2009 List of interesting SAP executables dipgntab - Activation and adjustment of the nametabs with the ABAP Dictionary. dw - disp+work - "Dispatcher & Workprocess" - "The complete Kernel" - Here the complete ABAP is processed ... librfc - The RFC (Remote Function Call) Library, that is available for any platform to develop and run a RFC Server or RFC Client. r3ldctl - The tool for exporting all table structures to the file system during a OS/DB-Migration. r3load - The table import & export tool of SAP during Installation, Upgrade and Migration. r3setup - The Installation (and Migration) Tool for all SAP systems up to Release 6.10. SAP Basis FastTrak WAS 700 42 IBM Global Business Services Copyright IBM Corporation 2009 List of interesting SAP executables (continued) r3szchk - The tool for determing the sizes of the different tables in the target database during the import in an OS/DB-Migration. r3trans - This is the tool, that does the real work for tp. tp controls the import and export of changes and r3trans does them using scripts, that were generated from tp. tp - "The" Transport Tool. This program coordinates the complete import and export of program and table changes made within the SAP system in order to transport them through the complete System Landscape.
SAP Basis FastTrak WAS 700 43 IBM Global Business Services Copyright IBM Corporation 2009 SM51 transactions Server Details Patch Number Database Details OS Details SAP Basis FastTrak WAS 700 44 SM51 is the transaction used to view server details: IBM Global Business Services Copyright IBM Corporation 2009 Module takeaways
SAP Basis FastTrak WAS 700 45 The SAP system landscape generally consists of a complex system landscape in large enterprises. The kernel consists of many important executables inside the directory. The transport management system (TMS) organizes, monitors, and performs transports for all sap systems within a system landscape.
IBM Global Business Services Copyright IBM Corporation 2009 Questions and Answers SAP Basis FastTrak WAS 700 46 IBM Global Business Services Copyright IBM Corporation 2009 Module 6: Summary Having completed this module, you should now be able to Identify and understand an SAP landscape. Explain the basics of Change and Transport System. Understand the important kernel files.
SAP Basis FastTrak WAS 700 47 Copyright IBM Corporation 2009
IBM Global Business Services Course Title Operation Modes and SAP Web Dispatcher Module 7 IBM Global Business Services Copyright IBM Corporation 2009 Module 7: Objectives On completion of this module, you should be able to: Interpret the importance of operation modes Identify the application of SAP Web Dispatcher for load balancing
SAP Basis FastTrak WAS 700 49 IBM Global Business Services Copyright IBM Corporation 2009 Module 7: Agenda Topic 1: Operational modes Topic 2: Application of SAP web dispatcher SAP Basis FastTrak WAS 700 50 IBM Global Business Services Copyright IBM Corporation 2009 Concept of operation modes Night Day Dialog Processing Background Processing SAP Basis FastTrak WAS 700 51 IBM Global Business Services Copyright IBM Corporation 2009 Adjusting instances to the load distribution SAP Basis FastTrak WAS 700 52 Source: SAP IBM Global Business Services Copyright IBM Corporation 2009 Setting up operation mode SAP Basis FastTrak WAS 700 53 Source: SAP IBM Global Business Services Copyright IBM Corporation 2009 Work processes and changeability SAP Basis FastTrak WAS 700 54 IBM Global Business Services Copyright IBM Corporation 2009 The time table (SM63) SAP Basis FastTrak WAS 700 55 Schedule for Normal Operation 08:00 21:00 Operation mode: DAY 21:00 08:00 Operation Mode: NIGHT Schedule for Exception Operation 15:00 17:00 Operation Mode: Exception IBM Global Business Services Copyright IBM Corporation 2009 Monitoring and consistency check SAP Basis FastTrak WAS 700 56 IBM Global Business Services Copyright IBM Corporation 2009 Inconsistencies in the SAP system SAP Basis FastTrak WAS 700 57 Source: SAP IBM Global Business Services Copyright IBM Corporation 2009 Load balancing When you log on to the AS ABAP using the SAP GUI for Windows or the SAP GUI for Java using logon groups, the message server performs a load distribution of users to the available instances. This load distribution, which takes place during the logon procedure, is also known as logon load balancing. After the load distribution by the message server, the SAP GUI communicates directly with the dispatcher. The user remains logged on to this instance until he logs off again. An overview of users who are logged on the instance to which you are also logged on, is available using transaction SM04 SAP Basis FastTrak WAS 700 58 IBM Global Business Services Copyright IBM Corporation 2009 SAP WebDispatcher SAP Basis FastTrak WAS 700 59 Source: SAP IBM Global Business Services Copyright IBM Corporation 2009 WhySAP WebDispatcher The Web applications are also to be used from the Internet. The company network is protected by a Demilitarized Zone (DMZ) and the critical business processes run on servers that are not recognized on the Internet. How can you avoid the need to place an SAP application server within the DMZ? The SAP system in question consists of multiple application servers (instances) that are distributed across multiple hosts. However, the Web applications provided should run under a descriptive address; technical details such as server name and port number are to remain hidden to users. What form can a sensible load distribution take? All application servers may not provide all services (ICF or J2EE Engine). SAP Basis FastTrak WAS 700 60 IBM Global Business Services Copyright IBM Corporation 2009 Functioning An HTTP request (or unpacked HTTPS request) is assigned to a server in two stages: First, the SAP Web Dispatcher determines whether the incoming HTTP request is to be forwarded to an ABAP or Java server. It then finds a group of servers in the SAP system that can execute the request. Load balancing is then carried out within this group. After the SAP Web Dispatcher has identified a server, it forwards the request to the ICM of the relevant application server. SAP Basis FastTrak WAS 700 61 IBM Global Business Services Copyright IBM Corporation 2009 Module takeaways
SAP Basis FastTrak WAS 700 62 Operation Modes enable work process optimization during non-business hours. Except the spool work process all other work processes are similar. SAP Web Dispatcher is used for abstraction and load-balancing.
IBM Global Business Services Copyright IBM Corporation 2009 Questions and Answers SAP Basis FastTrak WAS 700 63 IBM Global Business Services Copyright IBM Corporation 2009 Module 7: Summary Having completed this module, you should now be able to: Interpret the importance of operation modes Identify the application of SAP Web Dispatcher for load balancing
SAP Basis FastTrak WAS 700 64 IBM Global Business Services Copyright IBM Corporation 2009 Clients Module 8 IBM Global Business Services Copyright IBM Corporation 2009 Module 8: Objectives On completion of this module, you should be able to: Define a client from SAP perspective Interpret client roles Identify client copy Describe the system change option
SAP Basis FastTrak WAS 700 66 IBM Global Business Services Copyright IBM Corporation 2009 Module 8: Agenda Topic 1: Definition of client Topic 2: Client roles Topic 3: Client copy Topic 4: System change option SAP Basis FastTrak WAS 700 67 IBM Global Business Services Copyright IBM Corporation 2009 A client: Is a unit of the SAP system that is technically, organizationally, and commercially self- contained. Has its own set of user master data, application data, and customizing based on table key ranges. A client can, for example, can be a corporate group.
U s e r
d a t a
Client- dependent customizing Application data Client 100 Client 100 XYZ chemical Client 200 XYZ pharmacy Client 100 XYZ cement Clients in an SAP system SAP Basis FastTrak WAS 700 68 IBM Global Business Services Copyright IBM Corporation 2009 Technically the data of a client is stored in client dependent tables which has a field MANDT as the primary key field that stores the client number as shown in the tables. All SAP tables in database are broadly classified as being client dependent tables and client independent tables. The tables with field MANDT being the primary key are the client dependent tables.
Tables without MANDT are the client independent tables except for table T000 which has field MANDT but is not the primary key for the table. All users must log into a specific client within a SAP system. Application data (master and transaction data) belongs only to one specific client Technical implementation of clients Mandt Field 1 Field 2 Field 3 100 200 300 SAP Basis FastTrak WAS 700 69 IBM Global Business Services Copyright IBM Corporation 2009 Data in SAP system can be divided into two categories: client-specific data and cross-client data. Client-specific data: It includes user master and application data, which affects only one client. Cross- Client data: It includes cross client customizing data and all repository objects, which affects the whole system environment.
Data in an SAP system SAP Basis FastTrak WAS 700 70 IBM Global Business Services Copyright IBM Corporation 2009 FI . Data types in an SAP system Cross-Client Customizing U s e r
D a t a
Client- Dependent Customizing Application Data Client 100 U s e r
D a t a
Client- Dependent Customizing Application Data Client 200 Repository Objects (such as table definitions, programs, transactions, function modules) Technology CO HR PP MM SD In-house development in the customer namespace SAP Basis FastTrak WAS 700 71 IBM Global Business Services Copyright IBM Corporation 2009 CUST QTST PROD Development and customizing Quality assurance Production For configuring client settings and creating new functionality For testing functionality and verifying configuration For productive activities and business data Standard client roles SAP Basis FastTrak WAS 700 72 IBM Global Business Services Copyright IBM Corporation 2009 SAND TEST TRNG Sandbox Test Training For experimenting with customizing transactions and settings For testing configuration settings using data For end- user training Additional client roles SAP Basis FastTrak WAS 700 73 IBM Global Business Services Copyright IBM Corporation 2009 Roles of a client
SAP Basis FastTrak WAS 700 74 IBM Global Business Services Copyright IBM Corporation 2009 Standard SAP ECC clients SAP Basis FastTrak WAS 700 75 IBM Global Business Services Copyright IBM Corporation 2009 Creating a logical system SAP Basis FastTrak WAS 700 76 IBM Global Business Services Copyright IBM Corporation 2009 Creating a client SAP Basis FastTrak WAS 700 77 IBM Global Business Services Copyright IBM Corporation 2009 Creating a client (continued) SAP Basis FastTrak WAS 700 78 IBM Global Business Services Copyright IBM Corporation 2009 Start
Automatic recording of changes
Is customizing required in the client? Do customizing changes need to be promoted to other clients? YES YES
No Changes allowed
No Transports allowed
NO NO Changes and transports for client-specific objects SAP Basis FastTrak WAS 700 79 IBM Global Business Services Copyright IBM Corporation 2009 Cross-client object changes Start Is client-independent customizing required in the client? Is client-independent customizing allowed in other clients? Are development efforts required in the client? Is client-dependent customizing allowed in the client? Are development efforts required in the client?
No changes to client-independent customizing objects
No changes to repository and client-independent customizing objects No changes to repository objects Changes to repository and client-independent customizing objects allowed. Rethink your decision !!! NO YES NO NO YES YES YES NO SAP Basis FastTrak WAS 700 80 IBM Global Business Services Copyright IBM Corporation 2009
Client copy and transport tools The client copy and client transport tools: Are designed to replace the data of one client with the data from another client Are not designed to combine the data of different clients Client data is categorized a either: Customizing data User master data Application data as defined by the data tables delivery class Application data can only be copied with the corresponding customizing data. U s e r
D a t a
Client- Dependent Customizing Application Data SAP Basis FastTrak WAS 700 81 IBM Global Business Services Copyright IBM Corporation 2009 Copy profile Copy profile overview
Copy Profile Meaning SAP_USER Users, user roles and authorization profiles are copied. The client is not reset. SAP_UONL User without authorization profile and role SAP_PROF Only authorization profile and roles SAP_CUST Client-specific customizing including authorization profile is copied. The application data is deleted, the user data is retained. SAP_CUSV SAP_CUST with variants SAP_UCUS SAP_CUST with user master data SAP_UCSV SAP_UCUS with variants SAP_ALL All client data except change documents (see note 180949) and local data is copied. SAP_APPL SAP_ALL without user master data SAP_APX SAP_ALL without authorization profile and roles SAP Basis FastTrak WAS 700 82 IBM Global Business Services Copyright IBM Corporation 2009
Authorizations Authorization objects Action S_TABU_CLI Maintain cross-client tables S_TABU_DIS Maintain system tables S_CLNT_IMP Import data in client copy S_DATASET Access the file system
General authorization objects for client copy
Copy user profiles and user master records
Authorization objects Action S_USER_AGR Copy roles S_USER_PRO Copy authorization profiles S_USER_GRP Copy user master records SAP Basis FastTrak WAS 700 83 IBM Global Business Services Copyright IBM Corporation 2009 Client copy and transport tools (continued) Local client copy Remote client copy and client transport Transport directory U s e r
D a t a
Client- Dependent Customizing Applic ation Data Cross- client customizing SAP system repository Remote client Copy (RFC) Client Transport (Export/import) U s e r
D a t a
Client- Dependent Customizing Applic ation Data Cross- client customizing SAP system repository U s e r
D a t a
Client- Dependent Customizing Applic ation Data Source system Target system SAP Basis FastTrak WAS 700 84 IBM Global Business Services Copyright IBM Corporation 2009 Testing customizing change requests Change Request Task Transaction SCC1: Copy based on a transport request SAP Basis FastTrak WAS 700 85 IBM Global Business Services Copyright IBM Corporation 2009 Select an appropriate profile for Client copy Select a relevant Source Client and Source Client User Masters Schedule the client copy as a Background Job and schedule it Immediately or with a scheduled Date/Time. Watch log/status of the Client Copy process from SCC3. Local client copy (SCCL) SAP Basis FastTrak WAS 700 86 IBM Global Business Services Copyright IBM Corporation 2009 U s e r
Customizing Appl. Data ADOs Cross- client customizing SAP system repository U s e r
Customizing Appl. Data ADOs Cross- client customizing SAP system repository Consistency check using RFC Copy of data using RFC remote copy SAP System Repository structures must be identical in source and target clients Remote client copy SAP Basis FastTrak WAS 700 87 IBM Global Business Services Copyright IBM Corporation 2009 Client copy using parallel processing QAS Dialog process for parallel processing: Free Dialog process: Client copy Tables 1..10 Tables 11..20 Tables 21..30 Tables 31..40 Tables 41..50 RFC group Application server Application server Application server QAS Legend Dialog process for parallel processing: Free dialog process: SAP Basis FastTrak WAS 700 88 IBM Global Business Services Copyright IBM Corporation 2009 Client transport U s e r
Customizing Appl. Data SAPscript Cross- Client Customizing SAP System Repository Command files Data files RX<no> RT<no> RO<no> KK<no> KT<no> KO<no> Export the client in Background processing with SCC8 1. Export processing (Transaction SCC8) Source system <S-SID> SAP Basis FastTrak WAS 700 89 IBM Global Business Services Copyright IBM Corporation 2009 Client Transport :Import Process Client transport: Import process Source: SAP SAP Basis FastTrak WAS 700 90 IBM Global Business Services Copyright IBM Corporation 2009 When we select the option, Protection: Client copier and comparison tool, on the client maintenance screen, the client is protected against being overwritten by a client copy. This option ensures that sensitive data can not be viewed from another client during client compares, an activity performed during customizing cross- system viewer (Transaction: SCU0).The levels of overwrite-protection you can select are as follows: Protection level 0 : No restrictions. Protection level 1 : No overwriting. Protection level 2 : No overwriting and no external availability.
Client protection SAP Basis FastTrak WAS 700 91 IBM Global Business Services Copyright IBM Corporation 2009 Client protection (continued) SAP Basis FastTrak WAS 700 92 IBM Global Business Services Copyright IBM Corporation 2009 Start of CATT and eCATT processes allowed Select this option for a client such as the quality assurance test client where you wish to run the Computer Aided Test Tool (CATT) or the enhanced Computer Aided Test Tool (eCATT) to perform scripted validity tests of application functionality. Since CATT scripts generate application data, they should not be run in every client. Currently locked due to client copy This option is automatically set by the SAP system when you use the client copy tool. You can not select it manually. Protection against SAP upgrade You can assign this option only to a client whose role is set to TEST. This option prevents the introduction of new client-dependent customizing changes into a client during a release upgrade, thereby preserving the settings that existed prior to the upgrade. After an upgrade, the test client can be used in conjunction with the cross-system viewer to compare the client-dependent differences between the two releases. Client restrictions SAP Basis FastTrak WAS 700 93 IBM Global Business Services Copyright IBM Corporation 2009 Software Component Modifiable Restricted Modifiability Existing objects can be changed. Existing objects can be repaired. New objects have the same system ID as the original system. New objects have SAP as the original system. N a m e S p a c e
M o d i f i a b l e
N o t
M o d i f i a b l e
Not Modifiable Setting the system change option SAP Basis FastTrak WAS 700 94 IBM Global Business Services Copyright IBM Corporation 2009 Setting the system change option (continued)
Maintain System Change options from tcode SE06 and then selecting System Change Option. SAP Basis FastTrak WAS 700 95 IBM Global Business Services Copyright IBM Corporation 2009 If for any reason (such as database storage problems) the copying process has been canceled, when trying to re-execute the same copy process, the system allows you to restart the copy at the point where it was previously terminated, using the same parameters as before. The client copy programs use the client copy control flow table, CCCFLOW, which includes checkpoints. When you are presented with the option of restarting the copy process but you don't want to use the restart option, select the NEWSTART option. Restarting a client copy process SAP Basis FastTrak WAS 700 96 IBM Global Business Services Copyright IBM Corporation 2009 Client copy profiles SAP Basis FastTrak WAS 700 97 IBM Global Business Services Copyright IBM Corporation 2009 Table delivery classes SAP Basis FastTrak WAS 700 98 IBM Global Business Services Copyright IBM Corporation 2009 Select target client Select run Monitor copy process Show control info Show full table details
Client Copy Transport Directory logs Client Copy Log Analysis
Target Runs Last date Status 100 5 112304 ok Target Client Source Client Copy Logs and Control Information status Monitoring SAP Basis FastTrak WAS 700 99 IBM Global Business Services Copyright IBM Corporation 2009
Client copy profiles vs copied data Copy profile Client-dependent customizing data Application data User data Variants Client- independent customizing data SAP_ALL X X X X SAP_APPL X X X SAP_CUST X SAP_CUSV X X SAP_EXBC* X X X X SAP_EXPA* X X X X X SAP_EXPC* X X X SAP_UAPP X X X X SAP_UCUS X X SAP_UCSV X X X SAP_USER X SAP_RMBC** X X X X SAP_RMPA** X X X X X SAP_RMPC** X X X * These profiles can be selected only for a client transport (SCC8). WARNING: Before data is copied from the source client, the contents of the target client are deleted ! This is true for all client copy profiles except the profile SAP_USER. In addition, if Central User Administration is active, you will not be able to copy user data, regardless of the client copy profile you select. ** These profiles can be selected for a Remote client copy only (SCC9) SAP Basis FastTrak WAS 700 100 IBM Global Business Services Copyright IBM Corporation 2009 Profile SAP_RECO This client copy profile to be used for recovering a client that has been accidentally deleted It contains local tables of delivery classes L and W and the change documents, as well as SAP_ALL. SAP Basis FastTrak WAS 700 101 IBM Global Business Services Copyright IBM Corporation 2009 To simulate the deletion process and see what table entries will be deleted To delete the client ID from Client Maintenance (SCC4) To delete Online To delete in Background Schedule the client deletion process in the Background Immediately or schedule it at some later Date/Time. Deleting a client (SCC5) SAP Basis FastTrak WAS 700 102 IBM Global Business Services Copyright IBM Corporation 2009
Client copy: Monitoring and troubleshooting Verify the database resources are sufficient Monitor a Client Copy with SCC3 Restart a terminated run if necessary Check table using database utility or SQL tools Tables not in development class $TMP? SAP Basis FastTrak WAS 700 103 IBM Global Business Services Copyright IBM Corporation 2009 Client copy: Monitoring and troubleshooting (continued) SAP Basis FastTrak WAS 700 104 IBM Global Business Services Copyright IBM Corporation 2009 Client compare U s e r
D a t a
Client- Dependent Customizing Applic ation Data Cross- client customizing SAP system repository U s e r
D a t a
Client- Dependent Customizing Applic ation Data Logon system Comparison client Cross- client customizing SAP system repository U s e r
D a t a
Client- Dependent Customizing Applic ation Data Comparison system Logon client Reference client RFC Compare RFC RFC Compare Compare SAP Basis FastTrak WAS 700 105 IBM Global Business Services Copyright IBM Corporation 2009 Transaction SCU0 Client Compare: Selection Options
SAP Basis FastTrak WAS 700 106 IBM Global Business Services Copyright IBM Corporation 2009 Client compare: Difference list Source: SAP SAP Basis FastTrak WAS 700 107 IBM Global Business Services Copyright IBM Corporation 2009 Using client maintenance tools Adjustment of individual objects with SCU0 Generates detailed information in work list. For certain records that can be maintained in SM30. Displays a comparison status for each record in work list. To understand the comparison status, choose the legend icon. Adjustment Customizing Objects.
SAP Basis FastTrak WAS 700 108 IBM Global Business Services Copyright IBM Corporation 2009 Client administration BDLS Tool: Conversion of logical system names SCC1 Copy by transport request SCC3 Client copy / transport log analysis SCC4 Display view Clients" SCC7 Post-client import methods SCC8 Client export SCC9 Remote client copy SCCL Local client copy SCMP View / table comparison SCU0 Customizing cross-system viewer SE01 Transport organizer (extended view) STMS Transport management system SAP Basis FastTrak WAS 700 109 IBM Global Business Services Copyright IBM Corporation 2009 Module takeaways There are reasons behind clients being necessary for a SAP system Different clients of different SAP systems can be copied into the same landscape The system change option is necessary to perform certain tasks like importing a transport into a client. There are different profiles which could be used for a client copy. The most used profile is SAP_ALL.
SAP Basis FastTrak WAS 700 110 IBM Global Business Services Copyright IBM Corporation 2009 Questions and Answers SAP Basis FastTrak WAS 700 111 IBM Global Business Services Copyright IBM Corporation 2009 Module 8: Summary Having completed this module, you should now be able to: Define a client from SAP perspective Interpret client roles Identify client copy Describe the system change option