Notification to a subscription list

Mike Pokraka wug at workflowconnections.com
Mon Oct 18 07:01:41 EDT 2010


Hi Stephane,

Distribution lists are a useful feature (in my opinion), and also fairly
easy to implement:
Create your DL in SAPOffice, and read it with SO_DLI_READ_API1 in a BOR
virtual attribute or OO functional method that you can then just plug in
as an expression. If you do this in a functional method, you can even pass
parameters in from your WF to use different DLs according to runtime info.
With a bit of naming convention discipline or folder systems you can do
stuff like give users the option to subscribe to a DL by plant and the
likes.

Cheers,
Mike


On Mon, October 18, 2010 10:58 am, Stéphane Bailleul wrote:
> Hi All,
>
> I have a very special request.
>
> I would like to know if it is possible to send notification (from a
> notification tab in a workflow step) to an SAP Subscription List ?
>
> The different people could then manage their subscription directly from
> their inbox .
>
> Best Regards
> Stephane
>
>
> ----- Mail Original -----
> De: sap-wug-request at mit.edu
> À: sap-wug at mit.edu
> Envoyé: Lundi 18 Octobre 2010 08h08:33 GMT +01:00 Amsterdam / Berlin /
> Berne / Rome / Stockholm / Vienne
> Objet: SAP-WUG Digest, Vol 71, Issue 25
>
> 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: Workflow Stucks at Background Step with status Completed
>       (priyank dev)
>    2. Re: Workflow Stucks at Background Step with status Completed
>       (Bhupinder)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 18 Oct 2010 11:31:55 +0530
> From: priyank dev <priyank.dev at gmail.com>
> Subject: Re: Workflow Stucks at Background Step with status Completed
> To: "SAP Workflow Users' Group" <sap-wug at MIT.EDU>
> Message-ID:
> 	<AANLkTinb9Yp79hhN4CT9tE4-uVnF5ypFv4ZOVUYfCVcW at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Singh,
>            Why dont you add one dummy task after the mail step.Then add
> your
> step 3.Or else you can restart the workflow where it got stopped(worst
> case)
> but this is not the proper solution for your issue.Even i had been almost
> same kind of issue.I have added one dummy task after that and it worked.
>
> Regards,
> Priyank
>
> On Sat, Oct 16, 2010 at 1:28 PM, Bhupinder <bsingh82 at gmail.com> wrote:
>
>>  In SWI1, it is not showing anything for Step3 task.
>>
>> I think its better to restart the workflow.
>>
>> Best Regards,
>> Singh
>>
>>   On Sat, Oct 16, 2010 at 10:50 AM, Rick Bakker <rbakker at gmail.com>
>> wrote:
>>
>>> Hello,
>>>
>>> Sorry, I don't know what to advise you, I have never seen workflow
>>> complete one step and not start the next.
>>> In SWI1, what statuses are showing for the workflow itself and for
>>> each of the steps?
>>>
>>> regards
>>> Rick Bakker
>>> Hanabi Technology
>>>
>>>  On Sat, Oct 16, 2010 at 6:44 PM, Bhupinder <bsingh82 at gmail.com> wrote:
>>> > Hi Rick,
>>> >
>>> > Workflow has not reached to Step3. it got stucked After executing
>>> Step2
>>> i.e.
>>> > background step with status Completed.
>>> >
>>> > In workflow log, Step2  has status Completed and Result = mail Sen
>>> but no
>>> > item for Step3.
>>> >
>>> > Best Regards,
>>> > Bhupinder
>>> >
>>> > On Sat, Oct 16, 2010 at 10:37 AM, Rick Bakker <rbakker at gmail.com>
>>> wrote:
>>> >>
>>> >> Hello,
>>> >>
>>> >> You said:
>>> >> "Status is completed for this step 2"
>>> >>
>>> >> You cannot restart this step, nor is there any reason why you
>>> should.
>>> >> It has completed.
>>> >> If it didn't send the email then you could always send it yourself.
>>> >>
>>> >> What is the status of the following step? Workflow has to be at one
>>> >> step or the other.
>>> >>
>>> >> regards
>>> >> Rick Bakker
>>> >> Hanabi Technology
>>> >>
>>> >> On Sat, Oct 16, 2010 at 6:27 PM, Bhupinder <bsingh82 at gmail.com>
>>> wrote:
>>> >> > Hi Rick,
>>> >> >
>>> >> > Error is in SO_OBJECT which is used to send an email. But i want
>>> to
>>> >> > restart
>>> >> > the same step again, which is currently not possible due to
>>> Completed
>>> >> > status
>>> >> > of workitem.
>>> >> >
>>> >> > is there any way to change the staus from completed to Ready with
>>> using
>>> >> > FM?
>>> >> >
>>> >> > Best Regards,
>>> >> > Bhupinder
>>> >> >
>>> >> > On Sat, Oct 16, 2010 at 10:21 AM, Rick Bakker <rbakker at gmail.com>
>>> wrote:
>>> >> >>
>>> >> >> Hello,
>>> >> >>
>>> >> >> The obvious question: what's the error in ST22? You should check
>>> it
>>> >> >> with OSS and elsewhere on the web.
>>> >> >>
>>> >> >> regards
>>> >> >> Rick Bakker
>>> >> >> Hanabi Technology
>>> >> >>
>>> >> >> On Sat, Oct 16, 2010 at 6:08 PM, Bhupinder <bsingh82 at gmail.com>
>>> wrote:
>>> >> >> > Dear Experts,
>>> >> >> >
>>> >> >> > Scenario -
>>> >> >> > Step2- Email Step which a background activity.
>>> >> >> > Step-3 Foreground Step which will pick the agent from HR.
>>> >> >> >
>>> >> >> > After Execution of Step-2 i.e. background activity, workflow
>>> stucks
>>> >> >> > there
>>> >> >> > only. Status is completed for this step 2. I have checked ST22,
>>> there
>>> >> >> > is
>>> >> >> > some error came.
>>> >> >> >
>>> >> >> > I dont know how to fix it, i need to restart this workflow from
>>> Step2
>>> >> >> > onwards. I am in production, so dont have authorization to run
>>> any
>>> >> >> > RFC.
>>> >> >> >
>>> >> >> > Can you please help me in this?
>>> >> >> >
>>> >> >> > Thanks in Advance.
>>> >> >> >
>>> >> >> > Best Regards,
>>> >> >> > Bhupinder
>>> >> >> >
>>> >> >> >
>>> >> >> > _______________________________________________
>>> >> >> > 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
>>> >> >
>>> >> >
>>> >> _______________________________________________
>>> >> 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
>>>
>>
>>
>> _______________________________________________
>> SAP-WUG mailing list
>> SAP-WUG at mit.edu
>> http://mailman.mit.edu/mailman/listinfo/sap-wug
>>
>>
>
>
> --
> Adios,
> PRIYANK DEV PATIL
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mailman.mit.edu/pipermail/sap-wug/attachments/20101018/f91f9328/attachment-0001.htm
>
> ------------------------------
>
> Message: 2
> Date: Mon, 18 Oct 2010 09:08:30 +0300
> From: Bhupinder <bsingh82 at gmail.com>
> Subject: Re: Workflow Stucks at Background Step with status Completed
> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
> Message-ID:
> 	<AANLkTik87bUn=ehQNCJPYSgc3D+xA_x-Goc2OH6ZLxQR at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I am in production system, wont do anything. What i did, i simply
> cancelled
> the workflow and restarted it again.
>
> BTW, dump was due to low memory completed status of workitem can't allowed
> me to do anything with current instance of workflow.
>
> Thanks for your help.
>
> Best Regards,
> Bhupinder Singh
>
> On Mon, Oct 18, 2010 at 9:01 AM, priyank dev <priyank.dev at gmail.com>
> wrote:
>
>> Singh,
>>            Why dont you add one dummy task after the mail step.Then add
>> your step 3.Or else you can restart the workflow where it got
>> stopped(worst
>> case) but this is not the proper solution for your issue.Even i had been
>> almost same kind of issue.I have added one dummy task after that and it
>> worked.
>>
>> Regards,
>> Priyank
>>
>>   On Sat, Oct 16, 2010 at 1:28 PM, Bhupinder <bsingh82 at gmail.com> wrote:
>>
>>>  In SWI1, it is not showing anything for Step3 task.
>>>
>>> I think its better to restart the workflow.
>>>
>>> Best Regards,
>>> Singh
>>>
>>>   On Sat, Oct 16, 2010 at 10:50 AM, Rick Bakker
>>> <rbakker at gmail.com>wrote:
>>>
>>>> Hello,
>>>>
>>>> Sorry, I don't know what to advise you, I have never seen workflow
>>>> complete one step and not start the next.
>>>> In SWI1, what statuses are showing for the workflow itself and for
>>>> each of the steps?
>>>>
>>>> regards
>>>> Rick Bakker
>>>> Hanabi Technology
>>>>
>>>>  On Sat, Oct 16, 2010 at 6:44 PM, Bhupinder <bsingh82 at gmail.com>
>>>> wrote:
>>>> > Hi Rick,
>>>> >
>>>> > Workflow has not reached to Step3. it got stucked After executing
>>>> Step2
>>>> i.e.
>>>> > background step with status Completed.
>>>> >
>>>> > In workflow log, Step2  has status Completed and Result = mail Sen
>>>> but no
>>>> > item for Step3.
>>>> >
>>>> > Best Regards,
>>>> > Bhupinder
>>>> >
>>>> > On Sat, Oct 16, 2010 at 10:37 AM, Rick Bakker <rbakker at gmail.com>
>>>> wrote:
>>>> >>
>>>> >> Hello,
>>>> >>
>>>> >> You said:
>>>> >> "Status is completed for this step 2"
>>>> >>
>>>> >> You cannot restart this step, nor is there any reason why you
>>>> should.
>>>> >> It has completed.
>>>> >> If it didn't send the email then you could always send it yourself.
>>>> >>
>>>> >> What is the status of the following step? Workflow has to be at one
>>>> >> step or the other.
>>>> >>
>>>> >> regards
>>>> >> Rick Bakker
>>>> >> Hanabi Technology
>>>> >>
>>>> >> On Sat, Oct 16, 2010 at 6:27 PM, Bhupinder <bsingh82 at gmail.com>
>>>> wrote:
>>>> >> > Hi Rick,
>>>> >> >
>>>> >> > Error is in SO_OBJECT which is used to send an email. But i want
>>>> to
>>>> >> > restart
>>>> >> > the same step again, which is currently not possible due to
>>>> Completed
>>>> >> > status
>>>> >> > of workitem.
>>>> >> >
>>>> >> > is there any way to change the staus from completed to Ready with
>>>> using
>>>> >> > FM?
>>>> >> >
>>>> >> > Best Regards,
>>>> >> > Bhupinder
>>>> >> >
>>>> >> > On Sat, Oct 16, 2010 at 10:21 AM, Rick Bakker <rbakker at gmail.com>
>>>> wrote:
>>>> >> >>
>>>> >> >> Hello,
>>>> >> >>
>>>> >> >> The obvious question: what's the error in ST22? You should check
>>>> it
>>>> >> >> with OSS and elsewhere on the web.
>>>> >> >>
>>>> >> >> regards
>>>> >> >> Rick Bakker
>>>> >> >> Hanabi Technology
>>>> >> >>
>>>> >> >> On Sat, Oct 16, 2010 at 6:08 PM, Bhupinder <bsingh82 at gmail.com>
>>>> wrote:
>>>> >> >> > Dear Experts,
>>>> >> >> >
>>>> >> >> > Scenario -
>>>> >> >> > Step2- Email Step which a background activity.
>>>> >> >> > Step-3 Foreground Step which will pick the agent from HR.
>>>> >> >> >
>>>> >> >> > After Execution of Step-2 i.e. background activity, workflow
>>>> stucks
>>>> >> >> > there
>>>> >> >> > only. Status is completed for this step 2. I have checked
>>>> ST22,
>>>> there
>>>> >> >> > is
>>>> >> >> > some error came.
>>>> >> >> >
>>>> >> >> > I dont know how to fix it, i need to restart this workflow
>>>> from
>>>> Step2
>>>> >> >> > onwards. I am in production, so dont have authorization to run
>>>> any
>>>> >> >> > RFC.
>>>> >> >> >
>>>> >> >> > Can you please help me in this?
>>>> >> >> >
>>>> >> >> > Thanks in Advance.
>>>> >> >> >
>>>> >> >> > Best Regards,
>>>> >> >> > Bhupinder
>>>> >> >> >
>>>> >> >> >
>>>> >> >> > _______________________________________________
>>>> >> >> > 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
>>>> >> >
>>>> >> >
>>>> >> _______________________________________________
>>>> >> 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
>>>>
>>>
>>>
>>> _______________________________________________
>>> SAP-WUG mailing list
>>> SAP-WUG at mit.edu
>>> http://mailman.mit.edu/mailman/listinfo/sap-wug
>>>
>>>
>>
>>
>> --
>> Adios,
>> PRIYANK DEV PATIL
>>
>>
>> _______________________________________________
>> 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/20101018/d0eeddac/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 71, Issue 25
> ***************************************
>
> _______________________________________________
> 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