SAP:msserv的端口号(RFC) [英] SAP: Port-Number for msserv (RFC)

查看:655
本文介绍了SAP:msserv的端口号(RFC)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何为msserv连接参数确定正确的端口?

How to determine the correct port for the msserv connection parameter?

根据 RfcOpenConnection

$ b仅当消息服务器的服务未在/ etc / services中定义为sapms时,才需要$ b

msserv。

msserv is only needed, if the service of the message server is not defined as sapms in /etc/services.

在我的情况下,我运行带有未修改的 / etc / services 文件的标准linux发行版。

In my case I run a standard linux distribution with unmodified /etc/services file.

这意味着我需要 msserv 的匹配值。

This means I need the matching value for msserv.

在一个系统上我很幸运,我尝试了 3600 并起作用。

On one system I was lucky I tried 3600 and it worked.

但是在第二个系统上,它失败了。

But on a second system this failed.

我可以通过SAP GUI连接到系统。

I can connect to the system via SAP-GUI.

如何确定 msserv 所需的值?

这是此问题的后续内容: PyRFC:通过mshost(而非ashost)连接

This is follow-up of this question: PyRFC: Connect via mshost (not ashost)

推荐答案

您需要请SAP系统管理员告诉您消息服务器服务端口号。它是在安装SAP系统时指定的,或者可以由系统管理员稍后进行更改和配置。

You need to ask the SAP system administrator for telling you the message server service port number. It is specified when installing the SAP system or can be changed and configured later by the system administrator.

如果您已经可以通过SAP GUI访问系统,并且所需的授权,也可以在消息服务器监视器中查找此消息(在标题区域或通过菜单转到->参数->显示)中的事务SMMS-或可以查看消息服务器跟踪文件 dev_ms 通过交易ST11(如果您具有此授权)。

If you already have access to the system via SAP GUI and you also have the required authorizations, you can also lookup this in the Message Server Monitor (transaction SMMS in the header area or via menu Goto -> Parameters -> Display) - or you can look into the message server trace file dev_ms via transaction ST11, if you have this authorization.

请参见 https://help.sap.com/viewer/ports 以获得SAP软件使用的端口号列表。
仅对于旧的SAP系统版本,SAP消息服务器服务端口号限制在3600-3699范围内。如今,SAP消息服务器服务端口号可以自由配置为任何端口号(当然不会与SAP软件使用的其他端口号冲突)。

See https://help.sap.com/viewer/ports for a list of port numbers used by SAP software. The SAP message server service port number was limited to the range 3600-3699 only with old SAP system releases. Nowadays, the SAP message server service port number can be configured freely to any port number (of course not conflicting with other port numbers used by SAP software).

不指定 msserv 登录参数,而是各种 SAP连接器将通过模板 sapms< SID> (例如 sapmsTE1 )自动构造消息服务器服务名称,然后解决此问题然后将符号服务名称转换为TCP端口号(通常是通过从本地文件 etc / services 查找来实现的)。
顺便说一句,参数 msserv 可能包含端口号符号服务名称。这与SAP网关服务的参数 gwserv 相同。

If you do not specify the msserv logon parameter, the various SAP Connectors will automatically construct the message server service name via template sapms<SID> (e.g. sapmsTE1)and then resolve this symbolic service name to the TCP port number afterwards (usually achieved by looking this up from the local file etc/services). By the way, parameter msserv may contain the port number or the symbolic service name. This is the same as with parameter gwserv for the SAP gateway service.

这篇关于SAP:msserv的端口号(RFC)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