on 06-25-2010 11:53 AM
Hi Experts ,
I need to trigger my actions based on the previous status also .( Sending emails )
Example : I have to 2 actions A1 & A2 which are getting triggerd when my status is Approved.
1 . Action A1 should get trigger when my status changes from In process to Approved .
2 . Action A2 should get trigger when my status changes from "TO be aprroved" to Approved .
For this i found Note : 865619 . I implemented BADI CONTAINER_PPF .
i activated BADI and my implementation . But my code is not getting triggered .Can you please help on this .
Thanks in advance ,
Vijay
Hey Raj,
i am scared you misunderstood the SAP Note content: "You would like to have the actions scheduled only if specific status has been set NEWLY. This means, if a status has been existing and the transaction is processed, the actions should NOT be scheduled again."
Your pain point is not the same. You do not care about if its the first time you re reaching a status but from Where are you reaching the status.
In order to do that you have to enhance the BUS that is used for ChaRM / SD documents: BUS2000116.
You should create a subtype of BUS2000116, for example ZBUS200116 and add your parameter with the corresponding code( getting previous value of status maybe using change document)
Do not forget to assign your CRM document to your new bus.
Transaction to use for creating bus subtype is : Business Object Builder : SWO1
Hope this helps
Regards
Khalil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijay,
Please check note 1275036 "Linking action execution and status change"
Best Regards
Fernando
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raj,
Did you check the link http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d06db8e2-5036-2c10-1a97-dee1364fc... . It might be helpful for you .
Regards,
Nibu Antony
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.