UiPath Documentation
activities
latest
false
传统“集成”活动
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

SAP 应用程序作用域

在 UiPath 和 SAP BAPI 之间建立经过身份验证的连接,以在自动化工作流中使用

UiPath.SAP.BAPI.Activities.SapApplicationScope

与 SAP 系统建立连接,然后使用“调用 SAP BAPI”活动为多个后续操作提供作用域。您可按以下方式与系统建立连接:在设计时,利用可通过活动主体中的“配置”按钮打开的窗口来建立连接;在运行时,则使用相应值填充所需的全部属性字段来建立连接。

属性​

连接 - 身份认证​

  • Client - The SAP client you want to log into. Supported values for this field are between 000 and 999. This field supports only strings and String variables.
  • “语言”- 要使用的登录语言。该字段仅支持字符串和字符串变量。
  • “密码”- 要使用的登录密码。该字段仅支持“SecureString”变量。
  • SncLibraryPath - The full path and name of the SNC shared library that you want to use. This field supports only strings and String variables.
  • SncMode - Determines whether connections are secured with SNC. Supported values for this field are 0 (does not use SNC) and 1 (uses SNC). This field supports only strings and String variables.
  • SncPartnerName - The Identity that you want to use for the destination server, if required by your SNC solution. This field supports only strings and String variables.
  • SncQOP - The Quality of Service that you want to use for SNC communication for the destination server. Supported values for this field are 1 (Authentication Only), 2 (Integrity Protection), 3 (Privacy Protection), 8 (Default), 9 (Maximum Security). This field supports only strings and String variables.
  • SncSSO - The credentials that you want to use when using SNC. Supported values for this field are 0 (Login with User/Password) and 1 (Login with SNC Identity). This field supports only strings and String variables.
  • User - The username that you want to use for logging in. This field supports only strings and String variables.

连接 - 服务器​

  • AdvancedParameters - A list of name value pairs, separated by semicolons, for any additional RFC Configuration parameters. This field supports only strings and String variables.
  • AppServer - The hostname of the SAP Application Server. This field supports only strings and String variables.
  • LogonGroup - The logon group from which the message server selects an application server. This field supports only strings and String variables.
  • MessageServer - The hostname of the SAP system's central instance message server. This field supports only strings and String variables.
  • SAPRouter - The SAP Router through which you want to establish a connection. This field supports only strings and String variables.
  • StatefulConnection - Indicates whether you want to establish a stateful connection. By default, this field is set to True.
  • SystemID - The SAP system's three-letter system ID. This field supports only strings and String variables.
  • SystemNumber - The SAP system's number. Supported values for this field are between 00 and 99. This field supports only strings and String variables.

其他​

  • “私有”- 选中后将不再以“Verbose”级别记录变量和参数的值。
  • “显示名称”- 活动的显示名称。

输出​

  • “SAP 连接”- 与 SAP 系统的连接,存储在“IConnectionService”变量中。将该对象传递给后续“SAP 应用程序作用域”活动,即可与系统建立连接,且无需重新配置新连接所需的全部详细信息。该字段仅支持“IConnectionService”变量。向该属性字段提供变量将禁用“现有 SAP 连接”字段。
    备注:

    为能将“IConnectionService”变量传递到后续作用域,您必须将第二个活动嵌入保存初始连接的作用域中,或嵌入自该作用域调用的工作流中。您还可将此变量传递给通过 UiPath.SAP.BAPI.Activities v1.x.x 并由“SAP 连接向导”生成的活动,以便执行这些工作流。

使用现有连接​

  • “现有 SAP 连接”- 与 SAP 系统的连接,存储在“IConnectionService”对象中。您可从“SAP 应用程序作用域”活动中检索此变量,并且无需重新配置连接即可连接到系统。该字段仅支持“IConnectionService”变量。向该属性字段提供变量将禁用“SAP 连接”字段。
  • 属性​
  • 连接 - 身份认证​
  • 连接 - 服务器​
  • 其他​
  • 输出​
  • 使用现有连接​

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新