How to transfert completed workitem ...

stephane s.bailleul at free.fr
Thu Aug 22 13:56:59 EDT 2013


Hi 

Stupid question why would you do it .... 
In fact, I am working on an SRM system, where the user ID are going to
change (ex: user X456 will become user Y123)
And the users want to see their executed workitems (with user X456) when
logging in with user Y123.

Transferring workitems that are not yet executed was quite easy with the
SAP_WAPI function but with the completed workitem I am stuck... 
Is there any BADI  or Exit to change the selection ? I don't really want
to overwrite the agent on the SWWWIHEAD table [WI_AAGENT and certainly
WI_AADDR]

Do you know any method that I could use to get this requirement done ?

Best regards
Stephane

Le mercredi 21 août 2013 à 12:50 -0400, sap-wug-request at mit.edu a
écrit :

> Send SAP-WUG mailing list submissions to
> 	sap-wug at mit.edu
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://mailman.mit.edu/mailman/listinfo/sap-wug
> or, via email, send a message with subject or body 'help' to
> 	sap-wug-request at mit.edu
> 
> You can reach the person managing the list at
> 	sap-wug-owner at mit.edu
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of SAP-WUG digest..."
> 
> 
> Today's Topics:
> 
>    1. User Decision Note via UWL vs SBWP (Mark Pyc)
>    2. Re: User Decision Note via UWL vs SBWP (Kjetil Kilhavn)
>    3. Re: User Decision Note via UWL vs SBWP (Mark Pyc)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 21 Aug 2013 10:36:16 +1000
> From: Mark Pyc <mark.pyc at gmail.com>
> Subject: User Decision Note via UWL vs SBWP
> To: WUG <sap-wug at mit.edu>
> Message-ID:
> 	<CA+795SA5Z8pD1e+f7TnSaqZFnzdt=SAFNd02wcL_iVJc=bF1FQ at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> G'day Wuggers,
> 
> If you use the 'Mandatory Justification' option on a User Decision and
> process via SBWP that comment is loaded into a specific container element
> called 'Decision_Note'.
> 
> If you use the XML configuration option of "<Property
> name="UserDecisionNote" value="mandatory"/>" then that comment is just
> loaded into _Attach_Objects
> 
> Is there any way to control where the comment ends up via UWL? My problem
> is that within the process I've already potentially got things in
> _Attach_Objects but these are purely internal documents, and I need the
> Rejection comment attached to an email sent out to a Vendor.
> 
> If it has to end up in _Attach_Objects is there a clever way to pull out
> the latest entry?
> 
> Many thanks,
> Mark
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20130821/f69ce30e/attachment-0001.htm
> 
> ------------------------------
> 
> Message: 2
> Date: Wed, 21 Aug 2013 10:02:34 +0200
> From: Kjetil Kilhavn <list.sap-wug at vettug.no>
> Subject: Re: User Decision Note via UWL vs SBWP
> To: "SAP Workflow Users' Group" <sap-wug at MIT.EDU>
> Message-ID: <3281765.qSIej4FlAC at t410-kjetil.vettug.no>
> Content-Type: text/plain; charset="us-ascii"
> 
> Onsdag 21. august 2013 10.36.16 skrev Mark Pyc:
> > If it has to end up in _Attach_Objects is there a clever way to pull out
> > the latest entry?
> Not sure about clever ways, but it is certainly not too difficult in a program. 
> It has been years since I did such manipulation, but using the WAPI functions 
> (or perhaps you have to use the older function modules) you can get a list of 
> attachments with information about creation date and time (and type of 
> attachment etc).
> 
> > Many thanks,
> > Mark
> -- 
> Kjetil Kilhavn / Vettug AS (http://www.vettug.no)
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Wed, 21 Aug 2013 18:27:49 +1000
> From: Mark Pyc <mark.pyc at gmail.com>
> Subject: Re: User Decision Note via UWL vs SBWP
> To: "SAP Workflow Users' Group" <sap-wug at MIT.EDU>
> Message-ID:
> 	<CA+795SC43y0nHjj2PARfhQysoxep=rGB8hYeBeCf3T-Wdg+XOQ at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Thanks Kjetil!
> 
> I've managed to avoid the issue by not placing anything else into
> _Attach_Objects and instead use my own specific container element to hold
> prior attachments, but I'm curious to know what's possible.
> 
> I find the disconnect between the 'Mandatory Comment' behaviour in SBWP and
> UWL surprising (disappointing at least).
> 
> Thanks,
> Mark
> 
> 
> On 21 August 2013 18:02, Kjetil Kilhavn <list.sap-wug at vettug.no> wrote:
> 
> > Onsdag 21. august 2013 10.36.16 skrev Mark Pyc:
> > > If it has to end up in _Attach_Objects is there a clever way to pull out
> > > the latest entry?
> > Not sure about clever ways, but it is certainly not too difficult in a
> > program.
> > It has been years since I did such manipulation, but using the WAPI
> > functions
> > (or perhaps you have to use the older function modules) you can get a list
> > of
> > attachments with information about creation date and time (and type of
> > attachment etc).
> >
> > > Many thanks,
> > > Mark
> > --
> > Kjetil Kilhavn / Vettug AS (http://www.vettug.no)
> > _______________________________________________
> > SAP-WUG mailing list
> > SAP-WUG at mit.edu
> > http://mailman.mit.edu/mailman/listinfo/sap-wug
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20130821/44231466/attachment-0001.htm
> 
> ------------------------------
> 
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
> 
> 
> End of SAP-WUG Digest, Vol 105, Issue 8
> ***************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20130822/d5f578a3/attachment.htm


More information about the SAP-WUG mailing list