Question regarding creating a rule based on vendor

Viera, Miguel VieraM at dhcmc.com
Tue Jul 21 09:47:39 EDT 2009


Nat,

The field (LIFNR) in the container element embedded in the workflow container through binding is the same as the field in the container element in the rule.  When I checked the task I created I noticed it did not have a container element for vendor so I created one.  I also checked "Terminate if rule resolution without result."  I refreshed the system in SWU_OBUF and tested the scenario with the following result:

Five separate responsibilities have been created in Rule 90300001.  The responsibilities have priorities from 1 to 5 and I have checked "Consider Secondary Priorities."  The test scenario on a Price Block WF for vendor #2 resulted in the work item getting assigned to the highest priority 5 even though that position is only responsible for vendor #69.  The work item should have been assigned to the position with the priority of 1.  I have also tested this with setting all priorities to 99 which resulted in the work item getting assigned to all the positions listed in the rule.   

For some reason it doesn't seem to want to select the specific position assigned to the vendor associated with the Price Block Workflow.  Thanks for your insight and for taking the time to reply.   

Miguel R. Viera
Deere-Hitachi C.M.C
SAP Business Analyst for FI-CO & SD Modules
Workflow Admin. & Winshuttle Template Designer
Phone: (336) 992-5759
----------------------------------------------------------------------

Message: 1
Date: Tue, 21 Jul 2009 14:50:59 +0200
From: Nat 4 Govender <ngovender4 at toyota.co.za>
Subject: Re: Question regarding creating a rule based on vendor
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Cc: "'sap-wug at mit.edu'" <sap-wug at mit.edu>, sap-wug-bounces at mit.edu
Message-ID:
	<OF91F7E631.ED5EC5C2-ON422575FA.00467C8E-422575FA.00462859 at toyota.co.za>
	
Content-Type: text/plain; charset="us-ascii"


Is the field in the workflow the same as the in the rule?

Check the binding in the task.

Also test the task itself.

Regards
Nat Govender
Toyota South Africa
IT - SAP Workflow Specialist
Internal Ext.   :  32645
Direct Line    :  +27 031 910 2645
Fax               :  086 607 0414
E-mail           :  ngovender4 at toyota.co.za

If you tell the truth, you don't have to remember anything.


                                                                           
             "Viera, Miguel"                                               
             <VieraM at dhcmc.com                                             
             >                                                          To 
             Sent by:                  "'sap-wug at mit.edu'"                 
             sap-wug-bounces at m         <sap-wug at mit.edu>                   
             it.edu                                                     cc 
                                                                           
                                                                   Subject 
             21-07-2009 02:45          Re: Question regarding creating a   
             PM                        rule based on vendor                
                                                                           
                                                                           
             Please respond to                                             
               "SAP Workflow                                               
               Users' Group"                                               
             <sap-wug at mit.edu>                                             
                                                                           
                                                                           




Nat,

The from value and the to value are the same in the rule.  I do have
multiple from and to values assigned per rule due to the number of vendors
assigned to a specific position.

EX.
Name                     From        To
Vendor             2           2
Vendor             22          22

I have checked "consider secondary priorities" and numbered the rules 1
through 5; however, when I initiate a Price Block Workflow the position
chosen through my rule ends up being the highest priority regardless of
whether it is their assigned vendor from the rule.  The strange thing is
that this is testing successfully for the different rules I have created in
"Simulate rule resolution."

Thanks for your comment.

Miguel R. Viera
Deere-Hitachi C.M.C
SAP Business Analyst for FI-CO & SD Modules
Workflow Admin. & Winshuttle Template Designer
Phone: (336) 992-5759





More information about the SAP-WUG mailing list