<html><div style='background-color:'><P>Hi Lakshmi,</P>
<P>In this case, why don't you look at the business object method which the standard task is using. Then copy the method into a Z MEthod, and then check in your Z Method, if the user is rejecting. In the same method give a pop to the user to give a rejection reason (popup_to_get_value FM), and pass the result&nbsp;through binding back to the workflow container.</P>
<P>Regards,</P>
<P>Vijay<BR><BR></P>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #a0c6e5 2px solid; MARGIN-RIGHT: 0px"><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif">
<HR color=#a0c6e5 SIZE=1>
From: <I>"Dart, Jocelyn" &lt;jocelyn.dart@sap.com&gt;</I><BR>Reply-To: <I>"SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;</I><BR>To: <I>"SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;</I><BR>Subject: <I>RE: Reject Reason</I><BR>Date: <I>Wed, 1 Aug 2007 09:49:14 +0800</I><BR><BR>
<META content="Microsoft SafeHTML" name=Generator>
<STYLE>
DIV
{margin:0px;}
</STYLE>

<DIV dir=ltr align=left><SPAN class=736074701-01082007><FONT face=Arial color=#0000ff size=2>Hi Lakshmi, </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=736074701-01082007><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=736074701-01082007><FONT face=Arial color=#0000ff size=2>If you are going to use a specific application to execute your work item then that application would have to provide the ability to enter the reason itself.&nbsp; So you need to look at the configuration/user exits/BADIs&nbsp; for that application.&nbsp;&nbsp; Or else create your own alternative application such as a webdynpro application that covers both the standard function and your additional requirement.&nbsp;&nbsp; This would be a development issue rather than a workflow issue. </FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<P><SPAN lang=en-us><FONT face=Arial size=1>Regards,</FONT></SPAN> <BR><SPAN lang=en-us><B><FONT face=Arial color=#000080 size=1>Jocelyn Dart</FONT></B></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>Senior Consultant</FONT></SPAN> <BR><SPAN lang=en-us><B><FONT face=Arial color=#808080 size=1>SAP Australia Pty Ltd.</FONT></B></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>Level 1/168 Walker St.</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>North Sydney </FONT></SPAN><BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>NSW, 2060</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>Australia</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>T&nbsp;&nbsp; +61 412 390 267</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>M&nbsp;&nbsp; + 61 412 390 
267</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>E&nbsp;&nbsp; jocelyn.dart@sap.com</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1><A href="http://www.sap.com/">http://www.sap.com</A></FONT></SPAN> </P>
<P><SPAN lang=en-au><FONT face="Times New Roman" color=#ff0000 size=1>The information contained in or attached to this electronic transmission is confidential and may be legally privileged. It is intended only for the person or entity to which it is addressed. If you are not the intended recipient, you are hereby notified that any distribution, copying, review, retransmission, dissemination or other use of this electronic transmission or the information contained in it is strictly prohibited. If you have received this electronic transmission in error, please immediately contact the sender to arrange for the return of the original documents. </FONT></SPAN></P>
<P><SPAN lang=en-au><FONT face="Times New Roman" color=#ff0000 size=1>Electronic transmission cannot be guaranteed to be secure and accordingly, the sender does not accept liability for any such data corruption, interception, unauthorized amendment, viruses, delays or the consequences thereof.</FONT></SPAN></P>
<P><SPAN lang=en-au><FONT face="Times New Roman" color=#ff0000 size=1>Any views expressed in this electronic transmission are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of SAP AG or any of its subsidiaries. SAP AG, its subsidiaries, and their directors, officers and employees make no representation nor accept any liability for the accuracy or completeness of the views or information contained herein. Please be aware that the furnishing of any pricing information/ business proposal herein is indicative only, is subject to change and shall not be construed as an offer or as constituting a binding agreement on the part of SAP AG or any of its subsidiaries to enter into any relationship, unless otherwise expressly stated. </FONT></SPAN></P>
<DIV>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Lakshmi Narayana L<BR><B>Sent:</B> Tuesday, 31 July 2007 8:41 PM<BR><B>To:</B> SAP Workflow Users' Group<BR><B>Subject:</B> Re: Reject Reason<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">Hi Jocelyn,<BR><BR>Thanks for your response. I am using std task 7914 for Approval. In case, if the approver rejects it, he must give reason with Max. of 50CHAR length. The same must be passed to Custom BO, which will be used for some other purpose. Let me know the suitable method to achieve this.<BR><BR>Thanks<BR>Lakshmi<BR><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">----- Original Message ----<BR>From: "Dart, Jocelyn" &lt;jocelyn.dart@sap.com&gt;<BR>To: SAP Workflow Users' Group &lt;sap-wug@mit.edu&gt;<BR>Sent: Tuesday, July 31, 2007 6:21:56 AM<BR>Subject: RE: Reject Reason<BR><BR>
<STYLE>
UNKNOWN
{font-family:Cambria Math;}
UNKNOWN
{font-family:Calibri;}
UNKNOWN
{font-family:Tahoma;}
UNKNOWN
{font-family:Verdana;}
UNKNOWN
{font-family:Monotype Corsiva;}
UNKNOWN
{margin:1in;}
P.MsoNormal
{font-size:12pt;margin:0in 0in 0pt;font-family:'Times New Roman', 'serif';}
LI.MsoNormal
{font-size:12pt;margin:0in 0in 0pt;font-family:'Times New Roman', 'serif';}
DIV.MsoNormal
{font-size:12pt;margin:0in 0in 0pt;font-family:'Times New Roman', 'serif';}
A:link
{color:blue;text-decoration:underline;}
SPAN.MsoHyperlink
{color:blue;text-decoration:underline;}
A:visited
{color:purple;text-decoration:underline;}
SPAN.MsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
SPAN.EmailStyle17
{font-weight:normal;color:navy;font-style:normal;font-family:'Verdana', 'sans-serif';text-decoration:none;}
.MsoChpDefault
{font-size:10pt;}
DIV.Section1
{;}
</STYLE>

