Purchase Requisition BUS2105

Ananth write2ananth at gmail.com
Sun Oct 23 12:28:26 EDT 2005


Hi Jeff,

Thanks for the reply.
I am sending a mail by calling the SO_NEW_DOCUMENT_SEND_API1 function
module. I have created a custom method, in which I get all the
relevant release codes from the T16FS table based on Release strategy
and based on the release codes, I get all the users from T16FW table
and send an notification mail , who will involved in releasing the
purchase requisition.

The problem is that, when there are 3 release codes to release the
requisition, the workflow is executed thrice ( this is also mentioned
in the SAP help, whenever there is a change in Release Code, workflow
is triggered each time) , since the custom task is at the beginning,
just before the requisition is to be released, this task is executed
thrice for 3 release codes for the same requisition, which I dont
want. This should be executed only the 1st time.

Can you pls give me a pointer how to solve this problem.

Thanks,
Ananth




On 10/23/05, Jeff Rappaport <Jeff at business-workflow.com> wrote:
> Ananth,
>
>    You're reinventing the wheel twice over, if you want to use a WF Step to
> send an email, use BO Method SELFITEM.SENDTASKDESCRIPTION. If you want the
> easier way, just use Pgm. RSWUWFML or RSWUWFML2 (depending on your system).
>
> Jeffrey A. Rappaport
> Business Workflow, LLC
> Voice: (732) 355-0123
> Fax:    (509) 757-4144
> Email: Jeff at Business-Workflow.com
> Web:  www.Business-Workflow.com
>
> ----- Original Message -----
> From: Ananth
> To: sap-wug at mitvma.mit.edu
> Sent: Sunday, October 23, 2005 2:02 AM
> Subject: Purchase Requisition BUS2105
>
> Hi All,
>
> I am using BUS2105 business object for releasing Purchase requisitions
> based on release strategies in SAP 5.0 version.
>
> The standard workflow template is WS20000077. The requirement is,
> there is a need to send notification mail to the person/persons who
> are supposed to release the Purchase Requistions.
>
> When there are 2 levels of release, the notification mail is sent to
> only the 1st person. I have created a new task in the custome template
> just before 'Overall release of Pur Req'  task,  to get the userid
> based on the release code and call the function module
> 'SO_NEW_DOCUMENT_SEND_API1' to send the notification mail.
>
> After the 1st person releases the Purchase Req, then the workitem is
> sent to the 2nd person, to release, but the notification mail is not
> being sent to that person. Can someone pls let me know how the
> notification mail can be sent to the 2nd person.
>
>
> Thanks in advance,
> Ananth
>
> _______________________________________________
> 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
>
>
>



More information about the SAP-WUG mailing list