Cancel and keep work item in inbox.

Florin Wach florin.wach at gmx.net
Wed Jul 9 03:11:56 EDT 2008


Hi Srijarsja,

in the coding section of the object methods (that calls the screen) you'll need to check the screen result, e.g.

IF sy-ucomm <> 'SAVE'.
   exit_cancelled.    "Macro to cancel+keep work item
ENDIF.


Then use the macro above to keep the work item in place.

Best wishes,
   Florin

-------- Original-Nachricht --------
> Datum: Wed, 9 Jul 2008 10:46:33 +0530
> Von: Sriharsha_Medisetty <Sriharsha_Medisetty at satyam.com>
> An: "SAP Workflow Users\' Group" <sap-wug at mit.edu>
> Betreff: Cancel  and keep work item in inbox.

> Hi all,
> 
> Our requirement is to provide the functionality of "Cancel  and keep work
> item in inbox" for a custom screen.
> 
> We have provided push button on custom screen and written the code in
> screen PAI like Leave to Screen 0. BUT It's not working.
> 
> When  I click on option button, custom screen diapers and simultaneous
> work item disappears from inbox and further process continues.
> 
> Can any one suggest me, how I can control this requirement.
> 
> 
> 
> DISCLAIMER:
> This email (including any attachments) is intended for the sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
> distribution or forwarding of any or all of the contents in this message is
> STRICTLY PROHIBITED. If you are not the intended recipient, please contact
> the sender by email and delete all copies; your cooperation in this regard
> is appreciated.
> 
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug



More information about the SAP-WUG mailing list