Quantcast
Channel: SCN : Unanswered Discussions - SAP Business Process Management
Viewing all articles
Browse latest Browse all 3160

workflow triggered from SAP R/3, approval screen/functionality in webdynpro question

$
0
0

Hi folks,

 

The client wants workflow(FI & PO invoices) to be triggered from R/3 i.e., FB60 for FI invoice and MIR7 for PO invoice on parking the document. I have designed workflow templates for this using FIPP and BUS2081 BOR object respectively.

The approval part happens in web dynpro as they want customised screen with release and reject buttons. I have used a user decision step to create workitems in the R/3 so that they can be displayed in webdynpro by calling inbox or through UWL. I need to bring up the custom webdynpro screen with Approve/Reject functionality on clicking the workitem in webdynpro.

I have code to call the UI browser from R/3 but where should i write this code? Is user decision step right approach or should i go for activity with task and method(result type parameter) so that i can write code to call the UI browser inside this result type method inside the task/activity?

I plan to trigger FM SAP_WAPI_DECISION_COMPLETE on clicking release or reject in front end and execute the workitem by passing '0001' for approve and '0002' for reject so that the user decision step would get completed and workflow will proceed further.


Viewing all articles
Browse latest Browse all 3160

Trending Articles