help related to workitem

Mike Pokraka wug at workflowconnections.com
Wed Feb 9 09:40:24 EST 2011


Note that Michael's response will only work as long as the work item is
not completed. You cannot roll back a completed or cancelled item.


On Tue, February 8, 2011 3:04 pm, Keohan, Susan - 1140 - MITLL wrote:
> Nice response Michael.
>
>
> Babita, rolling back the status of the workitem can be accomplished by
> using
> the WAPIs but this will not affect the data - if your workflows are
> changing
> transaction/master data, you can't roll back the changes.
>
>
>
> Perhaps I am not understanding the requirement correctly - but traditional
> testing does involve creating the object (invoice, PO, whatever) and
> triggering the workflows so that you do get the complete log.
>
>
>
> Good luck,
> Sue
>
>
>
> ----
>
> Susan R. Keohan
>
> SAP Workflow Specialist
>
> Enterprise Applications
>
> Information Services Department
>
> MIT Lincoln Laboratory
>
> 244 Wood Street, LI-200
>
> Lexington, MA. 02420
>
> 781-981-3561
>
>  <mailto:keohan at LL.MIT.EDU> keohan at LL.MIT.EDU
>
>
>
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
> Of
> michael.mcley at daimler.com
> Sent: Tuesday, February 08, 2011 9:31 AM
> To: sap-wug at mit.edu
> Subject: Re: help related to workitem
>
>
>
>
> Babita,
>
> Sounds complicated.  I have no direct experience with any such requirement
> myself, but in the absence of any other advice here are a few function
> modules:
>
> SAP_WAPI_PUT_BACK_WORKITEM (which oddly enough sounds like it does what
> you
> require ;-)
> SAP_WAPI_SET_WORKITEM_STATUS
> SAP_WAPI_RESUBMIT_WORKITEM
>
> If you don't ABAP, discuss with your ABAPer.
>
> You may consider looking through the SAP_WAPI* function modules.  Many are
> documented with at least a description of the parameters.  In terms of how
> to use this, I don't really have a concept of your "framework".
>
> As an alternative suggestion, it is really easy to test workflows using
> (what I would call) a more standard approach of developing test cases and
> starting a new workflow for each test case.  This will give you a log for
> each case that you can refer back to.
>
> Michael McLey
> MBUSI - IT Parts & Administration
> Mercedes-Benz US International, Inc.
> 1 Mercedes Drive
> Vance, AL 35490
> PHONE:  (205) 462 - 5239
> EMAIL:   michael.mcley at daimler.com
>
>
>
>
> babita_mca at yahoo.co.in
> Sent by: sap-wug-bounces at mit.edu
>
> 02/08/2011 03:04 AM
>
>
> Please respond to
> sap-wug at mit.edu
>
>
> To
>
> sap-wug at mit.edu
>
>
> cc
>
>
>
> Subject
>
> help related to workitem
>
>
>
>
>
>
>
>
>
>
> HI Experts,
> i have a requirement where we are creating a test frame work and in that
> we
> will get the work item created based on different scenarios and after the
> test cases are executed we need to revert back or roll back the work item
> how it was initially in the inbox.i.e in simple words i will execute the
> work item and i need to rollback the execution.how this can be done.please
> suggest.
>
> babita
>
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
> If you are not the intended addressee, please inform us immediately that
> you
> have received this e-mail in error, and delete it. We thank you for your
> cooperation.
>
> _______________________________________________
> 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