on 08-16-2011 1:14 PM
Hello all, I am using SRM 7.0 and process controlled worklfow. I need that when the shopping cart was totally rejected, the system send an email to shopping cart creator and he/she can modify or accept the decision.
I followed this wiki http://wiki.sdn.sap.com/wiki/display/SRM/EnablingWIreturningtotherequestorwhendocumentisfullyrejected
but I don´t understand how can I create expression that appears in the explanation about 0V_WF_CURRENT_DECISI = 'REJECTED'.
How can I create it?
Thanks in advance
Rosa Rodríguez
Edited by: Rosa Rodriguez on Aug 16, 2011 7:44 AM
Hi,
You have to create custom event and expression in T.CODE BRF.
step 1 . create a custom Boolean Expression and enter formula as 0V_WF_CURRENT_DECISI = 'REJECTED'.
step 2 . create a custom event.
step 3. attach the expression into event.
step 4. specify the event as evaluation id in the process level configuration.
Saravanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello. Can you help me to follow all steps to create new expression? This is my problem
Transaction BRF
I have here application SRM_WF but which group may I have to select? Group 9B0 for example?
Under this I have Group 9SC - Expressions
With right button I can create the expression. Fields to fill are:
Expression (new value that I want to create)
Implementation class (I think is 03O001 for boolean expression)
And other values as operation, positive formulation, etc... Where can I put 0V_WF_CURRENT_DECISI = 'REJECTED'?
Sorry but I don´t create any expression and I don´t know how to do it very well
Thanks in advance
Rosa Rodríguez
Hi,
I am sorry for not make you understand. Follow the steps
1 . goto BRF
2. enter the BRF objects as SRM_WF
3 . Expend the folder all Groups
4 . right click on expression to create a new expression
5 . enter the ZEX_REJECTED as expression and enter the impl.class as OFB001. the result type must be B.
6 . now can see the formula editor on bottom of the screee.
7. enter the formula as 0V_WF_CURRENT_DECISI = 'REJECTED'.
8. Save into the transport request.
9. create a new event as ZEV_REJECTED.
10. attached the expression ZEX_REJECTED into ZEV_REJECTED event.
11 . specify the zev_rejected as evaluation id in the process level configuration under acceptance by contract person
node with task id as 40007994.
test now.
Saravanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.