<DIV dir=ltr align=left><SPAN class=772214900-31072007><FONT face=Arial color=#0000ff size=2>If you are using the Universal Worklist - please use the UWL XML configuration option "User Decision with Note". This is a much cleaner option as it does not require a separate step for the attachment.&nbsp; You can make the attachment mandatory for particular responses, e.g. rejection.&nbsp; You can even use this technique for&nbsp;work&nbsp;items that are&nbsp;NOT user decisions.&nbsp; Details on the XML required are in help.sap.com under the Advanced Configuration for the Universal Worklist. </FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<P><SPAN lang=en-us><FONT face=Arial size=1>Regards,</FONT></SPAN> <BR><SPAN lang=en-us><B><FONT face=Arial color=#000080 size=1>Jocelyn Dart</FONT></B></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>Senior Consultant</FONT></SPAN> <BR><SPAN lang=en-us><B><FONT face=Arial color=#808080 size=1>SAP Australia Pty Ltd.</FONT></B></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>Level 1/168 Walker St.</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>North Sydney </FONT></SPAN><BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>NSW, 2060</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>Australia</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>T&nbsp;&nbsp; +61 412 390 267</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>M&nbsp;&nbsp; + 61 412 390 
267</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>E&nbsp;&nbsp; jocelyn.dart@sap.com</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1><A href="http://www.sap.com/" rel=nofollow>http://www.sap.com</A></FONT></SPAN> </P>
<P><SPAN lang=en-au><FONT face="Times New Roman" color=#ff0000 size=1>The information contained in or attached to this electronic transmission is confidential and may be legally privileged. It is intended only for the person or entity to which it is addressed. If you are not the intended recipient, you are hereby notified that any distribution, copying, review, retransmission, dissemination or other use of this electronic transmission or the information contained in it is strictly prohibited. If you have received this electronic transmission in error, please immediately contact the sender to arrange for the return of the original documents. </FONT></SPAN></P>
<P><SPAN lang=en-au><FONT face="Times New Roman" color=#ff0000 size=1>Electronic transmission cannot be guaranteed to be secure and accordingly, the sender does not accept liability for any such data corruption, interception, unauthorized amendment, viruses, delays or the consequences thereof.</FONT></SPAN></P>
<P><SPAN lang=en-au><FONT face="Times New Roman" color=#ff0000 size=1>Any views expressed in this electronic transmission are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of SAP AG or any of its subsidiaries. SAP AG, its subsidiaries, and their directors, officers and employees make no representation nor accept any liability for the accuracy or completeness of the views or information contained herein. Please be aware that the furnishing of any pricing information/ business proposal herein is indicative only, is subject to change and shall not be construed as an offer or as constituting a binding agreement on the part of SAP AG or any of its subsidiaries to enter into any relationship, unless otherwise expressly stated. </FONT></SPAN></P>
<DIV>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Sauceman Jr, James E (Jim)<BR><B>Sent:</B> Tuesday, 31 July 2007 2:45 AM<BR><B>To:</B> SAP Workflow Users' Group<BR><B>Subject:</B> RE: Reject Reason<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Verdana','sans-serif'">Lakshmi,</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Verdana','sans-serif'"></SPAN>&nbsp;</P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Verdana','sans-serif'">I use SELFITEM.NOTE_CREATE (Create attachment) to obtain the rejection reason from the person rejecting. </SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Verdana','sans-serif'"></SPAN>&nbsp;</P>
<DIV>
<P class=MsoNormal><B><I><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Verdana','sans-serif'">Regards,</SPAN></I></B><SPAN style="COLOR: navy"></SPAN></P>
<P class=MsoNormal><SPAN style="COLOR: navy"></SPAN>&nbsp;</P></DIV>
<P class=MsoNormal><B><I><SPAN style="FONT-SIZE: 18pt; COLOR: blue; FONT-FAMILY: 'Monotype Corsiva'">Jim Sauceman</SPAN></I></B></P>
<P class=MsoNormal><B><I><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Verdana','sans-serif'">The University of Tennessee</SPAN></I></B><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Verdana','sans-serif'"></SPAN></P>
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: rgb(181,196,223) 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=MsoNormal><B><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Lakshmi Narayana L<BR><B>Sent:</B> Monday, July 30, 2007 12:19 PM<BR><B>To:</B> SAP Workflow Users' Group<BR><B>Subject:</B> Reject Reason</SPAN></P></DIV></DIV>
<P class=MsoNormal>&nbsp;</P>
<DIV>
<DIV>
<P class=MsoNormal>Hi WF Gurus,<BR><BR>I am using workflow to approve/reject the parked documents (FB01/FB50). Incase, if approver 'Reject' the document, it should ask for reject reason in the pop-up window. Can any one suggest, what BO &amp; Method can be used to achieve this. <BR><BR>Thanks in advance<BR>Regards<BR>Lakshmi</P></DIV></DIV>
<P class=MsoNormal>&nbsp;</P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center>
<HR align=center width="100%" SIZE=1>
</DIV>
<P class=MsoNormal>Looking for a deal? <A href="http://us.rd.yahoo.com/evt=47094/*http:/farechase.yahoo.com/;_ylc=X3oDMTFicDJoNDllBF9TAzk3NDA3NTg5BHBvcwMxMwRzZWMDZ3JvdXBzBHNsawNlbWFpbC1uY20-" rel=nofollow>Find great prices on flights and hotels</A> with Yahoo! FareChase.</P></DIV></DIV><BR></DIV></DIV><BR>
<HR SIZE=1>
Shape Yahoo! in your own image. <A href="http://us.rd.yahoo.com/evt=48517/*http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7">Join our Network Research Panel today!</A> <BR>
<P>&gt;_______________________________________________<BR>&gt;SAP-WUG mailing list<BR>&gt;SAP-WUG@mit.edu<BR>&gt;http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>
<P></FONT></P></BLOCKQUOTE></div><br clear=all><hr>Voice your questions and <a href="http://g.msn.com/8HMAENIN/2746??PS=47575" target="_top">our experts will answer them</a> </html>