跳转至

Install a Remote Agent(安装远程代理(Remote Agent))

:::callout{theme="neutral" title="Accessing older versions (below SAP_BASIS 7.4 SP5) of SAP systems"} The Remote Agent is designed to access a remote SAP system from the primary Palantir Foundry Connector 2.0 for SAP Applications ("Connector"). If the SAP_BASIS (the technical component version, applicable to both SAP NetWeaver and SAP S/4HANA systems) version is below 7.4 SP05, or if you wish to view two or more SAP systems in the landscape as a single Foundry Source, the Remote Agent should be installed. The minimum SAP_BASIS version for the Remote Agent is 7.00 SP32. For lower product versions or support packages of SAP_BASIS 7.00, see Install the Remote Agent for ERP 4.6C/4.7 (620/640). :::

To install the Remote Agent, follow these steps in the remote SAP system:

  1. Download the installation packages.
  2. Log into the SAP system client 000 with a user authorized to use SAINT.
  3. Run SAINT transaction.
  4. Import FOUNDRY-SAPCONN-INST-SP00SPXX.SAR to the SAP Server: select Installation package > Load Packages > From Front End.

:::callout{theme="neutral"} For some SAINT/SPAM versions, SPAM or SAINT settings can impact the installation process. Uncheck the "Signature check not possible, SAP note 2520826 is not implemented" item under the "Checks during import" section. Also note that for some SPAM versions, this checkbox has no description at all – you should still uncheck this box. :::

  1. Select Start for installation.
  2. Available packages are listed.

:::callout{theme="neutral"} If they are not listed, click the filter icon to deactivate the filter. :::

  1. Continue to the next step.
  2. For the Connector installation, select PALANTIR and PALAGENT.
  3. Select Continue to move onto support package selection.
  4. Select highest available support package from the list and ensure both components have the same SP level selected.
  5. Confirm the installation queue and click Continue.
  6. Select Continue in Dialog mode for Preparation phase, Continue in Background Immediately for other phases, and start installation.

:::callout{theme="neutral"} There may be some warnings flagged during the installation; follow steps as described in the warning message. In most cases, warning messages can be ignored for the Connector and Remote Agent installations. In particular, the warning message with the heading "Open Data Extraction Requests" can be ignored. :::

  1. Select Finish to complete the installation
  2. Run the PFCG transaction code and perform authorization profile generation and user comparison for the following roles:
    • /PALANTIR/CONTENT_RBEX_ALL
    • /PALANTIR/CONTENT_RFUNCT_ALL
    • /PALANTIR/CONTENT_RINFOPRV_ALL
    • /PALANTIR/CONTENT_RTABLE_ALL
    • /PALANTIR/CONTENT_RTCODE_ALL
    • /PALANTIR/SERVICE_USER

Configuration

The Connector and the Connector Remote Agent communicate via SAP remote function calls (RFCs). Therefore, two RFC connections are needed: one from the Connector to the Remote Agent, and another from the Remote Agent to the Connector. The next section details how to create these RFC connections.

RFC configuration

The RFC configuration requires four steps:

  1. Create an RFC connection to the SAP system.
  2. Create an RFC from the Connector to the remote SAP system (SOURCE).
  3. Create an RFC from the remote SAP system to the Connector (TARGET).
  4. Test the Connector Remote Agent via a web browser.

Create an RFC destination connection to the source/target system

In this section, two RFC connections are needed: one from the Connector to the Remote Agent, and another from the Remote Agent to the Connector. Follow the Create RFC connection document to create RFC connections.

:::callout{theme="neutral"} Repeat the same steps for the target RFC definition from the remote SAP system to the Connector. Instead of calling it SAP_SOURCE, you may call it SAP_TARGET. (These names can be freely defined.) :::

