SAP系统配置参数详解

SAP 系统参数设置
path: /usr/sap/PRD/SYS/profile
profile: PRD_DVEBMGS00_sapapp

如果您想查看所有的参数及当前设定,可使用SA38
执行程序 RSPARAM

修改附加配置
T-CODE:RZ10

进行SAP系统参数的设置,设置后需激活参数并重启SAP实例,配置参数才会生效
login/system_client 登录时默认的Client号
login/password_expiration_time 密码有效期
login/fails_to_user_lock 密码输错多少次后锁定
login/failed_user_auto_unlock 用户失效后多长时间解锁
rdisp/mshost 状态栏中显示的系统名称
rdisp/rfc_use_quotas 是否激活配额资源分配,0是关闭,1是启用.以下相关限制必须这个为1时才生效.
rdisp/gui_auto_logout 表示如果客户在指定时间内没有进行任何操作,则会自动退出SAP系统。时间为秒
rdisp/max_wprun_time 程序运行的最长时间限制
rdisp/rfc_max_login 最大SAP用户登录数
login/disable_multi_gui_login 限制用户多次登录,该参数可以设置同个client 同个用户ID可以允许同时登录几个,当设为1时,系统将提示用户选择: 'Terminate the Current Sessions' or 'Terminate this Login.' ,以达到保证只允许一个登录.

rdisp/tm_max_no 这个参数是限制每个实例最大的用户数,默认是200个.
rdisp/rfc_max_own_login 一个程序在一个服务器上允许分配的RFC资源个数,也就是同时能运行多少个.默认值25.
rdisp/rfc_min_wait_dia_wp 设置RFC保留的会话设置,
rdisp/max_alt_modes SAP最大会话数(不过值有限制:最小为2,最大为10)
rdisp/btctime SAP调度器(SAYMSSY2),定期自动运行,由这个参数指定运行时间间隔。
rdisp/btcname 事件触发后运行envent scheduler 主机名称
rspo/store_location 文件存储位置(假脱机)

wdisp/server_info_location the default is /msgserver/text/logon.The URL to retrieve the list is determined this parameter

rdisp/mshost 信息服务器设置
ms/http_port http服务端口

auth/new_buffering to 该参数设为4,权限的修改将立即起作用,不用用户重新登录. Note 209899.


系统性能参数调整类:

SAP 描述文件参数

参数建议值
abap/use_paging 建议值:0(关闭)使用:重新激活旧的 ABAP/4 分页系统获得清单和简单表格类型。
abap/heaplimit 建议值:20000000(20MB)使用:用户环境完成处理后,重新启动一个工作进程来释放局部私有存储。
abap/heap_area_total 建议值:500000000(500MB)使用:设置 SAP 应用程序服务器可以使用的进程局部存储限制。对服务器的使用或交换空间设置限制。
em/initial_size_MB 建议值:250(250 MB,每个用户五 MB)使用:SAP 共享内存的大小。
em/stat_log_size_Mb 建议值:20使用:统计。
em/stat_log_size_timeout 建议值:600使用:统计。
rdisp/ROLL_MAXFS 建议值:32768使用:滚动文件的最大规模。
rdisp/ROLL_SHM 建议值:4096 使用:滚动缓冲区大小。
rdisp/PG_MAXFS 建议值:32768使用:ABAP/4 分页文件的最大规模。
rdisp/PG_SHM 建议值:0使用:分页缓冲区大小。
ztta/roll_area:滚动区域 建议值:1000000 (1 million bytes)使用:滚动区域大小。




T-CODE:RZ11
修改运行中实例的参数,修改完马上生效,不用重启实例。重启实例,参数修改失效.有部分参数你会发现,进入RZ11后发现只能查看不能修改,一种原因是这个参数不在RZ10中存在,如果排除这个原因,其他的原因我也不清楚。

 

 

 

    sm50/sm51看进程,sm50看当前机器,sm51可以看两台机器 
    suim权限比较eg查找哪些role里有spro这个事物代码 
    rz10编辑系统参数文件 
    rdisp/gui_auto_logout & rdisp/keepalive用于控制闲置时间(秒) 
    login/system_client用于控制默认登陆的client编号(000-999) 
    login/fails_to_user_lock用于控制输错密码被锁定的次数(1-99) 

 

 

Authorization updates completed without logging off
auth/new_buffering to  该参数设为4,权限的修改将立即起作用,不用用户重新登录. 如果有其他疑问请查阅note 209899

 

