cancel
Showing results for 
Search instead for 
Did you mean: 

SRM 7.0 RFX Approval BADI

Former Member
0 Kudos

In SRM 7.0 Process controlled Work flows ,while Rfx creation , i have include a code to get the approvers from the ztable based up on Purchasing organization. i am looking for a exact BADI where i can include my logic and export the approvers. Can anyone please suggest me.

Accepted Solutions (0)

Answers (1)

Answers (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Please check this thread.

Regards,

Masa

Former Member
0 Kudos

thank u masa,

in our case it is for rfx , according to my understanding i should give the filter value of document type is bus2200. remaining part same as mentioned in the thread. please correct me if i am wrong

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Yes, Your understanding is correct.

Former Member
0 Kudos

Hi,

i struck up at 1st step itself

u mentioned

1. Define Resolver name

Go to IMG, Define Filter Value for BADI Define Agent, Z_AAA(any name)

but when i click on Business Workflow-Process-Controlled Workflow--Define Agents in IMG it is showing all implementations for that BADiI, Exactly where can i define a filter value ..

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Here is the IMG path.

SRM -> SRM Server -> Cross-Application Basic Settings -> Business Workflow -> Process-Controlled Workflow -> Business Process Configuration -> Define Filter Value for BADI 'Define Agents'

Regards,

Masa

Former Member
0 Kudos

Thank u Masa,

till last step i finished ,

Define "Define Process Levels".

In Process levels

object type : BUS2200.

Evaluation ID : (3EV_RQ_600_001) which evaluation ID i should Choose here and there any furthur configuration required pls let me know.

Process Schema Definition :

Process level configuration :

Level type ; A

Evaluation ID : (3EV_BADI_ADAPTER)

Resp resolver name : Resolver we created at 1st step.

Resp resolver Parameter : Blank

Task Id : 40007982,

Decision Type : 1 Decision For entire Document

Remaining All empty

:

Edited by: sunil challapalli on Mar 4, 2010 7:24 AM

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Please change following. Others should be fine.

Evaluation ID : (3EV_BADI_ADAPTER) -> 0EV000

Regards,

Masa

Former Member
0 Kudos

Hi Masa,

Badi is working fine ,

how many approvers will be determined at runtime,

when i am appending 3 approvers to the badi, In Approval tab of RFX i can see it in 1 row like c1234,c4567,c7890.

but in my case the approval should be sequential, it has to go like this 1) c1234 then 2 and 3rd.

how to acheive this.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

OK. Your scenario is 3 steps approval.

Please maintain the process level definition like this. Maybe you need 3 agent badi implementations.

Level 100 level 1 approval

Level 200 level 2 approval

Level 300 level 3 approval

Level 999 Automatic reject or approve

Regards,

Masa

Former Member
0 Kudos

Hi Masa,

how many levels of approval is required at runtime. it may be 9- 10level approval also reqiured depending on Purchasing group.

i found one import Parameter in the Method GET_AREA_TO_ITEM_MAP.

IS_CURRENT_PROCESS_LEVEL :Process Level Attributes (BAdI Interface Parameter)

i am little bit confused

1) should i append all the approvers at a time in BADI

or else should i consider that process level at the time of appending the approvers.

I did wt u mentioned in previous reply

i added one more Process level in processlevel configuration

it displayed 2 line in approval tab showing

1st user1 user2 user3

2nd user1 user2 user3

like this it displayed.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Approval agent is assigned in each level. You should assign only User1 for level 100.

If you scenario is dynamic 1-9 steps approval based on some condition, you can create level evaluation which checks next approval is required or not.

Regards,

Masa

Former Member
0 Kudos

Hi masa,

I got the Sequential Approval , its working fine.

now the only problem is Dynamic levels

should i create 10(Maximum Levels ) process levels in process level configuration. in case of some documents 4-5capprovers are required , in this case it is waiting for approval. How to check this condition . is there any configuration required pls let me know