<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><DIV></DIV>
<DIV>Ramki Maley,</DIV>
<DIV>Thanks for your reply. Actualy what I need is functionality to send upon demand. Usually I get messages from users that they have not received any e-mail and then I wish to re-send.<BR> </DIV>
<P><FONT face="verdana, helvetica, sans-serif" color=#00007f size=2><STRONG>Regards,<BR>Shai Eyal</STRONG></FONT></P>
<P><FONT face=Verdana color=#000080 size=2><STRONG>SAP Logistics senior consultant<BR>SAP Workflow specialist<BR>Mobile: 972-52-5816633</STRONG></FONT></P>
<DIV><BR></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"><BR>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana, helvetica, sans-serif">----- Original Message ----<BR>From: "sap-wug-request@mit.edu" <sap-wug-request@mit.edu><BR>To: sap-wug@mit.edu<BR>Sent: Thursday, August 28, 2008 5:25:08<BR>Subject: SAP-WUG Digest, Vol 45, Issue 67<BR><BR>Send SAP-WUG mailing list submissions to<BR> <A href="mailto:sap-wug@mit.edu" ymailto="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A><BR><BR>To subscribe or unsubscribe via the World Wide Web, visit<BR> <A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR>or, via email, send a message with subject or body 'help' to<BR> <A href="mailto:sap-wug-request@mit.edu" ymailto="mailto:sap-wug-request@mit.edu">sap-wug-request@mit.edu</A><BR><BR>You can reach the person managing the list at<BR> <A href="mailto:sap-wug-owner@mit.edu"
ymailto="mailto:sap-wug-owner@mit.edu">sap-wug-owner@mit.edu</A><BR><BR>When replying, please edit your Subject line so it is more specific<BR>than "Re: Contents of SAP-WUG digest..."<BR><BR><BR>Today's Topics:<BR><BR> 1. Resend woritem via Extended notification (Shai Eyal)<BR> 2. Gordon Blackmore/SaskTel/CA is out of the office.<BR> (Gordon Blackmore)<BR> 3. Re: Resend woritem via Extended notification (Ramki Maley)<BR> 4. Re: Custom report to know the workflow approval status<BR> (Ibrahim Khan)<BR><BR><BR>----------------------------------------------------------------------<BR><BR>Message: 1<BR>Date: Wed, 27 Aug 2008 12:01:13 -0700 (PDT)<BR>From: Shai Eyal <<A href="mailto:shai.eyal@yahoo.com" ymailto="mailto:shai.eyal@yahoo.com">shai.eyal@yahoo.com</A>><BR>Subject: Resend woritem via Extended notification<BR>To: sap-wug <<A href="mailto:sap-wug@mit.edu"
ymailto="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A>><BR>Message-ID: <<A href="mailto:799486.66172.qm@web59105.mail.re1.yahoo.com" ymailto="mailto:799486.66172.qm@web59105.mail.re1.yahoo.com">799486.66172.qm@web59105.mail.re1.yahoo.com</A>><BR>Content-Type: text/plain; charset="utf-8"<BR><BR>Hi all,<BR><BR>I've scheduled SWN_SELSEN?(and customized?Extended notification) and it works well.<BR>However, in certain cases I need to re-send specific workitem. Using SWN_SELSEN I can mark the?"No Time Check During Send" however it'll?run all selection+?deliveries while?I'm interested in just one specific notification.<BR><BR>Back in old RSWUWFML2 it?is possible to limit by task + agent + date + time.<BR><BR>Any idea how to?do have it with the Extended notification ? Currently I'm "cheating"?by changing the notification send timestamp but I was wandering if there's a standard normal way to handle this scenario.<BR><BR>Thanks,<BR>?<BR>Regards,<BR>Shai
Eyal<BR>SAP Logistics senior consultant<BR>SAP Workflow specialist<BR>Mobile: 972-52-5816633<BR><BR><BR> New Email names for you! <BR>Get the Email name you've always wanted on the new @ymail and @rocketmail. <BR>Hurry before someone else does!<BR><A href="http://mail.promotions.yahoo.com/newdomains/aa/" target=_blank>http://mail.promotions.yahoo.com/newdomains/aa/</A><BR>-------------- next part --------------<BR>An HTML attachment was scrubbed...<BR>URL: <A href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20080827/0b6860ad/attachment-0001.htm" target=_blank>http://mailman.mit.edu/pipermail/sap-wug/attachments/20080827/0b6860ad/attachment-0001.htm</A><BR><BR>------------------------------<BR><BR>Message: 2<BR>Date: Wed, 27 Aug 2008 14:29:32 -0600<BR>From: Gordon Blackmore <<A href="mailto:gordon.blackmore@sasktel.sk.ca" ymailto="mailto:gordon.blackmore@sasktel.sk.ca">gordon.blackmore@sasktel.sk.ca</A>><BR>Subject:
Gordon Blackmore/SaskTel/CA is out of the office.<BR>To: "SAP Workflow Users' Group" <<A href="mailto:sap-wug@mit.edu" ymailto="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A>><BR>Message-ID:<BR> <<A href="mailto:OF98417BD6.21615C22-ON062574B2.0070913D-062574B2.0070913D@sasktel.sk.ca" ymailto="mailto:OF98417BD6.21615C22-ON062574B2.0070913D-062574B2.0070913D@sasktel.sk.ca">OF98417BD6.21615C22-ON062574B2.0070913D-062574B2.0070913D@sasktel.sk.ca</A>><BR> <BR>Content-Type: text/plain; charset=US-ASCII<BR><BR><BR>I will be out of the office starting 08/27/2008 and will not return until<BR>09/02/2008.<BR><BR>I will out of the office starting returning until 2008-9-2<BR><BR><BR><BR>------------------------------<BR><BR>Message: 3<BR>Date: Wed, 27 Aug 2008 17:04:26 -0400<BR>From: Ramki Maley <<A href="mailto:workflow99@aol.com" ymailto="mailto:workflow99@aol.com">workflow99@aol.com</A>><BR>Subject: Re:
Resend woritem via Extended notification<BR>To: "SAP Workflow Users' Group" <<A href="mailto:sap-wug@mit.edu" ymailto="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A>><BR>Message-ID: <<A href="mailto:48B5C15A.7010809@aol.com" ymailto="mailto:48B5C15A.7010809@aol.com">48B5C15A.7010809@aol.com</A>><BR>Content-Type: text/plain; charset=UTF-8; format=flowed<BR><BR>Shai,<BR><BR>Have you looked at the Reminder Days parameter in Subscription settings? <BR>You can set it to send Notifications again but not on the same day if <BR>that is your requirement.<BR><BR>Cheers,<BR>Ramki Maley.<BR><BR>Shai Eyal wrote:<BR>> Hi all,<BR>> <BR>> I've scheduled SWN_SELSEN (and customized Extended notification) and <BR>> it works well.<BR>> However, in certain cases I need to re-send specific workitem. Using <BR>> SWN_SELSEN I can mark the "No Time Check During Send" however <BR>> it'll run all selection+ deliveries while I'm interested in
just one <BR>> specific notification.<BR>> <BR>> Back in old RSWUWFML2 it is possible to limit by task + agent + date + <BR>> time.<BR>> <BR>> Any idea how to do have it with the Extended notification ? Currently <BR>> I'm "cheating" by changing the notification send timestamp but I was <BR>> wandering if there's a standard normal way to handle this scenario.<BR>> <BR>> Thanks,<BR>> <BR>><BR>> *Regards,<BR>> Shai Eyal*<BR>><BR>> *SAP Logistics senior consultant<BR>> SAP Workflow specialist<BR>> Mobile: 972-52-5816633*<BR>><BR>><BR>> ------------------------------------------------------------------------<BR>> New Email addresses available on Yahoo! <BR>> <<A href="http://sg.rd.yahoo.com/aa/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/aa/"
target=_blank>http://sg.rd.yahoo.com/aa/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/aa/</A>> <BR>><BR>> Get the Email name you've always wanted on the new @ymail and @rocketmail.<BR>> Hurry before someone else does!<BR>> ------------------------------------------------------------------------<BR>><BR>> _______________________________________________<BR>> SAP-WUG mailing list<BR>> <A href="mailto:SAP-WUG@mit.edu" ymailto="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>------------------------------<BR><BR>Message: 4<BR>Date: Thu, 28 Aug 2008 10:24:31 +0800<BR>From: "Ibrahim Khan" <<A href="mailto:ikhansap@gmail.com" ymailto="mailto:ikhansap@gmail.com">ikhansap@gmail.com</A>><BR>Subject: Re: Custom report to know the workflow approval
status<BR>To: "SAP Workflow Users' Group" <<A href="mailto:sap-wug@mit.edu" ymailto="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A>><BR>Message-ID:<BR> <<A href="mailto:fff808000808271924p2403428etcf934aa9c2f061c@mail.gmail.com" ymailto="mailto:fff808000808271924p2403428etcf934aa9c2f061c@mail.gmail.com">fff808000808271924p2403428etcf934aa9c2f061c@mail.gmail.com</A>><BR>Content-Type: text/plain; charset="iso-8859-1"<BR><BR>Hi Schumacher,<BR> Thanks a lot for this idea. I will try to implement this and let you know.<BR><BR>Regards,<BR>Ikhan<BR><BR>2008/8/28 Schumacher, Margaret <<A href="mailto:mschumacher@teleflexmedical.com" ymailto="mailto:mschumacher@teleflexmedical.com">mschumacher@teleflexmedical.com</A>><BR><BR>> Another FM to try is SAP_WAPI_WORKITEMS_BY_TASK and then<BR>> SAP_WAPI_READ_CONTAINER to get the result. If you know up front the<BR>> requirement to report on the results I think
having Z tables would work<BR>> better (but do we ever know all the requirements at the design phase?).<BR>><BR>> * get the tasks that qualify from selections<BR>> call function 'SAP_WAPI_WORKITEMS_BY_TASK'<BR>> exporting<BR>> time = ls_time<BR>> selection_status_variant = p_ss_var "<- closed tasks so you<BR>> can see the results<BR>> tables<BR>> task_filter = lt_tasks "<- prefill with the tasks to<BR>> look for<BR>> worklist = lt_worklist.<BR>><BR>> * for each entry need to read container info<BR>> loop at lt_worklist assigning
<lfs_wihdr>.<BR>><BR>> refresh: lt_cntr, lt_borobj, lt_allobj.<BR>> call function 'SAP_WAPI_READ_CONTAINER'<BR>> exporting<BR>> workitem_id = <lfs_wihdr>-wi_id<BR>> tables<BR>> simple_container = lt_cntr<BR>> subcontainer_bor_objects = lt_borobj<BR>> subcontainer_all_objects = lt_allobj.<BR>><BR>> * Determine the object of the wf task and set keys<BR>> loop at lt_cntr assigning <lfs_cntr>.<BR>> if <lfs_cntr>-element = '_WI_RESULT' or <lfs_cntr>-element =<BR>> 'APPRDESC'.<BR>> gs_tbl-wi_result = <lfs_cntr>-value.<BR>> endif.<BR>><BR>>
...<BR>> I never got a way to interpret the -value to the defined outcome so I coded<BR>> the mapping of the result value to a text description. any feedback on how<BR>> to get the wf definition text would be good to know.<BR>><BR>> Now I know we don't want to read tables directly but I had to get the Date<BR>> of execution for the report so I did the following:<BR>> * For completed tasks get who and when the task was completed.<BR>> * Date isn't returned by the WAPI so we have to read it. Option<BR>> * to read the table SWWLOGHIST exists but there are more entries<BR>> * then reading header table.<BR>> if not lt_worklist[] is initial.<BR>><BR>> select wi_id wi_aed wi_aagent from swwwihead<BR>> into table lt_loghist<BR>> for all entries in lt_worklist<BR>> where wi_id = lt_worklist-wi_id.<BR>><BR>>
sort lt_loghist by wi_id.<BR>><BR>> * need to get the wf initiator<BR>> select<BR>> wi_id wi_aagent wi_text wi_cd wi_ct wi_stat wi_rh_task wi_chckwi<BR>> from swwwihead<BR>> into table lt_wf<BR>> for all entries in lt_worklist<BR>> where wi_id = lt_worklist-wi_chckwi.<BR>><BR>> sort lt_wf by wi_id.<BR>><BR>> "for subflows get the parent wf initiator<BR>> loop at lt_wf assigning <lfs_wf> where wi_chckwi <> ' '.<BR>> select single wi_aagent from swwwihead into <lfs_wf>-wi_aagent<BR>> where wi_id = <lfs_wf>-wi_chckwi.<BR>> endloop.<BR>><BR>> endif.<BR>><BR>><BR>> Regards<BR>><BR>><BR>><BR>> Margaret
Schumacher<BR>><BR>><BR>> ------------------------------<BR>> *From:* Mike Pokraka [mailto:<A href="mailto:wug@workflowconnections.com" ymailto="mailto:wug@workflowconnections.com">wug@workflowconnections.com</A>]<BR>> *Sent:* Thursday, August 21, 2008 3:47 AM<BR>> *To:* 'SAP Workflow Users' Group'<BR>> *Subject:* RE: Custom report to know the workflow approval status<BR>><BR>> Please AVOID accessing tables directly if you have an alternative. Use FM<BR>> SAP_WAPI_WORKITEMS_TO_OBJECT.<BR>><BR>><BR>><BR>><BR>><BR>> *From:* <A href="mailto:sap-wug-bounces@mit.edu" ymailto="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</A> [mailto:<A href="mailto:sap-wug-bounces@mit.edu" ymailto="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</A>] *On<BR>> Behalf Of *Ibrahim Khan<BR>> *Sent:* 21 August 2008 06:31<BR>> *To:* SAP Workflow Users' Group<BR>> *Subject:* Re: Custom report
to know the workflow approval status<BR>><BR>><BR>><BR>> I am working on the Appropriation Request workflow for PS.<BR>> The information is not stored in standard tables because the approvers are<BR>> dynamic and selected while creating the Appropriation request.<BR>> In this case I need to explore the workflow related tables to create this<BR>> custom report.<BR>><BR>> On Thu, Aug 21, 2008 at 11:58 AM, Rahul Shukla <<A href="mailto:rahul_ariean@yahoo.com" ymailto="mailto:rahul_ariean@yahoo.com">rahul_ariean@yahoo.com</A>><BR>> wrote:<BR>><BR>> Pls go to se12 and search for swww*, there are header and workitem tables<BR>> from where based upon ur object name and task names, you can retrieve such<BR>> information.<BR>><BR>> You may need to join ur custom tables too to get the next level of<BR>> approvers , if you are maintaing there.<BR>><BR>> Regards,<BR>> Rahul<BR>> Something that
can't be re-cycled is Wasted Time.<BR>><BR>><BR>> --- On Thu, 8/21/08, Ibrahim Khan <<A href="mailto:ikhansap@gmail.com" ymailto="mailto:ikhansap@gmail.com">ikhansap@gmail.com</A>> wrote:<BR>><BR>> > From: Ibrahim Khan <<A href="mailto:ikhansap@gmail.com" ymailto="mailto:ikhansap@gmail.com">ikhansap@gmail.com</A>><BR>> > Subject: Custom report to know the workflow approval status<BR>> > To: "SAP Workflow Users' Group" <<A href="mailto:SAP-WUG@mit.edu" ymailto="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A>><BR>> > Date: Thursday, August 21, 2008, 8:44 AM<BR>><BR>> > Hi Friends,<BR>> > For one of my custom workflow the client needs a custom<BR>> > report to know the<BR>> > approval status. This custom workflow will be a multilevel<BR>> > approval and they<BR>> > want to know the status based on the object key(document<BR>> > number) like who<BR>> > has
approved it at what time, who else has to approve etc<BR>> > which standard<BR>> > workflow tables can be used for this? Please advice.<BR>><BR>> > _______________________________________________<BR>> > SAP-WUG mailing list<BR>> > <A href="mailto:SAP-WUG@mit.edu" ymailto="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>> _______________________________________________<BR>> SAP-WUG mailing list<BR>> <A href="mailto:SAP-WUG@mit.edu" ymailto="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>> _______________________________________________<BR>> SAP-WUG mailing list<BR>> <A
href="mailto:SAP-WUG@mit.edu" ymailto="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>-------------- next part --------------<BR>An HTML attachment was scrubbed...<BR>URL: <A href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20080828/5af6e881/attachment.htm" target=_blank>http://mailman.mit.edu/pipermail/sap-wug/attachments/20080828/5af6e881/attachment.htm</A><BR><BR>------------------------------<BR><BR>_______________________________________________<BR>SAP-WUG mailing list<BR><A href="mailto:SAP-WUG@mit.edu" ymailto="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>End of SAP-WUG Digest, Vol 45, Issue
67<BR>***************************************<BR></DIV></DIV></div><br>
<hr size=1> <a href="http://sg.rd.yahoo.com/aa/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/aa/"> New Email addresses available on Yahoo! </a> <br>
Get the Email name you've always wanted on the new @ymail and @rocketmail.<br>
Hurry before someone else does!</body></html>