Application Development and Automation 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: 
Read only

regarding workflows and agent assignments!!!

Former Member
0 Likes
1,598

hi all....

i hav a requirement and for that i need ur help.

it goes like this.

All PRs that are created need to undergo a release process which typicaly is an approval process.

--a Requisition is sent for release once it is created.

-- level of approvers will be determined thru release strategy.

--each level wil b associated with a code which determines position of the approver.

--each level wil hav the option of either approving of rejecting the perticular object.

--for all levels mail wil be sent.

now my problem begins at step 2 above.how to determine the level of approvers. what do i need to know to determine this ? is there some standard rule or function module or some method of doing this??... quick help will be highly appreciated!!!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,557

hii

can u be clear.

wht is the release stratergy??

Regards,

Sabari

hi all....

i hav a requirement and for that i need ur help.

it goes like this.

All PRs that are created need to undergo a release process which typicaly is an approval process.

--a Requisition is sent for release once it is created.

-- level of approvers will be determined thru release strategy.

--each level wil b associated with a code which determines position of the approver.

--each level wil hav the option of either approving of rejecting the perticular object.

--for all levels mail wil be sent.

now my problem begins at step 2 above.how to determine the level of approvers. what do i need to know to determine this ? is there some standard rule or function module or some method of doing this??... quick help will be highly appreciated!!!

13 REPLIES 13
Read only

Former Member
0 Likes
1,558

hii

can u be clear.

wht is the release stratergy??

Regards,

Sabari

Read only

0 Likes
1,557

hi...

actually dats wat i was asking.... so u mean first i need to know the release strategy.. d i need to create it or the functional people to do it for me??

Read only

0 Likes
1,557

hi,

will the approvers been selected dynamically , after the requisiton is released ?

ask your fuctional , to maintain the level of approvers with the release stratergy.

regards,

sabari

Read only

0 Likes
1,557

approvers are to be determined from table t16fs-frgc table by passing eban-frgst into t16fs-frgsx and eban-frggr into t16fs-frggr for perticular eban-banfn.

Read only

0 Likes
1,557

hi

so first get the approvers from that table .

check for the number of approvers.

then create a multiple condition step type with no_of approvers as condition ( in workflow).

you will get n branches , based on the no_of approvers .

In each branch , u bind the task which is to be done.

Regards,

Sabari

Read only

0 Likes
1,557

u mean i wil be required to write a code to get the approvers from the table. so whr am i supposed to write the code?? i hav the logic reasy with me. my FS says i can use a customer enhancement M06B0001to get the approver id as per the given details.i went throu that cust enhancement. it has one fm, dats it... moreover i hav to modify the standard wf WS20000077 for achieving the approval process fr release of PRs in the system.

Read only

0 Likes
1,557

hi,

have u solved it.

or do u need any inputs.

Regards,

Sabari

Read only

0 Likes
1,557

hi Sabari,

well i am stil not able to work out the use of the customer enhancement... i dont know whr or how wil i be using that.... though i hav got the strategy configured by the functional people. i know one thing that i have to write the code in the customer enhancement implementation. but hoe to call that in my workflow is really something i dont get. one more thing, i hav to follow a 8 step release strategy. do i need to use a loop?? or is it that everytime a person releases the pr at his level, another releasestepcreated event is triggered which again triggers the workflow. if it is this way, then how is the next person to whom the mail asking for approval is sent, will be deteremined.

thanks

Read only

0 Likes
1,557

Hi,

i think u need to cerate a rule for ur requirement.

a rule will determine, the responsible preson or approver.

u can create a ztable to maintain entries.

using User decison and rule, u can decide the level of approvals.

For an example, if first approver can accept, deny and cancel...if he can accept, then using rule u can send the workitem to second level appoval. like wise u can proceed.

let me know if u have some issues.

Regards,

Romanch

Read only

0 Likes
1,557

hi prema ,

functional part.

for each stratergy , the relese code should be asigned.

for each release code , position should be assigned.

Technical part,

once the purchase requisition is released , u vil get the release stratergy.

from the release stratergy , u can get the position , to whom the workitem should go.

It vil not all the 8th approvers will release the purchase requsition .

it will be like , user decision send to each approves , for accepting or rejecting the requistion (after the purchase requistion is released).

Regards,

Sabari

Read only

0 Likes
1,557

is there any standard rule for this..... or any function module ?? there is one called me_rel_get_responsible fm but i dont know wats the functionality of this.....

Read only

0 Likes
1,557

There is config for the release strategy(I think) that has to be done. You have 2 or maybe 3 options. One is to use the customer-function(exit), and another is to use organizational structure. There is a field that is set to either a 1 for for org struc or 9 for user exit. I do not know exactly where this is but I know you have to set that to be able to use it. We use it that way for our Reqs/POs/ and Schedule agreement. The user exit determines who the approver is supposed to be. I will see if I can get a domain person to tell me where they set that for us and let you know. I wrote the code for the user exit.

Read only

Former Member
0 Likes
1,557

completed.