<div dir="ltr">Thanks to all of you.<br>It's works.<br>It's just use LEAVE PROGRAM then it's back to caller.<br><br><div class="gmail_quote">On Fri, Jul 18, 2008 at 11:18 AM, <<a href="mailto:kaukabr@yahoo.com">kaukabr@yahoo.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">"role back"<br>
Cheers.<br>
<div><div></div><div class="Wj3C7c">--- Ravi Dixit <<a href="mailto:dolbydix@gmail.com">dolbydix@gmail.com</a>> wrote:<br>
<br>
> Hi Sandy<br>
><br>
> Just a couple of things,<br>
><br>
> 1. When you call the ALV report from the FM, do you<br>
> use the AND RETURN<br>
> option? This will ensure the control is back with<br>
> the FM, and then back to<br>
> the method....<br>
><br>
> 2. Can you call the macros inside the FM while<br>
> passing all the required<br>
> references?<br>
><br>
> --<br>
> Best Regards<br>
> Ravi Dixit<br>
><br>
><br>
> > Message: 5<br>
> > Date: Thu, 17 Jul 2008 22:38:39 +0800<br>
> > From: Sandy <<a href="mailto:maorriyan.santoso@gmail.com">maorriyan.santoso@gmail.com</a>><br>
> > Subject: Work Item Disappear After Execution of<br>
> Back Button<br>
> > To: "SAP Workflow - MIT" <<a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>><br>
> > Message-ID:<br>
> ><br>
><br>
<<a href="mailto:16d26f720807170738i68287f95gd6e7f924e649453f@mail.gmail.com">16d26f720807170738i68287f95gd6e7f924e649453f@mail.gmail.com</a>><br>
> > Content-Type: text/plain; charset="iso-8859-1"<br>
> ><br>
> > Dear all.<br>
> > I have a workflow task that execute function<br>
> module. This function module<br>
> > is<br>
> > execute ALV program which contains couple buttons<br>
> i.e."Submit", "Decline"<br>
> > etc.<br>
> > Below call function module, I have some macro<br>
> commands that need to be<br>
> > executed.<br>
> > I put break-point before execution of function<br>
> module<br>
> ><br>
> > When I execute the work item, function module<br>
> executed and brings me the<br>
> > ALV<br>
> > screen.<br>
> > What I expect is after execution of button i.e.<br>
> "Submit", it's back to my<br>
> > method and execute macro commands.<br>
> > Currently this happens only when I click standard<br>
> SAP "Back" button which<br>
> > is<br>
> > user doesn't want to<br>
> ><br>
> > Is there any ABAP command or function module that<br>
> can tell to the system to<br>
> > go back to the method caller?<br>
> > -------------- next part --------------<br>
> > An HTML attachment was scrubbed...<br>
> > URL:<br>
> ><br>
><br>
<a href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20080717/b2554c61/attachment-0001.htm" target="_blank">http://mailman.mit.edu/pipermail/sap-wug/attachments/20080717/b2554c61/attachment-0001.htm</a><br>
> ><br>
> > ------------------------------<br>
> ><br>
> > Message: 6<br>
> > Date: Thu, 17 Jul 2008 10:45:48 -0400<br>
> > From: "Alon Raskin" <<a href="mailto:araskin@3i-consulting.com">araskin@3i-consulting.com</a>><br>
> > Subject: RE: Work Item Disappear After Execution<br>
> of Back Button<br>
> > To: "SAP Workflow Users' Group" <<a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>><br>
> > Message-ID:<br>
> > <<br>
> ><br>
><br>
<a href="mailto:BAB6A5007023804690A6EB3C9A24942EC9097D@msportal.exchange.corefusion.net">BAB6A5007023804690A6EB3C9A24942EC9097D@msportal.exchange.corefusion.net</a>><br>
> ><br>
> > Content-Type: text/plain; charset="iso-8859-1"<br>
> ><br>
> > If the user hits BACK, your method should return<br>
> exit_cancelled. This will<br>
> > leave the WI in the inbox.<br>
> ><br>
> > The other options is to make it asynchronous task<br>
> and then only the<br>
> > appropriate events can complete the WI.<br>
> ><br>
> > Alon<br>
> ><br>
> ><br>
</div></div>> > _______________________________________________<br>
> SAP-WUG mailing list<br>
> <a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
> <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
><br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
</blockquote></div><br></div>