<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY>
Hi <BR>
<BR>
Stupid question why would you do it .... <BR>
In fact, I am working on an SRM system, where the user ID are going to change (ex: user X456 will become user Y123)<BR>
And the users want to see their executed workitems (with user X456) when logging in with user Y123.<BR>
<BR>
Transferring workitems that are not yet executed was quite easy with the SAP_WAPI function but with the completed workitem I am stuck... <BR>
Is there any BADI or Exit to change the selection ? I don't really want to overwrite the agent on the <FONT SIZE="2"><FONT COLOR="#000080">SWWWIHEAD table [WI_AAGENT and certainly WI_AADDR]</FONT></FONT><BR>
<BR>
Do you know any method that I could use to get this requirement done ?<BR>
<BR>
Best regards<BR>
Stephane<BR>
<BR>
Le mercredi 21 août 2013 à 12:50 -0400, sap-wug-request@mit.edu a écrit :
<BLOCKQUOTE TYPE=CITE>
<PRE>
Send SAP-WUG mailing list submissions to
        <A HREF="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A>
To subscribe or unsubscribe via the World Wide Web, visit
        <A HREF="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A>
or, via email, send a message with subject or body 'help' to
        <A HREF="mailto:sap-wug-request@mit.edu">sap-wug-request@mit.edu</A>
You can reach the person managing the list at
        <A HREF="mailto:sap-wug-owner@mit.edu">sap-wug-owner@mit.edu</A>
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 <<A HREF="mailto:mark.pyc@gmail.com">mark.pyc@gmail.com</A>>
Subject: User Decision Note via UWL vs SBWP
To: WUG <<A HREF="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A>>
Message-ID:
        <<A HREF="mailto:CA+795SA5Z8pD1e+f7TnSaqZFnzdt=SAFNd02wcL_iVJc=bF1FQ@mail.gmail.com">CA+795SA5Z8pD1e+f7TnSaqZFnzdt=SAFNd02wcL_iVJc=bF1FQ@mail.gmail.com</A>>
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: <A HREF="http://mailman.mit.edu/pipermail/sap-wug/attachments/20130821/f69ce30e/attachment-0001.htm">http://mailman.mit.edu/pipermail/sap-wug/attachments/20130821/f69ce30e/attachment-0001.htm</A>
------------------------------
Message: 2
Date: Wed, 21 Aug 2013 10:02:34 +0200
From: Kjetil Kilhavn <<A HREF="mailto:list.sap-wug@vettug.no">list.sap-wug@vettug.no</A>>
Subject: Re: User Decision Note via UWL vs SBWP
To: "SAP Workflow Users' Group" <<A HREF="mailto:sap-wug@MIT.EDU">sap-wug@MIT.EDU</A>>
Message-ID: <<A HREF="mailto:3281765.qSIej4FlAC@t410-kjetil.vettug.no">3281765.qSIej4FlAC@t410-kjetil.vettug.no</A>>
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 (<A HREF="http://www.vettug.no">http://www.vettug.no</A>)
------------------------------
Message: 3
Date: Wed, 21 Aug 2013 18:27:49 +1000
From: Mark Pyc <<A HREF="mailto:mark.pyc@gmail.com">mark.pyc@gmail.com</A>>
Subject: Re: User Decision Note via UWL vs SBWP
To: "SAP Workflow Users' Group" <<A HREF="mailto:sap-wug@MIT.EDU">sap-wug@MIT.EDU</A>>
Message-ID:
        <<A HREF="mailto:CA+795SC43y0nHjj2PARfhQysoxep=rGB8hYeBeCf3T-Wdg+XOQ@mail.gmail.com">CA+795SC43y0nHjj2PARfhQysoxep=rGB8hYeBeCf3T-Wdg+XOQ@mail.gmail.com</A>>
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 <<A HREF="mailto:list.sap-wug@vettug.no">list.sap-wug@vettug.no</A>> 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 (<A HREF="http://www.vettug.no">http://www.vettug.no</A>)
> _______________________________________________
> SAP-WUG mailing list
> <A HREF="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A>
> <A HREF="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <A HREF="http://mailman.mit.edu/pipermail/sap-wug/attachments/20130821/44231466/attachment-0001.htm">http://mailman.mit.edu/pipermail/sap-wug/attachments/20130821/44231466/attachment-0001.htm</A>
------------------------------
_______________________________________________
SAP-WUG mailing list
<A HREF="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A>
<A HREF="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A>
End of SAP-WUG Digest, Vol 105, Issue 8
***************************************
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>