Need assistance in Completing the workitem programmatically

Rick Bakker rbakker at gmail.com
Tue Dec 27 15:30:11 EST 2011


Hello,

You can pass a value with SAP_WAPI_WRITE_CONTAINER.

"i have to complete the workitem programmatically."
Why is that? It's much simpler if you don't.  Can't you send the user
a workitem and have him make the decision?

regards
Rick Bakker
hanabi technology

On Tue, Dec 27, 2011 at 1:11 AM, Sree S <to2sree at gmail.com> wrote:
> Hi All.
>
> I have a customized workflow where the case is i have to complete the
> workitem programmatically.
>
> As the workflow is attached to a module pool program,On click of an event
> the workflow is triggered.
>
> In the workflow, i am calling a module pool program for approval. Here the
> case is that the workitem has to completed programmatically.
>
> So i am using -FM SAP_WAPI_COMPLETE_WORKITEM. to complete the workitem and
> setting the status as per the module pool screens result.
>
> Now my doubt is how do i pass this result to workflow container or  as a
> result parameter of the method to the workflow so that i can use the result
> further in the workflow.
>
>
> Please suggest me !
>
> --
> shankar
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>



More information about the SAP-WUG mailing list