Enque/Deque Work Items

Abir Kundu abir.kundu at in.ibm.com
Fri Dec 28 23:35:01 EST 2007


Hi Mustajab,
You can only use FM ENQUEUE_E_WORKITEM for locking the workitem, if the FM
returns non-zero value, that means the workitem is already locked and zero
means you have locked it.
Unlock the workitem by the FM DEQUEUE_E_WORKITEM after you finish the
processing.
In both of the FM, only you need to pass the workitem id.

Thanks and Best Regards,
Abir Kundu



                                                                           
             sap-wug-request at m                                             
             it.edu                                                        
             Sent by:                                                   To 
             sap-wug-bounces at m         sap-wug at mit.edu                     
             it.edu                                                     cc 
                                                                           
                                                                   Subject 
             12/29/2007 01:57          SAP-WUG Digest, Vol 37, Issue 71    
             AM                                                            
                                                                           
                                                                           
             Please respond to                                             
              sap-wug at mit.edu                                              
                                                                           
                                                                           




Send SAP-WUG mailing list submissions to
             sap-wug at mit.edu

To subscribe or unsubscribe via the World Wide Web, visit
             http://mailman.mit.edu/mailman/listinfo/sap-wug
or, via email, send a message with subject or body 'help' to
             sap-wug-request at mit.edu

You can reach the person managing the list at
             sap-wug-owner at mit.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of SAP-WUG digest..."
Today's Topics:

   1. Re: Enque/Deque Work Items (Abir Kundu)
   2. Re: Enque/Deque Work Items (Mustajab)
   3. ESS Leave Workflow (Abir Kundu)


----- Message from Abir Kundu <abir.kundu at in.ibm.com> on Fri, 28 Dec 2007
00:53:22 +0530 -----
                                                                           
               To: sap-wug at mit.edu                                         
                                                                           
          Subject: Re: Enque/Deque Work Items                              
                                                                           


Hi Mustajab,
      You can try the Function modules :
ENQUEUE_E_WORKITEM and DEQUEUE_E_WORKITEM.

If you find them helpful, let me know please.

Thanks and Best Regards,
Abir Kundu
____________________________________________
IBM India Private Limited
DLF IT Park, New Town,
P.S. Rajarhat, Distt.: 24 Parganas (N),
Kolkata 700156 , India
Board :     +91 33 400 94000[Extn : 94262]
Direct :     +91 33 400 94262
Mob   :     +91 98310 32936
____________________________________________



             sap-wug-request at m
             it.edu
             Sent by:                                                   To
             sap-wug-bounces at m         sap-wug at mit.edu
             it.edu                                                     cc

                                                                   Subject
             12/27/2007 10:50          SAP-WUG Digest, Vol 37, Issue 70
             PM


             Please respond to
              sap-wug at mit.edu






Send SAP-WUG mailing list submissions to
             sap-wug at mit.edu

To subscribe or unsubscribe via the World Wide Web, visit
             http://mailman.mit.edu/mailman/listinfo/sap-wug
or, via email, send a message with subject or body 'help' to
             sap-wug-request at mit.edu

You can reach the person managing the list at
             sap-wug-owner at mit.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of SAP-WUG digest..."
Today's Topics:

   1. Out of the office  (Warunee Charoenkarnka)
   2. Enque/Deque Work Items (Mustajab)


----- Message from Warunee Charoenkarnka <warunee.charoenkarnka at nxp.com> on
Thu, 27 Dec 2007 04:02:03 +0800 -----

                      To: sap-wug at mit.edu

                 Subject: Out of the office



I will be out of the office starting 2007-12-27 and will not return until
2008-01-03.


----- Message from Mustajab <mustajab_vnb at yahoo.com> on Wed, 26 Dec 2007
12:30:52 -0800 (PST) -----

                To: sap-wug at mit.edu

           Subject: Enque/Deque Work Items



Hi,

I have developed a program for mass maintenance of Work Items using which
users can change container data elements. I was looking for a way to
Enque/Deque work items but all that I could find was function module
SAP_WI_ENABLE and SAP_WI_DISABLE for locking the work item against
execuction and unlocking the work items.

Has anybody worked or has some information on similar stuff for Enque/Deque
Work items?

Thanks and Regards,



