Often a SAP workflow includes specific business data. This data is needed at the decision moments within the workflow to make an informed decision. And thus also needed within the SharePoint context if the workflow decision step is exposed there via Duet Enterprise workflow handling.
As the default Duet Enterprise workflow handling is a generic set-up, it is evident that it cannot provide direct support for all imaginable and variant occurences of specific business data. Instead there are hooks in the workflow pipeline in which you can plug-in custom extensions for exchanging workflow specific/contextual data from SAP backend to SharePoint frontend. You need to build a custom workflow outbound handler to transfer the contextual SAP business data from SAP workflow to SharePoint via Duet Enterprise workflow feature. Herein you have 2 options.
Expose business data in the format of static HTML or XML content
In this approach the additional workflow information is added to the SAP workitem-details (SOSP_TT_WF_RUNTIME_INFO). The Duet Enterprise system dataflow is as follows:SAP ERP | Outbound handler | Extend or replace the workitem details that are propagated via Duet Enterprise workflow capability, with pre-formatted business content (XML or HTML) |
SCL | No action | |
SharePoint | Taskform | IF HTML: simple display IF XML: Xslt-transformation, preceeding display |
Expose business data in the format of XML payload
In this approach the additional workflow information is passed via the XPROP key-value structure delivered with Duet Enterprise workflow handling at the SAP side. The Duet Enterprise system dataflow is as follows:SAP ERP | Outbound handler | Populate the Duet Enterprise key-value XPROP structure with the required business properties (name => value; eg ‘CustomerId’ => ‘02345’) The business property values are retrieved from the SAP workflow container. |
SCL | Configuration | Register EACH individual XPROP business property at the associated workflow template |
SharePoint | Config | Register EACH individual XPROP business property as external/extended business property at the task definition in the Duet Enterprise workflow subsite |
SharePoint | Workflow | Extend the ‘Approval task screen’ to render the additional business data properties [extend standard taskform via SharePoint Designer or via InfoPath] |
Hello! I just would like to give a huge thumbs up for the great info you have here on this post. I will be coming back to your blog for more soon.
ReplyDeleteSharepoint Development
Hello,
ReplyDeletethanks for this blog. Actually we want to link SAP workflows which would go to sharepoint. User accepts it on sharepoint and back to SAP.
Can we achieve this through Duet enterprise.
Regards,
Isha.
Via Duet Enterprise Workflow capability you can expose SAP workflow Tasks (User Decision and Activity; for these some development is needed in SAP backend to receive the decision + close workitem) to SharePoint as SharePoint workflow with task; user can handle it in SharePoint UI, and the task decision is send back via Duet Enterprise to SAP. See post http://williamvanstrien.blogspot.nl/2011/11/workflow-in-duet-enterprise-concept.html for conceptual explanation.
ReplyDelete