Preventing multiple dialog user logons
login/disable_multi_gui_login 该参数可以设置同个client同个用户ID可以允许同时登录几个,当设为1时,系统将提示用户选择the Current Sessions' or 'Terminate this Login.' ,以 达到保证只允许一个登录

 

 

 

Password Checks

Parameter

Description

login/min_password_lng

Defines the minimum length of the password.

Default value: 3; permissible values: 3 – 40

Until SAP NetWeaver 6.40 (inclusive), up to 8 characters.

login/min_password_digits

Defines the minimum number of digits (0-9) in passwords.

Default value: 0; permissible values: 0 – 40

Available as of SAP Web AS 6.10 (Until SAP NetWeaver 6.40 (inclusive), up to 8 characters.)

login/min_password_letters

Defines the minimum number of letters (A-Z) in passwords.

Default value: 0; permissible values: 0 – 40

Available as of SAP Web AS 6.10 (Until SAP NetWeaver 6.40 (inclusive), up to 8 characters.)

login/min_password_specials

Defines the minimum number of special characters in the password Permissible special characters are, in particular, !"@ $%&/()=?'`*+~#-_.,;:{[]}\<>| and space

After SAP NetWeaver 6.40, all characters that are not letters or digits are regarded as special characters.

Default value: 0; permissible values: 0 – 40

Available as of SAP Web AS 6.10 (Until SAP NetWeaver 6.40 (inclusive), up to 8 characters.)

login/password_charset

This parameter defines the characters of which a password can consist.

Permissible values:

·       0(restrictive): The password can only consist of digits, letters, and the following (ASCII) special characters :!"@ $%&/()=?'`*+~#-_.,;:{[]}\<>| and space

·       1 (backward compatible, default value): The password can consist of any characters including national special characters (such as ??, ??, ?? from ISO Latin-1, 8859-1). However, all characters that are not contained in the set above (for value = 0) are mapped to the same special character, and the system therefore does not differentiate between them.

·       2 (not backward compatible): The password can consist of any characters. It is converted internally into the Unicode format UTF-8. If your system does not support Unicode, you may not be able to enter all characters on the logon screen. This restriction is limited by the codepage specified by the system language.

Withlogin/password_charset = 2, passwords are stored in a format that systems with older kernels cannot interpret. You must therefore only set the profile parameter to the value 2 after you have ensured that all systems involved support the new password coding.

Available in the standard system as of SAP Web AS 6.40.

login/min_password_diff

Defines the minimum number of characters that must be different in the new password compared to the old password.

Default value: 1; permissible values: 1 – 40

Available as of SAP Web AS 6.10 (Until SAP NetWeaver 6.40 (inclusive), up to 8 characters.)

login/password_expiration_time

Defines the validity period of passwords in days.

Default value: 0; permissible values: 0 -1000

login/password_change_for_SSO

If the user logs on with Single Sign-On, checks whether the user must change his or her password.

Available as of SAP Web AS 6.10, as of SAP Basis 4.6 by Support Package

login/disable_password_logon

Controls the deactivation of password-based logon

This means that the user can no longer log on using a password, but only with Single Sign-On variants (X.509 certificate, logon ticket). SeeLogon Data Tab Page

Available as of SAP Web AS 6.10, as of SAP Basis 4.6 by Support Package

login/password_logon_usergroup

Controls the deactivation of password-based logon for user groups

Available as of SAP Web AS 6.10, as of SAP Basis 4.6 by Support Package

login/min_password_lowercase

Specifies how many characters in lower-case letters a password must contain. Permissible values: 0 – 40; default value 0

Available after SAP NetWeaver 6.40

login/min_password_uppercase

Specifies how many characters in upper-case letters a password must contain. Permissible values: 0 – 40; default value 0

Available after SAP NetWeaver 6.40

login/password_history_size

Specifies the number of passwords (chosen by the user, not the administrator) that the system stores and that the user cannot use again.

Permissible values: 1 – 100 (unit: number of entries); default value 5

Available after SAP NetWeaver 6.40

login/password_downwards_compatibility

Specifies the degree of backward compatibility to be achieved. The default value is 1, where the values have the following meaning:

0

Withlogin/password_downwards_compatibility=0, passwords are stored in a format that systems with older kernels cannot interpret. The system only generates new (backward incompatible) password hash values.

1

The system also generates backward compatible password hash values internally, but does not evaluate these for password-based logons (to its own system). This setting is required, if this system is used as the central system of a Central User Administration that systems that only support backward compatible password hash values are also connected to the system group.

