- Release notes
- Getting started
- Installation
- Configuration
- Integrations
- Authentication
- Working with Apps and Discovery Accelerators
- AppOne menus and dashboards
- AppOne setup
- TemplateOne 1.0.0 menus and dashboards
- TemplateOne 1.0.0 setup
- TemplateOne menus and fashboards
- TemplateOne 2021.4.0 setup
- Purchase to Pay Discovery Accelerator menus and dashboards
- Purchase to Pay Discovery Accelerator Setup
- Order to Cash Discovery Accelerator menus and dashboards
- Order to Cash Discovery Accelerator Setup
- Basic Connector for AppOne
- SAP Connectors
- Introduction to SAP Connector
- SAP input
- Checking the data in the SAP Connector
- Adding process specific tags to the SAP Connector for AppOne
- Adding process specific Due dates to the SAP Connector for AppOne
- Adding automation estimates to the SAP Connector for AppOne
- Adding attributes to the SAP Connector for AppOne
- Adding activities to the SAP Connector for AppOne
- Adding entities to the SAP Connector for AppOne
- SAP Order to Cash Connector for AppOne
- SAP Purchase to Pay Connector for AppOne
- SAP Connector for Purchase to Pay Discovery Accelerator
- SAP Connector for Order-to-Cash Discovery Accelerator
- Superadmin
- Dashboards and charts
- Tables and table items
- Application integrity
- How to ....
- Working with SQL connectors
- Introduction to SQL connectors
- Setting up a SQL connector
- CData Sync extractions
- Running a SQL connector
- Editing transformations
- Releasing a SQL Connector
- Scheduling data extraction
- Structure of transformations
- Using SQL connectors for released apps
- Generating a cache with scripts
- Setting up a local test environment
- Separate development and production environments
- Useful resources
Adding activities to the SAP Connector for AppOne
It is possible to add add activities to existing entities. Follow the steps described in this guide to add an activity.
If you want to add an activity you start with defining how the activity can be derived from the data.
- Define to which entity the activity belongs (sales order, delivery, etc.).
- Define on which level the change happens (header or item change).
-
Determine which field changes from an old value to a new value. Also define if any, what extra logic is involved.
Note: In SAP the change will be theFNAME
field in theCDPOS
table combined with the information stored inVALUE_OLD
andVALUE_NEW
fields.
The next step is to update the change log filtering to include the required FNAME.
Follow these steps to update the change log filter.
Step |
Action |
---|---|
1 |
Open the SAP Connector in your development environment. |
2 |
Go to the Data tab and locate the Change log folder in the 1. Input folder. |
3 |
Double click on the
CDPOS table.
|
4 |
In the Query field locate the following line: + '&where=' + urlencode(CDPOS_filter); and CTRL+click on CDPOS_filter .
Note: If the variable
Table_filter is used for tje CDPOS_filter locate the line: var Table_filter := CDPOS_filter; and CTRL+click on CDPOS_filter .
|
5 |
In the
CDPOS filter expression CTRL+click on CDPOS_FNAME_values .
|
6 |
Add the FNAME to the list to make sure that the filed values are retrieved for event creation. |
Below is an example recording of adding an activity.
In the SAP Connector the activities are defined in the Events tables in the 3. Event log creation folder. The Events folder contains a subfolder with the event log creation tables for each entity defined in the SAP Connector. See illustration below for an example.
Follow these steps to add the new activity in the SAP Connector
Step |
Action |
---|---|
1 |
Go to the Data tab and locate the Events folder in the 3. Event log creation folder. |
2 |
Click on the event log creation table to which to which the activity must added based on what you defined earlier in Step 1: Define the activity. |
3 |
Double click on the
Activity expression in the table item list on the right to and update the expression with the new activity. See illustration below.
|
4 |
Add the activity to the
case statement in the Activity order expression in the Events preprocessing table to make sure that the events are put in the correct order in the event log. See the illustrations below for an example.
|
Globals
table and use this in the Activity
expression.