This document captures the OneList v6.5 SAP Workflow Development guidelines to ensure that the SAP workflows developed in the system are compatible with OneList Approvals.
Table of Contents | ||
---|---|---|
|
Retrieving Approval Task Data
...
OneList adapter supports the following data retrieval options:
Workflow Container |
...
Business Objects (BO) attached |
...
to the workflow |
...
Class Object attached |
...
to the workflow |
...
Approval Task (Dialog Task)
For dialog task actions, all task action types are compatible with OneList SAP Adapters. However, it is advised advisable to use Decision Task as this enables a single point of processing logic which that is in the workflow.
Dialog Task Action options:
Decision Task |
...
The preferred option for task actions. This will enable a single point of logic in actioning the work item and the document. | |
All other action types |
...
It is compatible with OneList, but the logic to action the work item and the document |
...
should be |
...
written inside the OneList Adapter’s EXECUTE_ACTION method. In the workflow logic, it is |
...
advisable to create a method/ |
...
API where the action logic (approve, reject) will be performed |
...
that the workflow can use. This method/ |
...
API can then be used by OneList as well when actioning the task. This ensures that only a single logic of action |
...
was used between the workflow and OneList. |
Approver Comments
During the approver’s action, he/she may the approver can add a comment. When developing an approver comment functionality in the workflow, it is advised advisable to use the store it as attachment text into the task by calling the Function Module SAP_WAPI_ATTACHMENT_ADD. This It will insert the approver comments as attachment text:
...
Attachment files may also be stored into in the work item as attachments binary. Function Module SAP_WAPI_ATTACHMENT_ADD can be used for attaching files into the work item.
...
Aside from the workflow attachments (attachment made during the approval of the approver), OneList can also retrieve the attachment files from the document e.g. Attachments in a Purchase Oder document. OneList supports multiple areas where the attachments are stored. Most The most common is in Generic Object Services (GOS). There were some was a case where attachments are were stored in BDS which that can also be retrieved in OneList.
In summary, below are the supporting document sources:
...
Attachnment
...
Document Attachments |
|
Workflow Attachments |
|
OneList Approval Supported Functionalities
...
Functionality
...
Task Synchronisation |
|
Approval via Email |
|
Error handling |
|
Temporary Switch On/Off of adapter |
|
...