2

The system also generates backward compatible password hash values internally, which it evaluates if a logon with the new, non-backward compatible password failed. In this way, the system checks whether the logon would have been accepted with the backward compatible password (truncated after eight characters, and converted to upper-case). This is recorded in the system log. The logon fails. This setting is to allow the identification of backward incompatibility problems.

3

As with 2, but the logon is regarded as successful. This setting is to allow the avoidance of backward incompatibility problems.

4

As with 3, but no entry is created in the system log.

5

Full backward compatibility: the system only creates backward compatible password hash values.

Available after SAP NetWeaver 6.40

login/password_change_waittime

Specifies the number of days that a user must wait before changing the password again.

Permissible values: 1 – 1,000 (unit: days); default value 1

Available after SAP NetWeaver 6.40

login/password_compliance_to_current_policy

Permissible values: 0 – no check; 1 – the system checks during password logon whether the current password complies with the current password rules and forces a password change if this is not the case.

Default value: 0

Available after SAP NetWeaver 6.40

login/password_max_idle_productive

Specifies the maximum period for which a productive password (a password chosen by the user) remains valid if it is not used. After this period has expired, the password can no longer be used for authentication. The user administrator can reactivate password-based logon by assigning a new initial password.

Permissible values: 0 – 24,000 (unit: days); Default value 0, that is, the check is deactivated

Available after SAP NetWeaver 6.40

login/password_max_idle_initial

Specifies the maximum period for which an initial password (a password chosen by the administrator) remains valid if it is not used. After this period has expired, the password can no longer be used for authentication. The user administrator can reactivate password-based logon by assigning a new initial password.

This parameter replaces the profile parameterslogin/password_max_new_validandlogin/password_max_reset_valid.

Permissible values: 0 – 24,000 (unit: days); Default value 0, that is, the check is deactivated

Available after SAP NetWeaver 6.40

login/password_max_new_valid

Defines the validity period of passwords for newly created users.

Only available in SAP Web Application Server 6.20 and 6.40.

login/password_max_reset_valid

Defines the validity period of reset passwords.

Only available in SAP Web Application Server 6.20 and 6.40.

Multiple Logon

Parameter

Description

login/disable_multi_gui_login

Controls the deactivation of multiple dialog logons

Available as of SAP Basis 4.6

login/multi_login_users

List of excepted users (multiple logon)

Available as of SAP Basis 4.6

Incorrect Logon

Parameter

Description

login/fails_to_session_end

Defines the number of unsuccessful logon attempts before the system does not allow any more logon attempts. The parameter is to be set to a value lower than the value of parameter login/fails_to_user_lock.

Default value: 3; permissible values: 1 -99

login/fails_to_user_lock

Defines the number of unsuccessful logon attempts before the system locks the user. By default, the lock applies until midnight.

Default value: 12; permissible values: 1 -99

login/failed_user_auto_unlock

Defines whether user locks due to unsuccessful logon attempts should be automatically removed at midnight.

Default value: 1 (Lock applies only on same day); permissible values: 0, 1

SSO Logon Ticket

Parameter

Description

login/accept_sso2_ticket

Allows or locks the logon using SSO ticket.

Available as of SAP Basis 4.6D, as of SAP Basis 4.0 by Support Package

login/create_sso2_ticket

Allows the creation of SSO tickets.

Available as of SAP Basis 4.6D

login/ticket_expiration_time

Defines the validity period of an SSO ticket.

Available as of SAP Basis 4.6D

login/ticket_only_by_https

The logon ticket is only transferred using HTTP(S).

Available as of SAP Basis 4.6D

login/ticket_only_to_host

When logging on over HTTP(S), sends the ticketonlyto the server that created the ticket.

Available as of SAP Basis 4.6D

Other Login Parameters

Parameter

Description

login/disable_cpic

Refuse inbound connections of type CPIC

login/no_automatic_user_sapstar

Controls the emergency user SAP* (SAP Notes 2383 and 68048)

login/system_client

Specifies the default client. This client is automatically filled in on the system logon screen. Users can type in a different client.

login/update_logon_timestamp

Specifies the exactness of the logon timestamp.

Available as of SAP Basis 4.6

Other User Parameters

Parameter

Description

rdisp/gui_auto_logout

Defines the maximum idle time for a user in seconds (applies only for SAP GUI connections).

Default value: 0 (no restriction); permissible values: any numerical value