- Overview
- Adobe Sign
- Alteryx
- Amazon Comprehend
- Amazon Connect
- Amazon Rekognition
- Amazon Textract
- Box
- Release notes
- About the Box activity package
- Fix XAML After Package Update
- Project compatibility
- Setup
- Technical references
- Box Scope
- Commit Session
- Create File Version Session
- Create Upload Session
- Upload Part
- Delete Old Version
- Get Versions
- Promote Version
- Upload File Version
- Copy File
- Delete File
- Download File
- Get File Comments
- Get File Info
- Get File Info Details
- Get File Lock Info
- Lock File
- Move File
- Unlock File
- Upload File
- Copy Folder
- Create Folder
- Delete Folder
- Get Folder Info
- Get Folder Items
- Rename Folder
- Search For Content
- Execute Method
- Cognitive
- DocuSign
- Release notes
- About the DocuSign activity package
- Project compatibility
- Setup
- DocuSign Scope
- Invoke DocuSign Operation
- Create Envelope
- Create Envelope And Send
- Create Envelope From Template
- Create Envelope Recipients
- Get Document
- Get Documents
- Get Envelope
- Get Form Data
- Send Envelope
- Update Envelope
- List Attachments
- List Custom Fields
- List Documents
- List Envelope Status Changes
- List Recipients
- Create Bulk Send List
- Create Bulk Send Request
- Get Bulk Send List
- Get Bulk Send Lists
- Create Template Custom Fields
- Create Template Recipients
- Get Template
- List Templates
- Google Vision
- Jira
- Release notes
- About the Jira activity package
- Project compatibility
- Setup
- Jira Scope
- Execute Method
- Add Attachment
- Delete Attachment
- Download Attachment
- Get Attachments
- Add Comment
- Delete Comment
- Get Comments
- Create Component
- Delete Component
- Get Components
- Search Dashboards
- Create Filter
- Get Filters
- Create Issue Link
- Delete Issue Link
- Get Issue Link Types
- Get Issue Links
- Add Watcher
- Assign Issue
- Clone Issue
- Create Issue
- Delete Issue
- Get Issue
- Get Watchers
- Remove Watcher
- Search Issues Using JQL
- Transition Issue
- Update Issue
- Create Project
- Delete Project
- Get Project Types
- Get Projects
- Update Project
- Get Transitions
- Create User
- Delete User
- Find Users
- Marketo
- Microsoft Dynamics
- Microsoft Dynamics Finance and Operations
- Microsoft Translator
- Microsoft Vision
- Oracle Integration Cloud
- Oracle NetSuite
- Salesforce
- Release notes
- About the Salesforce activity package
- Project compatibility
- Setup
- Quickstart
- Salesforce Application Scope
- Create Bulk API Job
- Get Bulk API Job
- Get Bulk API Job Results
- Start or Abort Bulk API Job
- Assign File
- Download File
- Upload File
- Composite Request
- Delete Record
- Get List View Records
- Get Record
- Insert Record
- Update Record
- Upsert Record
- Execute Report
- Execute SOQL
- Format Column Names
- Format Labels And Values
- Lightning REST API Request
- Search
- SAP BAPI
- ServiceNow
- Slack
- Smartsheet
- Release notes
- About the Smartsheet activity package
- Project compatibility
- Setup
- Technical references
- Quickstart: Working With Rows
- Smartsheet Application Scope
- Attach File
- Attach URL
- Delete Attachment
- Get Attachment
- List Attachments
- Add Comment
- Delete Comment
- Get Comment
- List Discussions
- Copy Folder
- Create Folder
- Delete Folder
- Get Folder
- List Folders
- Add Group Members
- Get Group
- List Groups
- Remove Group Member
- Get Report
- List Reports
- Add Rows
- Copy Rows
- Create Discussion on Row
- Delete Rows
- Get Row
- List Rows
- Move Rows
- Update Rows
- Copy Sheet
- Create Sheet
- Create Sheet From Template
- Download Sheet
- Get Sheet
- List Sheets
- Update Sheet
- Add User
- Get User
- List Users
- Remove User
- Copy Workspace
- Create Workspace
- List Workspaces
- Import Sheet From CSV / XLSX
- Invoke Smartsheet Operation
- Search Activity
- Send Via Email
- Share Object
- SuccessFactors
- Tableau
- Twilio
- Workato
- Workday
About the SAP BAPI activity package
The SAP BAPI activity package enables RPA developers to invoke a SAP Business Application Programming Interface (BAPI). The package comes with a scope activity, SAP Application Scope, that enables the user to connect to a SAP system and use a Invoke SAP BAPI activity to invoke a specified BAPI.
The 32bit (x86) .NET 4.0 variant of the SAP Connector for Microsoft .NET 3.0 (NCo 3.0) (preferably 3.0.0.42) is a prerequisite for this activity package. This connector also requires the Microsoft C++ Runtime DLL version 10.0 (this is contained in the Microsoft Visual C++ 2010 Redistributable Package). Your SAP administrator should be able to provide the installer.
These dependencies need to be installed on any machine on which you want to use this activity package. This refers to both development machines, where workflows are created in Studio, as well as production machines, where the Robot executes such workflows.
The official documentation of the SAP .NET Connector can be found here.
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.
Configuring a Connection
You can configure a connection to a SAP system using a Custom Application Server or a Group/Server Selection, as well as authenticate using User/Password or SSO. A set of valid parameters should be specified for both the Server and Authentication for a successful connection. An error message from SAP indicates any missing parameters.
Design Connection
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.
Robot Connection
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.
Run Time
IConnectionService
object that contains all the connection details in the ExistingSAPConnection property fields.
Configuring the Invoke SAP BAPI Activity
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.
*
are mandatory and cannot be deleted.
The table is split into seven columns, as follows:
- 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.
- - Deletes the parameter from the 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.
Adding Parameters
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.
Exporting Parameters
.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.
If you are using a version older than v2.0.0, you can access instructions on how to generate a SAP BAPI Workflow here.