UiPath Documentation
activities
latest
false
Importante :
Este contenido se ha localizado parcialmente a partir de un sistema de traducción automática. La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.

Actividades de integraciones clásicas

Acerca del paquete de actividades SAP BAPI

El paquete de actividades SAP BAPI permite a los desarrolladores de RPA invocar una interfaz de programación de aplicaciones empresariales (BAPI) de SAP. El paquete viene con una actividad de ámbito, Ámbito de aplicación SAP, que permite al usuario conectarse a un sistema SAP y utilizar una actividad Invocar SAP BAPI para invocar una BAPI especificada.

Requisitos de instalación

Nota:

Los requisitos previos de instalación se aplican a las versiones 2.2.6 y anteriores del paquete SAP BAPI. A partir de la versión 3.0.0, los requisitos previos no son necesarios para los proyectos de Studio Windows, pero siguen siendo necesarios si estás creando un flujo de trabajo de Windows: heredado.

La variante de 32 bits (x86).NET 4.0 del conector SAP para Microsoft.NET 3.0 (NCo 3.0) (preferiblemente 3.0.0.42) es un requisito previo para este paquete de actividades. Este conector también requiere la versión 10.0 de la DLL de Microsoft C++ Runtime (que se encuentra en el paquete redistribuible de Microsoft Visual C++ 2010). Su administrador de SAP debe poder proporcionarle el instalador.

Nota:

Please note that the SAP Connector for Microsoft must be installed in the Windows Global Assembly Cache (GAC) to work properly. This can be done by selecting the appropriate option during the installation of the SAP Connector.

Estas dependencias deben instalarse en cualquier máquina en la que quieras utilizar este paquete de actividades. Esto se refiere tanto a las máquinas de desarrollo, donde los flujos de trabajo se crean en Studio, como a las máquinas de producción, donde el UiPath Robot ejecuta dichos flujos de trabajo.

La documentación oficial del conector SAP.NET se puede encontrar aquí.

Generar un flujo de trabajo de SAP BAPI para las versiones v2.0.0 y superiores

First, you must configure a connection to the SAP system. After this step is performed, you can invoke multiple BAPI workflows before closing the connection.

Configurar una conexión

Puedes configurar una conexión a un sistema SAP mediante un servidor de aplicaciones personalizadas o una selección de grupo / servidor, así como autenticarse mediante Usuario / Contraseña o SSO. Se debe especificar un conjunto de parámetros válidos tanto para el servidor como para la autenticación para una conexión exitosa. Un mensaje de error de SAP indica que faltan parámetros.

Conexión de diseño

Clicking the Configure button in the body of the SAP Application Scope activity opens a wizard which enables you to configure your connection to the SAP system at design-time.

Simply enter all of the credentials required for connection and click the Test connection button. If the connection is established successfully, a message appears, informing you of this.

Clicking Close in this message box closes the connection wizard and sets all the values you provided as credentials to their respective property fields, rendering the activity ready to use.

Nota:

The value for the Password field is not saved in the activity properties when exiting the connection window.

Conexión del robot

You can also configure the Robot connection details by switching to the Robot Connection tab.

The details for the Robot connection can also be automatically copied over from the Design Connection tab by using the Copy to Robot Connection button.

Tiempo de ejecución

At run time, all the server credentials must be supplied as variables in their respective property fields. You can also use a IConnectionService object that contains all the connection details in the ExistingSAPConnection property fields.

Configurar la actividad Invocar SAP BAPI

Clicking the Configure button in the body of the Invoke SAP BAPI activity opens a wizard that enables you to choose and configure the BAPI you want to invoke.

The BAPI Name search bar can be used to find the BAPI you want to invoke. Once selected, the BAPI's mandatory parameters are added in the table below, where they can be edited.

Nota:

Parameters marked with * are mandatory and cannot be deleted.

La tabla se divide en siete columnas, como se indica a continuación:

  • Name - The name of the parameter specific to the selected BAPI.
  • Description - A short description detailing the parameter.
  • Length - Maximum number of characters, if any.
  • Data Type - The variable or object type of the parameter.
  • Direction - Specifies whether a parameter is In, Out, or In/Out.
  • Value - The value of the parameter.
  • Imagen de documentos - Elimina el parámetro del BAPI.

After configuring the parameters you want your BAPI to have, clicking Done closes the wizard and saves the configuration in the Invoke SAP BAPI activity. You can now run the process you have created.

Adición de parámetros

You can add parameters one by one by using the Add Parameter text field in the bottom left part of the window to search the list of parameters and hitting Enter.

The Add Parameters button in the upper right area enables you to add any parameters you want into the BAPI invoke you are performing. Clicking the button switches to a list of all available parameters, where you can specify what parameters you wish to add by selecting their respective check boxes.

Exportar parámetros

The Export Parameters button exports all of the currently defined parameters and their metadata into an .xlsx file. Clicking the button opens a browsing window which lets you select where you want to save the file containing the exported data. This file can then be used as a template for creating input data files.

Generar un flujo de trabajo de SAP BAPI para la versión v1.xx

Si utilizas una versión anterior a la v2.0.0, puedes acceder a las instrucciones sobre cómo generar un flujo de trabajo SAP BAPI aquí.

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado