Resend woritem via Extended notification

Shai Eyal shai.eyal at yahoo.com
Thu Aug 28 01:02:56 EDT 2008


Ramki Maley,
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.
 
Regards,
Shai Eyal
SAP Logistics senior consultant
SAP Workflow specialist
Mobile: 972-52-5816633



----- Original Message ----
From: "sap-wug-request at mit.edu" <sap-wug-request at mit.edu>
To: sap-wug at mit.edu
Sent: Thursday, August 28, 2008 5:25:08
Subject: SAP-WUG Digest, Vol 45, Issue 67

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. Resend woritem via Extended notification (Shai Eyal)
  2. Gordon Blackmore/SaskTel/CA is out of the office.
      (Gordon Blackmore)
  3. Re: Resend woritem via Extended notification (Ramki Maley)
  4. Re: Custom report to know the workflow approval status
      (Ibrahim Khan)


----------------------------------------------------------------------

Message: 1
Date: Wed, 27 Aug 2008 12:01:13 -0700 (PDT)
From: Shai Eyal <shai.eyal at yahoo.com>
Subject: Resend woritem via Extended notification
To: sap-wug <sap-wug at mit.edu>
Message-ID: <799486.66172.qm at web59105.mail.re1.yahoo.com>
Content-Type: text/plain; charset="utf-8"

Hi all,

I've scheduled SWN_SELSEN?(and customized?Extended notification) and it works well.
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.

Back in old RSWUWFML2 it?is possible to limit by task + agent + date + time.

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.

Thanks,
?
Regards,
Shai Eyal
SAP Logistics senior consultant
SAP Workflow specialist
Mobile: 972-52-5816633


      New Email names for you! 
Get the Email name you've always wanted on the new @ymail and @rocketmail. 
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20080827/0b6860ad/attachment-0001.htm

------------------------------

Message: 2
Date: Wed, 27 Aug 2008 14:29:32 -0600
From: Gordon Blackmore <gordon.blackmore at sasktel.sk.ca>
Subject: Gordon Blackmore/SaskTel/CA is out of the office.
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
    <OF98417BD6.21615C22-ON062574B2.0070913D-062574B2.0070913D at sasktel.sk.ca>
    
Content-Type: text/plain; charset=US-ASCII


I will be out of the office starting  08/27/2008 and will not return until
09/02/2008.

I will out of the office starting returning until 2008-9-2



------------------------------

Message: 3
Date: Wed, 27 Aug 2008 17:04:26 -0400
From: Ramki Maley <workflow99 at aol.com>
Subject: Re: Resend woritem via Extended notification
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID: <48B5C15A.7010809 at aol.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

Shai,

Have you looked at the Reminder Days parameter in Subscription settings? 
You can set it to send Notifications again but not on the same day if 
that is your requirement.

Cheers,
Ramki Maley.

Shai Eyal wrote:
> Hi all,
>  
> I've scheduled SWN_SELSEN (and customized Extended notification) and 
> it works well.
> 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.
>  
> Back in old RSWUWFML2 it is possible to limit by task + agent + date + 
> time.
>  
> 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.
>  
> Thanks,
>  
>
> *Regards,
> Shai Eyal*
>
> *SAP Logistics senior consultant
> SAP Workflow specialist
> Mobile: 972-52-5816633*
>
>
> ------------------------------------------------------------------------
> New Email addresses available on Yahoo! 
> <http://sg.rd.yahoo.com/aa/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/aa/> 
>
> Get the Email name you've always wanted on the new @ymail and @rocketmail.
> Hurry before someone else does!
> ------------------------------------------------------------------------
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>  


------------------------------

Message: 4
Date: Thu, 28 Aug 2008 10:24:31 +0800
From: "Ibrahim Khan" <ikhansap at gmail.com>
Subject: Re: Custom report to know the workflow approval status
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
    <fff808000808271924p2403428etcf934aa9c2f061c at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi Schumacher,
  Thanks a lot for this idea. I will try to implement this and let you know.

Regards,
Ikhan

2008/8/28 Schumacher, Margaret <mschumacher at teleflexmedical.com>

>  Another FM to try is SAP_WAPI_WORKITEMS_BY_TASK and then
> SAP_WAPI_READ_CONTAINER to get the result.  If you know up front the
> requirement to report on the results I think having Z tables would work
> better (but do we ever know all the requirements at the design phase?).
>
>  * get the tasks that qualify from selections
>    call function 'SAP_WAPI_WORKITEMS_BY_TASK'
>      exporting
>        time                    = ls_time
>        selection_status_variant = p_ss_var "<- closed tasks so you
> can see the results
>      tables
>        task_filter              = lt_tasks  "<- prefill with the tasks to
> look for
>        worklist                = lt_worklist.
>
>    * for each entry need to read container info
>  loop at lt_worklist assigning <lfs_wihdr>.
>
>    refresh: lt_cntr, lt_borobj, lt_allobj.
>    call function 'SAP_WAPI_READ_CONTAINER'
>      exporting
>        workitem_id              = <lfs_wihdr>-wi_id
>      tables
>        simple_container        = lt_cntr
>        subcontainer_bor_objects = lt_borobj
>        subcontainer_all_objects = lt_allobj.
>
> *  Determine the object of the wf task and set keys
>    loop at lt_cntr assigning <lfs_cntr>.
>      if <lfs_cntr>-element = '_WI_RESULT' or <lfs_cntr>-element =
> 'APPRDESC'.
>        gs_tbl-wi_result = <lfs_cntr>-value.
>      endif.
>
> ...
> I never got a way to interpret the -value to the defined outcome so I coded
> the mapping of the result value to a text description.  any feedback on how
> to get the wf definition text would be good to know.
>
> Now I know we don't want to read tables directly but I had to get the Date
> of execution for the report so I did the following:
>  * For completed tasks get who and when the task was completed.
> * Date isn't returned by the WAPI so we have to read it.  Option
> * to read the table SWWLOGHIST exists but there are more entries
> * then reading header table.
>  if not lt_worklist[] is initial.
>
>    select wi_id wi_aed wi_aagent from swwwihead
>      into table lt_loghist
>      for all entries in lt_worklist
>      where wi_id = lt_worklist-wi_id.
>
>    sort lt_loghist by wi_id.
>
> *  need to get the wf initiator
>    select
>  wi_id wi_aagent wi_text wi_cd wi_ct wi_stat wi_rh_task wi_chckwi
>        from swwwihead
>        into table lt_wf
>        for all entries in lt_worklist
>        where wi_id = lt_worklist-wi_chckwi.
>
>    sort lt_wf by wi_id.
>
>    "for subflows get the parent wf initiator
>    loop at lt_wf assigning <lfs_wf> where wi_chckwi <> ' '.
>      select single wi_aagent from  swwwihead into <lfs_wf>-wi_aagent
>        where wi_id = <lfs_wf>-wi_chckwi.
>    endloop.
>
>  endif.
>
>
> Regards
>
>
>
> Margaret Schumacher
>
>
>  ------------------------------
> *From:* Mike Pokraka [mailto:wug at workflowconnections.com]
> *Sent:* Thursday, August 21, 2008 3:47 AM
> *To:* 'SAP Workflow Users' Group'
> *Subject:* RE: Custom report to know the workflow approval status
>
>  Please AVOID accessing tables directly if you have an alternative. Use FM
> SAP_WAPI_WORKITEMS_TO_OBJECT.
>
>
>
>
>
> *From:* sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] *On
> Behalf Of *Ibrahim Khan
> *Sent:* 21 August 2008 06:31
> *To:* SAP Workflow Users' Group
> *Subject:* Re: Custom report to know the workflow approval status
>
>
>
> I am working on the Appropriation Request workflow for PS.
> The information is not stored in standard tables because the approvers are
> dynamic and selected while creating the Appropriation request.
> In this case I need to explore the workflow related tables to create this
> custom report.
>
> On Thu, Aug 21, 2008 at 11:58 AM, Rahul Shukla <rahul_ariean at yahoo.com>
> wrote:
>
> Pls go to se12 and search for swww*, there are header and workitem tables
> from where based upon ur object name and task names, you can retrieve such
> information.
>
> You may need to join ur custom tables too to get the next level of
> approvers , if you are maintaing there.
>
> Regards,
> Rahul
> Something that can't be re-cycled is Wasted Time.
>
>
> --- On Thu, 8/21/08, Ibrahim Khan <ikhansap at gmail.com> wrote:
>
> > From: Ibrahim Khan <ikhansap at gmail.com>
> > Subject: Custom report to know the workflow approval status
> > To: "SAP Workflow Users' Group" <SAP-WUG at mit.edu>
> > Date: Thursday, August 21, 2008, 8:44 AM
>
> > Hi Friends,
> > For one of my custom workflow the client needs a custom
> > report to know the
> > approval status. This custom workflow will be a multilevel
> > approval and they
> > want to know the status based on the object key(document
> > number) like who
> > has approved it at what time, who else has to approve etc
> > which standard
> > workflow tables can be used for this? Please advice.
>
> > _______________________________________________
> > 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
>
>
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20080828/5af6e881/attachment.htm

------------------------------

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


End of SAP-WUG Digest, Vol 45, Issue 67
***************************************



      Get your preferred Email name!
Now you can @ymail.com and @rocketmail.com. 
http://mail.promotions.yahoo.com/newdomains/aa/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20080827/da4caf15/attachment.htm


More information about the SAP-WUG mailing list