Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Tips needed for Workflow of PR ???

Former Member
0 Kudos

Hi All,

I am supposed to design a WF for PR object type BUS2105 and this the scenario,

when a requisitioner has issued a purchase requisition < USD 16,000 under some buyer code e.g.,("816"), the system should change this buyer code to transaction buyer code "Q10". and PR's for certain plants in country e.g, austria are exluded.

Right now I am considering WF is triggered on creation/change of PR. and next step will be a condition where all PR < 16.000 are selected to be sent to next step where buyer code is changed to "816" but <b>what step type</b> should I use here?? I am also confused with the tasks I should use to replace the buyer code with "816" and <b>what method of the object type BUS2105</b> should I use to create this task. and <b>how to exclude PR's from austria.</b>

Any Help is Highly appreciated and Rewarded. Thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hai

Aleem Hajee

I dont know much regarding the functionality of ur scenario but i will try to help u from workflow part.....instead of checking the condition in ur workflow ,u better check it before triggering ur workflow.u can do it in start conditions of start events in basic data..u give a condition something like ' PR < USD 16,000 and country NE australia ' ,to do this u need to have attributes which hold the country and value of PR.so check out if they are available in BUS2105,if not create a subtype and the required attributes .Regarding change of buyer code,i think u can use the method ' change ' of BUS2105.

Thanks & Regards

Jhansikiran

4 REPLIES 4

Former Member
0 Kudos

Hai

Aleem Hajee

I dont know much regarding the functionality of ur scenario but i will try to help u from workflow part.....instead of checking the condition in ur workflow ,u better check it before triggering ur workflow.u can do it in start conditions of start events in basic data..u give a condition something like ' PR < USD 16,000 and country NE australia ' ,to do this u need to have attributes which hold the country and value of PR.so check out if they are available in BUS2105,if not create a subtype and the required attributes .Regarding change of buyer code,i think u can use the method ' change ' of BUS2105.

Thanks & Regards

Jhansikiran

0 Kudos

Hi Kiran,

First I would like to thank you for your time. I was trying to follow your approach, and I did find total amt of PR and will also create attribute for country in subtype of BUS2105., but didn't understand by "u can do it in start conditions of start events in basic data", Are you referring to transaction code SWB_COND. And Can you please briefly explain, how I link this start condition of <b>start event</b> with to the WF bulider?? where I trigger WF.

Thanks in advance.

0 Kudos

Kiran,

I have found the start conditions of start events, in basic data page, thanks a lot, and as far the Buyer code, I guess we need to use Method 'RoleResolution' , but I was also considering step type <b>container operation</b> to store the outcome !!, can tell you tell me if I can do this??

Thanks.

Former Member