Need assistance in Completing the workitem programmatically
Sree S
to2sree at gmail.com
Tue Dec 27 20:54:03 EST 2011
Hi Team.
My issue got resolved.
Before using the FM SAP_WAPI_WORKITEM_COMPLETE'
I have used 'SAP_WAPI_READ_CONTAINER' and then changed the required values
using 'SAP_WAPI_WRITE_CONTAINER' and then used the function module to
complete the workitem. by passing the values in _WI_RESULT.
Thanks to All.
Shankar
On Tue, Dec 27, 2011 at 8:30 PM, Rick Bakker <rbakker at gmail.com> wrote:
> 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
> >
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
--
shankar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20111228/8c939acf/attachment.htm
More information about the SAP-WUG
mailing list