Configure Remote Agent and registering the Connector

  1. Log into the primary Connector system.
  2. Run transaction /n/PALANTIR/PARAM_A1.
  3. Enter the following parameter values:
  4. Agent ID: AGENT Identifier (also known as CONTEXT)
  5. Is 4.7 or older: AGENT Version Flag
  6. Agent Desc: AGENT Description (for reference use)
  7. Run transaction /n/PALANTIR/PARAM_A2 and enter the following parameters:
  8. Agent ID: AGENT ID (as defined in the previous step)
  9. Param ID: PARAM ID (a classification of parameters)
  10. Param Name: Parameter name (used by the AGENT)
  11. Param Value: Parameter value (used by the AGENT)
Param Id Param Name Param Values Description
RFC SOURCE RFC Connection from Connector to remote SAP system.
RFC TARGET RFC Connection from remote SAP system to Connector.
SYSTEM CPU_CHECK TRUE / FALSE Enables or disables CPU checks.
SYSTEM MEMORY_CHECK TRUE / FALSE Enables or disables MEMORY checks.
SYSTEM RESOURCE_CHECK TRUE / FALSE Enables or disables RESOURCE checks. If FALSE, all checks are disabled; if TRUE, other parameters (CPU_CHECK and MEMORY_CHECK) are checked.
SYSTEM CONTINUOUS_RESOURCE_CHECK TRUE / FALSE Enables resource checks for all requests (init and all paging requests). If FALSE, resource checks are only carried out for the init request.
SYSTEM PROCESS_CHECK TRUE / FALSE Enables checks on the minimum number of permitted work processes; works in conjunction with PROCESS_MIN_BG and PROCESS_MIN_DIA.
SYSTEM_THRESHOLD PROCESS_MIN_BG numeric Minimum required number of background process available on the SAP Application Server.
SYSTEM_THRESHOLD PROCESS_MIN_DIA numeric Minimum required number of dialog process available on the SAP Application Server.

中文翻译

安装远程代理(Remote Agent)

:::callout{theme="neutral" title="访问旧版本SAP系统(低于SAP_BASIS 7.4 SP5)"} 远程代理(Remote Agent)旨在通过Palantir Foundry Connector 2.0 for SAP Applications(简称"连接器")访问远程SAP系统。如果SAP_BASIS(技术组件版本,适用于SAP NetWeaver和SAP S/4HANA系统)版本低于7.4 SP05,或者您希望将环境中的两个或多个SAP系统视为单个Foundry数据源(Source),则应安装远程代理。远程代理的最低SAP_BASIS版本要求为7.00 SP32。对于更低版本的产品或SAP_BASIS 7.00的支持包,请参阅为ERP 4.6C/4.7 (620/640)安装远程代理。 :::

要在远程SAP系统中安装远程代理,请按以下步骤操作:

  1. 下载安装包
  2. 使用具有SAINT权限的用户登录SAP系统客户端000
  3. 运行SAINT事务代码。
  4. FOUNDRY-SAPCONN-INST-SP00SPXX.SAR导入SAP服务器:选择安装包(Installation package) > 加载包(Load Packages) > 从前端(From Front End)

:::callout{theme="neutral"} 对于某些SAINT/SPAM版本,SPAM或SAINT设置可能会影响安装过程。请取消选中"导入时检查(Checks during import)"部分下的"签名检查不可行,未实施SAP注释2520826(Signature check not possible, SAP note 2520826 is not implemented)"选项。另请注意,对于某些SPAM版本,此复选框可能没有任何描述文字——您仍应取消选中此框。 :::

  1. 选择开始(Start)进行安装。
  2. 系统将列出可用包。

:::callout{theme="neutral"} 如果未列出,请点击筛选图标以停用筛选器。 :::

  1. 继续执行下一步。
  2. 对于连接器安装,请选择PALANTIRPALAGENT
  3. 选择继续(Continue)进入支持包选择界面。
  4. 从列表中选择最高可用支持包,并确保两个组件选择相同的SP级别。
  5. 确认安装队列,然后点击继续(Continue)
  6. 在准备阶段选择对话框模式继续(Continue in Dialog mode),在其他阶段选择后台立即继续(Continue in Background Immediately),然后开始安装。

