Skip to Content
author's profile photo Former Member
Former Member

How we will distribute mails

Hi,

In PO wokflow requirement some conditions are like this:

Less than 5000 amount should get the mail to 1st manager for Approval.

Between 5000 to 10,000 should get mail for Approval to 2nd manager

More than 10,000 should go mail to 3rd manager.

How we can share all these conditions to 3 managers.

Thanks and have a great day!!!

Soni

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Apr 20, 2007 at 01:33 PM

    Perhaps by using the standard N-step approval solution from SAP? I think you have to be using SRM to have this solution available, but I am not sure.

    Have you read the documentation for it and determined it does not satisfy your requirements? If so, what are the issues that you need to solve?

    And as always: version?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 20, 2007 at 08:03 PM

    Hi,

    I guess you are using the normal ERP system. If yes then you can acheive this by two methods:

    1. In customizing of the PO release procedure you can have a characteristic in a class which is of type CEKKO-NETWR which is the net value of the PO. When you are configuring your release procedure then you can specify the amount in this charachteristic and the right release procedure will kick off. You also (optionally) have the option of using the standard workflow for this and you can assign different agents for different release procedures.

    For more information about this refer this link:

    http://help.sap.com/saphelp_erp2005vp/helpdata/en/75/ee14a355c811d189900000e8322d00/frameset.htm

    2. If you are too lazy to do this there is a simple way of doing the entire stuff.

    The standard Business Object BUS2012 for PO does not have the attribute of the amount. Create a subtype of this BO and add an attribute of type EKPO-NETWR which is a virtual attribute. Now behind that attribute just write the code:

    data: p_netwr type ekpo-netwr

    select sum( effwr ) from ekpo into p_netwr where ebeln = object-key-purchaseorder.

    move p_netwr to object-netamount.

    SWC_SET_ELEMENT CONTAINER 'NetAmount' OBJECT-NETAMOUNT.

    In the above code it is assumed that you name the attribute as NetAmount.

    Once you do this in your workflow you can have a multiple condition for the netamount and then branch you workflow to the number of conditions you want. For below 5000, Between 5000 - 10000 and more than 10000. In those branches call the release method in the BO and do the agent assignment to the right manager.

    Hope this helps,

    Sudhi

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 21, 2007 at 09:54 AM

    Hi Soni,

    the strategy of (if amount < 400) whatever...is done through Release Strategy done by the functional guys,

    and for your WF, you need to apply logic for an N-Step approval.

    Aditya.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.