第一章 Fundamentals(基础)
1、ArchitectureofanSAPSystem (SAP 系统的体系结构)
1.1 一个sap 系统包含一个数据库、一个实例或者多个实例,一台主机可以安装
多套sap 系统,视硬件的处理能力而定。
SAPNetWeaver有三种形式: 1.ABAP-basedinstances
2.Java-basedinstances
3.ABAP+Java-basedinstances(dual-stack)
注意:这种形式不能同时存于一个sap 系统
1.2 基于ABAP 的实例:
一个实例至少需要两个工作进程,否则实例不能启动。
instancenumbers:00 11 22 (一般来说这个安装号对应sap 标准端口
如果多个实例安装在一台共享主机上,则它们会有自己独立的内存区域,每
中央实例:中央实例是唯一一个能提供一个或多个排列型工作进程的实例。
个实例都有其在自己的文件系统的目录结构。
3200--3299)
offersoneormoreenqueue-typeworkprocesses
1.3 基于JAVA 的实例:
1.4 基于JAVA 和ABAP 的实例:
JAVA和ABAP所包含的组件:
1.5
All Java server processes
The Java dispatcher
The Software Deployment Manager (SDM)
The Internet Communication Manager (ICM)
The gateway
All ABAP work processes
The ABAP dispatcher
The ABAP Message Server
2、系统登录流程 Process of a System Logon (ABAP)
2.1Sap 登录过程:
1-3 步:发送用户数据给实例
4 步:调度员(Dispatcher)分配一个空闲的工作进程,并把数据传输给工作
进程
5-8 步:在数据库检查用户名和密码信息,成功后返回初始化屏幕
MS:message server
Sapgui.exe:需要各种启动参数,此信息一方面来自 SAP 登录配置文件,部
分来自直接选定系统的消息服务器的请求,sapgui
Saplogon.exe:启动登录
多重对话工作进程:是一种逻辑连接,多个屏幕对应多个对话工作进程 DIA
3、配置 sap 登录 Configuring SAP Logon
3.1 在主机上创建一个连接来运行,需要 sapmsg.ini and services 信息
启动 SAP 登录:阅读 saplogon.ini
选择“登录开始登录
可变的登录按钮:无 saplogon.ini 变化,评估(evaluate)sapmsg.ini 和
服务
新建项目按钮:编辑 saplogon.ini,评估 sapmsg.ini 和服务
更改项目按钮:编辑 saplogon.ini
删除项目按钮:编辑 saplogon.ini
可变登录:创建一个“一次性”系统(create a "one-time connection" to
a system)
SAP Note 161053: Using SAPGUI in WAN
3.2
SAP 的配置文件
• saplogon.ini, sapmsg.ini, saproute.ini:
– SAP GUI directory
– Windows directory
• services (Windows):
– WINDOWS\system32\drivers\etc\services
• sapshortcut.ini 设置快捷方式登录才有这个文件
– Windows directory
SAP Note 38119 - SAP Logon: Administration of functions
SAP Note 146173 - SAPshortcut: Saving password in SAPshortcut
4、基于 ABAP 的登录组(Logon Groups in AS ABAP)
创建登录组
登录 SAP 系统,输入事务码 smlg
单击新建按钮,名字(PUBLIC_##),##为组号,并分配系统中至少一个实列,
复制并保存。
Set up a logon group with the name RFC. Assign the central instance
of the
Note:986373 - RFC load distribution
system to the logon group.
5、附录:分析事务码(Appendix - Analysis Transactions)
5.1常见的管理任务:
5.2
ABAP消息服务器 ABAP Message Server
消息服务器的两个主要任务:
Distribution of logon load through logon groups
Enable certain work process types to be used across all instances
操作:
RZ03、SMLG、SMMS(界面类似SM51)
Goto → Parameters → Display
Goto → Hardware Keys
Goto → Logon Data → Display
5.3 相关知识
SAP Library (http://help.sap.com) for SAP NetWeaver 7.0 (2004s) EHP1,
SAP NetWeaver Library → Administrator’s Guide → Technical Operations
for SAP NetWeaver → General Administration Tasks → Monitoring and
Administration of the SAP Message Server。
6、管理中心和SLM(Central Administration with SAP Solution Manager)
6.1 工作中心 Work Centers
事务码:SOLMAN_WORKCENTER
第二章 启动和停止ABAP(Starting and Stopping the AS ABAP)
1、系统启动 System Start: Process
切换adm
Starting the Central Services instance(s)
Starting the database
Starting the central instance
Starting the dialog instance(s)
global contains global data
profile contains the default profile and the start and instance
profiles
exe contains the kernel
Stop Process:先停实例,后停数据
2、启动和停止系统的工具(Tools for Starting and Stopping SAP Systems)
2.1The SAP Management Console (SAP MC)---基于JAVA环境
http://:513
https://:514
MC中颜色的含义:
Gray:Stopped
Yellow:Not fully running
Green:Fully running
Red:Errors
2.2
SAPControl
sapcontrol可以控制实例,可以控制系统
sapcontrol -user qasadm password -nr 10 -function StartSystem LEVEL 2