Work Item Disappear After Execution of Back Button

Ravi Dixit dolbydix at gmail.com
Thu Jul 17 20:30:03 EDT 2008


Hi Sandy

Just a couple of things,

1. When you call the ALV report from the FM, do you use the AND RETURN
option? This will ensure the control is back with the FM, and then back to
the method....

2.  Can you call the macros inside the FM while passing all the required
references?

-- 
Best Regards
Ravi Dixit


> Message: 5
> Date: Thu, 17 Jul 2008 22:38:39 +0800
> From: Sandy <maorriyan.santoso at gmail.com>
> Subject: Work Item Disappear After Execution of Back Button
> To: "SAP Workflow - MIT" <sap-wug at mit.edu>
> Message-ID:
>        <16d26f720807170738i68287f95gd6e7f924e649453f at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Dear all.
> I have a workflow task that execute function module. This function module
> is
> execute ALV program which contains couple buttons i.e."Submit", "Decline"
> etc.
> Below call function module, I have some macro commands that need to be
> executed.
> I put break-point before execution of function module
>
> When I execute the work item, function module executed and brings me the
> ALV
> screen.
> What I expect is after execution of button i.e. "Submit", it's back to my
> method and execute macro commands.
> Currently this happens only when I click standard SAP "Back" button which
> is
> user doesn't want to
>
> Is there any ABAP command or function module that can tell to the system to
> go back to the method caller?
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mailman.mit.edu/pipermail/sap-wug/attachments/20080717/b2554c61/attachment-0001.htm
>
> ------------------------------
>
> Message: 6
> Date: Thu, 17 Jul 2008 10:45:48 -0400
> From: "Alon Raskin" <araskin at 3i-consulting.com>
> Subject: RE: Work Item Disappear After Execution of Back Button
> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
> Message-ID:
>        <
> BAB6A5007023804690A6EB3C9A24942EC9097D at msportal.exchange.corefusion.net>
>
> Content-Type: text/plain; charset="iso-8859-1"
>
> If the user hits BACK, your method should return exit_cancelled. This will
> leave the WI in the inbox.
>
> The other options is to make it asynchronous task and then only the
> appropriate events can complete the WI.
>
> Alon
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20080718/273250ac/attachment.htm


More information about the SAP-WUG mailing list