:::callout{theme="neutral"} 安装过程中可能会出现一些警告;请按照警告消息中的描述进行操作。在大多数情况下,连接器和远程代理安装可以忽略警告消息。特别是标题为"开放数据提取请求(Open Data Extraction Requests)"的警告消息可以忽略。 :::

  1. 选择完成(Finish)以完成安装。
  2. 运行PFCG事务代码,并对以下角色执行授权配置文件生成和用户比较:
    • /PALANTIR/CONTENT_RBEX_ALL
    • /PALANTIR/CONTENT_RFUNCT_ALL
    • /PALANTIR/CONTENT_RINFOPRV_ALL
    • /PALANTIR/CONTENT_RTABLE_ALL
    • /PALANTIR/CONTENT_RTCODE_ALL
    • /PALANTIR/SERVICE_USER

配置(Configuration)

连接器(Connector)和连接器远程代理(Connector Remote Agent)通过SAP远程函数调用(RFC)进行通信。因此,需要两个RFC连接:一个从连接器到远程代理,另一个从远程代理到连接器。下一节将详细介绍如何创建这些RFC连接。

RFC配置(RFC configuration)

RFC配置需要四个步骤:

  1. 创建到SAP系统的RFC连接。
  2. 创建从连接器到远程SAP系统的RFC(SOURCE)。
  3. 创建从远程SAP系统到连接器的RFC(TARGET)。
  4. 通过Web浏览器测试连接器远程代理。

创建到源/目标系统的RFC目标连接(RFC destination connection)

在本节中,需要两个RFC连接:一个从连接器到远程代理,另一个从远程代理到连接器。请按照创建RFC连接文档创建RFC连接。

:::callout{theme="neutral"} 对从远程SAP系统到连接器的目标RFC定义重复相同的步骤。您可以将其命名为SAP_TARGET,而不是SAP_SOURCE。(这些名称可以自由定义。) :::

配置远程代理并注册连接器

  1. 登录主连接器系统。
  2. 运行事务代码/n/PALANTIR/PARAM_A1
  3. 输入以下参数值:
  4. 代理ID(Agent ID): 代理标识符(也称为上下文(CONTEXT))
  5. 是否为4.7或更早版本(Is 4.7 or older): 代理版本标志(AGENT Version Flag)
  6. 代理描述(Agent Desc): 代理描述(供参考使用)
  7. 运行事务代码/n/PALANTIR/PARAM_A2并输入以下参数:
  8. 代理ID(Agent ID): 代理ID(如上一步所定义)
  9. 参数ID(Param ID): 参数ID(参数的分类)
  10. 参数名称(Param Name): 参数名称(由代理使用)
  11. 参数值(Param Value): 参数值(由代理使用)
参数ID(Param Id) 参数名称(Param Name) 参数值(Param Values) 描述(Description)
RFC SOURCE 从连接器到远程SAP系统的RFC连接。
RFC TARGET 从远程SAP系统到连接器的RFC连接。
SYSTEM CPU_CHECK TRUE / FALSE 启用或禁用CPU检查。
SYSTEM MEMORY_CHECK TRUE / FALSE 启用或禁用内存检查。
SYSTEM RESOURCE_CHECK TRUE / FALSE 启用或禁用资源检查。如果为FALSE,则所有检查均被禁用;如果为TRUE,则检查其他参数(CPU_CHECKMEMORY_CHECK)。
SYSTEM CONTINUOUS_RESOURCE_CHECK TRUE / FALSE 对所有请求(初始请求和所有分页请求)启用资源检查。如果为FALSE,则仅对初始请求执行资源检查。
SYSTEM PROCESS_CHECK TRUE / FALSE 启用对允许的最小工作进程数的检查;与PROCESS_MIN_BGPROCESS_MIN_DIA配合使用。
SYSTEM_THRESHOLD PROCESS_MIN_BG 数值 SAP应用服务器上所需的最小后台进程数。
SYSTEM_THRESHOLD PROCESS_MIN_DIA 数值 SAP应用服务器上所需的最小对话进程数。