Mustajab



Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
now._______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug







----- Message from Mustajab <mustajab_vnb at yahoo.com> on Thu, 27 Dec 2007
14:25:03 -0800 (PST) -----
                                                                           
        To: "SAP Workflow Users' Group" <sap-wug at mit.edu>                  
                                                                           
   Subject: Re: Enque/Deque Work Items                                     
                                                                           


Thanks Abir. Should I still use SAP_WI_ENABLE and SAP_WI_DISABLE to lock
and unlock the work items for the duration the work item is changed?



Thanks and Regards,



Mustajab
Cell: (404) 536 6725
E-Mail: mustajab_vnb at yahoo.com


----- Original Message ----
From: Abir Kundu <abir.kundu at in.ibm.com>
To: sap-wug at mit.edu
Sent: Thursday, December 27, 2007 2:23:22 PM
Subject: Re: Enque/Deque Work Items

Hi Mustajab,
      You can try the Function modules :
ENQUEUE_E_WORKITEM and DEQUEUE_E_WORKITEM.

If you find them helpful, let me know please.

Thanks and Best Regards,
Abir Kundu
____________________________________________
IBM India Private Limited
DLF IT Park, New Town,
P.S. Rajarhat, Distt.: 24 Parganas (N),
Kolkata 700156 , India
Board :    +91 33 400 94000[Extn : 94262]
Direct :    +91 33 400 94262
Mob  :    +91 98310 32936
____________________________________________



            sap-wug-request at m
            it.edu
            Sent by:                                                  To
            sap-wug-bounces at m        sap-wug at mit.edu
            it.edu                                                    cc

                                                                  Subject
            12/27/2007 10:50          SAP-WUG Digest, Vol 37, Issue 70
            PM


            Please respond to
              sap-wug at mit.edu






Send SAP-WUG mailing list submissions to
            sap-wug at mit.edu

To subscribe or unsubscribe via the World Wide Web, visit
            http://mailman.mit.edu/mailman/listinfo/sap-wug
or, via email, send a message with subject or body 'help' to
            sap-wug-request at mit.edu

You can reach the person managing the list at
            sap-wug-owner at mit.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of SAP-WUG digest..."
Today's Topics:

  1. Out of the office  (Warunee Charoenkarnka)
  2. Enque/Deque Work Items (Mustajab)


----- Message from Warunee Charoenkarnka <warunee.charoenkarnka at nxp.com> on
Thu, 27 Dec 2007 04:02:03 +0800 -----

                      To: sap-wug at mit.edu

                Subject: Out of the office



I will be out of the office starting 2007-12-27 and will not return until
2008-01-03.


----- Message from Mustajab <mustajab_vnb at yahoo.com> on Wed, 26 Dec 2007
12:30:52 -0800 (PST) -----

                To: sap-wug at mit.edu

          Subject: Enque/Deque Work Items



Hi,

I have developed a program for mass maintenance of Work Items using which
users can change container data elements. I was looking for a way to
Enque/Deque work items but all that I could find was function module
SAP_WI_ENABLE and SAP_WI_DISABLE for locking the work item against
execuction and unlocking the work items.

Has anybody worked or has some information on similar stuff for Enque/Deque
Work items?

Thanks and Regards,



Mustajab



Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
now._______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug




_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug


Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
now.

----- Message from Abir Kundu <abir.kundu at in.ibm.com> on Fri, 28 Dec 2007
17:26:47 +0530 -----
                                                                           
                   To: sap-wug at mit.edu                                     
                                                                           
              Subject: ESS Leave Workflow                                  
                                                                           


Hi All,
      We are on ECC6.0, implementing leave workflow with multi level
approver (WS12300111). We are using two custom rules to find out the 1st
and 2nd level approver.  The workitem is going to the UWLs of the correct
agents, no problem.
      There is one “Approver” field on the Leave request form. SAP is
pre-populating the field (I think using the standard rule AC00000157, not
sure where exactly). Only that agent can see the leave request, whose name
is coming to that field. Any other agent is unable to see the leave request
even though he receives the workitem.
      I think some configuration needs to be changed, so that any approver
can see the leave request and approve. Can anybody please help?

Thanks and Regards,
Abir Kundu


_______________________________________________
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