2 BASIS Architecture

Embed Size (px)

Citation preview

  • 8/12/2019 2 BASIS Architecture

    1/31

    Copyright EliteSols. Ameerpet Hyderabad INDIA All rights reserCopyright EliteSols. Ameerpet Hyderabad INDIA All rights reserved. logon www.elitesols.comved. logon www.elitesols.com

    SAP BASIS architecture

  • 8/12/2019 2 BASIS Architecture

    2/31

    Copyright EliteSols. Ameerpet Hyderabad INDIA All rights reserCopyright EliteSols. Ameerpet Hyderabad INDIA All rights reserved. logon www.elitesols.comved. logon www.elitesols.com

    SAP "systems, applications and products in data processing".

    BASIS The administrative and technical part of a SAPImplementation or post implementation support

  • 8/12/2019 2 BASIS Architecture

    3/31

  • 8/12/2019 2 BASIS Architecture

    4/31

    Copyright EliteSols. Ameerpet Hyderabad INDIA All rights reserCopyright EliteSols. Ameerpet Hyderabad INDIA All rights reserved. logon www.elitesols.comved. logon www.elitesols.com

    Three-tier configuration : Separate servers are used for each

    tier. Using data from the database server, several different

    application servers can operate at the same time. To ensure that the

    load on individual servers is as even as possible and to achieve

    optimal performance, you can use special application servers for

    individual application areas such as distribution or financial

    accounting (logon load balancing).

  • 8/12/2019 2 BASIS Architecture

    5/31

    Copyright EliteSols. Ameerpet Hyderabad INDIA All rights reserCopyright EliteSols. Ameerpet Hyderabad INDIA All rights reserved. logon www.elitesols.comved. logon www.elitesols.com

  • 8/12/2019 2 BASIS Architecture

    6/31

    Copyright EliteSols. Ameerpet Hyderabad INDIA All rights reserCopyright EliteSols. Ameerpet Hyderabad INDIA All rights reserved. logon www.elitesols.comved. logon www.elitesols.com

    An instance is an administrative unit that combines R/3 System

    components providing one or more services. The services provided by

    an instance are started or stopped together. You use a common

    instance profile to set parameters for all the components of an instance.

    A central R/3 System consists of a single instance providing all the

    necessary R/3 System services.

    Each instance has its own SAP buffer areas.

  • 8/12/2019 2 BASIS Architecture

    7/31

    Copyright EliteSols. Ameerpet Hyderabad INDIA All rights reserCopyright EliteSols. Ameerpet Hyderabad INDIA All rights reserved. logon www.elitesols.comved. logon www.elitesols.com

    The message server provides the application servers with a

    central message service for internal communication (for

    example, trigger update, request and remove locks, triggerbackground requests).

    The dispatchers for the individual application servers

    communicate through the message server, which is installedonce in each R/3 System (it is configured in the R/3 System

    profile files).

    Presentation servers can also log on to an application serverthrough the message server. This means that you can use the

    message server performance database for automatic load

    distribution (logon load

    balancing).

  • 8/12/2019 2 BASIS Architecture

    8/31

    Copyright EliteSols. Ameerpet Hyderabad INDIA All rights reserCopyright EliteSols. Ameerpet Hyderabad INDIA All rights reserved. logon www.elitesols.comved. logon www.elitesols.com

  • 8/12/2019 2 BASIS Architecture

    9/31

    Copyright EliteSols. Ameerpet Hyderabad INDIA All rights reserCopyright EliteSols. Ameerpet Hyderabad INDIA All rights reserved. logon www.elitesols.comved. logon www.elitesols.com

    The central process in the R/3 application layer is the dispatcher.

    Together with the operating system, the dispatcher controls the resources

    for the R/3 applications. The main tasks of the dispatcher includedistributing transaction load to the work processes, connecting to the

    presentation layer, and organizing communication.

    User screen input is received by the SAP presentation program SAPGUI, converted into its own format, and then sent to the dispatcher. The

    processing requests are then saved by the dispatcher in request queues

    and processed

    The dispatcher distributes (dispatches) the requests one after the other

    to the available work processes. Data is actually processed in the work

    process. The user that sent the request through the SAP GUI is usually not

    assigned the same work process, because there is no fixed assignment of

    work processes to users.

  • 8/12/2019 2 BASIS Architecture

    10/31

    Copyright EliteSols. Ameerpet Hyderabad INDIA All rights reserCopyright EliteSols. Ameerpet Hyderabad INDIA All rights reserved. logon www.elitesols.comved. logon www.elitesols.com

    Once the data has been processed, the processing result from the

    work process is sent through the dispatcher back to the SAP GUI.

    The SAP GUI interprets this data and generates the output screenfor the user with the help of the operating system on the frontend

    computer.

    During initialization of the R/3 System, the dispatcher executes the

    following actions, among others: it reads the system profile

    parameters, starts work processes, and logs onto the message

    server.

    The amount of data transferred during each screen change is

    usually only a few KB, which means that you can easily connect

    presentation servers across wide-area networks (WAN).

  • 8/12/2019 2 BASIS Architecture

    11/31

    Copyright EliteSols. Ameerpet Hyderabad INDIA All rights reserCopyright EliteSols. Ameerpet Hyderabad INDIA All rights reserved. logon www.elitesols.comved. logon www.elitesols.com

    In addition to these work process types (dialog processing (D), update

    (V: for the German Verbuchung), lock management (E), background

    processing (B), spool (S), the R/3 runtime system provides two additional

    services for internal and external communication (below are the

    restrictions on the number of work processes):

    The message server (MS or M) communicates between the distributed

    dispatchers within the R/3 System and is therefore the prerequisite for

    scalability using several parallel-processing

    application servers.

    The gateway server (GW or G) allows communication between R/3, R/2

    and external application systems.

    Dialog: Every dispatcher requires at least two dialog work processes

    Spool: At least one for each R/3 System (more than one allowed for

    each dispatcher)

    Update: At least one for each R/3 System (more than one allowed for

    each dispatcher)

  • 8/12/2019 2 BASIS Architecture

    12/31

    Copyright EliteSols. Ameerpet Hyderabad INDIA All rights reserCopyright EliteSols. Ameerpet Hyderabad INDIA All rights reserved. logon www.elitesols.comved. logon www.elitesols.com

    Background processing: At least two for each R/3 System (more than

    one allowed for each dispatcher)

    Enqueue: Only one enqueue work process is needed for each system

  • 8/12/2019 2 BASIS Architecture

    13/31

  • 8/12/2019 2 BASIS Architecture

    14/31

    Copyright EliteSols. Ameerpet Hyderabad INDIA All rights reserCopyright EliteSols. Ameerpet Hyderabad INDIA All rights reserved. logon www.elitesols.comved. logon www.elitesols.com

    The following components on the application level are involved in

    processing a dialog request

    . The dispatcher

    . Work process queues (administered by the dispatcher) for incoming

    requests

    . One of the dialog work processes

    . Buffers in shared memory and also possibly the roll file

    The task handler coordinates activity within a dialog work process. It

    activates the screen processor or the ABAP processor (which control thescreen flow logic and process ABAP statements, respectively) and executes

    the roll-in and the roll-out of the user context.

  • 8/12/2019 2 BASIS Architecture

    15/31

    Copyright EliteSols. Ameerpet Hyderabad INDIA All rights reserCopyright EliteSols. Ameerpet Hyderabad INDIA All rights reserved. logon www.elitesols.comved. logon www.elitesols.com

    Enqueue WP

  • 8/12/2019 2 BASIS Architecture

    16/31

    Copyright EliteSols. Ameerpet Hyderabad INDIA All rights reserCopyright EliteSols. Ameerpet Hyderabad INDIA All rights reserved. logon www.elitesols.comved. logon www.elitesols.com

  • 8/12/2019 2 BASIS Architecture

    17/31

    Copyright EliteSols. Ameerpet Hyderabad INDIA All rights reserCopyright EliteSols. Ameerpet Hyderabad INDIA All rights reserved. logon www.elitesols.comved. logon www.elitesols.com

    Dialog work processes should not be loaded down with long-running

    dialog steps, as these work processes would then not be available to

    other users. The remaining dialog work processes would have to handlemany more users, thus considerably increasing response times.

    This is the reason for the parameter rdisp/max_wprun_time (default

    setting: 300 seconds), which sets the maximum time a dialog step isallowed to remain in a dialog work process. If this time is

    exceeded by more than double, the dialog step is terminated and the

    started transaction terminates with an error. This allows the administrator

    to ensure that users execute long-running actions only inthe background work processes, which are designed for these types of

    long-running actions.

  • 8/12/2019 2 BASIS Architecture

    18/31

    Copyright EliteSols. Ameerpet Hyderabad INDIA All rights reserCopyright EliteSols. Ameerpet Hyderabad INDIA All rights reserved. logon www.elitesols.comved. logon www.elitesols.com

    Background processing

  • 8/12/2019 2 BASIS Architecture

    19/31

    Copyright EliteSols. Ameerpet Hyderabad INDIA All rights reserCopyright EliteSols. Ameerpet Hyderabad INDIA All rights reserved. logon www.elitesols.comved. logon www.elitesols.com

    Background processing is scheduled in the form of jobs. Each

    job consists of one or more steps (ABAP reports, external

    programs, or other operating system calls), that are processed

    sequentially. You can also set priorities (from "C" to "A") so that

    certain jobs are prioritized.

    you specify a start date and time when you schedule the job. It

    may also be necessary to start jobs periodically,

    The background scheduler is responsible for automaticallytriggering the job at the specified time. The background scheduler

    is an ABAP program that regularly looks in the scheduling table for

    jobs to be executed and then ensures that they are executed

    (RDISP/BTCTIME, default 60 s).

  • 8/12/2019 2 BASIS Architecture

    20/31

    Copyright EliteSols. Ameerpet Hyderabad INDIA All rights reserCopyright EliteSols. Ameerpet Hyderabad INDIA All rights reserved. logon www.elitesols.comved. logon www.elitesols.com

    Spool WP

  • 8/12/2019 2 BASIS Architecture

    21/31

    Copyright EliteSols. Ameerpet Hyderabad INDIA All rights reserCopyright EliteSols. Ameerpet Hyderabad INDIA All rights reserved. logon www.elitesols.comved. logon www.elitesols.com

    The R/3 System spool mechanism can supply print requests to

    printers and external spoolers both within a local network as well as

    across wide-area networks (WANs). The spool mechanism workswith the local spool system on each server.

  • 8/12/2019 2 BASIS Architecture

    22/31

  • 8/12/2019 2 BASIS Architecture

    23/31

  • 8/12/2019 2 BASIS Architecture

    24/31

    Copyright EliteSols. Ameerpet Hyderabad INDIA All rights reserCopyright EliteSols. Ameerpet Hyderabad INDIA All rights reserved. logon www.elitesols.comved. logon www.elitesols.com

  • 8/12/2019 2 BASIS Architecture

    25/31

    Copyright EliteSols. Ameerpet Hyderabad INDIA All rights reserCopyright EliteSols. Ameerpet Hyderabad INDIA All rights reserved. logon www.elitesols.comved. logon www.elitesols.com

    Client

  • 8/12/2019 2 BASIS Architecture

    26/31

    Copyright EliteSols. Ameerpet Hyderabad INDIA All rights reserCopyright EliteSols. Ameerpet Hyderabad INDIA All rights reserved. logon www.elitesols.comved. logon www.elitesols.com

  • 8/12/2019 2 BASIS Architecture

    27/31

    Copyright EliteSols. Ameerpet Hyderabad INDIA All rights reserCopyright EliteSols. Ameerpet Hyderabad INDIA All rights reserved. logon www.elitesols.comved. logon www.elitesols.com

  • 8/12/2019 2 BASIS Architecture

    28/31

  • 8/12/2019 2 BASIS Architecture

    29/31

    SPAM (support pack application manager)

  • 8/12/2019 2 BASIS Architecture

    30/31

    Copyright EliteSols. Ameerpet Hyderabad INDIA All rights reserCopyright EliteSols. Ameerpet Hyderabad INDIA All rights reserved. logon www.elitesols.comved. logon www.elitesols.com

    SPAM (support pack application manager).

    SAP OSS notes SAPs support model

  • 8/12/2019 2 BASIS Architecture

    31/31

    Copyright EliteSols. Ameerpet Hyderabad INDIA All rights reserCopyright EliteSols. Ameerpet Hyderabad INDIA All rights reserved. logon www.elitesols.comved. logon www.elitesols.com

    SAP OSS notes SAP s support model